]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
PowerPC: Fix operand prefixes
[thirdparty/glibc.git] / ChangeLog
1 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4 prefix from operands.
5
6 2015-10-01 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #16347]
9 [BZ #19046]
10 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11 <libc-internal.h>.
12 (MAXLGM): Do not use diagnostic control macros.
13 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14 threshold for ldbl-128ibm.
15 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16 instead of multiplying by log then subtracting.
17 * math/auto-libm-test-in: Add more tests of lgamma.
18 * math/auto-libm-test-out: Regenerated.
19
20 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
21 (TYPE_HEX_DIG): Likewise.
22 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
23 precisions when printing floating-point numbers.
24 (check_float_internal): Likewise.
25
26 2015-09-30 Joseph Myers <joseph@codesourcery.com>
27
28 [BZ #16620]
29 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30 of log (10) rounded downward to 48 bits.
31 (log10_low): Use corresponding low part of log (10).
32
33 [BZ #19032]
34 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
35 compute result as (x - x) / (x - x) not as 0 / 0.
36 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
38
39 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
41 and expm1.
42 * math/auto-libm-test-out: Regenerated.
43 * math/libm-test.inc (acos_test_data): Add more tests.
44 (asin_test_data): Likewise.
45 (asinh_test_data): Likewise.
46 (atan_test_data): Likewise.
47 (atanh_test_data): Likewise.
48 (atan2_test_data): Likewise.
49 (cbrt_test_data): Likewise.
50 (ceil_test_data): Likewise.
51 (copysign_test_data): Likewise.
52 (cos_test_data): Likewise.
53 (cosh_test_data): Likewise.
54 (erf_test_data): Likewise.
55 (erfc_test_data): Likewise.
56 (exp_test_data): Likewise.
57 (exp10_test_data): Likewise.
58 (exp2_test_data): Likewise.
59 (expm1_test_data): Likewise.
60 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61
62 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
63
64 [BZ #19006]
65 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
66 to ...
67 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
68 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
69 to ...
70 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
71 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
72 to ...
73 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
74 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
75 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
76 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
77 to ...
78 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
79 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
80 Moved to ...
81 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
82 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
83 Moved to ...
84 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
85 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
86 to ...
87 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
88 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
89 Moved to ...
90 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
91 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
92 to ...
93 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
94 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
95 Removed.
96 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
97 Likewise.
98 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
99 Likewise.
100 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
101 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
102 Likewise.
103 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
104 Likewise.
105 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
106 Likewise.
107 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
108 Likewise.
109 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
110 Likewise.
111 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
112 Likewise.
113 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
114 Likewise.
115 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
116 Likewise.
117 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
118 Likewise.
119 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
120 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
121 Likewise.
122 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
123 Likewise.
124 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
125 Likewise.
126 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
127 Likewise.
128 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
129 Likewise.
130 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
131 Replace ../i486/pthread_cond_timedwait.S with
132 ../pthread_cond_timedwait.S.
133
134 2015-09-30 Joseph Myers <joseph@codesourcery.com>
135
136 * math/libm-test.inc (acos_test_data): Refine expectations for
137 errno and "inexact" exceptions.
138 (acosh_test_data): Likewise.
139 (asin_test_data): Likewise.
140 (asinh_test_data): Likewise.
141 (atan_test_data): Likewise.
142 (atanh_test_data): Likewise.
143 (atan2_test_data): Likewise.
144 (cbrt_test_data): Likewise.
145 (ceil_test_data): Likewise.
146 (copysign_test_data): Likewise.
147 (cosh_test_data): Likewise.
148 (erf_test_data): Likewise.
149 (erfc_test_data): Likewise.
150 (exp_test_data): Likewise.
151 (exp10_test_data): Likewise.
152 (exp2_test_data): Likewise.
153 (expm1_test_data): Likewise.
154 (fabs_test_data): Likewise.
155 (floor_test_data): Likewise.
156 (fma_test_data): Likewise.
157 (fmax_test_data): Likewise.
158 (fmin_test_data): Likewise.
159 (fmod_test_data): Likewise.
160 (fpclassify_test_data): Likewise.
161 (frexp_test_data): Likewise.
162 (hypot_test_data): Likewise.
163 (ilogb_test_data): Likewise.
164 (isgreater_test_data): Likewise.
165 (isgreaterequal_test_data): Likewise.
166 (isinf_test_data): Likewise.
167 (isless_test_data): Likewise.
168 (islessequal_test_data): Likewise.
169 (islessgreater_test_data): Likewise.
170 (isnan_test_data): Likewise.
171 (isnormal_test_data): Likewise.
172 (issignaling_test_data): Likewise.
173 (isunordered_test_data): Likewise.
174 (j0_test_data): Likewise.
175 (j1_test_data): Likewise.
176 (jn_test_data): Likewise.
177 (lgamma_test_data): Likewise.
178 (lrint_test_data): Likewise.
179 (llrint_test_data): Likewise.
180 (log_test_data): Likewise.
181 (log10_test_data): Likewise.
182 (log1p_test_data): Likewise.
183 (log2_test_data): Likewise.
184 (logb_test_data): Likewise.
185 (lround_test_data): Likewise.
186 (llround_test_data): Likewise.
187 (modf_test_data): Likewise.
188 (nearbyint_test_data): Likewise.
189 (nextafter_test_data): Likewise.
190 (nexttoward_test_data): Likewise.
191 (pow_test_data): Likewise.
192 (remainder_test_data): Likewise.
193 (remquo_test_data): Likewise.
194 (rint_test_data): Likewise.
195 (round_test_data): Likewise.
196 (signbit_test_data): Likewise.
197 (sinh_test_data): Likewise.
198 (sqrt_test_data): Likewise.
199 (tanh_test_data): Likewise.
200 (tgamma_test_data): Likewise.
201 (trunc_test_data): Likewise.
202 (y0_test_data): Likewise.
203 (y1_test_data): Likewise.
204 (yn_test_data): Likewise.
205 (significand_test_data): Likewise.
206
207 2015-09-29 Carlos O'Donell <carlos@redhat.com>
208
209 * manual/filesys.texi (Storage Allocation): Document that
210 posix_fallocate emulation fails when fd is open with O_WRONLY.
211
212 2015-09-28 Joseph Myers <joseph@codesourcery.com>
213
214 [BZ #19016]
215 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
216 allow more cases with X^2 + Y^2 >= 0.5.
217 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
218 normal element in sum instead of special-casing based on values of
219 arguments.
220 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
221 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
222 -1 as normal element in sum instead of special-casing based on
223 values of arguments.
224 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
225 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
226 (__x2y2m1): Update comment.
227 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
228 as normal element in sum instead of special-casing based on values
229 of arguments.
230 * math/s_clog.c (__clog): Handle more cases using log1p without
231 hypot.
232 * math/s_clog10.c (__clog10): Likewise.
233 * math/s_clog10f.c (__clog10f): Likewise.
234 * math/s_clog10l.c (__clog10l): Likewise.
235 * math/s_clogf.c (__clogf): Likewise.
236 * math/s_clogl.c (__clogl): Likewise.
237 * math/auto-libm-test-in: Add more tests of clog and clog10.
238 * math/auto-libm-test-out: Regenerated.
239 * sysdeps/i386/fpu/libm-test-ulps: Update.
240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
241
242 2015-09-28 Martin Sebor <msebor@redhat.com>
243
244 [BZ #18969]
245 * string/Makefile (LOCALES): Define.
246 (gen-locales.mk): Include.
247 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
248 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
249 * string/tst-strxfrm2.c (do_test): Print the name of the locale
250 on setlocale failure.
251
252 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
253
254 [BZ #18985]
255 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
256 (__strftime_internal): Likewise.
257 * time/tst-strftime.c (do_bz18985): New test.
258 (do_test): Call it.
259
260 2015-09-26 Joseph Myers <joseph@codesourcery.com>
261
262 [BZ #18956]
263 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
264 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
265 extracting high part.
266 * math/auto-libm-test-in: Add another test of pow.
267 * math/auto-libm-test-out: Regenerated.
268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
269
270 2015-09-25 Joseph Myers <joseph@codesourcery.com>
271
272 [BZ #18825]
273 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
274 New macro.
275 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
276 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
277 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
278 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
279 DBL_NARROW_EVAL, reloading the PIC register as needed.
280 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
281 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
282 FLT_NARROW_EVAL. Use separate return path for case when first
283 argument is NaN.
284 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
285 DEFINE_LDBL_MIN.
286 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
287 PIC register.
288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
289 math_check_force_underflow_nonneg.
290 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
291 underflow for subnormal result.
292 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
293 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
294 math_check_force_underflow_nonneg.
295 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
296 math_check_force_underflow.
297 * sysdeps/x86_64/fpu/x86_64-math-asm.h
298 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
299 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
300 DEFINE_LDBL_MIN.
301 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
302 * math/auto-libm-test-in: Add more tests of pow.
303 * math/auto-libm-test-out: Regenerated.
304
305 2015-09-25 Florian Weimer <fweimer@redhat.com>
306
307 * nss/bug17079.c (init_test_items): Add diagnostic for
308 inconsistent entries.
309 (test_buffer_size): Skip inconsistent entries.
310
311 2015-09-25 Joseph Myers <joseph@codesourcery.com>
312
313 [BZ #13304]
314 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
315 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
316 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
317
318 [BZ #13304]
319 * sysdeps/microblaze/s_fma.c: New file.
320 * sysdeps/microblaze/s_fmaf.c: Likewise.
321 * sysdeps/microblaze/sfp-machine.h: Likewise.
322
323 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
324
325 [BZ #17250]
326 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
327 member.
328
329 2015-09-24 Joseph Myers <joseph@codesourcery.com>
330
331 [BZ #18803]
332 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
333 (MO): New macro.
334 (__ieee754_hypot) [PIC]: Load PIC register.
335 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
336 DBL_NARROW_EVAL.
337 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
338 math_check_force_underflow_nonneg in case where result might be
339 tiny.
340 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
341 Likewise.
342 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
343 Likewise.
344 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
345 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
346 * math/auto-libm-test-in: Add more tests of hypot.
347 * math/auto-libm-test-out: Regenerated.
348
349 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
350
351 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
352
353 2015-09-24 Joseph Myers <joseph@codesourcery.com>
354
355 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
356 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
357 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
358 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
359 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
360 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
361 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
362
363 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
364 LOAD_PIC_REG.
365
366 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
367 (FLT_CHECK_FORCE_UFLOW): Likewise.
368 (DBL_CHECK_FORCE_UFLOW): Likewise.
369 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
370 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
371 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
372 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
373 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
374 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
375 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
376 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
377 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
378 (dbl_min): Replace with use of DEFINE_DBL_MIN.
379 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
380 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
381 (flt_min): Replace with use of DEFINE_FLT_MIN.
382 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
383 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
384 (dbl_min): Replace with use of DEFINE_DBL_MIN.
385 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
386 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
387 (flt_min): Replace with use of DEFINE_FLT_MIN.
388 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
389 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
390 (dbl_min): Replace with use of DEFINE_DBL_MIN.
391 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
392 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
393 (flt_min): Replace with use of DEFINE_FLT_MIN.
394 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
395 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
396 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
397 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
398 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
399 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
400 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
401 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
402 (dbl_min): Replace with use of DEFINE_DBL_MIN.
403 (__atan): Use DBL_CHECK_FORCE_UFLOW.
404 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
405 (flt_min): Replace with use of DEFINE_FLT_MIN.
406 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
407 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
408 (dbl_min): Replace with use of DEFINE_DBL_MIN.
409 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
410 main computation.
411 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
412 (flt_min): Replace with use of DEFINE_FLT_MIN.
413 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
414 main computation.
415 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
416 (dbl_min): Replace with use of DEFINE_DBL_MIN.
417 (MO): New macro.
418 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
419 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
420 (flt_min): Replace with use of DEFINE_FLT_MIN.
421 (MO): New macro.
422 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
423 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
424 (__log1pl): Use MO.
425
426 [BZ #19003]
427 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
428 $(config-cflags-nofma).
429
430 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
431
432 * sysdeps/aarch64/libm-test-ulps: Regenerated.
433
434 2015-09-23 Joseph Myers <joseph@codesourcery.com>
435
436 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
437 (TWO127): Likewise.
438
439 * sysdeps/generic/math_private.h (fabs_tg): New macro.
440 (min_of_type): Likewise.
441 (math_check_force_underflow): Likewise.
442 (math_check_force_underflow_nonneg): Likewise.
443 (math_check_force_underflow_complex): Likewise.
444 * math/e_exp2l.c (__ieee754_exp2l): Use
445 math_check_force_underflow_nonneg.
446 * math/k_casinh.c (__kernel_casinh): Likewise.
447 * math/k_casinhf.c (__kernel_casinhf): Likewise.
448 * math/k_casinhl.c (__kernel_casinhl): Likewise.
449 * math/s_catan.c (__catan): Use
450 math_check_force_underflow_complex.
451 * math/s_catanf.c (__catanf): Likewise.
452 * math/s_catanh.c (__catanh): Likewise.
453 * math/s_catanhf.c (__catanhf): Likewise.
454 * math/s_catanhl.c (__catanhl): Likewise.
455 * math/s_catanl.c (__catanl): Likewise.
456 * math/s_ccosh.c (__ccosh): Likewise.
457 * math/s_ccoshf.c (__ccoshf): Likewise.
458 * math/s_ccoshl.c (__ccoshl): Likewise.
459 * math/s_cexp.c (__cexp): Likewise.
460 * math/s_cexpf.c (__cexpf): Likewise.
461 * math/s_cexpl.c (__cexpl): Likewise.
462 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
463 * math/s_clog10.c (__clog10): Likewise.
464 * math/s_clog10f.c (__clog10f): Likewise.
465 * math/s_clog10l.c (__clog10l): Likewise.
466 * math/s_clogf.c (__clogf): Likewise.
467 * math/s_clogl.c (__clogl): Likewise.
468 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
469 * math/s_csinf.c (__csinf): Likewise.
470 * math/s_csinh.c (__csinh): Likewise.
471 * math/s_csinhf.c (__csinhf): Likewise.
472 * math/s_csinhl.c (__csinhl): Likewise.
473 * math/s_csinl.c (__csinl): Likewise.
474 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
475 * math/s_csqrtf.c (__csqrtf): Likewise.
476 * math/s_csqrtl.c (__csqrtl): Likewise.
477 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
478 * math/s_ctanf.c (__ctanf): Likewise.
479 * math/s_ctanh.c (__ctanh): Likewise.
480 * math/s_ctanhf.c (__ctanhf): Likewise.
481 * math/s_ctanhl.c (__ctanhl): Likewise.
482 * math/s_ctanl.c (__ctanl): Likewise.
483 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
484 instead of volatile.
485 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
486 math_check_force_underflow.
487 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
488 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
489 volatile when forcing underflow.
490 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
491 math_check_force_underflow_nonneg.
492 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
493 Likewise.
494 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
495 math_check_force_underflow.
496 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
497 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
498 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
499 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
500 math_check_force_underflow_nonneg.
501 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
502 math_check_force_underflow.
503 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
505 instead of volatile.
506 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
507 math_check_force_underflow.
508 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
509 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
510 math_check_force_underflow_nonneg.
511 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
512 math_check_force_underflow.
513 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
514 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
515 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
516 math_check_force_underflow_nonneg.
517 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
518 Likewise.
519 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
520 math_check_force_underflow.
521 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
522 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
523 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
524 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
525 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
526 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
527 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
528 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
529 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
530 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
531 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
532 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
533 Likewise.
534 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
535 math_check_force_underflow_nonneg.
536 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
537 Likewise.
538 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
539 math_check_force_underflow.
540 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
541 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
542 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
543 Likewise.
544 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
545 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
546 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
547 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
548 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
549 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
551 instead of volatile.
552 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
553 math_check_force_underflow.
554 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
555 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
556 math_check_force_underflow.
557 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
558 Likewise.
559 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
560 Use math_check_force_underflow_nonneg.
561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
562 math_check_force_underflow.
563 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
564 Likewise.
565 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
566 Likewise.
567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
568 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
571 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
572 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
573 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
574 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
575 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
576 math_check_force_underflow_nonneg.
577 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
578 math_check_force_underflow.
579 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
580 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
581 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
582 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
583 math_check_force_underflow_nonneg.
584 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
585 math_check_force_underflow.
586 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
587 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
588 instead of volatile.
589 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
590 math_check_force_underflow.
591
592 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
593 * stdlib/strtod_l.c: Include <math_private.h>.
594 (overflow_value): Use math_narrow_eval.
595 (underflow_value): Likewise.
596 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
597 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
598 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
599 (__ieee754_gamma_r): Likewise.
600 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
601 Likewise.
602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
603 Likewise.
604 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
605 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
606 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
607 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
608 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
609 (__ieee754_gammaf_r): Likewise.
610 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
611 Likewise.
612 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
613 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
614 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
615 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
616 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
617 volatile.
618 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
620 math_narrow_eval.
621 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
622 Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
624 Likewise.
625 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
626 Likewise.
627 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
628 volatile.
629 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
630 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
631 math_narrow_eval.
632 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
633 Likewise.
634 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
635 Likewise.
636
637 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
638
639 * nptl/Versions: Remove ignored symbols.
640
641 2015-09-22 Florian Weimer <fweimer@redhat.com>
642
643 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
644 * nss/Makefile (tests): Update.
645
646 2015-09-22 Florian Weimer <fweimer@redhat.com>
647
648 * nss/bug18287.c: New file.
649 * nss/Makefile (tests): Add bug18287.
650
651 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
652
653 * mach/Versions (__mach_host_self_): Add symbol.
654
655 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
656
657 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
658 vm_page_size.
659
660 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
661
662 Really fix sysdeps/i386/fpu/s_scalbn.S build
663
664 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
665 (libc: GLIBC_2_22): Remove unused version set.
666
667 2015-09-18 Mike Frysinger <vapier@gentoo.org>
668
669 * config.make.in (enable-timezone-tools): New variable.
670 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
671 (enable_timezone_tools): Export to generated files.
672 * configure: Regenerate.
673 * INSTALL: Regenerate.
674 * manual/install.texi (--disable-timezone-tools): Document new flag.
675 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
676 ifeq ($(enable-timezone-tools),yes) check.
677
678 2015-09-18 Joseph Myers <joseph@codesourcery.com>
679
680 * timezone/Makefile: Revert previous change.
681
682 [BZ #18980]
683 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
684 (DEFINE_DBL_MIN): Likewise.
685 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
686 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
687 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
688 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
689 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
690 (dbl_min): Replace with use of DEFINE_DBL_MIN.
691 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
692 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
693 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
694 (dbl_min): Replace with use of DEFINE_DBL_MIN.
695 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
696 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
697 (flt_min): Replace with use of DEFINE_FLT_MIN.
698 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
699 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
700 (dbl_min): Replace with use of DEFINE_DBL_MIN.
701 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
702 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
703 (flt_min): Replace with use of DEFINE_FLT_MIN.
704 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
705 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
706 (flt_min): Replace with use of DEFINE_FLT_MIN.
707 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
708 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
709 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
710 (__ieee754_hypot): Use DBL_NARROW_EVAL.
711 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
712 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
713 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
714 (__ieee754_pow): Use DBL_NARROW_EVAL.
715 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
716 (__ieee754_powf): Use FLT_NARROW_EVAL.
717 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
718 (__ieee754_expf_sse2): Convert double-precision result to single
719 precision.
720 * sysdeps/i386/fpu/libm-test-ulps: Update.
721
722 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
723
724 * timezone/Makefile: Ignore unused variable errors due to private.h
725 (time_t_min) and (time_t_max).
726 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
727 Likewise.
728
729 2015-09-18 Joseph Myers <joseph@codesourcery.com>
730
731 [BZ #18981]
732 * sysdeps/i386/fpu/i386-math-asm.h: New file.
733 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
734 (__ieee754_scalb): Use DBL_NARROW_EVAL.
735 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
736 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
737 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
738 (__scalbn): Use DBL_NARROW_EVAL.
739 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
740 (__scalbnf): Use FLT_NARROW_EVAL.
741
742 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
743
744 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
745 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
746 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
747 * stdio-common/printf_fp.c (___printf_fp):
748 Use signbit to get the sign. Use isinf macro to allow inlining.
749 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
750 * stdio-common/printf_size.c (__printf_size): Likewise.
751
752 2015-09-18 Mike Frysinger <vapier@gentoo.org>
753
754 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
755
756 2015-09-18 Joseph Myers <joseph@codesourcery.com>
757
758 [BZ #18980]
759 * sysdeps/generic/math_private.h: Include <float.h>.
760 (math_narrow_eval): New macro.
761 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
762 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
763 math_narrow_eval on overflowing return value.
764 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
765 Likewise.
766 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
767 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
768 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
769 Likewise.
770 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
771
772 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
773
774 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
775 * math/Makefile: Remove isinf_ns.c.
776 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
777 * math/multc3.c (__multc3): Likewise.
778 * math/s_casin.c (__casin): Likewise.
779 * math/s_casinf.c (__casinf): Likewise.
780 * math/s_casinl.c (__casinl): Likewise.
781 * math/s_cproj.c (__cproj): Likewise.
782 * math/s_cprojf.c (__cprojf): Likewise.
783 * math/s_cprojl.c (__cprofl): Likewise.
784 * math/s_ctan.c (__ctan): Likewise.
785 * math/s_ctanf.c (__ctanf): Likewise.
786 * math/s_ctanh.c (__ctanh): Likewise.
787 * math/s_ctanhf.c (__ctanhf): Likewise.
788 * math/s_ctanhl.c (__ctanhl): Likewise.
789 * math/s_ctanl.c (__ctanl): Likewise.
790 * math/w_fmod.c (__fmod): Likewise.
791 * math/w_fmodf.c (__fmodf): Likewise.
792 * math/w_fmodl.c (_fmodl): Likewise.
793 * math/w_remainder.c (__remainder): Likewise.
794 * math/w_remainderf.c (__remainderf): Likewise.
795 * math/w_remainderl.c (__remainderl): Likewise.
796 * math/w_scalb.c (__scalb): Likewise.
797 * math/w_scalbf.c (__scalbf): Likewise.
798 * math/w_scalbl.c (__scalbl): Likewise.
799 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
800 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
801 with isinf.
802 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
804 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
805 __isinf_nsf with isinf.
806 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
807 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
808 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
809 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
810 with isinf.
811 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
812 __isinf_nsl with isinf.
813 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
814 with isinf.
815 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
816 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
817 __isinf_nsl with isinf.
818 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
819 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
820 with isinf.
821
822 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
823
824 * resolv/base64.c (rcsid): Remove unused static.
825 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
826 static. (tqpi1): Likewise.
827 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
828 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
829 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
830 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
831 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
832 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
833 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
834 * timezone/private.h (time_t_min): Likewise. (time_t_max):
835 Likewise.
836
837 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
838
839 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
840 <nptl/pthreadP.h>.
841 (_longjmp_unwind): Use __libc_ptf_call.
842 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
843
844 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
845
846 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
847 * sysdeps/arm/__longjmp.S: Likewise
848
849 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
850
851 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
852 Use __builtin_signbit.
853 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
854 Use __builtin_signbitf.
855 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
856 Use __builtin_signbitl.
857 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
858 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
859
860 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
861
862 [BZ #15367]
863 [BZ #17441]
864
865 * math/Makefile: Build test-snan.c with -fsignaling-nans.
866 * math/math.h (fpclassify): Use __builtin_fpclassify when
867 available. (signbit): Use __builtin_signbit(f/l).
868 (isfinite): Use__builtin_isfinite. (isnormal): Use
869 __builtin_isnormal. (isnan): Use __builtin_isnan.
870 (isinf): Use __builtin_isinf_sign.
871
872 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
873
874 * benchtests/Makefile: Add bench-math-inlines, link with libm.
875 * benchtests/bench-math-inlines.c: New benchmark.
876 * benchtests/bench-util.h: New file.
877 * benchtests/bench-util.c: New file.
878 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
879
880 2015-09-18 Carlos O'Donell <carlos@redhat.com>
881
882 * elf/tst-dlmopen1.c: Define TEST_SO.
883 (do_test): Use TEST_SO.
884
885 * elf/dl-load.c: Include libc-internal.h.
886 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
887
888 2015-09-18 Vincent Bernat <vincent@bernat.im>
889
890 [BZ #17887]
891 * time/strptime_l.c (__strptime_internal): Make %z accept
892 [+-]HH:MM time zones.
893
894 2015-09-18 Vincent Bernat <vincent@bernat.im>
895
896 [BZ #17886]
897 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
898 valid time zone.
899
900 2015-09-17 Mike Frysinger <vapier@gentoo.org>
901
902 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
903 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
904 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
905 (__ASSUME_FDATASYNC): Delete.
906
907 2015-09-17 Joseph Myers <joseph@codesourcery.com>
908
909 * conform/linknamespace.pl: Require weak undefined symbols to be
910 in the standard namespace.
911 (%strong_syms): Rename to %seen_syms.
912 (%strong_seen): Rename to %seen_where.
913
914 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
915
916 [BZ #18970]
917 * misc/error.c (error): Replace pthread_setcancelstate with
918 __pthread_setcancelstate.
919 (error_at_line): Likewise.
920 * posix/wordexp.c (parse_comm): Likewise.
921 * stdlib/fmtmsg.c (fmtmsg): Likewise.
922 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
923 (__pthread_setcancelstate): This.
924 (pthread_setcancelstate): Add an alias.
925 * nptl/nptl-init.c (pthread_functions): Replace
926 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
927 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
928 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
929 hidden_proto.
930 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
931 it with hidden_def.
932 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
933 (pthread_setcancelstate): Renamed to ...
934 (__pthread_setcancelstate): This.
935 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
936 __libc_ptf_call with __pthread_setcancelstate.
937
938 2015-09-17 Joseph Myers <joseph@codesourcery.com>
939 Andreas Schwab <schwab@suse.de>
940
941 [BZ #17118]
942 * math/s_ctan.c (__ctan): Determine sign of zero real part of
943 result when imaginary part of argument is infinite using sine and
944 cosine.
945 * math/s_ctanf.c (__ctanf): Likewise.
946 * math/s_ctanl.c (__ctanl): Likewise.
947 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
948 of result when real part of argument is infinite using sine and
949 cosine.
950 * math/s_ctanhf.c (__ctanhf): Likewise.
951 * math/s_ctanhl.c (__ctanhl): Likewise.
952 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
953 (ctanh_test_data): Add more tests of ctanh.
954
955 2015-09-17 Joseph Myers <joseph@codesourcery.com>
956
957 [BZ #15384]
958 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
959 bit-mask as in subtraction.
960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
961 Likewise.
962 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
963 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
964 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
965
966 [BZ #18951]
967 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
968 underflow exception for small results.
969 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
970 Likewise.
971 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
972 Likewise.
973 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
974 Likewise.
975 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
976 Likewise.
977 * math/auto-libm-test-in: Add more tests of tgamma.
978 * math/auto-libm-test-out: Regenerated.
979
980 2015-09-17 Andreas Schwab <schwab@suse.de>
981
982 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
983
984 2015-09-16 Joseph Myers <joseph@codesourcery.com>
985
986 [BZ #18977]
987 * math/bits/mathcalls.h
988 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
989 not declare.
990 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
991 Likewise.
992 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
993 Likewise.
994 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
995 Likewise.
996 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
997 Likewise.
998 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
999 Likewise.
1000 * conform/data/math.h-data
1001 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1002 function.
1003 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1004 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1005 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1006 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1007 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1008 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1009 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1010 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1011 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1012 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1013 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1014
1015 [BZ #6803]
1016 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1017 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1018 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1019 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1020 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1021 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1022 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1023 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1024 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1026 Likewise.
1027 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1028 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1029 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1030 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1031 long_double_symbol calls.
1032 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1033 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1034 strong alias of __ldexpl.
1035 (scalbnl): Define using long_double_symbol.
1036 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1037 Remove alias.
1038 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1039 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1040 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1041 (scalbln_test_data): Add more errno expectations.
1042
1043 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
1044
1045 Cache the host port like we cache the task port. This way we do not
1046 need to call the kernel just to get the port. Furthermore, we no
1047 longer increase the reference count on every invocation of
1048 `mach_host_self'.
1049
1050 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1051 Protect declarations against the macro expansion.
1052 * mach/mach_init.c (__mach_host_self_): New variable.
1053 (mach_init): Initialize `__mach_host_self_'.
1054 * mach/mach_init.h (__mach_host_self_): New declaration.
1055 (__mach_host_self, mach_host_self): New macros.
1056 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1057 Release reference.
1058
1059 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1060
1061 [BZ #4404]
1062 * po/de.po: Update from Translation Project.
1063
1064 [BZ #16415]
1065 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1066 (__expm1l): Remove code to handle positive infinity and overflow.
1067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1068 variable.
1069 (__expm1l): Remove code to handle positive infinity and overflow.
1070
1071 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
1072 Paul Pluzhnikov <ppluzhnikov@google.com>
1073
1074 [BZ #18872]
1075 * stdio-common/Makefile (tst-printf-bz18872): New test.
1076 (tst-printf-bz18872-mem.out): Likewise.
1077 * stdio-common/tst-printf-bz18872.sh: Generate new test.
1078 * stdio-common/vfprintf.c: Fix memory leaks.
1079
1080 2015-09-16 Andreas Schwab <schwab@suse.de>
1081
1082 [BZ #17244]
1083 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1084 Remove extra va_start/va_end calls.
1085
1086 [BZ #17243]
1087 * posix/execl.c (execl): Add missing va_end.
1088 * posix/execle.c (execle): Likewise.
1089 * posix/execlp.c (execlp): Likewise.
1090
1091 2015-09-15 Roland McGrath <roland@hack.frob.com>
1092
1093 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1094 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1095
1096 2015-09-15 Joseph Myers <joseph@codesourcery.com>
1097
1098 [BZ #18967]
1099 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
1100 undefine around includes of <bits/mathcalls.h>.
1101 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1102 not declare function.
1103 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1104 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1105 (scalb): Likewise.
1106 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1107 not define macro.
1108 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1109 variable.
1110 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1111 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1112 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1113
1114 [BZ #18857]
1115 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1116 return non-finite argument without doing ordered comparisons on
1117 it.
1118
1119 [BZ #16296]
1120 * math/fenv.h (fegetround): Use __attribute_pure__.
1121 * include/fenv.h (__fegetround): Likewise.
1122
1123 [BZ #18595]
1124 * math/s_ctan.c (__ctan): Force underflow exception for results
1125 whose real or imaginary part has small absolute value.
1126 * math/s_ctanf.c (__ctanf): Likewise.
1127 * math/s_ctanh.c (__ctanh): Likewise.
1128 * math/s_ctanhf.c (__ctanhf): Likewise.
1129 * math/s_ctanhl.c (__ctanhl): Likewise.
1130 * math/s_ctanl.c (__ctanl): Likewise.
1131 * math/auto-libm-test-in: Do not allow missing underflow for ctan
1132 and ctanh. Add more tests of ctan and ctanh.
1133
1134 [BZ #15918]
1135 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1136 handling of cases where one argument is an infinity.
1137
1138 [BZ #18875]
1139 [BZ #18966]
1140 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1141 (MO): New macro.
1142 (__ieee754_exp10): For small results, force underflow exception
1143 and remove excess range and precision from return value.
1144 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1145 (MO): New macro.
1146 (__ieee754_exp10f): For small results, force underflow exception
1147 and remove excess range and precision from return value.
1148 * math/auto-libm-test-in: Add more tests of exp10.
1149 * math/auto-libm-test-out: Regenerated.
1150
1151 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1152
1153 [BZ #18875]
1154 [BZ #18961]
1155 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1156 (MO): New macro.
1157 (__ieee754_exp): For small results, force underflow exception and
1158 remove excess range and precision from return value.
1159 (__exp_finite): Likewise.
1160 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1161 (MO): New macro.
1162 (__ieee754_expf): For small results, force underflow exception and
1163 remove excess range and precision from return value.
1164 (__expf_finite): Likewise.
1165 * math/auto-libm-test-in: Add more tests of exp.
1166 * math/auto-libm-test-out: Regenerated.
1167
1168 [BZ #16521]
1169 [BZ #18875]
1170 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1171 small results.
1172 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1173 (MO): New macro.
1174 (__ieee754_exp2): For small results, force underflow exception and
1175 remove excess range and precision from return value.
1176 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1177 (MO): New macro.
1178 (__ieee754_exp2f): For small results, force underflow exception
1179 and remove excess range and precision from return value.
1180 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1181 (MO): New macro.
1182 (__ieee754_exp2l): Force underflow exception for small results.
1183 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1184 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1185 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1186 (MO): New macro.
1187 (__ieee754_exp2l): Force underflow exception for small results.
1188 * math/auto-libm-test-in: Add more tests or exp2.
1189 * math/auto-libm-test-out: Regenerated.
1190
1191 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1192
1193 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1194
1195 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1196 /dev/null.
1197
1198 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1199
1200 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1201 io fs process)): Drop spurious backslash.
1202
1203 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1204
1205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1206 Use sysinfo system call instead of parsing /proc/meminfo.
1207 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1208 Likewise.
1209
1210 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1211
1212 [BZ #16985]
1213 * programs/localedef.c (main): Display argv[remaining] when
1214 output_path is NULL.
1215
1216 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1217
1218 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1219 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1220 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1221 tanh.
1222 * math/auto-libm-test-out: Regenerated.
1223 * sysdeps/i386/fpu/libm-test-ulps: Update.
1224 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1225 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1227
1228 2015-09-11 Roland McGrath <roland@hack.frob.com>
1229
1230 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1231 Use 'override' keyword to freeze the value here, preventing
1232 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1233
1234 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1235
1236 [BZ #14912]
1237 * sysdeps/aarch64/bits/atomic.h: Move to ...
1238 * sysdeps/aarch64/atomic-machine.h: ...here.
1239 (_AARCH64_BITS_ATOMIC_H): Rename macro to
1240 _AARCH64_ATOMIC_MACHINE_H.
1241 * sysdeps/alpha/bits/atomic.h: Move to ...
1242 * sysdeps/alpha/atomic-machine.h: ...here.
1243 * sysdeps/arm/bits/atomic.h: Move to ...
1244 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
1245 * bits/atomic.h: Move to ...
1246 * sysdeps/generic/atomic-machine.h: ...here.
1247 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1248 * sysdeps/i386/bits/atomic.h: Move to ...
1249 * sysdeps/i386/atomic-machine.h: ...here.
1250 * sysdeps/ia64/bits/atomic.h: Move to ...
1251 * sysdeps/ia64/atomic-machine.h: ...here.
1252 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1253 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1254 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1255 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1256 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1257 * sysdeps/microblaze/bits/atomic.h: Move to ...
1258 * sysdeps/microblaze/atomic-machine.h: ...here.
1259 * sysdeps/mips/bits/atomic.h: Move to ...
1260 * sysdeps/mips/atomic-machine.h: ...here.
1261 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1262 * sysdeps/powerpc/bits/atomic.h: Move to ...
1263 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1264 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1265 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1266 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1267 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1268 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1269 <atomic-machine.h> instead of <bits/atomic.h>.
1270 * sysdeps/s390/bits/atomic.h: Move to ...
1271 * sysdeps/s390/atomic-machine.h: ...here.
1272 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1273 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1274 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1275 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1276 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1277 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1278 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1279 * sysdeps/tile/bits/atomic.h: Move to ...
1280 * sysdeps/tile/atomic-machine.h: ...here.
1281 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1282 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
1283 <sysdeps/tile/atomic-machine.h> instead of
1284 <sysdeps/tile/bits/atomic.h>.
1285 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1286 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1287 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1288 <sysdeps/tile/atomic-machine.h> instead of
1289 <sysdeps/tile/bits/atomic.h>.
1290 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1291 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1292 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1293 <sysdeps/arm/atomic-machine.h> instead of
1294 <sysdeps/arm/bits/atomic.h>.
1295 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1296 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1297 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1298 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1299 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1300 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1301 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1302 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1303 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1304 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1305 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1306 * sysdeps/x86_64/bits/atomic.h: Move to ...
1307 * sysdeps/x86_64/atomic-machine.h: ...here.
1308 * include/atomic.h: Include <atomic-machine.h> instead of
1309 <bits/atomic.h>.
1310
1311 * sysdeps/mips/mips32/libm-test-ulps: Update.
1312 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1313
1314 [BZ #18952]
1315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1316 not convert non-integer negative arguments to int to determine the
1317 value of signgam.
1318 * math/auto-libm-test-in: Add more tests of lgamma.
1319 * math/auto-libm-test-out: Regenerated.
1320
1321 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1322 cosh, csqrt, erfc, expm1 and lgamma.
1323 * math/auto-libm-test-out: Regenerated.
1324 * sysdeps/i386/fpu/libm-test-ulps: Update.
1325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1326
1327 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1328
1329 [BZ #2542]
1330 [BZ #2543]
1331 [BZ #2558]
1332 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1333 __lgamma_neg for arguments from -28.0 to -2.0.
1334 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1335 __lgamma_negf for arguments from -15.0 to -2.0.
1336 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1337 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1338 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1339 Call __lgamma_negl for arguments from -33.0 to -2.0.
1340 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1341 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1342 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1343 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1350 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1351 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1352 (__lgamma_neg): Likewise.
1353 (__lgamma_negl): Likewise.
1354 (__lgamma_product): Likewise.
1355 (__lgamma_productl): Likewise.
1356 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1357 * math/auto-libm-test-in: Add more tests of lgamma.
1358 * math/auto-libm-test-out: Regenerated.
1359 * sysdeps/i386/fpu/libm-test-ulps: Update.
1360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1361
1362 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1363
1364 [BZ #18675]
1365 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1366
1367 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1368
1369 [BZ #14912]
1370 * bits/libc-lock.h: Move to ...
1371 * sysdeps/generic/libc-lock.h: ...here.
1372 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1373 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1374 * sysdeps/mach/hurd/libc-lock.h: ...here.
1375 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1376 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1377 * sysdeps/mach/bits/libc-lock.h: Move to ...
1378 * sysdeps/mach/libc-lock.h: ...here.
1379 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1380 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1381 * sysdeps/nptl/libc-lock.h: ...here.
1382 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1383 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1384 * sysdeps/nptl/libc-lockP.h: ...here.
1385 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1386 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1387 <bits/libc-lock.h>.
1388 * dirent/scandir-tail.c: Likewise.
1389 * dlfcn/dlerror.c: Likewise.
1390 * elf/dl-close.c: Likewise.
1391 * elf/dl-iteratephdr.c: Likewise.
1392 * elf/dl-lookup.c: Likewise.
1393 * elf/dl-open.c: Likewise.
1394 * elf/dl-support.c: Likewise.
1395 * elf/dl-writev.h: Likewise.
1396 * elf/rtld.c: Likewise.
1397 * grp/fgetgrent.c: Likewise.
1398 * gshadow/fgetsgent.c: Likewise.
1399 * gshadow/sgetsgent.c: Likewise.
1400 * iconv/gconv_conf.c: Likewise.
1401 * iconv/gconv_db.c: Likewise.
1402 * iconv/gconv_dl.c: Likewise.
1403 * iconv/gconv_int.h: Likewise.
1404 * iconv/gconv_trans.c: Likewise.
1405 * include/link.h: Likewise.
1406 * inet/getnameinfo.c: Likewise.
1407 * inet/getnetgrent.c: Likewise.
1408 * inet/getnetgrent_r.c: Likewise.
1409 * intl/bindtextdom.c: Likewise.
1410 * intl/dcigettext.c: Likewise.
1411 * intl/finddomain.c: Likewise.
1412 * intl/gettextP.h: Likewise.
1413 * intl/loadmsgcat.c: Likewise.
1414 * intl/localealias.c: Likewise.
1415 * intl/textdomain.c: Likewise.
1416 * libidn/idn-stub.c: Likewise.
1417 * libio/libioP.h: Likewise.
1418 * locale/duplocale.c: Likewise.
1419 * locale/freelocale.c: Likewise.
1420 * locale/newlocale.c: Likewise.
1421 * locale/setlocale.c: Likewise.
1422 * login/getutent_r.c: Likewise.
1423 * login/getutid_r.c: Likewise.
1424 * login/getutline_r.c: Likewise.
1425 * login/utmp-private.h: Likewise.
1426 * login/utmpname.c: Likewise.
1427 * malloc/mtrace.c: Likewise.
1428 * misc/efgcvt.c: Likewise.
1429 * misc/error.c: Likewise.
1430 * misc/fstab.c: Likewise.
1431 * misc/getpass.c: Likewise.
1432 * misc/mntent.c: Likewise.
1433 * misc/syslog.c: Likewise.
1434 * nis/nis_call.c: Likewise.
1435 * nis/nis_callback.c: Likewise.
1436 * nis/nss-default.c: Likewise.
1437 * nis/nss_compat/compat-grp.c: Likewise.
1438 * nis/nss_compat/compat-initgroups.c: Likewise.
1439 * nis/nss_compat/compat-pwd.c: Likewise.
1440 * nis/nss_compat/compat-spwd.c: Likewise.
1441 * nis/nss_nis/nis-alias.c: Likewise.
1442 * nis/nss_nis/nis-ethers.c: Likewise.
1443 * nis/nss_nis/nis-grp.c: Likewise.
1444 * nis/nss_nis/nis-hosts.c: Likewise.
1445 * nis/nss_nis/nis-network.c: Likewise.
1446 * nis/nss_nis/nis-proto.c: Likewise.
1447 * nis/nss_nis/nis-pwd.c: Likewise.
1448 * nis/nss_nis/nis-rpc.c: Likewise.
1449 * nis/nss_nis/nis-service.c: Likewise.
1450 * nis/nss_nis/nis-spwd.c: Likewise.
1451 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1452 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1453 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1454 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1455 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1456 * nis/nss_nisplus/nisplus-network.c: Likewise.
1457 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1458 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1459 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1460 * nis/nss_nisplus/nisplus-service.c: Likewise.
1461 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1462 * nis/ypclnt.c: Likewise.
1463 * nptl/libc_pthread_init.c: Likewise.
1464 * nss/getXXbyYY.c: Likewise.
1465 * nss/getXXent.c: Likewise.
1466 * nss/getXXent_r.c: Likewise.
1467 * nss/nss_db/db-XXX.c: Likewise.
1468 * nss/nss_db/db-netgrp.c: Likewise.
1469 * nss/nss_db/nss_db.h: Likewise.
1470 * nss/nss_files/files-XXX.c: Likewise.
1471 * nss/nss_files/files-alias.c: Likewise.
1472 * nss/nsswitch.c: Likewise.
1473 * posix/regex_internal.h: Likewise.
1474 * posix/wordexp.c: Likewise.
1475 * pwd/fgetpwent.c: Likewise.
1476 * resolv/res_hconf.c: Likewise.
1477 * resolv/res_libc.c: Likewise.
1478 * shadow/fgetspent.c: Likewise.
1479 * shadow/lckpwdf.c: Likewise.
1480 * shadow/sgetspent.c: Likewise.
1481 * socket/opensock.c: Likewise.
1482 * stdio-common/reg-modifier.c: Likewise.
1483 * stdio-common/reg-printf.c: Likewise.
1484 * stdio-common/reg-type.c: Likewise.
1485 * stdio-common/vfprintf.c: Likewise.
1486 * stdio-common/vfscanf.c: Likewise.
1487 * stdlib/abort.c: Likewise.
1488 * stdlib/cxa_atexit.c: Likewise.
1489 * stdlib/fmtmsg.c: Likewise.
1490 * stdlib/random.c: Likewise.
1491 * stdlib/setenv.c: Likewise.
1492 * string/strsignal.c: Likewise.
1493 * sunrpc/auth_none.c: Likewise.
1494 * sunrpc/bindrsvprt.c: Likewise.
1495 * sunrpc/create_xid.c: Likewise.
1496 * sunrpc/key_call.c: Likewise.
1497 * sunrpc/rpc_thread.c: Likewise.
1498 * sysdeps/arm/backtrace.c: Likewise.
1499 * sysdeps/generic/ldsodefs.h: Likewise.
1500 * sysdeps/generic/stdio-lock.h: Likewise.
1501 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1502 * sysdeps/i386/backtrace.c: Likewise.
1503 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1504 * sysdeps/m68k/backtrace.c: Likewise.
1505 * sysdeps/mach/hurd/cthreads.c: Likewise.
1506 * sysdeps/mach/hurd/dirstream.h: Likewise.
1507 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1508 * sysdeps/nptl/malloc-machine.h: Likewise.
1509 * sysdeps/nptl/stdio-lock.h: Likewise.
1510 * sysdeps/posix/dirstream.h: Likewise.
1511 * sysdeps/posix/getaddrinfo.c: Likewise.
1512 * sysdeps/posix/system.c: Likewise.
1513 * sysdeps/pthread/aio_suspend.c: Likewise.
1514 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1515 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1516 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1517 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1518 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1519 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1520 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1521 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1522 * sysdeps/unix/sysv/linux/system.c: Likewise.
1523 * sysdeps/x86_64/backtrace.c: Likewise.
1524 * time/alt_digit.c: Likewise.
1525 * time/era.c: Likewise.
1526 * time/tzset.c: Likewise.
1527 * wcsmbs/wcsmbsload.c: Likewise.
1528 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1529 instead of <bits/libc-lock.h> in comment.
1530
1531 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1532
1533 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1534 Only use .set mips2 if the current ISA is below mips2.
1535 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1536 Likewise.
1537 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1538 mips32r2 if the current ISA is below mips32r2.
1539 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1540 (TLS_IE): Updated to use the TLD_RDHWR macro.
1541 (TLS_LE): Likewise.
1542 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1543 __ASSEMBLER__ condition.
1544
1545 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1546
1547 Fix parallel build of before-compile targets.
1548
1549 * sysdeps/mach/Makefile ($(patsubst
1550 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1551 mach-before-compile target.
1552 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1553 io fs process)): Move rule to dedicated hurd-before-compile target.
1554
1555 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1556
1557 Fix rules generating headers in hurd/ and mach/ when initial make call
1558 has subdir= explicitly set.
1559
1560 * sysdeps/mach/Makefile ($(patsubst
1561 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1562 calling $(MAKE).
1563 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1564 io fs process)): Force subdir to hurd when calling $(MAKE).
1565 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1566 subdir to mach when calling $(MAKE).
1567
1568 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1569
1570 Check sysheaders when looking for Mach and Hurd headers
1571
1572 * sysdeps/mach/configure.ac: Add sysheaders check.
1573 * sysdeps/mach/configure: Regenerate.
1574 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1575 * sysdeps/mach/hurd/configure: Regenerate.
1576
1577 2015-09-04 Roland McGrath <roland@hack.frob.com>
1578
1579 [BZ #18921]
1580 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1581 Fix inverted sense of test of 'o_directory_works' value.
1582 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1583 Bernhard Voelker <mail@bernhard-voelker.de>.
1584
1585 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1586
1587 [BZ #14912]
1588 * bits/linkmap.h: Move to ...
1589 * sysdeps/generic/linkmap.h: ...here.
1590 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1591 * sysdeps/aarch64/linkmap.h: ...here.
1592 * sysdeps/arm/bits/linkmap.h: Move to ...
1593 * sysdeps/arm/linkmap.h: ...here.
1594 * sysdeps/hppa/bits/linkmap.h: Move to ...
1595 * sysdeps/hppa/linkmap.h: ...here.
1596 * sysdeps/ia64/bits/linkmap.h: Move to ...
1597 * sysdeps/ia64/linkmap.h: ...here.
1598 * sysdeps/mips/bits/linkmap.h: Move to ...
1599 * sysdeps/mips/linkmap.h: ...here.
1600 * sysdeps/s390/bits/linkmap.h: Move to ...
1601 * sysdeps/s390/linkmap.h: ...here.
1602 * sysdeps/sh/bits/linkmap.h: Move to ...
1603 * sysdeps/sh/linkmap.h: ...here.
1604 * sysdeps/x86/bits/linkmap.h: Move to ...
1605 * sysdeps/x86/linkmap.h: ...here.
1606 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1607
1608 2015-09-04 Andreas Schwab <schwab@suse.de>
1609
1610 [BZ #18635]
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1612 (__makecontext): Terminate FDE before return label.
1613 (__novec_makecontext): Likewise.
1614
1615 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1616
1617 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1618 first member of struct sv in syscall macro.
1619
1620 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1621
1622 [BZ #14912]
1623 * bits/stdio-lock.h: Move to ...
1624 * sysdeps/generic/stdio-lock.h: ...here.
1625 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1626 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1627 * sysdeps/nptl/stdio-lock.h: ...here.
1628 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1629 * include/libio.h: Include <stdio-lock.h> instead of
1630 <bits/stdio-lock.h>.
1631 * sysdeps/nptl/fork.c: Likewise.
1632 * sysdeps/pthread/flockfile.c: Likewise.
1633 * sysdeps/pthread/ftrylockfile.c: Likewise.
1634 * sysdeps/pthread/funlockfile.c: Likewise.
1635
1636 [BZ #14912]
1637 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1638 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1639 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1640 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1641 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1642 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1643 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1644
1645 2015-09-03 Roland McGrath <roland@hack.frob.com>
1646
1647 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1648 (test-xfail-tst-protected1b): New variable.
1649
1650 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1651
1652 [BZ #14912]
1653 * bits/libc-tsd.h: Move to ...
1654 * sysdeps/generic/libc-tsd.h: ...here.
1655 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1656 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1657 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1658 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1659 * include/ctype.h: Include <libc-tsd.h> instead of
1660 <bits/libc-tsd.h>.
1661 * include/rpc/rpc.h: Likewise.
1662 * locale/localeinfo.h: Likewise.
1663 * sunrpc/rpc_thread.c: Likewise.
1664 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1665 * sysdeps/nptl/malloc-machine.h: Likewise.
1666
1667 * Makefile (headers): Remove bits/libc-lock.h.
1668 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1669
1670 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1671 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1672 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1673 <bits/stdio-lock.h>.
1674 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1675 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1676
1677 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1678
1679 [BZ #18757]
1680 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1681 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1682 BZ #18757.
1683
1684 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1685
1686 * malloc/mtrace.pl: Filter out NULL entries.
1687
1688 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1689
1690 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1691 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1692 macro.
1693
1694 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1695 (TCP_CC_INFO): Likewise.
1696 (TCP_SAVE_SYN): Likewise.
1697 (TCP_SAVED_SYN): Likewise.
1698
1699 2015-08-31 Brett Neumeier <brett@neumeier.us>
1700
1701 [BZ #18870]
1702 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1703
1704 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1705
1706 [BZ #18873]
1707 Fix broken overflow check in posix_fallocate
1708 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1709 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1710 Fix parenthesization typo.
1711
1712 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1713
1714 [BZ #18887]
1715 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1716 tst-mntent-blank-passno.
1717 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1718 * misc/tst-mntent-blank-corrupt.c: New test.
1719 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1720 * misc/tst-mntent.c (do_test): ... here.
1721
1722 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1723
1724 [BZ #4404]
1725 * po/de.po: Fix SIGALRM typo.
1726
1727 2015-08-28 James Perkins <james@loowit.net>
1728
1729 * time/tst-strptime2.c (tests): Replace short list of test
1730 strings for strptime %z specifier with code which exhaustively
1731 tests every combination of sign and 0 to 5 digits. Tests for
1732 rejection of invalid strings.
1733
1734 2015-08-28 James Perkins <james@loowit.net>
1735
1736 [BZ #16141]
1737 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1738 calculation, removing incorrect decimal time rounding, so that
1739 all minute values result in a valid seconds value.
1740 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1741 offset range limits to UTC-99:59 through UTC+99:59 to parse
1742 current and historical use cases.
1743 * time/tst-strptime2.c (tests): Modify and add tests for the
1744 strptime %z input field descriptor, specifically conversion of
1745 minutes to seconds and validating an offset range of -9959 to
1746 +9959.
1747
1748 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1749 Dmitry V. Levin <ldv@altlinux.org>
1750
1751 [BZ #18877]
1752 * posix/Makefile (tests): Add tst-mmap-offset.
1753 * posix/tst-mmap.c: New file.
1754 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1755 offset calculation for negative values.
1756
1757 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1758
1759 * sysdeps/i386/init-arch.h: New file.
1760 * sysdeps/i386/i586/init-arch.h: Likewise.
1761 * sysdeps/i386/i686/init-arch.h: Likewise.
1762 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1763 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1764 * sysdeps/x86/cpu-features.h (bit_I586): New.
1765 (bit_I686): Likewise.
1766 (bit_CX8): Likewise.
1767 (bit_CMOV): Likewise.
1768 (index_CX8): Likewise.
1769 (index_CMOV): Likewise.
1770 (index_I586): Likewise.
1771 (index_I686): Likewise.
1772 (reg_CX8): Likewise.
1773 (reg_CMOV): Likewise.
1774 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1775 available at compile-time.
1776 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1777 available at compile-time.
1778 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1779 (USE_I686): Likewise.
1780
1781 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1782
1783 * sysdeps/i386/bcopy.S: New file.
1784 * sysdeps/i386/bzero.S: Likewise.
1785 * sysdeps/i386/memcpy.S: Likewise.
1786 * sysdeps/i386/memmove.S: Likewise.
1787 * sysdeps/i386/mempcpy.S: Likewise.
1788 * sysdeps/i386/memset.S: Likewise.
1789 * sysdeps/i386/bzero.c: Removed.
1790 * sysdeps/i386/memset.c: Likewise.
1791 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1792 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1793 * sysdeps/i386/i586/memset_chk.S: Likewise.
1794 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1795 * sysdeps/i386/memcpy_chk.S: Here.
1796 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1797 * sysdeps/i386/memmove_chk.S: Here.
1798 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1799 * sysdeps/i386/mempcpy_chk.S: Likewise.
1800 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1801 * sysdeps/i386/memset_chk.S: Likewise.
1802
1803 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1804
1805 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1806 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1807 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1808 * soft-fp/fmadf4.c: Ditto.
1809 * soft-fp/fmatf4.c: Ditto.
1810
1811 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 * sysdeps/i386/i586/Implies: Removed.
1814 * sysdeps/i386/i686/Implies: Likewise.
1815
1816 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1817
1818 * sysdeps/i386/i486/strlen.S: Moved to ...
1819 * sysdeps/i386/strlen.S: Here.
1820
1821 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/i386/i486/strcat.S: Moved to ...
1824 * sysdeps/i386/strcat.S: Here.
1825
1826 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1827
1828 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1829 * sysdeps/i386/pthread_spin_trylock.S: Here.
1830 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1831 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1832
1833 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1834
1835 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1836 * sysdeps/i386/string-inlines.c: Here.
1837
1838 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1839
1840 * sysdeps/i386/i486/htonl.S: Moved ...
1841 * sysdeps/i386/htonl.S: here.
1842
1843 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1844
1845 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1846 * sysdeps/i386/bits/atomic.h: Here.
1847
1848 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1849
1850 * sysdeps/i386/i486/Versions: Removed.
1851
1852 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1853
1854 [BZ #2898]
1855 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1856 Based on patch by Aurelien Jarno.
1857
1858 2015-08-26 Stan Shebs <stanshebs@google.com>
1859
1860 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1861 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1862
1863 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1864
1865 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1866 * sysdeps/powerpc/dl-procinfo.c:
1867 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1868 feature so it shows when LD_SHOW_AUXV=1.
1869
1870 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1871
1872 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1873 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1874 definition. ISA 2.07B no longer requires full sync.
1875
1876 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1877
1878 [BZ #18863]
1879 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1880 (si_call_addr): Define.
1881 (si_syscall): Define.
1882 (si_arch): Define.
1883
1884 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1885
1886 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1887 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1888 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1889 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1890 (__memset_zero_constant_len_parameter): New.
1891 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1892 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1893 (__memset_zero_constant_len_parameter): Don't define if
1894 __memset_chk or USE_AS_BZERO are defined.
1895
1896 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1897 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1898 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1899
1900 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1901 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1902 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1903 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1904 comments.
1905 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1906 -mno-mmx for $(all-rtld-routines).
1907 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1908 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1909 i386.
1910
1911 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1912
1913 * sysdeps/generic/unwind.h
1914 (_Unwind_Word): Use __mode__(__unwind_word__)
1915 instead of __mode__(__word__).
1916 (_Unwind_Sword): Likewise.
1917
1918 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1919 (MAX_NEEDED_INPUT): New define.
1920 (MAX_NEEDED_OUTPUT): New define.
1921
1922 * NEWS: New item for IBM z13 string optimizations.
1923
1924 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1925 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1926 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1927 * sysdeps/s390/multiarch/Makefile
1928 (sysdep_routines): Add memrchr functions.
1929 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1930 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1931
1932 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1933 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1934 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1935 * sysdeps/s390/multiarch/Makefile
1936 (sysdep_routines): Add wmemcmp functions.
1937 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1938 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1939 * benchtests/bench-wmemcmp.c: New File.
1940 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1941
1942 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1943 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1944 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1945 * sysdeps/s390/multiarch/Makefile
1946 (sysdep_routines): Add wmemset functions.
1947 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1948 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1949 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1950 * string/test-memset.c: Add wmemset support.
1951 * wcsmbs/test-wmemset.c: New File.
1952 * wcsmbs/Makefile (strop-tests): Add wmemset.
1953 * benchtests/bench-memset.c: Add wmemset support.
1954 * benchtests/bench-wmemset.c: New File.
1955 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1956
1957 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1958 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1959 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1960 * sysdeps/s390/multiarch/Makefile
1961 (sysdep_routines): Add memccpy functions.
1962 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1963 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1964 * string/memccpy.c: Use MEMCCPY if defined.
1965
1966 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1967 * sysdeps/s390/multiarch/memchr.c: Likewise.
1968 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1969 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1970 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1971 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1972 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1973 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1974 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1975 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1976 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1977 and rawmemchr functions.
1978 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1979 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1980 and wmemchr.
1981 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1982 * string/test-memchr.c: Add wmemchr support.
1983 * wcsmbs/test-wmemchr.c: New File.
1984 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1985 * benchtests/bench-memchr.c: Add wmemchr support.
1986 * benchtests/bench-wmemchr.c: New File.
1987 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1988
1989 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1990 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1991 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1992 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1993 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1994 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1995 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1996 wcscspn functions.
1997 * sysdeps/s390/multiarch/ifunc-impl-list.c
1998 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1999 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2000 * string/test-strcspn.c: Add wcscspn support.
2001 * wcsmbs/test-wcscspn.c: New File.
2002 * wcsmbs/Makefile (strop-tests): Add wcscspn.
2003 * benchtests/bench-strcspn.c: Add wcscspn support.
2004 * benchtests/bench-wcscspn.c: New File.
2005 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2006
2007 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2008 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2009 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2010 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2011 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2012 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2013 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2014 wcspbrk functions.
2015 * sysdeps/s390/multiarch/ifunc-impl-list.c
2016 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2017 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2018 * string/test-strpbrk.c: Add wcspbrk support.
2019 * wcsmbs/test-wcspbrk.c: New File.
2020 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2021 * benchtests/bench-strpbrk.c: Add wcspbrk support.
2022 * benchtests/bench-wcspbrk.c: New File.
2023 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2024
2025 * sysdeps/s390/multiarch/strspn-c.c: New File.
2026 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2027 * sysdeps/s390/multiarch/strspn.c: Likewise.
2028 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2029 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2030 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2031 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2032 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2033 wcsspn functions.
2034 * sysdeps/s390/multiarch/ifunc-impl-list.c
2035 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2036 * string/test-strspn.c: Add wcsspn support.
2037 * wcsmbs/test-wcsspn.c: New File.
2038 * wcsmbs/Makefile (strop-tests): Add wcsspn.
2039 * benchtests/bench-strspn.c: Add wcsspn support.
2040 * benchtests/bench-wcsspn.c: New File.
2041 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2042
2043 * sysdeps/s390/multiarch/strrchr-c.c: New File.
2044 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2045 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2046 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2047 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2048 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2049 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2050 wcsrchr functions.
2051 * sysdeps/s390/multiarch/ifunc-impl-list.c
2052 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2053 * benchtests/bench-wcsrchr.c: New File.
2054 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2055
2056 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2057 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2058 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2059 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2060 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2061 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2062 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2063 wcschrnul functions.
2064 * sysdeps/s390/multiarch/ifunc-impl-list.c
2065 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2066 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2067 * string/test-strchr.c: Add wcschrnul support.
2068 * wcsmbs/test-wcschrnul.c: New File.
2069 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2070 * benchtests/bench-strchr.c: Add wcschrnul support.
2071 * benchtests/bench-wcschrnul.c: New File.
2072 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2073
2074 * sysdeps/s390/multiarch/strchr-c.c: New File.
2075 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2076 * sysdeps/s390/multiarch/strchr.c: Likewise.
2077 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2078 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2079 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2080 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2081 wcschr functions.
2082 * sysdeps/s390/multiarch/ifunc-impl-list.c
2083 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2084 * string/strchr.c (STRCHR): Define and use macro.
2085 * benchtests/bench-wcschr.c: New File.
2086 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2087
2088 * sysdeps/s390/multiarch/strncmp-c.c: New File.
2089 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2090 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2091 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2092 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2093 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2094 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2095 wcsncmp functions.
2096 * sysdeps/s390/multiarch/ifunc-impl-list.c
2097 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2098 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2099 * benchtests/bench-strncmp.c: Add wcsncmp support.
2100 * benchtests/bench-wcsncmp.c: New File.
2101 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2102
2103 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2104 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2105 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2106 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2107 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2108 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2109 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2110 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2111 wcscmp functions.
2112 * sysdeps/s390/multiarch/ifunc-impl-list.c
2113 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2114 * string/strcmp.c (STRCMP): Define and use macro.
2115 * benchtests/bench-wcscmp.c: New File.
2116 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2117 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2118 instead of _HAVE_STRING_ARCH_memchr.
2119
2120 * sysdeps/s390/multiarch/strncat-c.c: New File.
2121 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2122 * sysdeps/s390/multiarch/strncat.c: Likewise.
2123 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2124 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2125 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2126 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2127 wcsncat functions.
2128 * sysdeps/s390/multiarch/ifunc-impl-list.c
2129 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2130 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2131 * string/test-strncat.c: Add wcsncat support.
2132 * wcsmbs/test-wcsncat.c: New File.
2133 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2134 * benchtests/bench-strncat.c: Add wcsncat support.
2135 * benchtests/bench-wcsncat.c: New File.
2136 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2137
2138 * sysdeps/s390/multiarch/strcat-c.c: New File.
2139 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2140 * sysdeps/s390/multiarch/strcat.c: Likewise.
2141 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2142 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2143 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2144 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2145 wcscat functions.
2146 * sysdeps/s390/multiarch/ifunc-impl-list.c
2147 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2148 * string/strcat.c (STRCAT): Define and use macro.
2149 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2150 * string/test-strcat.c: Add wcscat support.
2151 * wcsmbs/test-wcscat.c: New File.
2152 * wcsmbs/Makefile (strop-tests): Add wcscat.
2153 * benchtests/bench-strcat.c: Add wcscat support.
2154 * benchtests/bench-wcscat.c: New File.
2155 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2156
2157 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2158 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2159 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2160 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2161 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2162 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2163 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2164 wcpncpy functions.
2165 * sysdeps/s390/multiarch/ifunc-impl-list.c
2166 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2167 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2168 * string/test-stpncpy.c: Add wcpncpy support.
2169 * wcsmbs/test-wcpncpy.c: New File.
2170 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2171 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2172 * benchtests/bench-wcpncpy.c: New File.
2173 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2174
2175 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2176 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2177 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2178 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2179 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2180 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2181 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2182 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2183 wcsncpy functions.
2184 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2185 * sysdeps/s390/multiarch/ifunc-impl-list.c
2186 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2187 * string/test-strncpy.c: Add wcsncpy support.
2188 * wcsmbs/test-wcsncpy.c: New File.
2189 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2190 * benchtests/bench-strncpy.c: Add wcsncpy support.
2191 * benchtests/bench-wcsncpy.c: New File.
2192 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2193
2194 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2195 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2196 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2197 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2198 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2199 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2200 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2201 wcpcpy functions.
2202 * string/stpcpy.c: Use STPCPY if defined.
2203 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2204 * sysdeps/s390/multiarch/ifunc-impl-list.c
2205 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2206 * string/test-stpcpy.c: Add wcpcpy support.
2207 * wcsmbs/test-wcpcpy.c: New File.
2208 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2209 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2210 * benchtests/bench-wcpcpy.c: New File.
2211 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2212
2213 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2214 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2215 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2216 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2217 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2218 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2219 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2220 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2221 wcscpy functions.
2222 * sysdeps/s390/multiarch/ifunc-impl-list.c
2223 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2224 * benchtests/bench-wcscpy.c: New File.
2225 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2226
2227 * sysdeps/s390/multiarch/strnlen-c.c: New File.
2228 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2229 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2230 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2231 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2232 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2233 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2234 wcsnlen functions.
2235 * sysdeps/s390/multiarch/ifunc-impl-list.c
2236 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2237 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2238 * string/test-strnlen.c: Add wcsnlen support.
2239 * wcsmbs/test-wcsnlen.c: New File.
2240 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2241 * benchtests/bench-strnlen.c: Add wcsnlen support.
2242 * benchtests/bench-wcsnlen.c: New File.
2243 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2244
2245 * sysdeps/s390/multiarch/Makefile: New File.
2246 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2247 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2248 * sysdeps/s390/multiarch/strlen.c: Likewise.
2249 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2250 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2251 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2252 * string/strlen.c (STRLEN): Define and use macro.
2253 * sysdeps/s390/multiarch/ifunc-impl-list.c
2254 (IFUNC_VX_IMPL): New macro function.
2255 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2256 * benchtests/Makefile (wcsmbs-bench): New variable.
2257 (string-bench-all): Added wcsmbs-bench.
2258 * benchtests/bench-wcslen.c: New File.
2259
2260 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2261 s390_vx_libc_ifunc2): New macro function.
2262
2263 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2264 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2265 assembler support.
2266 * sysdeps/s390/configure: Regenerated.
2267
2268 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2269 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2270
2271 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2272 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2273 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2274
2275 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2276 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2277 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2278 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2279 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2280 (memcmp, bcmp): Use __memcmp_default as alias source.
2281 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2282 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2283 Rename to __memcmp_default.
2284 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2285 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2286 (memcpy): Use __memcpy_default as alias source.
2287 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2288 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2289 Rename to __memcpy_default.
2290 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2291 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2292 (memset): Use __memset_default as alias source.
2293 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2294 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2295 Rename to __memset_default.
2296 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2297 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2298 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2299 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2300 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2301 (memcmp, bcmp): Use __memcmp_default as alias source.
2302 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2303 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2304 Rename to __memcmp_default.
2305 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2306 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2307 (memcpy): Use __memcpy_default as alias source.
2308 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2309 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2310 Rename to __memcpy_default.
2311 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2312 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2313 (memset): Use __memset_default as alias source.
2314 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2315 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2316 Rename to __memset_default.
2317 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2318 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2319
2320 [BZ #18610]
2321 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2322 __ieee_instruction_pointer to __unused.
2323 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2324 __ieee_instruction_pointer.
2325 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2326 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2327 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2328 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2329 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2330 Mark dxc-field as reserved.
2331
2332 2015-08-25 Roland McGrath <roland@hack.frob.com>
2333
2334 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2335 if the weak reference is not null.
2336
2337 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2338
2339 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2340
2341 [BZ #11214]
2342 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2343
2344 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2345
2346 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2347 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2348 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2349 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2350 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2351 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2352 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2353 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2354 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2355 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2356 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2357 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2358 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2359 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2360 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2361 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2362 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2363 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2364
2365 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2366
2367 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2368 register other than r0 for tabort, it has special meaning.
2369 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2370 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2371 transaction before starting syscall.
2372
2373 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2374
2375 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2376
2377 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2378
2379 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2380
2381 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2382 * sysdeps/x86_64/rtld-memset.S: Likewise.
2383 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2384 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2385 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2386 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2387
2388 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2389
2390 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2391
2392 * debug/strcpy_chk.c: Improve performance.
2393 * debug/stpcpy_chk.c: Likewise.
2394 * sysdeps/x86_64/strcpy_chk.S: Remove.
2395 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2396
2397 [BZ #18240]
2398 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2399
2400 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 [BZ #15128]
2403 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2404 ifuncmain8.
2405 (modules-names): Add ifuncmod8.
2406 ($(objpfx)ifuncmain8): New rule.
2407 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2408 <cpuid.h>.
2409 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2410 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2411 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2412 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2413 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2414 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2415 * sysdeps/x86_64/ifuncmain8.c: New file.
2416 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2417 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2418 Removed.
2419 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2420 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2421 Change rtld_savespace_sse to __glibc_unused2.
2422 (RTLD_CHECK_FOREIGN_CALL): Removed.
2423 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2424 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2425 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2426
2427 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2428
2429 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2430
2431 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2432
2433 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2434 Unconditionally set __fpcr to avoid uninialized warning.
2435 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2436
2437 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2438
2439 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2440 is corrupt.
2441
2442 * malloc/arena.c (arena_get2): Drop unused argument.
2443 (arena_lock): Adjust.
2444 (arena_get_retry): Likewise.
2445
2446 2015-08-24 Andreas Schwab <schwab@suse.de>
2447
2448 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2449 Don't define.
2450 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2451 (__ASSUME_IPC64): Don't undef.
2452 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2453 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2454 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2455 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2456 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2457 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2458 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2459 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2460 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2461 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2462 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2463 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2464 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2465 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2466 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2467 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2468 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2469 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2470 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2471 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2472 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2473
2474 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2475
2476 * manual/Makefile (install): Only build manual when perl is available.
2477
2478 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2479
2480 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2481 '#undef memcpy' by '#undef memchr'.
2482
2483 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2484
2485 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2486 memchr not point to the internal __GI_memchr implementation.
2487
2488 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2489
2490 * timezone/Makefile (CFLAGS-zdump.c): Remove
2491 -Wno-strict-prototypes.
2492 (CFLAGS-zic.c): Likewise.
2493 (CFLAGS-ialloc.c): Likewise.
2494 (CFLAGS-scheck.c): Likewise.
2495
2496 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2497 -Wno-error=undef.
2498
2499 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2500
2501 * i386/i686/multiarch/strcasestr-c.c: Removed.
2502 * x86_64/multiarch/strcasestr.c: Likewise.
2503 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2504 Remove strcasestr.
2505
2506 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2507
2508 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2509
2510 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2511 variables for high and low parts before possibly modifying them.
2512
2513 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2514
2515 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2516 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2517 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2518 of "multiarch/init-arch.h".
2519 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2520 * sysdeps/x86/init-arch.h: This.
2521
2522 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2523
2524 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2525 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2526
2527 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2528
2529 [BZ #17787]
2530 * manual/macros.texi: Add twoexp macro.
2531 * manual/filesys.texi: Fix exponents.
2532 * manual/llio.texi: Likewise.
2533 * manual/stdio.texi: Likewise.
2534
2535 2015-08-20 Florian Weimer <fweimer@redhat.com>
2536
2537 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2538 incorrect use.
2539
2540 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2541
2542 [BZ #18370]
2543 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2544 whose real or imaginary part has small absolute value.
2545 * math/s_csqrtf.c (__csqrtf): Likewise.
2546 * math/s_csqrtl.c (__csqrtl): Likewise.
2547 * math/auto-libm-test-in: Add more tests of csqrt.
2548 * math/auto-libm-test-out: Regenerated.
2549 * sysdeps/i386/fpu/libm-test-ulps: Update.
2550
2551 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2552
2553 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2554 __ppc_set_ppr_very_low): New functions.
2555 * manual/platform.texi: Add documentation about
2556 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2557
2558 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2559
2560 * string/stpncpy.c (stpncpy): Improve performance using
2561 __strnlen/memcpy/memset.
2562
2563 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2564
2565 [BZ #18796]
2566 * scripts/test-installation.pl: Don't add -lmvec to build options if
2567 libmvec wasn't built.
2568
2569 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2570
2571 [BZ #14341]
2572 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2573 case when there is a gap between DT_REL and DT_JMPREL sections.
2574 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2575 (LDFLAGS-tst-split-dynreloc): New.
2576 (tst-split-dynreloc-ENV): Likewise.
2577 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2578 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2579
2580 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2581
2582 [BZ #18822]
2583 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2584 attribute_hidden.
2585 (__xstat64_conv): Likewise.
2586 (__xstat32_conv): Likewise.
2587
2588 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2589
2590 [BZ #18822]
2591 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2592 Don't load %ebx when calling __setcontext. Call __setcontext
2593 with HIDDEN_JUMPTARGET.
2594 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2595 libc_hidden_def.
2596
2597 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2598
2599 * sysdeps/i386/i686/Makefile
2600 [$(subdir) == string] (sysdep_routines): Moved to ...
2601 * sysdeps/i386/Makefile: Here.
2602 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2603 * sysdeps/i386/cacheinfo.c: Here.
2604 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2605 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2606 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2607 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2608
2609 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2610
2611 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2612 __i586__ is defined.
2613 (HAS_I686): Defined to 1 if __i686__ is defined.
2614
2615 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2616
2617 * elf/Makefile [$(have-z-execstack) = yes]
2618 (CPPFLAGS-tst-execstack.c): New variable.
2619
2620 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2621 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2622 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2623 UTMPX || _HAVE_UT_TV].
2624 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2625 UTMPX || _HAVE_UT_TV - 0].
2626
2627 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2628
2629 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2630 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2631 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2632
2633 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2634
2635 * sysdeps/powerpc/dl-procinfo.c:
2636 (_dl_powerpc_cap_flags): Added missing strings for some
2637 hwcap features.
2638 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2639
2640 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2641
2642 Port the 0x7efe...feff pattern to GCC 6.
2643 See Steve Ellcey's bug report in:
2644 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2645 * string/memrchr.c (MEMRCHR):
2646 * string/rawmemchr.c (RAWMEMCHR):
2647 * string/strchr.c (strchr):
2648 * string/strchrnul.c (STRCHRNUL):
2649 Rewrite code to avoid issues with signed shift overflow.
2650
2651 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2652
2653 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2654 whether cpuid is available only if HAS_CPUID is 0.
2655 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2656 (HAS_I586): Likewise.
2657 (HAS_I686): Likewise.
2658
2659 2015-08-18 Zack Weinberg <zackw@panix.com>
2660
2661 * misc/Versions (libc): Add GLIBC_2.23.
2662
2663 2015-08-18 Alan Modra <amodra@gmail.com>
2664
2665 [BZ #18421]
2666 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2667 .Lp__global.
2668 (_start): Load %dp via .Lp__global.
2669 [!SHARED]: Use .section .rodata.
2670
2671 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2672
2673 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2674 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2675
2676 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2677
2678 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2679 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2680
2681 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2682
2683 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2684 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2685
2686 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2687
2688 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2689 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2690
2691 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2692
2693 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2694 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2695
2696 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2697
2698 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2699 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2700
2701 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2702
2703 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2704
2705 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2706
2707 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2708 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2709 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2710 (__ASSUME_LWS_CAS): Delete.
2711
2712 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2713
2714 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2715 * sysdeps/hppa/configure: Regenerated.
2716 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2717 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2718 * sysdeps/hppa/nptl/tls.h: Likewise.
2719
2720 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2721
2722 [BZ #18823]
2723 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2724 for scaling up small arguments.
2725 * math/s_csqrtf.c (__csqrtf): Likewise.
2726 * math/s_csqrtl.c (__csqrtl): Likewise.
2727 * math/auto-libm-test-in: Add more tests of csqrt.
2728 * math/auto-libm-test-out: Regenerated.
2729
2730 2015-08-17 Andreas Schwab <schwab@suse.de>
2731
2732 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2733 version set GLIBC_2.19.
2734
2735 2015-08-16 Zack Weinberg <zackw@panix.com>
2736
2737 [BZ #18681]
2738 * misc/regexp.h: This interface is no longer supported.
2739 Remove all contents, leaving only an #error directive.
2740 * misc/regexp.c (loc1, loc2, locs, step, advance):
2741 Demote to compatibility symbols.
2742
2743 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2744
2745 [BZ #18084]
2746 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2747 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2748 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2749 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2750 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2751 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2752 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2753 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2754 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2755
2756 2015-08-15 Zack Weinberg <zackw@panix.com>
2757
2758 [BZ #18795]
2759 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2760 buffer length is known to be too large, not if it's known to be
2761 small enough.
2762 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2763 overflow at runtime, involving a length parameter, twice: once
2764 with a compile-time constant length parameter, once without.
2765
2766 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2767
2768 [BZ #18824]
2769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2770 scaling x * y up instead of down.
2771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2773 * math/auto-libm-test-in: Add more tests of fma.
2774 * math/auto-libm-test-out: Regenerated.
2775
2776 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2777
2778 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2779
2780 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2781
2782 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2783 unnecessary movq.
2784 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2785 Likewise.
2786
2787 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2788
2789 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2790 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2791 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2792 and tgamma.
2793 * math/auto-libm-test-out: Regenerated.
2794 * sysdeps/i386/fpu/libm-test-ulps: Update.
2795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796
2797 [BZ #16520]
2798 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2799 (__tanh): Force underflow exception for arguments with small
2800 absolute value.
2801 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2802 (__tanhf): Force underflow exception for arguments with small
2803 absolute value.
2804 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2805 (__tanhl): Force underflow exception for arguments with small
2806 absolute value.
2807 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2808 (__tanhl): Force underflow exception for arguments with small
2809 absolute value.
2810 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2811 (__tanhl): Force underflow exception for arguments with small
2812 absolute value.
2813 * math/auto-libm-test-in: Add more tests of tanh.
2814 * math/auto-libm-test-out: Regenerated.
2815 * sysdeps/i386/fpu/libm-test-ulps: Update.
2816
2817 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2818
2819 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2820 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2821
2822 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2825 <cpuid.h>.
2826
2827 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2828
2829 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2830 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2831
2832 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2833
2834 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2835 Remove $(objpfx)init-arch.o.
2836 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2837 init-arch.
2838 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2839 (INIT_ARCH_EXT): Defined as empty.
2840 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2841 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2842 __init_cpu_features call. Replace HAS_XXX with
2843 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2844 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2845 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2846 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2847 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2848 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2849 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2850 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2851 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2852 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2853 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2854 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2855 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2856 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2857 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2858 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2859 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2860 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2861 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2862 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2863 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2864 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2865 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2866 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2867 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2868 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2869 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2870 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2871 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2872 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2873 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2874 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2875 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2876 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2877 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2878 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2879
2880 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2881
2882 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2883 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2884 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2885 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2886 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2887 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2888 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2889 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2890 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2891 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2892 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2893 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2894 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2895 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2896 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2897 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2898 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2899 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2900 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2901 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2902 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2903 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2904 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2905 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2906 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2907 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2908 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2909 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2910 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2911 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2912 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2913 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2914 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2915 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2916 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2917 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2918 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2919 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2920 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2921 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2922 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2923 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2924 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2925
2926 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2927
2928 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2929 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2931 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2932 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2933 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2935 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2936 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2937 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2939 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2940 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2941 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2942 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2943 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2944 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2945 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2946 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2947 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2949 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2950 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2951 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2952 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2953 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2954 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2955 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2956 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2957 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2958 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2959 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2960 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2961 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2962 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2963 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2964 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2965 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2966 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2967 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2968 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2969 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2970 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2971
2972 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2973
2974 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2975 (dl_platform_init): Call init_cpu_features.
2976 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2977 * sysdeps/i386/i686/cacheinfo.c
2978 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2979 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2980 * sysdeps/i386/i686/multiarch/Versions: Removed.
2981 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2982 Removed.
2983 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2984 * sysdeps/unix/sysv/linux/x86/Makefile
2985 (libpthread-sysdep_routines): Remove init-arch.
2986 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2987 <sysdeps/x86_64/dl-procinfo.c> instead of
2988 sysdeps/generic/dl-procinfo.c>.
2989 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2990 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2991 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2992 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2993 [$(subdir) == elf] (tests-static): Add
2994 tst-get-cpu-features-static.
2995 * sysdeps/x86/Versions: New file.
2996 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2997 * sysdeps/x86/cpu-features.c: Likewise.
2998 * sysdeps/x86/cpu-features.h: Likewise.
2999 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3000 * sysdeps/x86/libc-start.c: Likewise.
3001 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3002 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3003 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3004 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3005 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3006 Assume USE_MULTIARCH is defined and don't check it.
3007 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3008 (is_amd): Likewise.
3009 (max_cpuid): Likewise.
3010 (intel_check_word): Likewise.
3011 (__cache_sysconf): Don't call __init_cpu_features.
3012 (__x86_preferred_memory_instruction): Removed.
3013 (init_cacheinfo): Don't call __init_cpu_features. Replace
3014 __cpu_features with GLRO(dl_x86_cpu_features).
3015 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3016 (dl_platform_init): Call init_cpu_features.
3017 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3018 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3019 * sysdeps/x86_64/multiarch/Versions: Removed.
3020 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3021 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3022 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3023 Removed.
3024 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3025
3026 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3027
3028 [BZ #18820]
3029 * libio/Makefile (test-fmemopen-mem): New test.
3030 * libio/test-fmemopen.c (do_bz18820): New test.
3031 * libio/fmemopen.c (__fmemopen): Fix memory leak.
3032 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3033
3034 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3035
3036 [BZ #16734]
3037 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3038 (FREE_BUF): Delete.
3039 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3040 * libio/genops.c (_IO_setb): Use malloc and free directly.
3041 (_IO_default_doallocate, _IO_default_finish): Likewise.
3042 ( _IO_unbuffer_all): Likewise.
3043 ( libc_freeres_fn): Likewise.
3044 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3045 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3046 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3047 (_IO_wdefault_doallocate): Likewise.
3048
3049 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3050
3051 [BZ #18086]
3052 * sysdeps/posix/nice.c (nice): Restore old errno.
3053 * posix/tst-nice.c (do_test): Add test for BZ #18086.
3054
3055 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
3056
3057 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3058
3059 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3060
3061 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3062 __bcopy and add a weak_alias to bcopy.
3063 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3064 for static build.
3065
3066 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3067 cleanup macro usage.
3068 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3069 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3070 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3071 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3072 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3073 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3074 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3075 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3076 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3077 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3078 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3079 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3080 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3081 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3082 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3083 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3084 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3085 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3086 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3087
3088 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3089 libc_hidden_def.
3090 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3091
3092 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3093 (sysdep_routines): Add strstr-ppc64.
3094 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3095
3096 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
3097
3098 [BZ #18778]
3099 * elf/Makefile (tests): Add Add tst-nodelete2.
3100 (modules-names): Add tst-nodelete2mod.
3101 (tst-nodelete2mod.so-no-z-defs): New.
3102 ($(objpfx)tst-nodelete2): Likewise.
3103 ($(objpfx)tst-nodelete2.out): Likewise.
3104 (LDFLAGS-tst-nodelete2): Likewise.
3105 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3106 out of loop through all loaded libraries.
3107 * elf/tst-nodelete2.c: New file.
3108 * elf/tst-nodelete2mod.c: Likewise.
3109 * elf/tst-znodelete-zlib.cc: Delete.
3110
3111 2015-08-11 Andreas Schwab <schwab@suse.de>
3112
3113 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3114 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3115 (__openat64_nocancel): Likewise.
3116
3117 2015-08-11 Joseph Myers <joseph@codesourcery.com>
3118
3119 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3120 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3121 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3122 * math/auto-libm-test-out: Regenerated.
3123 * sysdeps/i386/fpu/libm-test-ulps: Update.
3124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3125
3126 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3127
3128 [BZ #18790]
3129 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3130 threshold for returning +/- 1.
3131 * math/auto-libm-test-in: Add more tests of tanh.
3132 * math/auto-libm-test-out: Regenerated.
3133 * sysdeps/i386/fpu/libm-test-ulps: Update.
3134
3135 2015-08-10 Andreas Schwab <schwab@suse.de>
3136
3137 [BZ #18781]
3138 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3139 MORE_OFLAGS to oflag.
3140 * io/test-lfs.c (do_test): Test openat64.
3141
3142 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #18789]
3145 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3146 smaller threshold for returning the argument.
3147 * math/auto-libm-test-in: Add more tests of sinh.
3148 * math/auto-libm-test-out: Regenerated.
3149 * sysdeps/i386/fpu/libm-test-ulps: Update.
3150
3151 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3152
3153 [BZ #18674]
3154 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3155 break.
3156
3157 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3158
3159 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3160 (generated): Don't add $(addprefix z.,$(tzfiles)).
3161
3162 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3163
3164 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3165 * scripts/sysd-rules.awk: Likewise.
3166
3167 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3168
3169 * iconvdata/tst-tables.sh: Change echo -n to printf.
3170 * nss/db-Makefile: Likewise.
3171 * posix/tst-getconf.sh: Likewise.
3172 * stdio-common/tst-unbputc.sh: Likewise.
3173
3174 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3175
3176 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3177 MADV_*_PAGES defines behind this feature check.
3178
3179 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3180
3181 [BZ #18480]
3182 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3183 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3184 Define.
3185 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3186 LOAD_REGS_5, LOAD_REGS_6): Update.
3187 (INTERNAL_SYSCALL): Update using new LOAD defines.
3188 (INTERNAL_SYSCALL_NCS): Likewise.
3189 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3190
3191 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3192
3193 [BZ #16734]
3194 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3195
3196 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3197
3198 [BZ #17905]
3199 * catgets/Makefile (tst-catgets-mem): New test.
3200 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3201 * catgets/open_catalog.c (__open_catalog): Likewise.
3202 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3203
3204 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3205
3206 [BZ #18787]
3207 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3208 clobber registers.
3209 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3210 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3211 Cast return to __typeof (oldval).
3212
3213 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3214
3215 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3216 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3217 and delete sys/syscall.h include.
3218
3219 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3220
3221 [BZ #16517]
3222 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3223 (tan): Force underflow exception for arguments with small absolute
3224 value.
3225 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3226 (__kernel_tanf): Force underflow exception for arguments with
3227 small absolute value.
3228 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3229 (__kernel_tanl): Force underflow exception for arguments with
3230 small absolute value.
3231 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3232 (__kernel_tanl): Force underflow exception for arguments with
3233 small absolute value.
3234 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3235 (__kernel_tanl): Force underflow exception for arguments with
3236 small absolute value.
3237 * math/auto-libm-test-in: Add more tests of tan.
3238 * math/auto-libm-test-out: Regenerated.
3239
3240 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3241
3242 Fix sysdeps/i386/fpu/s_scalbn.S build
3243
3244 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3245
3246 2015-08-07 Mike Frysinger <vapier@gentoo.org>
3247
3248 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3249
3250 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3251
3252 Fix gcrt0.o compilation
3253
3254 When static-start-installed-name is different from
3255 start-installed-name, we must not use the shared objects.
3256
3257 * csu/Makefile
3258 (extra-objs): Add gmon-start.o when building shared library and
3259 $(static-start-installed-name) is different from
3260 $(start-installed-name).
3261 $(objpfx)g$(static-start-installed-name): When building shared
3262 library and $(static-start-installed-name) is different from
3263 $(static-start-installed-name), revert to non-shared rule,
3264 i.e. using $(objpfx)% and gmon-start.o.
3265
3266 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3267
3268 [BZ #16519]
3269 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3270 (__ieee754_sinh): Force underflow exception for arguments with
3271 small absolute value.
3272 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3273 (__ieee754_sinhf): Force underflow exception for arguments with
3274 small absolute value.
3275 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3276 (__ieee754_sinhl): Force underflow exception for arguments with
3277 small absolute value.
3278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3279 (__ieee754_sinhl): Force underflow exception for arguments with
3280 small absolute value.
3281 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3282 (__ieee754_sinhl): Force underflow exception for arguments with
3283 small absolute value.
3284 * math/auto-libm-test-in: Add more tests of sinh.
3285 * math/auto-libm-test-out: Regenerated.
3286 * sysdeps/i386/fpu/libm-test-ulps: Update.
3287
3288 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3289
3290 * libio/oldfileops.c: Include unistd.h.
3291
3292 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3293
3294 * stdlib/isomac.c: Include ctype.h.
3295
3296 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3297
3298 * dirent/tst-seekdir.c (main): Converted to ...
3299 (do_test): ... this.
3300 (TEST_FUNCTION): New macro.
3301 Include test-skeleton.c.
3302 * elf/tst-dlmodcount.c (main): Converted to ...
3303 (do_test): ... this.
3304 (TEST_FUNCTION): New macro.
3305 Include test-skeleton.c.
3306 * elf/tst-order-main.c (main): Converted to ...
3307 (do_test): ... this.
3308 (TEST_FUNCTION): New macro.
3309 Include test-skeleton.c.
3310 * elf/tst-pie2.c (main): Converted to ...
3311 (do_test): ... this.
3312 (TEST_FUNCTION): New macro.
3313 Include test-skeleton.c.
3314 * inet/tst-ether_aton.c (main): Converted to ...
3315 (do_test): ... this.
3316 (TEST_FUNCTION): New macro.
3317 Include test-skeleton.c.
3318 * misc/tst-mntent.c (main): Converted to ...
3319 (do_test): ... this.
3320 (TEST_FUNCTION): New macro.
3321 Include test-skeleton.c.
3322 * misc/tst-tsearch.c (main): Converted to ...
3323 (do_test): ... this.
3324 (TEST_FUNCTION): New macro.
3325 Include test-skeleton.c.
3326 * posix/tst-regexloc.c (main): Converted to ...
3327 (do_test): ... this.
3328 (TEST_FUNCTION): New macro.
3329 Include test-skeleton.c.
3330 * resolv/tst-aton.c (main): Converted to ...
3331 (do_test): ... this.
3332 (TEST_FUNCTION): New macro.
3333 Include test-skeleton.c.
3334 * stdio-common/test-fwrite.c (main): Converted to ...
3335 (do_test): ... this.
3336 (TEST_FUNCTION): New macro.
3337 Include test-skeleton.c.
3338 * stdio-common/tst-ferror.c (main): Converted to ...
3339 (do_test): ... this.
3340 (TEST_FUNCTION): New macro.
3341 Include test-skeleton.c.
3342 * stdio-common/tst-printf.c (main): Converted to ...
3343 (do_test): ... this.
3344 (TEST_FUNCTION): New macro.
3345 Include test-skeleton.c.
3346 * stdio-common/tst-printfsz.c (main): Converted to ...
3347 (do_test): ... this.
3348 (TEST_FUNCTION): New macro.
3349 Include test-skeleton.c.
3350 * stdlib/tst-strtod.c (main): Converted to ...
3351 (do_test): ... this.
3352 (TEST_FUNCTION): New macro.
3353 Include test-skeleton.c.
3354 * string/tst-strlen.c (main): Converted to ...
3355 (do_test): ... this.
3356 (TEST_FUNCTION): New macro.
3357 Include test-skeleton.c.
3358 * string/tst-svc.c (main): Converted to ...
3359 (do_test): ... this.
3360 (TEST_FUNCTION): New macro.
3361 Include test-skeleton.c.
3362 * time/tst-strptime.c (main): Converted to ...
3363 (do_test): ... this.
3364 (TEST_FUNCTION): New macro.
3365 Include test-skeleton.c.
3366 * timezone/tst-timezone.c (main): Converted to ...
3367 (do_test): ... this.
3368 (TEST_FUNCTION): New macro.
3369 Include test-skeleton.c.
3370
3371 2015-08-05 Zack Weinberg <zackw@panix.com>
3372
3373 * misc/regexp.h: Update comments.
3374
3375 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3376
3377 [BZ #18635]
3378 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3379 before return label.
3380
3381 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3382
3383 [BZ #18661]
3384 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3385 when calling __errno_location.
3386 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3387 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3388
3389 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3390
3391 [BZ #18661]
3392 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3393 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3394 __gettimeofday.
3395
3396 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3397
3398 [BZ #18661]
3399 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3400 (__start_context): Don't use pop to restore %rdi so that stack
3401 is aligned to 16 bytes when calling __setcontext.
3402
3403 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3404
3405 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3406 only for libc.
3407 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3408
3409 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3410
3411 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3412 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3413 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3414
3415 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3416
3417 * string/memccpy.c (memccpy):
3418 Improve performance by using memchr/memcpy/__mempcpy.
3419
3420 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3421
3422 * string/strncpy.c (strncpy):
3423 Improve performance by using __strnlen/memcpy.
3424
3425 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3426
3427 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3428 Optimize to avoid an unnecessary FPCR read.
3429
3430 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3431
3432 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3433 Optimize to reduce FPCR/FPSR accesses.
3434
3435 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3436
3437 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3438 dead->data[category] != NULL.
3439
3440 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3441
3442 [BZ #18647]
3443 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3444 and |x| close to 1, use absolute value of x when computing log.
3445 * math/auto-libm-test-in: Add more tests of pow.
3446 * math/auto-libm-test-out: Regenerated.
3447
3448 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3449
3450 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3451 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3452 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3453
3454 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3455
3456 [BZ #18525]
3457 * locales/km_KH: Remove timezone definition.
3458 * locales/lo_LA: Likewise.
3459 * locales/my_MM: Likewise.
3460 * locales/nan_TW@latin: Likewise.
3461 * locales/th_TH: Likewise.
3462 * locales/uk_UA: Likewise.
3463
3464 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3465
3466 [BZ #18265]
3467 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3468 (wcsncat): Likewise.
3469 (wcscmp): Likewise.
3470 (wcsncmp): Likewise.
3471
3472 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3473
3474 * test-skeleton.c (usage): New function.
3475 (main): Call usage when opt is '?'.
3476
3477 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3478
3479 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3480 before first use.
3481
3482 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3483
3484 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3485 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3486 in there too.
3487
3488 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3489
3490 * version.h (RELEASE): Set to "development".
3491 (VERSION): Set to "2.22.90"
3492
3493 * version.h (RELEASE): Set to "stable".
3494 (VERSION): Set to "2.22"
3495 * include/features.h (__GLIBC_MINOR__): Set to 22.
3496
3497 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3498
3499 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3500 Restructure macro to avoid "value computed is not used" warning.
3501 (atomic_compare_and_exchange_val_acq): Likewise.
3502
3503 2015-08-04 Andreas Schwab <schwab@suse.de>
3504
3505 [BZ #18635]
3506 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3507 ret.
3508 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3509
3510 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3511
3512 * po/pl.po: Updated translation.
3513 * po/uk.po: Likewise.
3514 * po/fi.po: Likewise.
3515 * po/ko.po: Likewise.
3516 * po/ru.po: Likewise.
3517 * po/vi.po: Likewise.
3518
3519 2015-07-31 Zack Weinberg <zackw@panix.com>
3520
3521 [BZ #18681]
3522 * regexp.h: Add unconditional #warning stating that this header
3523 will be removed soon. Revise banner comment to match.
3524 (compile): Consistently use ERROR instead of RETURN to report
3525 errors (partial fix for bz#18681).
3526 * regexp.c: Don't include regexp.h. Remove some unnecessary
3527 declarations.
3528
3529 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3530
3531 * po/libc.pot: Regenerated.
3532
3533 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3534
3535 [BZ #18740]
3536 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3537 float-vlen4-arch-ext-cflags): Removed.
3538 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3539 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3540
3541 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3542
3543 [BZ #14113]
3544 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3545 aligned to __aligned__.
3546 (pthread_cond_t, pthread_rwlock_t): Likewise.
3547
3548 2015-07-30 Torvald Riegel <triegel@redhat.com>
3549
3550 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3551
3552 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3553
3554 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3555 (struct sigaction): Change sa_flags from a long to an int, and add
3556 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3557
3558 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3559
3560 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3561 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3562 sysdeps/generic/sysdep.h include.
3563 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3564 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3565 sysdeps/hppa/sysdep.h.
3566 (ENTRY, PSEUDO): Undefine before defining.
3567
3568 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3569
3570 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3571 from scratch to use INTERNAL_SYSCALL.
3572
3573 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3574
3575 [BZ #18078]
3576 * scripts/check-localplt.awk: Support alternate relocations.
3577 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3578 sections.
3579 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3580 malloc entries with + REL R_386_GLOB_DAT.
3581 * sysdeps/x86_64/localplt.data: New file.
3582
3583 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3584
3585 [BZ #18731]
3586 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3587 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3588 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3589
3590 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3591
3592 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3593
3594 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3595
3596 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3597 directly in terms of __sync_fetch_and_add and delete (int) cast.
3598
3599 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3600
3601 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3602 the -D_ASM_IA64_CURRENT_H flag.
3603
3604 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3605
3606 [BZ #18641]
3607 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3608
3609 2015-07-27 Andreas Schwab <schwab@suse.de>
3610
3611 * conform/conformtest.pl (checknamespace): Filter out string
3612 literals while tokenizing.
3613
3614 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3615
3616 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3617 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3618 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3619
3620 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3621
3622 * nptl/tst-join7mod.c: Add #include <string.h>.
3623
3624 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3625
3626 * sysdeps/nios2/libm-test-ulps: Update.
3627
3628 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3629
3630 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3631 Fix order of arguments to the rt_sigprocmask syscall.
3632 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3633 Likewise.
3634
3635 2015-07-24 Roland McGrath <roland@hack.frob.com>
3636
3637 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3638
3639 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3640
3641 [BZ #18457]
3642 * nptl/Makefile (tests): New test case tst-join7.
3643 (modules-names): New test case module tst-join7mod.
3644 * nptl/tst-join7.c: New file.
3645 * nptl/tst-join7mod.c: New file.
3646 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3647 all translation units in libc.so, libpthread.so and rtld.
3648
3649 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3650
3651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3652
3653 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3654
3655 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3656 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3657 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3658 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3659 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3660 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3661 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3662 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3663 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3664 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3665 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3666 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3667 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3668 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3669 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3670 implementation.
3671
3672 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3673
3674 [BZ #17711]
3675 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3676 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3677 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3678 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3679 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3680 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3681
3682 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3683
3684 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3685 instead of just saying load lock in the comments.
3686
3687 2015-07-23 Roland McGrath <roland@hack.frob.com>
3688
3689 * sysdeps/unix/Subdirs: Moved ...
3690 * sysdeps/posix/Subdirs: ... here.
3691 * login/pty.h (struct termios, struct winsize): Add forward decls.
3692 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3693 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3694 * sysdeps/arm/nacl/libc.abilist: Updated.
3695 * sysdeps/nacl/libutil.abilist: New file.
3696
3697 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3698 (SIGWINCH): New macro.
3699
3700 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3701 * sysdeps/arm/nacl/libc.abilist: Add it.
3702
3703 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3704
3705 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3706
3707 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3708
3709 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3710 Swap __glibc_reserved0 and sa_flags order.
3711
3712 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 [BZ #18657]
3715 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3716 are pending TLS destructor calls.
3717 * include/link.h (struct link_map): Add concurrency note for
3718 L_TLS_DTOR_COUNT.
3719 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3720 Don't touch the link map flag. Atomically increment
3721 l_tls_dtor_count.
3722 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3723 Avoid taking the load lock and don't touch the link map flag.
3724 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3725 * stdlib/Makefile (tests): Use it.
3726 * stdlib/tst-tls-atexit.c (do_test): dlopen
3727 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3728 to allow tst-tls-atexit-nodelete test case to use it.
3729
3730 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3731
3732 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3733 to bits/types.h.
3734 (msgqnum_t): New typedef.
3735 (msglen_t): Likewise.
3736 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3737 and msg_qbytes type to msglen_t.
3738
3739 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3740
3741 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3742 pad0 to __glibc_reserved0.
3743 (struct stat64): Likewise.
3744
3745 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3746
3747 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3748 Change sa_flags from a long to an int and add __glibc_reserved0 before
3749 it for padding.
3750
3751 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3752
3753 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3754 anonymous by deleting "siginfo" name.
3755
3756 2015-07-21 Roland McGrath <roland@hack.frob.com>
3757
3758 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3759 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3760 rather than __nacl_irt_filename.
3761 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3762
3763 * NEWS: New item for arm-nacl port.
3764 * sysdeps/arm/nacl/libc.abilist: New file.
3765 * sysdeps/nacl/ld.abilist: New file.
3766 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3767 * sysdeps/nacl/libanl.abilist: New file.
3768 * sysdeps/nacl/libcrypt.abilist: New file.
3769 * sysdeps/nacl/libdl.abilist: New file.
3770 * sysdeps/nacl/libm.abilist: New file.
3771 * sysdeps/nacl/libpthread.abilist: New file.
3772 * sysdeps/nacl/libresolv.abilist: New file.
3773 * sysdeps/nacl/librt.abilist: New file.
3774
3775 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3776
3777 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3778 __startcontext to initialize the new context.
3779 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3780 up CFI directive to forbid further backtracing.
3781
3782 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3783
3784 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3785 reference.
3786 * charmaps/ANSI_X3.4-1968: Likewise.
3787 * charmaps/BS_4730: Likewise.
3788 * charmaps/BS_VIEWDATA: Likewise.
3789 * charmaps/CP1250: Likewise.
3790 * charmaps/CP1251: Likewise.
3791 * charmaps/CP1252: Likewise.
3792 * charmaps/CP1253: Likewise.
3793 * charmaps/CP1254: Likewise.
3794 * charmaps/CP1255: Likewise.
3795 * charmaps/CP1256: Likewise.
3796 * charmaps/CSN_369103: Likewise.
3797 * charmaps/EBCDIC-DK-NO: Likewise.
3798 * charmaps/GB_1988-80: Likewise.
3799 * charmaps/GREEK-CCITT: Likewise.
3800 * charmaps/GREEK7: Likewise.
3801 * charmaps/INIS-8: Likewise.
3802 * charmaps/ISIRI-3342: Likewise.
3803 * charmaps/ISO_2033-1983: Likewise.
3804 * charmaps/ISO_5427-EXT: Likewise.
3805 * locales/POSIX: Likewise.
3806 * locales/ar_SA: Likewise.
3807 * locales/be_BY: Likewise.
3808 * locales/be_BY@latin: Likewise.
3809 * locales/ca_ES: Likewise.
3810 * locales/cs_CZ: Likewise.
3811 * locales/da_DK: Likewise.
3812 * locales/de_BE: Likewise.
3813 * locales/de_CH: Likewise.
3814 * locales/de_LU: Likewise.
3815 * locales/en_AU: Likewise.
3816 * locales/en_BW: Likewise.
3817 * locales/en_CA: Likewise.
3818 * locales/en_DK: Likewise.
3819 * locales/en_GB: Likewise.
3820 * locales/en_IE: Likewise.
3821 * locales/en_NZ: Likewise.
3822 * locales/en_ZA: Likewise.
3823 * locales/en_ZW: Likewise.
3824 * locales/es_AR: Likewise.
3825 * locales/es_BO: Likewise.
3826 * locales/es_CL: Likewise.
3827 * locales/es_CO: Likewise.
3828 * locales/es_DO: Likewise.
3829 * locales/es_EC: Likewise.
3830 * locales/es_ES: Likewise.
3831 * locales/es_HN: Likewise.
3832 * locales/es_MX: Likewise.
3833 * locales/es_PA: Likewise.
3834 * locales/es_PE: Likewise.
3835 * locales/es_PY: Likewise.
3836 * locales/es_SV: Likewise.
3837 * locales/es_US: Likewise.
3838 * locales/es_UY: Likewise.
3839 * locales/es_VE: Likewise.
3840 * locales/et_EE: Likewise.
3841 * locales/fa_IR: Likewise.
3842 * locales/fo_FO: Likewise.
3843 * locales/fr_CA: Likewise.
3844 * locales/fr_CH: Likewise.
3845 * locales/gv_GB: Likewise.
3846 * locales/he_IL: Likewise.
3847 * locales/hr_HR: Likewise.
3848 * locales/id_ID: Likewise.
3849 * locales/is_IS: Likewise.
3850 * locales/it_CH: Likewise.
3851 * locales/iw_IL: Likewise.
3852 * locales/kl_GL: Likewise.
3853 * locales/ko_KR: Likewise.
3854 * locales/kw_GB: Likewise.
3855 * locales/lg_UG: Likewise.
3856 * locales/lt_LT: Likewise.
3857 * locales/lv_LV: Likewise.
3858 * locales/mi_NZ: Likewise.
3859 * locales/nhn_MX: Likewise.
3860 * locales/nl_BE: Likewise.
3861 * locales/pl_PL: Likewise.
3862 * locales/sk_SK: Likewise.
3863 * locales/sl_SI: Likewise.
3864 * locales/sv_FI: Likewise.
3865 * locales/tl_PH: Likewise.
3866 * locales/tr_TR: Likewise.
3867 * locales/vi_VN: Likewise.
3868
3869 2015-07-21 Khem Raj <raj.khem@gmail.com>
3870
3871 [BZ #17475]
3872 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3873 of tu_IN and bh_IN.
3874
3875 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3876
3877 [BZ #18694]
3878 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3879 bits/wordsize.h.
3880 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3881
3882 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3883
3884 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3885 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3886 (spawn_thread): New function.
3887 (load): Rename to reg_dtor_and_close. Move dlopen to...
3888 (do_test): ... here. Use IS_LOADED to test for its
3889 availability.
3890
3891 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3892
3893 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3894
3895 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3896
3897 [BZ #18696]
3898 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3899 si_addr_bnd.
3900 (si_lower): New.
3901 (si_upper): Likewise.
3902
3903 2015-07-16 David S. Miller <davem@davemloft.net>
3904
3905 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3906
3907 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3908
3909 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3910 buffer.
3911 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3912 fail output information.
3913
3914 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3915
3916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3917 and strstr-ppc64..
3918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3919 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3920 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3921 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3922 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3923
3924 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3925
3926 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3927 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3928 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3929 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3930
3931 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3932
3933 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3934 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3935 rtld_hidden_proto.
3936 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3937
3938 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3939
3940 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3941 the test can fail.
3942
3943 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3944
3945 [BZ #18676]
3946 * elf/tst-nodelete-opened.c: New test case.
3947 * elf/tst-nodelete-opened-lib.c: New test case module.
3948 * elf/Makefile (tests, modules-names): Use them.
3949 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3950 early.
3951
3952 2015-07-15 David S. Miller <davem@davemloft.net>
3953
3954 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3955 futex-intenal.h
3956 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3957 * sysdeps/sparc/sparc64/Makefile: Likewise.
3958 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3959 Remove space from macro define.
3960 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3961
3962 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3963
3964 [BZ #17475]
3965 * locale/iso-639.def: Update Bhili and Tulu language codes as
3966 per iso639-3.
3967
3968 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3969
3970 * elf/tst-leaks1.c (main): Converted to ...
3971 (do_test): ... this.
3972 (TEST_FUNCTION): New macro.
3973 Include test-skeleton.c.
3974 * localedata/tst-langinfo.c (main): Converted to ...
3975 (do_test): ... this.
3976 (TEST_FUNCTION): New macro.
3977 Include test-skeleton.c.
3978 * math/test-fpucw.c (main): Converted to ...
3979 (do_test): ... this.
3980 (TEST_FUNCTION): New macro.
3981 Include test-skeleton.c.
3982 * math/test-tgmath.c (main): Converted to ...
3983 (do_test): ... this.
3984 (TEST_FUNCTION): New macro.
3985 Include test-skeleton.c.
3986 * math/test-tgmath2.c (main): Converted to ...
3987 (do_test): ... this.
3988 (TEST_FUNCTION): New macro.
3989 Include test-skeleton.c.
3990 * setjmp/tst-setjmp.c (main): Converted to ...
3991 (do_test): ... this.
3992 (TEST_FUNCTION): New macro.
3993 Include test-skeleton.c.
3994 * stdio-common/tst-sscanf.c (main): Converted to ...
3995 (do_test): ... this.
3996 (TEST_FUNCTION): New macro.
3997 Include test-skeleton.c.
3998 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3999 (do_test): ... this.
4000 (TEST_FUNCTION): New macro.
4001 Include test-skeleton.c.
4002
4003 * elf/tst-audit9.c (main): Converted to ...
4004 (do_test): ... this.
4005 (TEST_FUNCTION): New macro.
4006 Include test-skeleton.c.
4007
4008 2015-07-15 Mike Frysinger <vapier@gentoo.org>
4009
4010 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4011
4012 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4013
4014 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4015 New variable.
4016
4017 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4018
4019 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4020
4021 2015-07-14 Roland McGrath <roland@hack.frob.com>
4022
4023 * sysdeps/generic/dl-fileid.h: New file.
4024 * sysdeps/posix/dl-fileid.h: New file.
4025 * sysdeps/nacl/dl-fileid.h: New file.
4026 * include/link.h: Include <dl-fileid.h>.
4027 (struct link_map): Replace l_dev and l_ino with l_file_id.
4028 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4029 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
4030 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
4031
4032 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4033
4034 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4035
4036 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4037
4038 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4039 Add iff $CXX is set.
4040 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4041 Likewise.
4042 (tst-nodelete-zmodiff): Likewise.
4043 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4044
4045 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4046
4047 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4048
4049 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4050
4051 * sysdeps/aarch64/fpu/math_private.h
4052 (define math_opt_barrier): Add AArch64 version.
4053 (math_force_eval): Likewise.
4054
4055 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4056
4057 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4058
4059 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
4060
4061 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4062 %ld with %jd and cast to intmax_t.
4063 (do_test_length_zero): Likewise.
4064
4065 2015-07-10 Roland McGrath <roland@hack.frob.com>
4066
4067 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4068
4069 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
4070
4071 * sysdeps/tile/libm-test-ulps: Regenerated.
4072
4073 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4074 Comment out the whole function, not just its body.
4075
4076 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4077
4078 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4079 locks.
4080
4081 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4082
4083 2015-07-10 Torvald Riegel <triegel@redhat.com>
4084
4085 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4086 (sem_assume_only_signals_cause_futex_EINTR): Remove.
4087
4088 2015-07-10 Torvald Riegel <triegel@redhat.com>
4089
4090 * sysdeps/nptl/futex-internal.h: New file.
4091 * sysdeps/nacl/futex-internal.h: New file.
4092 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4093 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4094 error checking.
4095 (setxid_unmark_thread): Likewise.
4096 (__nptl_setxid): Likewise.
4097 (__wait_lookup_done): Likewise.
4098 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4099 * nptl/nptl-init.c (sighandler_setxid): Likewise.
4100 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4101 * nptl/pthread_once.c (clear_once_control): Likewise.
4102 (__pthread_once_slow): Likewise.
4103 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4104 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4105 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4106 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4107 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4108 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4109 Likewise.
4110 (__pthread_rwlock_rdlock): Likewise.
4111 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4112 Likewise.
4113 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4114 Likewise.
4115 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4116 Likewise.
4117 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4118 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4119 Likewise.
4120 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4121 __ASSUME_PRIVATE_FUTEX check.
4122 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4123 Check that shared futexes are supported.
4124 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4125 wrappers with error checking.
4126 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4127 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4128 * nptl/pthread_barrierattr_setpshared.c
4129 (pthread_barrierattr_setpshared): Check that shared futexes are
4130 supported.
4131 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4132 Likewise.
4133 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4134 Likewise.
4135 * nptl/sem_init.c (futex_private_if_supported): Remove.
4136 (__new_sem_init): Adapt and check that shared futexes are supported.
4137 * nptl/sem_open.c (sem_open): Likewise.
4138 * nptl/sem_post.c (futex_wake): Remove.
4139 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4140 (do_futex_wait): Use futex wrappers with error checking.
4141 * nptl/sem_wait.c: Include lowlevellock.h.
4142 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4143 Use futex_supports_pshared.
4144 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4145 Use futex wrappers with error checking.
4146 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4147 Likewise.
4148 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4149 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4150 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4151 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4152 (futex_wake): Likewise.
4153 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4154 (do_futex_wait): Use futex wrappers with error checking.
4155 (__new_sem_wait_slow): Update EINTR handling.
4156 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4157
4158 2015-07-09 Martin Sebor <msebor@redhat.com>
4159
4160 [BZ #18435]
4161 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4162 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4163 * nptl/Makefile (test-xfail-tst-once5): Define.
4164
4165 2015-07-09 Roland McGrath <roland@hack.frob.com>
4166
4167 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4168 * elf/dl-minimal.c: For readability, reorder some definitions and
4169 introduce more page breaks. Include <stdio.h>.
4170 (__libc_fatal): New function.
4171
4172 * include/unistd.h: Add rtld_hidden_proto for _exit.
4173 * posix/_exit.c: Add rtld_hidden_def.
4174 * sysdeps/mach/hurd/_exit.c: Likewise.
4175 * sysdeps/nacl/_exit.c: Likewise.
4176 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4177 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4178
4179 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4180
4181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4182 bndmov encoding with zero displacement.
4183
4184 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4185 H.J. Lu <hongjiu.lu@intel.com>
4186
4187 [BZ #18134]
4188 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4189 * sysdeps/i386/configure: Regenerated.
4190 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4191 (_dl_runtime_profile): Save and restore Intel MPX return bound
4192 registers when calling _dl_call_pltexit. Add
4193 PRESERVE_BND_REGS_PREFIX before return.
4194 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4195 (LRV_BND1_OFFSET): Likewise.
4196 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4197 lrv_bnd1.
4198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4199 typo in bndmov encoding.
4200 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4201 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4202 branch instructions to preserve bounds.
4203
4204 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4205
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4207 [GLIBC_2.22]: Add fmemopen.
4208
4209 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4210
4211 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4212 returns an error, also try to use host port from __mach_host_self for
4213 the __vm_wire call.
4214 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4215
4216 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4217
4218 [BZ #18400]
4219 [BZ #18648]
4220 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4221 Fix pr_uid and pr_gid members.
4222 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4223 definition to elf_greg_t.
4224
4225 2015-07-08 Roland McGrath <roland@hack.frob.com>
4226
4227 [BZ #18383]
4228 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4229 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4230 * sysdeps/arm/configure: Regenerated.
4231 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4232 (test-xfail-tst-tlsalign-static): Variable removed.
4233
4234 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4235 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4236 rather than explicit 'ln -s'.
4237
4238 * resolv/rpc/netdb.h: New file.
4239 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4240
4241 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4242
4243 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4244 length buffers.
4245 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4246 test-skeleton.c.
4247
4248 [BZ #6544]
4249 [BZ #11216]
4250 [BZ #12836]
4251 [BZ #13151]
4252 [BZ #13152]
4253 [BZ #14292]
4254 * include/stdio.h (fmemopen): Remove hidden prototype.
4255 (__fmemopen): Add new hidden prototype.
4256 * libio/Makefile: Add oldfmemopen object.
4257 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4258 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4259 compliance.
4260 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4261 symbol compatibility.
4262 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4263 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4264 fmemopen.
4265 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4266 on append and read mode.
4267 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4268 fmemopen.
4269 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4270 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4271 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4272 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4273 Likewise.
4274 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4275 [GLIBC_2.22]: Likewise.
4276 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4277 Likewise.
4278 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4279 Likewise.
4280 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4281 [GLIBC_2.22]: Likewise.
4282 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4283 [GLIBC_2.22]: Likewise.
4284 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4285 [GLIBC_2.22]: Likewise.
4286 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4287 [GLIBC_2.22]: Likewise.
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4289 [GLIBC_2.22]: Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4291 [GLIBC_2.22]: Likewise.
4292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4293 [GLIBC_2.22]: Likewise.
4294 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4295 Likewise.
4296 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4297 Likewise.
4298 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4299 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4300 [GLIBC_2.22]: Likewise.
4301 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4302 [GLIBC_2.22]: Likewise.
4303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4304 [GLIBC_2.22]: Likewise.
4305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4306 [GLIBC_2.22]: Likewise.
4307 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4308 Likewise.
4309 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4310 Likewise.
4311 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4312 Likewise.
4313 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4314 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4315
4316 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4317
4318 [BZ #18643]
4319 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4320 IPV6_PATHMTU, and IPV6_DONTFRAG.
4321
4322 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4323
4324 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4325 and _IO_UNBUFFERED.
4326 * libio/oldfileops.c: Likewise.
4327 * libio/wfileops.c: Likewise.
4328
4329 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4330
4331 * nscd/selinux.c: Delete selinux/flask.h include.
4332
4333 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4334
4335 [BZ #18641]
4336 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4337 (putpwent): Likewise.
4338 (getpwnam): Likewise.
4339 (getpwent_r): Likewise.
4340 (getpwuid_r): Likewise.
4341 (getpwnam_r): Likewise.
4342 (fgetpwent_r): Likewise.
4343
4344 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4345
4346 [BZ #18557]
4347 * inet/rcmd.c (__validuser2_sa): Check user first to
4348 short-circuit host check.
4349
4350 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4351 Mikhail Ilin <m.ilin@samsung.com>
4352
4353 [BZ #17833]
4354 * elf/Makefile (tests): Add tst-nodelete.
4355 (modules-names): Add tst-nodelete-uniquemod.
4356 (tst-nodelete-uniquemod.so-no-z-defs): New.
4357 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4358 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4359 ($(objpfx)tst-nodelete): Likewise.
4360 ($(objpfx)tst-nodelete.out): Likewise.
4361 (LDFLAGS-tst-nodelete): Likewise.
4362 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4363 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4364 implement forced object deletion.
4365 (_dl_close): Pass false to _dl_close_worker.
4366 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4367 * elf/tst-nodelete.cc: New file.
4368 * elf/tst-nodeletelib.cc: Likewise.
4369 * elf/tst-znodeletelib.cc: Likewise.
4370 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4371
4372 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4373
4374 [BZ #18508]
4375 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4376 Depend on $(libdl).
4377 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4378 is not called infinitely times.
4379 (backtrace_helper): New function.
4380 (trace_arg): New struct.
4381 (st1): Enlarge stack size.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4383 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4384 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4385 Likewise.
4386
4387 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4388
4389 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4390
4391 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4392
4393 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4394 Include sys/types.h instead of bits/types.h.
4395 Remove inclusion of bits/wordsize.h.
4396
4397 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4398
4399 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4400 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4401 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4402 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4403 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4404 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4405
4406 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4407
4408 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4409 link-defines.sym.
4410 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4411 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4412 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4413 and LR_SIZE.
4414 * sysdeps/i386/link-defines.sym: New file.
4415
4416 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4417
4418 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4419 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4420 ($(objpfx)tst-audit3): New rule.
4421 ($(objpfx)tst-audit3.out): Likewise.
4422 * sysdeps/i386/tst-audit3.c: New file.
4423 * sysdeps/i386/tst-audit3.h: Likewise.
4424 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4425 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4426
4427 2015-07-07 Torvald Riegel <triegel@redhat.com>
4428
4429 [BZ #18633]
4430 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4431 pointer in C code.
4432 (__strcat_c): Likewise.
4433 (__strcat_g): Likewise.
4434
4435 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4436
4437 [BZ #18592]
4438 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4439
4440 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4441
4442 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4443 New function. (__ieee754_sqrtf): New function.
4444 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4445 New function.
4446 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4447 New function.
4448
4449 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4450
4451 * sysdeps/ieee754/support.c: Remove unused file.
4452
4453 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4454
4455 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4456 registers instead of d ones so the layout is kernel abi compatible.
4457 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4458 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4459 Likewise.
4460
4461 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4462
4463 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4464
4465 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4466
4467 [BZ #18619]
4468 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4469 and return argument in case of subnormal argument.
4470
4471 2015-07-01 Martin Sebor <msebor@redhat.com>
4472
4473 [BZ #18435]
4474 * nptl/Makefile: Add tst-once5.cc.
4475 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4476 Remove macro redefinitions.
4477 * nptl/tst-once5.cc: New test.
4478
4479 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4480
4481 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4482
4483 * sysdeps/arm/libm-test-ulps: Regenerated.
4484
4485 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4486 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4487
4488 2015-06-30 Torvald Riegel <triegel@redhat.com>
4489
4490 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4491 lll_lock_wait_private and lll_futex_wake probes.
4492
4493 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4494 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4495 Likewise.
4496 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4497 atomic_spin_nop.
4498 * sysdeps/x86_64/bits/atomic.h: Likewise.
4499 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4500 to atomic_spin_nop and move ...
4501 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4502 ... here and ...
4503 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4504 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4505 atomic_spin_nop instead of BUSY_WAIT_NOP.
4506 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4507 Likewise.
4508 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4509 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4510 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4511 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4512 instead of atomic_delay.
4513
4514 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4515
4516 [BZ #18613]
4517 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4518 X_ADJ not X when adjusting exponent.
4519 (__ieee754_gamma_r): Do intermediate computations in
4520 round-to-nearest then adjust overflowing and underflowing results
4521 as needed.
4522 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4523 of X_ADJ not X when adjusting exponent.
4524 (__ieee754_gammaf_r): Do intermediate computations in
4525 round-to-nearest then adjust overflowing and underflowing results
4526 as needed.
4527 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4528 log of X_ADJ not X when adjusting exponent.
4529 (__ieee754_gammal_r): Do intermediate computations in
4530 round-to-nearest then adjust overflowing and underflowing results
4531 as needed. Use 1.0L not 1.0f as numerator of division.
4532 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4533 log of X_ADJ not X when adjusting exponent.
4534 (__ieee754_gammal_r): Do intermediate computations in
4535 round-to-nearest then adjust overflowing and underflowing results
4536 as needed. Use 1.0L not 1.0f as numerator of division.
4537 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4538 of X_ADJ not X when adjusting exponent.
4539 (__ieee754_gammal_r): Do intermediate computations in
4540 round-to-nearest then adjust overflowing and underflowing results
4541 as needed. Use 1.0L not 1.0f as numerator of division.
4542 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4543 to auto-libm-test-in.
4544 (tgamma_test): Use ALL_RM_TEST.
4545 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4546 tests of tgamma with spurious-overflow.
4547 * math/auto-libm-test-out: Regenerated.
4548 * math/gen-libm-have-vector-test.sh: Do not check for START.
4549 * sysdeps/i386/fpu/libm-test-ulps: Update.
4550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4551
4552 [BZ #18612]
4553 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4554 arguments, just return 0.5 times the argument, with underflow
4555 forced as needed.
4556 * math/auto-libm-test-in: Add more tests of j1.
4557 * math/auto-libm-test-out: Regenerated.
4558
4559 [BZ #16559]
4560 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4561 (__ieee754_j1): Force underflow exception for small results.
4562 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4563 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4564 (__ieee754_j1f): Force underflow exception for small results.
4565 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4566 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4568 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4569 (__ieee754_j1l): Force underflow exception for small results.
4570 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4571 * math/auto-libm-test-in: Add more tests of j1 and jn.
4572 * math/auto-libm-test-out: Regenerated.
4573
4574 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4575 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4576 (PF_MPLS): Likewise.
4577 (AF_IB): Likewise.
4578 (AF_MPLS): Likewise.
4579 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4580 value and macro.
4581 (MS_RMT_MASK): Include MS_LAZYTIME.
4582
4583 2015-06-26 Mel Gorman <mgorman@suse.de>
4584
4585 [BZ #18502]
4586 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4587 already minimal.
4588
4589 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4590
4591 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4592 (DT_MIPS_NUM): Update.
4593 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4594 DT_MIPS_RLD_MAP_REL.
4595
4596 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4597
4598 [BZ #16559]
4599 [BZ #18602]
4600 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4601 round-to-nearest internally then recompute results that
4602 underflowed to zero in the original rounding mode.
4603 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4604 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4605 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4606 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4607 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4608 * sysdeps/i386/fpu/libm-test-ulps: Update.
4609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4610
4611 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4612
4613 * NEWS: Fixed description of link with vector math library.
4614
4615 2015-06-25 Andreas Schwab <schwab@suse.de>
4616
4617 [BZ #18549]
4618 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4619 * libio/test-fmemopen.c (do_test): Add test for it.
4620
4621 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4622
4623 [BZ #17841]
4624 * Makeconfig (no-pie-ldflag): New.
4625 (+link): Set to $(+link-pie) if default to PIE.
4626 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4627 * config.make.in (build-pie-default): New.
4628 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4629 is default. AC_SUBST.
4630 * configure: Regenerated.
4631 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4632
4633 2015-06-24 Roland McGrath <roland@hack.frob.com>
4634
4635 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4636 to 'unsigned int'.
4637
4638 * resolv/gai_misc.h (struct waitlist): Change type of field
4639 counterp to 'volatile unsigned int *'.
4640 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4641 FUTEXADDR and OLDVAL.
4642 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4643 Give local variable TOTAL type 'volatile unsigned int'.
4644 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4645 * resolv/gai_suspend.c (gai_suspend):
4646 Give local variable CNTR type 'unsigned int'.
4647
4648 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4649 counterp to 'volatile unsigned int *'.
4650 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4651 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4652 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4653 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4654 Give local variable TOTAL type 'volatile unsigned int'.
4655 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4656
4657 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4658
4659 [BZ #18383]
4660 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4661 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4662 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4663 comment for i386/x86-64.
4664 (test-xfail-tst-tlsalign-extern-static): Removed.
4665
4666 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4667
4668 * math/test-double.h: New file.
4669 * math/test-float.h: Likewise.
4670 * math/test-ldouble.h: Likewise.
4671 * math/test-math-inline.h: Likewise.
4672 * math/test-math-no-inline.h: Likewise.
4673 * math/test-math-scalar.h: Likewise.
4674 * math/test-math-vector.h: Likewise.
4675 * math/test-vec-loop.h: Remove file. Contents moved into
4676 test-math-vector.h.
4677 * math/libm-test.inc (MATHCONST): Do not document macro.
4678 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4679 and test-math-scalar.h.
4680 (FUNC): Remove macro.
4681 (FUNC_TEST): Likewise.
4682 (FLOAT): Likewise.
4683 (MATHCONST): Likewise.
4684 (PRINTF_EXPR): Likewise.
4685 (PRINTF_XEXPR): Likewise.
4686 (PRINTF_NEXPR): Likewise.
4687 (TEST_DOUBLE): Likewise.
4688 (TEST_MATHVEC): Likewise.
4689 (__NO_MATH_INLINES): Likewise.
4690 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4691 and test-math-scalar.h.
4692 (FUNC): Remove macro.
4693 (FUNC_TEST): Likewise.
4694 (FLOAT): Likewise.
4695 (MATHCONST): Likewise.
4696 (PRINTF_EXPR): Likewise.
4697 (PRINTF_XEXPR): Likewise.
4698 (PRINTF_NEXPR): Likewise.
4699 (TEST_FLOAT): Likewise.
4700 (TEST_MATHVEC): Likewise.
4701 (__NO_MATH_INLINES): Likewise.
4702 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4703 and test-math-scalar.h.
4704 (FUNC): Remove macro.
4705 (FUNC_TEST): Likewise.
4706 (FLOAT): Likewise.
4707 (MATHCONST): Likewise.
4708 (PRINTF_EXPR): Likewise.
4709 (PRINTF_XEXPR): Likewise.
4710 (PRINTF_NEXPR): Likewise.
4711 (TEST_DOUBLE): Likewise.
4712 (TEST_MATHVEC): Likewise.
4713 (TEST_INLINE): Likewise.
4714 (__NO_MATH_INLINES): Likewise.
4715 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4716 test-math-scalar.h.
4717 (FUNC): Remove macro.
4718 (FUNC_TEST): Likewise.
4719 (FLOAT): Likewise.
4720 (MATHCONST): Likewise.
4721 (PRINTF_EXPR): Likewise.
4722 (PRINTF_XEXPR): Likewise.
4723 (PRINTF_NEXPR): Likewise.
4724 (TEST_FLOAT): Likewise.
4725 (TEST_MATHVEC): Likewise.
4726 (TEST_INLINE): Likewise.
4727 (__NO_MATH_INLINES): Likewise.
4728 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4729 and test-math-scalar.h.
4730 (FUNC): Remove macro.
4731 (FUNC_TEST): Likewise.
4732 (FLOAT): Likewise.
4733 (MATHCONST): Likewise.
4734 (PRINTF_EXPR): Likewise.
4735 (PRINTF_XEXPR): Likewise.
4736 (PRINTF_NEXPR): Likewise.
4737 (TEST_LDOUBLE): Likewise.
4738 (TEST_MATHVEC): Likewise.
4739 (TEST_INLINE): Likewise.
4740 (__NO_MATH_INLINES): Likewise.
4741 * math/test-ldouble.c: Include test-ldouble.h,
4742 test-math-no-inline.h and test-math-scalar.h.
4743 (FUNC): Remove macro.
4744 (FUNC_TEST): Likewise.
4745 (FLOAT): Likewise.
4746 (MATHCONST): Likewise.
4747 (PRINTF_EXPR): Likewise.
4748 (PRINTF_XEXPR): Likewise.
4749 (PRINTF_NEXPR): Likewise.
4750 (TEST_LDOUBLE): Likewise.
4751 (TEST_MATHVEC): Likewise.
4752 (__NO_MATH_INLINES): Likewise.
4753 * math/test-double-vlen2.h: Include test-double.h,
4754 test-math-no-inline.h and test-math-vector.h.
4755 (FLOAT): Remove macro.
4756 (FUNC): Likewise.
4757 (MATHCONST): Likewise.
4758 (PRINTF_EXPR): Likewise.
4759 (PRINTF_XEXPR): Likewise.
4760 (PRINTF_NEXPR): Likewise.
4761 (TEST_DOUBLE): Likewise.
4762 (TEST_MATHVEC): Likewise.
4763 (__NO_MATH_INLINES): Likewise.
4764 (CNCT): Likewise.
4765 (CONCAT): Likewise.
4766 (WRAPPER_NAME): Likewise.
4767 (WRAPPER_DECL): Likewise.
4768 (WRAPPER_DECL_ff): Likewise.
4769 (WRAPPER_DECL_fFF): Likewise.
4770 (VECTOR_WRAPPER): Likewise.
4771 (VECTOR_WRAPPER_ff): Likewise.
4772 (VECTOR_WRAPPER_fFF): Likewise.
4773 (VEC_LEN): New macro.
4774 * math/test-double-vlen4.h: Include test-double.h,
4775 test-math-no-inline.h and test-math-vector.h.
4776 (FLOAT): Remove macro.
4777 (FUNC): Likewise.
4778 (MATHCONST): Likewise.
4779 (PRINTF_EXPR): Likewise.
4780 (PRINTF_XEXPR): Likewise.
4781 (PRINTF_NEXPR): Likewise.
4782 (TEST_DOUBLE): Likewise.
4783 (TEST_MATHVEC): Likewise.
4784 (__NO_MATH_INLINES): Likewise.
4785 (CNCT): Likewise.
4786 (CONCAT): Likewise.
4787 (WRAPPER_NAME): Likewise.
4788 (WRAPPER_DECL): Likewise.
4789 (WRAPPER_DECL_ff): Likewise.
4790 (WRAPPER_DECL_fFF): Likewise.
4791 (VECTOR_WRAPPER): Likewise.
4792 (VECTOR_WRAPPER_ff): Likewise.
4793 (VECTOR_WRAPPER_fFF): Likewise.
4794 (VEC_LEN): New macro.
4795 * math/test-double-vlen8.h: Include test-double.h,
4796 test-math-no-inline.h and test-math-vector.h.
4797 (FLOAT): Remove macro.
4798 (FUNC): Likewise.
4799 (MATHCONST): Likewise.
4800 (PRINTF_EXPR): Likewise.
4801 (PRINTF_XEXPR): Likewise.
4802 (PRINTF_NEXPR): Likewise.
4803 (TEST_DOUBLE): Likewise.
4804 (TEST_MATHVEC): Likewise.
4805 (__NO_MATH_INLINES): Likewise.
4806 (CNCT): Likewise.
4807 (CONCAT): Likewise.
4808 (WRAPPER_NAME): Likewise.
4809 (WRAPPER_DECL): Likewise.
4810 (WRAPPER_DECL_ff): Likewise.
4811 (WRAPPER_DECL_fFF): Likewise.
4812 (VECTOR_WRAPPER): Likewise.
4813 (VECTOR_WRAPPER_ff): Likewise.
4814 (VECTOR_WRAPPER_fFF): Likewise.
4815 (VEC_LEN): New macro.
4816 * math/test-float-vlen4.h: Include test-float.h,
4817 test-math-no-inline.h and test-math-vector.h.
4818 (FLOAT): Remove macro.
4819 (FUNC): Likewise.
4820 (MATHCONST): Likewise.
4821 (PRINTF_EXPR): Likewise.
4822 (PRINTF_XEXPR): Likewise.
4823 (PRINTF_NEXPR): Likewise.
4824 (TEST_FLOAT): Likewise.
4825 (TEST_MATHVEC): Likewise.
4826 (__NO_MATH_INLINES): Likewise.
4827 (CNCT): Likewise.
4828 (CONCAT): Likewise.
4829 (WRAPPER_NAME): Likewise.
4830 (WRAPPER_DECL): Likewise.
4831 (WRAPPER_DECL_ff): Likewise.
4832 (WRAPPER_DECL_fFF): Likewise.
4833 (VECTOR_WRAPPER): Likewise.
4834 (VECTOR_WRAPPER_ff): Likewise.
4835 (VECTOR_WRAPPER_fFF): Likewise.
4836 (VEC_LEN): New macro.
4837 * math/test-float-vlen8.h: Include test-float.h,
4838 test-math-no-inline.h and test-math-vector.h.
4839 (FLOAT): Remove macro.
4840 (FUNC): Likewise.
4841 (MATHCONST): Likewise.
4842 (PRINTF_EXPR): Likewise.
4843 (PRINTF_XEXPR): Likewise.
4844 (PRINTF_NEXPR): Likewise.
4845 (TEST_FLOAT): Likewise.
4846 (TEST_MATHVEC): Likewise.
4847 (__NO_MATH_INLINES): Likewise.
4848 (CNCT): Likewise.
4849 (CONCAT): Likewise.
4850 (WRAPPER_NAME): Likewise.
4851 (WRAPPER_DECL): Likewise.
4852 (WRAPPER_DECL_ff): Likewise.
4853 (WRAPPER_DECL_fFF): Likewise.
4854 (VECTOR_WRAPPER): Likewise.
4855 (VECTOR_WRAPPER_ff): Likewise.
4856 (VECTOR_WRAPPER_fFF): Likewise.
4857 (VEC_LEN): New macro.
4858 * math/test-float-vlen16.h: Include test-float.h,
4859 test-math-no-inline.h and test-math-vector.h.
4860 (FLOAT): Remove macro.
4861 (FUNC): Likewise.
4862 (MATHCONST): Likewise.
4863 (PRINTF_EXPR): Likewise.
4864 (PRINTF_XEXPR): Likewise.
4865 (PRINTF_NEXPR): Likewise.
4866 (TEST_FLOAT): Likewise.
4867 (TEST_MATHVEC): Likewise.
4868 (__NO_MATH_INLINES): Likewise.
4869 (CNCT): Likewise.
4870 (CONCAT): Likewise.
4871 (WRAPPER_NAME): Likewise.
4872 (WRAPPER_DECL): Likewise.
4873 (WRAPPER_DECL_ff): Likewise.
4874 (WRAPPER_DECL_fFF): Likewise.
4875 (VECTOR_WRAPPER): Likewise.
4876 (VECTOR_WRAPPER_ff): Likewise.
4877 (VECTOR_WRAPPER_fFF): Likewise.
4878 (VEC_LEN): New macro.
4879 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4880 test-vec-loop.h.
4881 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4882 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4883 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4884 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4885 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4886 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4887 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4888
4889 2015-06-24 Roland McGrath <roland@hack.frob.com>
4890
4891 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4892 (__getlogin_r): ... this.
4893
4894 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4895
4896 [BZ #18594]
4897 * math/s_ccosh.c (__ccosh): Compare with least normal value
4898 instead of comparing class with FP_SUBNORMAL.
4899 * math/s_ccoshf.c (__ccoshf): Likewise.
4900 * math/s_ccoshl.c (__ccoshl): Likewise.
4901 * math/s_cexp.c (__cexp): Likewise.
4902 * math/s_cexpf.c (__cexpf): Likewise.
4903 * math/s_cexpl.c (__cexpl): Likewise.
4904 * math/s_csin.c (__csin): Likewise.
4905 * math/s_csinf.c (__csinf): Likewise.
4906 * math/s_csinh.c (__csinh): Likewise.
4907 * math/s_csinhf.c (__csinhf): Likewise.
4908 * math/s_csinhl.c (__csinhl): Likewise.
4909 * math/s_csinl.c (__csinl): Likewise.
4910 * math/s_ctan.c (__ctan): Likewise.
4911 * math/s_ctanf.c (__ctanf): Likewise.
4912 * math/s_ctanh.c (__ctanh): Likewise.
4913 * math/s_ctanhf.c (__ctanhf): Likewise.
4914 * math/s_ctanhl.c (__ctanhl): Likewise.
4915 * math/s_ctanl.c (__ctanl): Likewise.
4916 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4917 csin, csinh, ctan and ctanh.
4918 * math/auto-libm-test-out: Regenerated.
4919 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4920 * sysdeps/i386/fpu/libm-test-ulps: Update.
4921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4922
4923 2015-06-24 Roland McGrath <roland@hack.frob.com>
4924
4925 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4926 return value is wrong, print the expected value too.
4927
4928 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4929
4930 [BZ #18585]
4931 * elf/readlib.c (is_gdb_python_file): New.
4932 (process_file): Don't issue errors on filenames with -gdb.py
4933 suffix.
4934
4935 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4936
4937 * math/auto-libm-test-in: Add more tests of csin and csinh.
4938 * math/auto-libm-test-out: Regenerated.
4939 * math/libm-test.inc (csin_test_data): Remove tests moved to
4940 auto-libm-test-in.
4941 (csinh_test_data): Likewise.
4942
4943 [BZ #18593]
4944 * math/s_csin.c (__csin): Negate before rather than after possibly
4945 overflowing multiplication.
4946 * math/s_csinf.c (__csinf): Likewise.
4947 * math/s_csinh.c (__csinh): Likewise.
4948 * math/s_csinhf.c (__csinhf): Likewise.
4949 * math/s_csinhl.c (__csinhl): Likewise.
4950 * math/s_csinl.c (__csinl): Likewise.
4951 * math/auto-libm-test-in: Add some tests of csin and csinh.
4952 * math/auto-libm-test-out: Regenerated.
4953 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4954 (csinh_test_data): Likewise.
4955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4956
4957 [BZ #18586]
4958 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4959 underflow exception for small results.
4960
4961 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4962
4963 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4964 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4965 variable and included header.
4966 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4967 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4968 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4969 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4970 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4971 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4972 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4973 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4974 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4975 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4976 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4977 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4978 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4979 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4980 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4981 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4982
4983 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4984
4985 [BZ #16526]
4986 [BZ #16538]
4987 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4988 (__sin): Force underflow exception for arguments with small
4989 absolute value.
4990 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4991 (__kernel_sinf): Force underflow exception for arguments with
4992 small absolute value.
4993 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4994 (__kernel_sincosl): Force underflow exception for arguments with
4995 small absolute value.
4996 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4997 (__kernel_sinl): Force underflow exception for arguments with
4998 small absolute value.
4999 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5000 (__kernel_sincosl): Force underflow exception for arguments with
5001 small absolute value.
5002 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5003 (__kernel_sinl): Force underflow exception for arguments with
5004 small absolute value.
5005 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5006 (__kernel_sinl): Force underflow exception for arguments with
5007 small absolute value.
5008 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5009 (__kernel_sinf): Force underflow exception for arguments with
5010 small absolute value.
5011 * math/auto-libm-test-in: Add more tests of sin and sincos.
5012 * math/auto-libm-test-out: Regenerated.
5013
5014 [BZ #18245]
5015 [BZ #18583]
5016 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5017 (__kernel_standard_l): Use feholdexcept and fesetenv around
5018 conversion to double instead of special-casing overflow and
5019 underflow.
5020 * math/libm-test.inc (fmod_test_data): Add more tests.
5021 (remainder_test_data): Likewise.
5022 (sqrt_test_data): Likewise.
5023
5024 2015-06-23 Torvald Riegel <triegel@redhat.com>
5025
5026 [BZ #17403]
5027 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5028 atomic_read_barrier, atomic_write_barrier): Define.
5029 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5030 atomic_read_barrier, atomic_write_barrier): Define.
5031
5032 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5033
5034 * math/Makefile [$(PERL) != no]
5035 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5036 dependency on libm-test.stmp below the inclusion of Rules.
5037
5038 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
5039
5040 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5041 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5042 and included header.
5043 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5044 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5045 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5046 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5047 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5048 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5049 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5050 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5051 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5052 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5053 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5054 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5055 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5056 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5057 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5058 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5059 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5060 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5061 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5062
5063 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5064
5065 [BZ #18371]
5066 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5067 intermediate but not final result might underflow.
5068 * math/s_csqrtf.c (__csqrtf): Likewise.
5069 * math/s_csqrtl.c (__csqrtl): Likewise.
5070 * math/auto-libm-test-in: Add more tests of csqrt.
5071 * math/auto-libm-test-out: Regenerated.
5072 * sysdeps/i386/fpu/libm-test-ulps: Update.
5073
5074 [BZ #18219]
5075 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5076 threshold on absolute value of exponent for which scaling is used.
5077 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5078 * math/auto-libm-test-in: Add more tests of exp2.
5079 * math/auto-libm-test-out: Regenerated.
5080
5081 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
5082
5083 [BZ #17977]
5084 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5085 when initializing interface list, based on the bug analysis
5086 and the patch proposed by Eric Newton.
5087 * resolv/tst-res_hconf_reorder.c: New test.
5088 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5089 tst-res_hconf_reorder.
5090 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5091 and $(shared-thread-library).
5092 (tst-res_hconf_reorder-ENV): New variable.
5093
5094 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5095 in comment.
5096
5097 2015-06-22 Joseph Myers <joseph@codesourcery.com>
5098
5099 [BZ #16353]
5100 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5101 (__expm1): Force underflow exception for arguments with small
5102 absolute value.
5103 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5104 (__expm1f): Force underflow exception for arguments with small
5105 absolute value.
5106 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5107 (__expm1): Force underflow exception for arguments with small
5108 absolute value.
5109 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5110 (__expm1f): Force underflow exception for arguments with small
5111 absolute value.
5112 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5113 Check for small arguments before calling __expm1.
5114 * math/auto-libm-test-in: Do not mark underflow exceptions as
5115 possibly missing for bug 16353.
5116 * math/auto-libm-test-out: Regenerated.
5117
5118 2015-06-22 Andreas Schwab <schwab@suse.de>
5119
5120 [BZ #18513]
5121 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5122 PTR queries.
5123
5124 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
5125
5126 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5127
5128 * string/strcoll_l.c: Remove unused struct element idxnow.
5129
5130 2015-06-21 Joseph Myers <joseph@codesourcery.com>
5131
5132 [BZ #18569]
5133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5134 underflow and return argument in case of subnormal argument.
5135 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5136 Likewise.
5137 * math/auto-libm-test-in: Add more tests of expm1.
5138 * math/auto-libm-test-out: Regenerated.
5139
5140 [BZ #16361]
5141 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5142 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5143 tiny results.
5144 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5145 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5146 tiny results.
5147 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5148 mark underflow exceptions as possibly missing for bug 16361.
5149 * math/auto-libm-test-out: Regenerated.
5150
5151 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5152
5153 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5154 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5155 Remove variable.
5156 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5157 (test-xfail-XOPEN2K8/utmpx.h/conform).
5158
5159 * conform/conformtest.pl ($xerrors): New variable.
5160 (note_error): New function.
5161 (compiletest): New argument $xfail. Use not_error.
5162 (runtest): Likewise.
5163 (top level): Handle xfail- lines. Update calls to compiletest and
5164 runtest. Handle xfail- and optional- in headers listed with
5165 allow-header.
5166 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5167 (O_EXEC): Likewise.
5168 (O_SEARCH): Likewise.
5169 * conform/data/stropts.h-data (ioctl): Likewise.
5170 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5171 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5172 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5173 (msghdr.msg_controllen): Likewise.
5174 (cmsghdr.cmsg_len): Likewise.
5175 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5176 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5177 variable.
5178 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5179 (test-xfail-XPG4/stropts.h/conform): Likewise.
5180 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5181 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5182 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5183 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5184 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5185 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5186 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5187 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5188 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5189 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5190 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5191 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5192 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5193 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5194 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5195 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5196 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5197 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5198 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5199
5200 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5201
5202 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5203 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5204 definitions for proper unfolding of __MATHDECL_VEC.
5205
5206 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5207
5208 * benchtests/bench-strcoll.c:
5209 Include string.h.
5210 (main): Remove unused variable res.
5211
5212 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5213
5214 * timezone/Makefile (%/UTC %/Universal):
5215 Generate test-result files for UTC and Universal.
5216
5217 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5218
5219 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5220
5221 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5222
5223 [BZ #16350]
5224 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5225 for arguments with small absolute value.
5226 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5227 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5228 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5229 (__asinh): Force underflow exception for arguments with small
5230 absolute value.
5231 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5232 (__asinhf): Force underflow exception for arguments with small
5233 absolute value.
5234 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5235 (__asinhl): Force underflow exception for arguments with small
5236 absolute value.
5237 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5238 (__asinhl): Force underflow exception for arguments with small
5239 absolute value.
5240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5241 (__asinhl): Force underflow exception for arguments with small
5242 absolute value.
5243 * math/auto-libm-test-in: Do not mark underflow exceptions as
5244 possibly missing for bug 16350.
5245 * math/auto-libm-test-out: Regenerated.
5246
5247 * include/bits/ipc.h: Remove file.
5248 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5249 variable.
5250 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5251 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5252 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5253 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5254 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5255 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5256 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5257 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5258 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5259
5260 * math/auto-libm-test-in: Remove spurious underflow allowance for
5261 tests of cexp.
5262 * math/auto-libm-test-out: Regenerated.
5263
5264 [BZ #18558]
5265 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5266 unconditional definition.
5267 (MCAST_BLOCK_SOURCE): Likewise.
5268 (MCAST_UNBLOCK_SOURCE): Likewise.
5269 (MCAST_LEAVE_GROUP): Likewise.
5270 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5271 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5272 (MCAST_MSFILTER): Likewise.
5273 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5274 Remove variable.
5275 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5276 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5277 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5278 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5279 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5280
5281 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5282
5283 * NEWS: Mention addition of x86_64 vector sincosf.
5284 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5285 * math/test-float-vlen4.h: Likewise.
5286 * math/test-float-vlen8.h: Likewise.
5287 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5288 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5289 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5290 * sysdeps/x86_64/fpu/Versions: New versions added.
5291 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5292 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5293 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5294 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5295 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5296 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5297 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5298 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5299 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5300 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5301 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5302 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5303 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5304 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5305 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5306 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5307 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5308 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5309 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5310 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5311 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5312 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5313 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5314 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5315
5316 * NEWS: Mention addition of x86_64 vector sincos.
5317 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5318 * math/math.h (__MATHDECL_VEC): New macro.
5319 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5320 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5321 declaration under condition.
5322 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5323 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5324 TEST_VEC_LOOP change.
5325 * math/test-double-vlen4.h: Likewise.
5326 * math/test-double-vlen8.h: Likewise.
5327 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
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 sincos 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_d_sincos2_core.S: New file.
5338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5339 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5340 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5341 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5342 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5343 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5344 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5345 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5346 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5347 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5348 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5349 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5350 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5351 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5352 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5353 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5354 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5355 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5356 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5357 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5358
5359 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5360 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5361 redirections for powf.
5362 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5363 * sysdeps/x86_64/fpu/Versions: New versions added.
5364 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5365 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5366 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5367 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5368 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5369 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5370 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5371 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5372 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5373 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5374 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5375 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5376 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5377 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5378 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5379 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5380 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5381 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5382 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5383 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5384 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5385 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5386 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5387 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5388 * math/test-float-vlen16.h: Fixed 2 argument macro.
5389 * math/test-float-vlen4.h: Likewise.
5390 * math/test-float-vlen8.h: Likewise.
5391 * NEWS: Mention addition of x86_64 vector powf.
5392
5393 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5394
5395 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5396 and redefine.
5397 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5398 and redefine.
5399 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5400 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5402
5403 [BZ #18553]
5404 * resource/getpriority.c (getpriority): Rename to __getpriority
5405 and define as weak alias of __getpriority.
5406 * resource/setpriority.c (setpriority): Rename to __setpriority
5407 and define as weak alias of __setpriority.
5408 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5409 __getpriority and define as weak alias of __getpriority.
5410 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5411 __setpriority and define as weak alias of __setpriority.
5412 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5413 strong name.
5414 (setpriority): Use __setpriority as strong name.
5415 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5416 __getpriority and define as weak alias of __getpriority.
5417 * include/sys/resource.h (__getpriority): Declare. Use
5418 libc_hidden_proto.
5419 (__setpriority): Likewise.
5420 (getpriority): Don't use libc_hidden_proto.
5421 (setpriority): Likewise.
5422 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5423 getpriority. Call __setpriority instead of setpriority.
5424 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5425 Remove variable.
5426
5427 [BZ #18547]
5428 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5429 as weak alias of __getttynam. Use prototype function definition.
5430 Call __setttyent, __getttyent and __endttyent instead of
5431 setttyent, getttyent and endttyent.
5432 (getttyent): Rename to __getttyent and define as weak alias of
5433 __getttyent. Call __setttyent instead of setttyent. Call
5434 __fgets_unlocked instead of fgets_unlocked.
5435 (setttyent): Rename to __setttyent and define as weak alias of
5436 __setttyent.
5437 (endttyent): Rename to __endttyent and define as weak alias of
5438 __endttyent.
5439 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5440 (__setttyent): Likewise.
5441 (__endttyent): Likewise.
5442 (getttyent): Don't use libc_hidden_proto.
5443 (setttyent): Likewise.
5444 (endttyent): Likewise.
5445 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5446 __endttyent instead of setttyent, getttyent and endttyent.
5447 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5448 Remove variable.
5449
5450 [BZ #18546]
5451 * socket/recv.c (__recv): Use libc_hidden_def.
5452 * socket/socket.c (__socket): Likewise.
5453 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5454 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5455 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5456 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5457 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5458 libc_hidden_def.
5459 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5460 libc_hidden_weak.
5461 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5462 Use libc_hidden_proto.
5463 (__recv): Likewise.
5464 * socket/Versions (libc): Export __recv and __socket at version
5465 GLIBC_PRIVATE.
5466 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5467 instead of recv.
5468 (init_mq_netlink): Call __socket instead of socket.
5469 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5470 Remove variable.
5471
5472 [BZ #18545]
5473 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5474 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5475 hidden_weak.
5476 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5477 define as alias of __mq_timedsend. Use hidden_weak.
5478 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5479 __mq_timedsend as strong name.
5480 (mq_timedreceive): Use __mq_timedreceive as strong name.
5481 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5482 (__mq_timedreceive): Likewise.
5483 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5484 __mq_timedreceive instead of mq_timedreceive.
5485 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5486 instead of mq_timedsend.
5487 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5488 Remove variable.
5489
5490 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5491 hidden_def and hidden_weak instead of libc_hidden_def and
5492 libc_hidden_weak.
5493 (top level): Refer to hidden_def in comment.
5494 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5495 macro. Use it instead of libc_hidden_def.
5496 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5497 specify __GI_* name explicitly.
5498 (mq_timedreceive): Likewise.
5499 (mq_setattr): Likewise.
5500
5501 [BZ #18544]
5502 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5503 __pthread_barrier_init and define as weak alias of
5504 __pthread_barrier_init.
5505 * sysdeps/sparc/nptl/pthread_barrier_init.c
5506 (pthread_barrier_init): Likewise.
5507 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5508 __pthread_barrier_wait and define as weak alias of
5509 __pthread_barrier_wait.
5510 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5511 (pthread_barrier_wait): Likewise.
5512 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5513 (pthread_barrier_wait): Likewise.
5514 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5515 (pthread_barrier_wait): Likewise.
5516 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5517 (pthread_barrier_wait): Likewise.
5518 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5519 __pthread_barrier_wait at version GLIBC_PRIVATE.
5520 * include/pthread.h (__pthread_barrier_init): Declare.
5521 (__pthread_barrier_wait): Likewise.
5522 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5523 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5524 (helper_thread): Likewise.
5525 (init_mq_netlink): Call __pthread_barrier_init instead of
5526 pthread_barrier_init.
5527
5528 [BZ #18542]
5529 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5530 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5531 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5532 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5533 vswscanf.
5534 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5535 Remove variable.
5536
5537 [BZ #18540]
5538 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5539 strong alias of _IO_fflush. Use libc_hidden_def.
5540 * libio/iofflush_u.c (fflush_unlocked): Rename to
5541 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5542 Use libc_hidden_weak.
5543 * include/stdio.h (__fflush_unlocked): Declare. Use
5544 libc_hidden_proto.
5545 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5546 fflush_unlocked.
5547 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5548 Remove variable.
5549
5550 [BZ #18539]
5551 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5552 define as weak alias of __addseverity.
5553 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5554 Remove variable.
5555 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5556 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5557 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5558
5559 [BZ #18536]
5560 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5561 (__tfind): Likewise.
5562 (__tdelete): Likewise.
5563 (__twalk): Likewise.
5564 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5565 __twalk to GLIBC_PRIVATE.
5566 * include/search.h (__tsearch): Use libc_hidden_proto.
5567 (__tfind): Likewise.
5568 (__tdelete): Likewise.
5569 (__twalk): Likewise.
5570 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5571 Call __tdelete instead of tdelete.
5572 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5573 tfind. Call __tsearch instead of tsearch.
5574 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5575 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5576 Remove variable.
5577 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5578
5579 [BZ #18534]
5580 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5581 (dprintf): Define as a weak alias of __dprintf, not a strong
5582 alias.
5583 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5584 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5585 dprintf.
5586 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5587 Remove variable.
5588 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5589 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5590
5591 [BZ #18533]
5592 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5593 not a strong alias.
5594 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5595 Remove variable.
5596
5597 [BZ #18532]
5598 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5599 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5600 (in6addr_loopback): Rename to __in6addr_loopback and define as
5601 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5602 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5603 libc_hidden_proto.
5604 (__in6addr_any): Likewise.
5605 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5606 in6addr_any.
5607 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5608 variable.
5609 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5610
5611 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5612
5613 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5614 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5615 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5616 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5617 redirections for pow.
5618 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5619 * sysdeps/x86_64/fpu/Versions: New versions added.
5620 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5621 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5622 build of SSE, AVX2 and AVX512 IFUNC versions.
5623 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5624 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5625 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5626 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5627 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5628 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5629 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5630 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5631 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5632 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5633 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5634 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5635 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5636 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5637 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5638 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5639 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5640 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5641 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5642 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5643 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5644 * NEWS: Mention addition of x86_64 vector pow.
5645
5646 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5647 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5648 redirections for expf.
5649 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5650 * sysdeps/x86_64/fpu/Versions: New versions added.
5651 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5652 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5653 build of SSE, AVX2 and AVX512 IFUNC versions.
5654 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5655 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5656 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5657 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5658 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5659 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5660 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5661 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5662 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5663 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5664 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5665 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5666 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5667 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5668 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5669 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5670 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5671 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5672 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5673 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5674 * NEWS: Mention addition of x86_64 vector expf.
5675
5676 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5677 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5678 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5679 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5680 redirections for exp.
5681 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5682 * sysdeps/x86_64/fpu/Versions: New versions added.
5683 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5684 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5685 build of SSE, AVX2 and AVX512 IFUNC versions.
5686 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5687 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5688 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5689 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5690 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5691 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5692 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5693 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5694 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5695 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5696 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5697 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5698 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5699 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5700 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5701 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5702 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5703 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5704 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5705 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5706 * NEWS: Mention addition of x86_64 vector exp.
5707
5708 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5709 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5710 redirections for logf.
5711 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5712 * sysdeps/x86_64/fpu/Versions: New versions added.
5713 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5714 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5715 build of SSE, AVX2 and AVX512 IFUNC versions.
5716 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5717 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5718 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5719 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5720 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5721 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5722 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5723 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5724 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5725 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5726 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5727 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5728 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5729 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5730 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5731 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5732 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5733 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5734 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5735 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5736 * NEWS: Mention addition of x86_64 vector logf.
5737
5738 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5739 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5740 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5741 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5742 redirections for log.
5743 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5744 * sysdeps/x86_64/fpu/Versions: New versions added.
5745 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5746 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5747 build of SSE, AVX2 and AVX512 IFUNC versions.
5748 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5749 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5750 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5751 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5752 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5753 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5754 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5755 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5756 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5757 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5758 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5759 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5760 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5761 test.
5762 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5763 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5764 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5765 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5766 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5767 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5768 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5769 * NEWS: Mention addition of x86_64 vector log.
5770
5771 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5772
5773 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5774 cfi_adjust_cfa_offset argument.
5775 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5776 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5777
5778 [BZ #18034]
5779 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5780 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5781 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5782 ordering using ldar.
5783 (_dl_tlsdesc_dynamic): Likewise.
5784 (_dl_tlsdesc_return_lazy): Likewise.
5785 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5786 relaxed atomics instead of volatile and synchronize with release store.
5787 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5788 volatile.
5789 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5790
5791 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5792
5793 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5794 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5795 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5796 * sysdeps/x86_64/fpu/Versions: New versions added.
5797 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5798 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5799 build of SSE, AVX2 and AVX512 IFUNC versions.
5800 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5801 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5802 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5803 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5804 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5805 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5806 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5807 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5808 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5809 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5810 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5811 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5812 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5813 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5814 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5815 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5816 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5817 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5818 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5819 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5820 * NEWS: Mention addition of x86_64 vector sinf.
5821
5822 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5823
5824 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5825 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5826 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5827 Remove variable.
5828 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5829 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5830
5831 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5832
5833 [BZ #18530]
5834 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5835 strong alias of _IO_fputs. Use libc_hidden_def.
5836 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5837 and define as weak alias of __fputs_unlocked. Use
5838 libc_hidden_weak.
5839 * include/stdio.h (__fputs_unlocked): Declare. Use
5840 libc_hidden_proto.
5841 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5842 fputs_unlocked.
5843
5844 [BZ #18529]
5845 * resolv/netdb.h [__USE_POSIX]: Change condition to
5846 [__USE_XOPEN2K].
5847 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5848 not expect.
5849 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5850 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5851 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5852 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5853 [XPG4 || UNIX98] (AI_ALL): Likewise.
5854 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5855 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5856 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5857 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5858 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5859 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5860 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5861 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5862 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5863 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5864 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5865 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5866 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5867 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5868 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5869 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5870 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5871 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5872 [XPG4 || UNIX98] (gai_strerror): Likewise.
5873 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5874 [XPG4 || UNIX98] (getnameinfo): Likewise.
5875
5876 [BZ #18528]
5877 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5878 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5879 __USE_XOPEN2K8].
5880 (getgrent): Likewise.
5881 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5882 expect.
5883 [XPG3 || POSIX2008] (endgrent): Likewise.
5884 [XPG3] (setgrent): Likewise.
5885 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5886 variable.
5887 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5888
5889 [BZ #18527]
5890 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5891 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5892 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5893 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5894 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5895 * include/unistd.h (__getlogin_r): Declare. Use
5896 libc_hidden_proto.
5897 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5898 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5899 variable.
5900 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5901 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5902 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5903
5904 2015-06-12 Martin Sebor <msebor@redhat.com>
5905
5906 [BZ #18512]
5907 * Makerules (check-install-supported): New target.
5908 (install): Add check-install-supported as a dependency.
5909 * manual/install.texi (Installing the C Library): Document
5910 that overriding prefix and exec_prefix is not supported.
5911 Mention DESTDIR.
5912 * INSTALL: Regenerate from the above.
5913
5914 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5915
5916 [BZ #18519]
5917 * posix/Versions (libc): Export __libc_pread at version
5918 GLIBC_PRIVATE.
5919 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5920 instead of pread.
5921 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5922 variable.
5923
5924 [BZ #18522]
5925 * misc/efgcvt_r.c
5926 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5927 (cvt_symbol): Use weak_alias instead of strong_alias.
5928 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5929 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5930 Remove variable.
5931 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5932 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5933
5934 [BZ #18520]
5935 * inet/herrno.c (h_errno): Rename to __h_errno.
5936 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5937 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5938 to __h_errno instead of h_errno.
5939 * nptl/herrno.c (h_errno): Rename to __h_errno.
5940 (__h_errno_location): Refer to __h_errno not h_errno.
5941 * resolv/Versions (h_errno): Rename to __h_errno.
5942 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5943 Remove variable.
5944 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5945
5946 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5947
5948 * configure.ac: More strict check for AVX512 assembler support.
5949 * configure: Regenerated.
5950
5951 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5952 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5953 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5954 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5955 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5956 * sysdeps/x86_64/fpu/Versions: New versions added.
5957 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5958 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5959 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5960 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5961 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5962 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5963 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5964 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5965 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5966 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5967 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5968 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5969 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5970 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5971 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5972 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5973 test.
5974 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5975 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5976 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5977 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5978 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5979 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5980 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5981 * NEWS: Mention addition of x86_64 vector sin.
5982
5983 2015-06-11 Florian Weimer <fweimer@redhat.com>
5984
5985 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5986 comment.
5987
5988 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5989
5990 [BZ #18479]
5991 * nptl/pt-interp.c: New file.
5992 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5993 Add pt-interp.
5994 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5995 $(common-objpfx)runtime-linker.h.
5996
5997 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5998
5999 * Makeconfig (+interp): Remove unused variable.
6000 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6001 only. Depend on $(common-objpfx)runtime-linker.h instead of
6002 $(elf-objpfx)runtime-linker.h.
6003 ($(elf-objpfx)runtime-linker.h): Rename to
6004 $(common-objpfx)runtime-linker.h and move ...
6005 * Makerules [$(build-shared) = yes]: ... here.
6006 * elf/interp.c: Include <runtime-linker.h> instead of
6007 <elf/runtime-linker.h>.
6008
6009 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6010
6011 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6012 (__gettimeofday_syscall): Remove vsyscall fallback.
6013 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6014 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6015 Add syscall fallback function.
6016 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6017 if vDSO is not present.
6018 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6019 fallback function.
6020 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6021 present.
6022 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6023 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6024
6025 2015-06-09 Joseph Myers <joseph@codesourcery.com>
6026
6027 [BZ #18497]
6028 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6029 of wcscmp.
6030 (wcscmp): Define as weak alias of WCSCMP.
6031 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6032 wcscoll.
6033 (USE_HIDDEN_DEF): Define.
6034 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6035 __wcscoll. Don't use libc_hidden_weak.
6036 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6037 wcscmp.
6038 * sysdeps/i386/i686/multiarch/wcscmp-c.c
6039 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6040 __GI_wcscmp.
6041 (weak_alias): Undefine and redefine.
6042 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6043 __wcscmp and define as weak alias of __wcscmp.
6044 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6045 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
6046 (__wcscoll): Likewise.
6047 (wcscmp): Don't use libc_hidden_proto.
6048 (wcscoll): Likewise.
6049 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6050 wcscoll.
6051 * posix/regexec.c (check_node_accept_bytes): Likewise.
6052 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6053 variable.
6054 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6055 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6056
6057 [BZ #18507]
6058 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6059 __fstatvfs and define as weak alias of __fstatvfs. Use
6060 libc_hidden_weak.
6061 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6062 and define as weak alias of __statvfs. Use libc_hidden_weak.
6063 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6064 Define as alias of __fstatvfs, not fstatvfs.
6065 (fstatvfs64): Likewise.
6066 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6067 Define as alias of __statvfs, not statvfs.
6068 (statvfs64): Likewise.
6069 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6070 Remove variable.
6071
6072 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6073
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6075 (HAVE_GETCPU_VSYSCALL): Define.
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6077 (HAVE_GETCPU_VSYSCALL): Likewise.
6078 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6079 * sysdeps/unix/sysv/linux/sched_getcpu.c
6080 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6081 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6082 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6083 prototype.
6084 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6085 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6088 Define.
6089 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6090 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6092 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6093
6094 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
6095
6096 * sysdeps/x86_64/fpu/Makefile: New file.
6097 * sysdeps/x86_64/fpu/Versions: New file.
6098 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6099 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6100 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6101 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6102 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6103 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6104 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6105 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6106 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6107 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6108 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6109 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6110 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6111 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6112 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6113 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6114 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6115 * sysdeps/x86_64/configure.ac: Options for libmvec build.
6116 * sysdeps/x86_64/configure: Regenerated.
6117 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6118 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6119 * manual/install.texi (Configuring and compiling): Document
6120 --disable-mathvec.
6121 * INSTALL: Regenerated.
6122 * NEWS: Mention addition of libmvec and x86_64 vector cos.
6123
6124 * math/Makefile: Added rules for vector tests.
6125 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6126 declaration under condition.
6127 * math/test-double-vlen2.h: New file.
6128 * math/test-double-vlen4.h: New file.
6129 * math/test-double-vlen8.h: New file.
6130 * math/test-vec-loop.h: Added initialization macro.
6131 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6133 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6134 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6135 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6136 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6137 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6138 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6139 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6140 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6141 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6142
6143 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6144 * sysdeps/x86_64/fpu/Versions: New versions added.
6145 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6146 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6147 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6148 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6149 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6150 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6151 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6152 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6153 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6154 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6155 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6156 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6157 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6158 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6159 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6160 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6161 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6162 * NEWS: Mention addition of x86_64 vector cosf.
6163
6164 * math/Makefile: Added CFLAGS for new tests.
6165 * math/test-float-vlen16.h: New file.
6166 * math/test-float-vlen4.h: New file.
6167 * math/test-float-vlen8.h: New file.
6168 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6169 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6170 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6171 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6172 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6173 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6174 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6175 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6176 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6177 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6178 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6179
6180 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6181
6182 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6183 * locale/programs/ld-ctype.c: Likewise.
6184
6185 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6186
6187 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6188 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6189 bit_ZMM16_31_state): New macro.
6190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6191 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6192
6193 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6194
6195 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6196
6197 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6198
6199 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6200
6201 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6202
6203 [BZ #18498]
6204 * libio/memstream.c (open_memstream): Rename to __open_memstream
6205 and define as weak alias of __open_memstream.
6206 * include/stdio.h (__open_memstream): Declare. Use
6207 libc_hidden_proto.
6208 (open_memstream): Don't use libc_hidden_proto.
6209 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6210 open_memstream.
6211 * posix/getopt.c (_getopt_internal_r): Likewise.
6212 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6213 variable.
6214 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6215 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6216 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6217
6218 [BZ #18496]
6219 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6220 instead of wcrtomb.
6221
6222 [BZ #18483]
6223 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6224 [__USE_XOPEN2K8]. Remove redundant #endif.
6225 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6226 Remove redundant #if.
6227 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6228 Remove variable.
6229 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6230 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6231
6232 [BZ #18495]
6233 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6234 (__iswlower): Likewise.
6235 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
6236 (__iswlower): Likewise.
6237 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6238 instead of towlower.
6239 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6240 instead of iswlower. Call __towupper instead of towupper.
6241 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6242 instead of iswalnum.
6243
6244 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6245
6246 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6247 errors to stderr.
6248
6249 2015-06-05 Florian Weimer <fweimer@redhat.com>
6250
6251 [BZ #15661]
6252 [BZ #17322]
6253 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6254 Check for overflow properly. Check for O_APPEND. Ignore large
6255 file system block sizes. Add comments about problems.
6256 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6257 * manual/filesys.texi (Storage Allocation): New node.
6258
6259 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6260
6261 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6262 cancellable syscalls.
6263 (SYS_ify): Add guard to no redefine it.
6264 (INLINE_SYSCALL): Likewise.
6265 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6266 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6267 SYSCALL_CANCEL instead.
6268 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6269 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6270 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6271 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6272 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6273 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6274 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6275 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6276 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6277 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6278 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6279 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6280 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6281 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6282 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6283 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6284 Likewise.
6285 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6286 (__libc_pread64): Likewise.
6287 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6288 (__libc_preadv): Likewise.
6289 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6290 (__libc_readv64): Likewise.
6291 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6292 (__libc_pwrite): Likewise.
6293 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6294 (__libc_pwrite64): Likewise.
6295 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6296 (__libc_pwritev): Likewise.
6297 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6298 (__libc_pwritev64): Likewise.
6299 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6300 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6301 (sync_file_range): Likewise.
6302 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6303 Likewise.
6304 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6305 Likewise.
6306 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6307 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6308 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6309 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6310 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6311 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6312 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6313 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6315 Likewise.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6317 (__libc_read64): Likewise.
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6319 Likewise.
6320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6321 Likewise.
6322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6323 Likewise.
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6325 Likewise.
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6327 (__libc_pread64): Likewise.
6328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6329 Likewise.
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6331 (__libc_pwrite64): Likewise.
6332 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6333 (sync_file_range): Likewise.
6334 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6335 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6336 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6337 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6338 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6339 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6340 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6341 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6342 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6343 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6344 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6345 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6346 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6347 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6348 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6349 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6350 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6351 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6352 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6353 Likewise.
6354 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6355 Likewise.
6356 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6357 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6358 Likewise.
6359 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6360 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6361 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6362 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6363 Likewise.
6364 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6365 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6366 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6367 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6368 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6369
6370 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6371
6372 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6373 Include dl-vdso.
6374 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6375 Use VDSO routines for gettimeofday, clock_gettime if
6376 available.
6377 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6378 Declare VDSO symbols.
6379 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6380 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6381 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6382 * sysdeps/unix/sysv/linux/arm/Versions: Add
6383 __vdso_clock_gettime.
6384
6385 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6386
6387 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6388 be an inline implementation regardless of library is built within.
6389 (open_not_cancel_2): Likewise.
6390 (__read_nocancel): Likewise.
6391 (__write_nocancel): Likewise.
6392 (openat_not_cancel): Likewise.
6393 (openat_not_cancel_3): Likewise.
6394 (openat64_not_cancel): Likewise.
6395 (openat64_not_cancel_3): Likewise.
6396 (__close_nocancel): Likewise.
6397 (pause_not_cancel): Likewise.
6398 (nanosleep_not_cancel): Likewise.
6399 (sigsuspend_not_cancel): Likewise.
6400
6401 2015-06-04 Torvald Riegel <triegel@redhat.com>
6402
6403 [BZ #14958]
6404 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6405 wake-up.
6406 (__pthread_rwlock_rdlock_slow): Likewise.
6407 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6408 Likewise.
6409 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6410 Likewise.
6411 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6412 * nptl/tst-rwlock16.c: New file.
6413 * nptl/Makefile (tests): Add new test.
6414
6415 2015-06-04 Torvald Riegel <triegel@redhat.com>
6416
6417 [BZ #18324]
6418 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6419 missing wake-up of readers.
6420 * nptl/tst-rwlock15.c: New file.
6421 * nptl/Makefile (tests): Add new test.
6422
6423 2015-06-03 Roland McGrath <roland@hack.frob.com>
6424
6425 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6426 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6427 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6428 and __nacl_supply_interface_rtld.
6429 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6430 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6431 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6432 Add __nacl_supply_interface_rtld.
6433 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6434
6435 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6436
6437 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6438 isfinite.
6439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6440 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6441
6442 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6443
6444 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6445 __signbit* with standard C99 macros.
6446 * math/e_exp10l.c: Likewise.
6447 * math/e_exp2l.c: Likewise.
6448 * math/e_scalb.c: Likewise.
6449 * math/e_scalbf.c: Likewise.
6450 * math/e_scalbl.c: Likewise.
6451 * math/s_ldexp.c: Likewise.
6452 * math/s_ldexpf.c: Likewise.
6453 * math/s_ldexpl.c: Likewise.
6454 * math/w_atan2.c: Likewise.
6455 * math/w_atan2f.c: Likewise.
6456 * math/w_atan2l.c: Likewise.
6457 * math/w_cosh.c: Likewise.
6458 * math/w_coshf.c: Likewise.
6459 * math/w_coshl.c: Likewise.
6460 * math/w_exp10.c: Likewise.
6461 * math/w_exp10f.c: Likewise.
6462 * math/w_exp10l.c: Likewise.
6463 * math/w_exp2.c: Likewise.
6464 * math/w_exp2f.c: Likewise.
6465 * math/w_exp2l.c: Likewise.
6466 * math/w_fmod.c: Likewise.
6467 * math/w_fmodf.c: Likewise.
6468 * math/w_fmodl.c: Likewise.
6469 * math/w_hypot.c: Likewise.
6470 * math/w_hypotf.c: Likewise.
6471 * math/w_hypotl.c: Likewise.
6472 * math/w_jnl.c: Likewise.
6473 * math/w_lgamma.c: Likewise.
6474 * math/w_lgamma_r.c: Likewise.
6475 * math/w_lgammaf.c: Likewise.
6476 * math/w_lgammaf_r.c: Likewise.
6477 * math/w_lgammal.c: Likewise.
6478 * math/w_lgammal_r.c: Likewise.
6479 * math/w_pow.c: Likewise.
6480 * math/w_powf.c: Likewise.
6481 * math/w_powl.c: Likewise.
6482 * math/w_remainder.c: Likewise.
6483 * math/w_remainderf.c: Likewise.
6484 * math/w_remainderl.c: Likewise.
6485 * math/w_scalb.c: Likewise.
6486 * math/w_scalbf.c: Likewise.
6487 * math/w_scalbl.c: Likewise.
6488 * math/w_scalbln.c: Likewise.
6489 * math/w_scalblnf.c: Likewise.
6490 * math/w_scalblnl.c: Likewise.
6491 * math/w_sinh.c: Likewise.
6492 * math/w_sinhf.c: Likewise.
6493 * math/w_sinhl.c: Likewise.
6494 * math/w_tgamma.c: Likewise.
6495 * math/w_tgammaf.c: Likewise.
6496 * math/w_tgammal.c: Likewise.
6497 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6498 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6499 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6500 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6501 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6504 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6505 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6506 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6507 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6528 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6529 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6530 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6531 * stdio-common/printf_fp.c: Likewise.
6532 * stdio-common/printf_fphex.c: Likewise.
6533 * stdio-common/printf_size.c: Likewise.
6534
6535 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6536
6537 [BZ #18470]
6538 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6539 strnlen.
6540 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6541 Remove variable.
6542 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6543 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6544 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6545 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6546 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6547 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6548 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6549 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6550 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6551 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6552
6553 [BZ #18468]
6554 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6555 weak alias of __wmemchr. Use libc_hidden_weak.
6556 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6557 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6558 instead of wmemchr.
6559
6560 2015-06-02 Roland McGrath <roland@hack.frob.com>
6561
6562 [BZ #18383]
6563 * elf/tst-tlsalign-extern.c: New file.
6564 * elf/tst-tlsalign-extern-static.c: New file.
6565 * elf/tst-tlsalign-vars.c: New file.
6566 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6567 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6568 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6569 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6570 (test-xfail-tst-tlsalign-extern-static): New variable.
6571
6572 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6573
6574 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6575 Use variable name _sc_err instead of err.
6576 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6577 instead of ret.
6578 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6579 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6580 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6581 (INLINE_SYSCALL): Likewise.
6582
6583 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6584 * include/string.h (__strnlen): Use libc_hidden_proto.
6585 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6586 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6587 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6588 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6589 (libc_hidden_def): Undefine and redefine.
6590 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6591 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6592 __GI_strnlen.
6593 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6594 libc_hidden_def.
6595 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6596
6597 [BZ #18469]
6598 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6599 weak alias of __towlower. Use libc_hidden_weak.
6600 (towupper): Rename to __towupper and define as weak alias of
6601 __towupper. Use libc_hidden_weak.
6602 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6603 (__towupper): Likewise.
6604 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6605 __towlower instead of towlower.
6606
6607 2015-06-02 Roland McGrath <roland@hack.frob.com>
6608
6609 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6610 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6611
6612 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6613
6614 * sysdeps/aarch64/libm-test-ulps: Update.
6615
6616 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6617
6618 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6619 Define.
6620 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6622 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6623 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6624 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6625 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6626 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6627
6628 2015-06-01 Martin Sebor <msebor@redhat.com>
6629
6630 [BZ #18116]
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6632 (__setcontext): Use extended four-operand version of mtsf whenever
6633 possible.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6635 (__novec_swapcontext): Likewise.
6636
6637 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6638
6639 * benchtests/scripts/compare_bench.py: New file.
6640 * benchtests/scripts/import_bench.py (mean): New function.
6641 (split_list): Likewise.
6642 (do_for_all_timings): Likewise.
6643 (compress_timings): Likewise.
6644
6645 * benchtests/scripts/import_bench.py: New file.
6646 * benchtests/scripts/validate_benchout.py: Import import_bench
6647 instead of jsonschema.
6648 (validate_bench): Remove function.
6649 (main): Use import_bench.
6650
6651 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6652
6653 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6654 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6655
6656 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6657
6658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6659
6660 2015-05-28 Roland McGrath <roland@hack.frob.com>
6661
6662 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6663 set THREAD_SELF->tid to a magic value and futex-wake it.
6664 Pass its address to the thread_exit system call.
6665 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6666 bit is clear.
6667 * sysdeps/nacl/lowlevellock.h: New file.
6668 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6669
6670 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6671 Add TIMEOUT to current time, don't subtract it.
6672
6673 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6674
6675 [BZ #2981]
6676 [BZ #18422]
6677 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6678 ($(objpfx)tst-audit2.out): Also depend on
6679 $(objpfx)tst-auditmod9b.so.
6680 * elf/tst-audit2.c: Include <dlfcn.h>.
6681 (calloc_called): New.
6682 (calloc): Allow to be called more than once.
6683 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6684
6685 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6686
6687 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6688 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6689
6690 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6691
6692 * stdlib/monetary.h: Fix comment.
6693
6694 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6695
6696 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6697 Avoid using variables in #defines that might cause shadowing.
6698 (INTERNAL_VSYSCALL_CALL): Likewise.
6699
6700 2015-05-26 Roland McGrath <roland@hack.frob.com>
6701
6702 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6703
6704 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6705 * nptl/lll_timedlock_wait.c: ... to this new file.
6706 * nptl/Makefile (libpthread-routines): Add it.
6707 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6708 * nptl/lll_timedwait_tid.c: ... to this new file.
6709 * nptl/Makefile (libpthread-routines): Add it.
6710 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6711 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6712 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6713 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6714 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6715 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6716 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6717 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6718 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6719 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6720
6721 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6722
6723 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6724 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6725 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6726 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6727 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6728 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6729 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6731 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6732 * sysdeps/unix/sysv/linux/tile/sysdep.h
6733 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6734 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6735 using vDSO syscall macro.
6736
6737 2015-05-26 Andriy Rysin <arysin@gmail.com>
6738
6739 [BZ #17293]
6740 * uk_UA: Fix sorting order for Ukrainian locale
6741
6742 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6743
6744 * stdlib/monetary.h: Fix comment.
6745
6746 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6747
6748 [BZ #18234]
6749 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6750 st_mtim and st_ctim members.
6751 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6752 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6753 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6754 (struct stat64): Likewise.
6755 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6756 (struct stat64): Likewise.
6757 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6758 (struct stat64): Likewise.
6759
6760 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6761
6762 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6763 Define and include sysdep-vdso.h.
6764 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6765 Likewise.
6766 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6767 Likewise.
6768 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6769 Define with VDSO_SYMBOL and use PTR_MANGLE.
6770 (__vdso_clock_gettime): Likewise.
6771 (__vdso_clock_getres): Likewise.
6772 (_libc_vdso_platform_setup): Likewise.
6773 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6774 Likewise.
6775 (_libc_vdso_platform_setup): Likewise.
6776 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6777 Likewise.
6778 (__vdso_clock_gettime): Likewise.
6779 (__vdso_clock_getres): Likewise.
6780 (__vdso_get_tbfreq): Likewise.
6781 (__vdso_getcpu): Likewise.
6782 (__vdso_time): Likewise.
6783 (__vdso_sigtramp_rt64): Likewise.
6784 (__vdso_signtramp32): Likewise.
6785 (__vdso_sigtramp_rt32): Likewise.
6786 (_libc_vdso_platform_setup): Likewise.
6787 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6788 Likewise.
6789 (__vdso_clock_gettime): Likewise.
6790 (__vdso_clock_getres): Likewise.
6791 (_libc_vdso_platform_setup): Likewise.
6792 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6793 Likewise.
6794 (__vdso_clock_gettime): Likewise.
6795 (_libc_vdso_platform_setup): Likewise.
6796 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6797 Likewise.
6798 (__vdso_getcpu): Likewise.
6799 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6800 Use VDSO_SYMBOL macro to define.
6801 (__vdso_clock_gettime): Likewise.
6802 (__vdso_clock_getres): Likewise.
6803 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6804 Likewise.
6805 (__vdso_clock_gettime): Likewise.
6806 (__vdso_clock_getres): Likewise.
6807 (__vdso_get_tbfreq): Likewise.
6808 (__vdso_getcpu): Likewise.
6809 (__vdso_time): Likewise.
6810 (__vdso_sigtramp_rt64): Likewise.
6811 (__vdso_signtramp32): Likewise.
6812 (__vdso_sigtramp_rt32): Likewise.
6813 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6814 Likewise.
6815 (__vdso_clock_gettime): Likewise.
6816 (__vdso_clock_getres): Likewise.
6817 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6818 Likewise.
6819 (__vdso_clock_gettime): Likewise.
6820 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6821 Likewise.
6822 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6823 macro.
6824 (INTERNAL_VSYSCALL): Likewise.
6825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6826 Remove macro.
6827 (INTERNAL_VSYSCALL): Likewise.
6828 (INTERNAL_VSYSCALL_NCS): Likewise.
6829 (INTERNAL_VSYSCALL_CALL): New macro.
6830 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6832 Likewise.
6833 (INTERNAL_VSYSCALL): Likewise.
6834 (INTERNAL_VSYSCALL_NCS): Likewise.
6835 (INTERNAL_VSYSCALL_CALL): New macro.
6836 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6838 (INLINE_VSYSCALL): Remove macro.
6839 (INTERNAL_VSYSCALL): Remove macro.
6840 (INTERNAL_VSYSCALL_NCS): Remove macro.
6841 (INTERNAL_VSYSCALL_CALL): New macro.
6842 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6843 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6844 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6845 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6846 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6848 (INLINE_VSYSCALL): Remove macro.
6849 (INTERNAL_VSYSCALL): Likewise.
6850 (INTERNAL_VSYSCALL_NCS): Likewise.
6851 (INTERNAL_VSYSCALL_CALL): New macro.
6852 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6853 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6854 PTR_DEMANGLE on vDSO pointer.
6855 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6856 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6857 macro.
6858 (INTERNAL_SYSCALL): Likewise.
6859 (INTERNAL_VSYSCALL_NCS): Remove macro.
6860 (INTERNAL_VSYSCALL_CALL): New macro.
6861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6862 Remove macro.
6863 (INTERNAL_VSYSCALL): Likewise.
6864 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6865 sysdep-vdso.h instead of libc-vdso.h.
6866 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6867 definition.
6868 (INLINE_VSYSCALL): Likewise.
6869 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6870 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6871 definition.
6872 (INLINE_VSYSCALL): Likewise.
6873 (INTERNAL_VSYSCALL): Likewise.
6874 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6875 * sysdeps/unix/sysv/linux/timespec_get.c
6876 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6877 (timespec_get): Use ANSI prototype.
6878 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6879 and definition for Linux.
6880
6881 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6882
6883 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6884 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6885
6886 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6887
6888 [BZ #2981]
6889 [BZ #18410]
6890 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6891 for missing DT_PLTRELSZ.
6892
6893 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6894
6895 Remove obsolete aliases that broke 'locale -a'
6896 [BZ #18412]
6897 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6898 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6899 breaking some applications that use 'locale -a' output.
6900 Change the encoding of this file from Latin-1 to ASCII to avoid
6901 other potential problems with people grepping this file.
6902
6903 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6904
6905 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6906 -fasynchronous-unwind-tables.
6907 (CFLAGS-sendto.c): Likewise.
6908 (CFLAGS-sendmsg.c): Likewise.
6909 (CFLAGS-connect.c): Likewise.
6910 (CFLAGS-recvmsg.c): Likewise.
6911 (CFLAGS-recvfrom.c): Likewise.
6912 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6913 (SOCKETCALL): New macro: non-cancellable socketcall.
6914 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6915 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6916 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6917 * sysdeps/unix/sysv/linux/accept.c: New file.
6918 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6919 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6920 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6921 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6922 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6923 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6924 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6925 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6926 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6927 * sysdeps/unix/sysv/linux/send.c: Likewise.
6928 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6929 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6930 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6931 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6932 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6933 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6934 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6935 prototype.
6936 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6937 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6938 instead of __internal_xxx function.
6939 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6940 prototype.
6941 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6942 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6943 instead of __internal_xxx function.
6944 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6945 prototype.
6946 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6947 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6948 instead of __internal_xxx function.
6949 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6950 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6951 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6952 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6953 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6954 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6955 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6956 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6957 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6958 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6959 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6960 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6961 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6962 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6963 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6964 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6965 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6966 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6967 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6968 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6971 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6972 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6973 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6974 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6975 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6976 * sysdeps/unix/sysv/linux/send.S: Likewise.
6977 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6978 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6979 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6980 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6981 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6982 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6983 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6984 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6985 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6986 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6987 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6988 socketcall is implemented in GLIBC.
6989
6990 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6991
6992 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6993 (__fma): Ignore uninitialized warnings around packing.
6994 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6995 (__fmaf): Ignore uninitialized warnings around packing.
6996 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6997 (__fmal): Ignore uninitialized warnings around packing.
6998
6999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7000 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7001 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7002 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7003
7004 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7005 switch statement into default case.
7006 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7007
7008 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7009 a conditional in forcing "inexact".
7010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7011 Likewise.
7012
7013 2015-05-22 Roland McGrath <roland@hack.frob.com>
7014
7015 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7016 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7017 for each INTERNAL_SYSCALL use.
7018
7019 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7020
7021 [BZ #438]
7022 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7023 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7024 variable.
7025
7026 [BZ #18444]
7027 * string/basename.c (basename): Rename to __basename and define as
7028 weak alias of __basename. Use libc_hidden_weak.
7029 * include/string.h (__basename): Declare. Use libc_hidden_proto.
7030 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7031 __basename instead of basename.
7032 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7033 Remove variable.
7034 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7035
7036 2015-05-18 Florian Weimer <fweimer@redhat.com>
7037
7038 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7039 (_IO_JUMPS_FILE_plus): New.
7040 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7041 _IO_CAST_FIELD_ACCESS.
7042 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7043 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7044 * libio/freopen.c (freopen): Likewise.
7045 * libio/freopen64.c (freopen64): Likewise.
7046 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7047 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7048 * libio/iofwide.c (_IO_fwide): Likewise.
7049 * libio/memstream.c (open_memstream): Likewise.
7050 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7051 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7052 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7053
7054 2015-05-21 Joseph Myers <joseph@codesourcery.com>
7055
7056 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7057 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7058 NADJ.
7059 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7060 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7061 NADJ.
7062 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7063 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7064 NADJ.
7065
7066 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7067 (p == 4) case.
7068
7069 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7070 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7071 Remove variable.
7072 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7073 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7074 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7075
7076 2015-05-21 Florian Weimer <fweimer@redhat.com>
7077
7078 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7079 Adjust jump table label generation macros.
7080
7081 2015-05-21 Florian Weimer <fweimer@redhat.com>
7082
7083 * stdio-common/vfprintf.c (vfprintf): Move local variables
7084 args_malloced, specs, specs_malloced, and the code after
7085 do_positional to the printf_positional function.
7086 (printf_positional): New function.
7087
7088 2015-05-21 Florian Weimer <fweimer@redhat.com>
7089
7090 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7091 function.
7092 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7093 STEP4_TABLE, process_arg): Move macro definitions
7094 out of the vfprintf function. (Cosmetic change only.)
7095
7096 2015-05-21 Carlos O'Donell <carlos@redhat.com>
7097
7098 * benchtests/Makefile (stdio-common-bench): Define.
7099 (benchset): Add stdio-common-bench.
7100 * sprintf-inputs: New file.
7101 * sprintf-source.c: New file.
7102
7103 2015-05-21 Andreas Schwab <schwab@suse.de>
7104
7105 [BZ #13028]
7106 [BZ #17053]
7107 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7108 of struct __res_state.
7109 * resolv/res_send.c (__libc_res_nsend): Likewise.
7110 (get_nsaddr): New function.
7111 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7112 statp directly.
7113
7114 2015-05-20 Joseph Myers <joseph@codesourcery.com>
7115
7116 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7117 -D_POSIX_C_SOURCE=199506L.
7118
7119 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7120
7121 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7122 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7123 Do not mention otherwise.
7124 [POSIX] (_XOPEN_VERSION): Do not expect.
7125 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7126 [POSIX] (_POSIX2_C_BIND): Likewise.
7127 [POSIX] (_POSIX2_VERSION): Likewise.
7128 [POSIX] (_XOPEN_XPG2): Likewise.
7129 [POSIX] (_XOPEN_XPG3): Likewise.
7130 [POSIX] (_XOPEN_XPG4): Likewise.
7131 [POSIX] (_XOPEN_UNIX): Likewise.
7132 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7133 [POSIX] (_POSIX_BARRIERS): Likewise.
7134 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7135 [POSIX] (_POSIX_CPUTIME): Likewise.
7136 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7137 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7138 [POSIX] (_POSIX_SHELL): Likewise.
7139 [POSIX] (_POSIX_SPAWN): Likewise.
7140 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7141 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7142 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7143 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7144 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7145 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7146 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7147 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7148 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7149 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7150 [POSIX] (_POSIX2_PBS): Likewise.
7151 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7152 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7153 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7154 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7155 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7156 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7157 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7158 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7159 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7160 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7161 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7162 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7163 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7164 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7165 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7166 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7167 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7168 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7169 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7170 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7171 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7172 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7173 [POSIX] (_SC_2_C_BIND): Likewise.
7174 [POSIX] (_SC_2_C_VERSION): Likewise.
7175 [POSIX] (_SC_2_PBS): Likewise.
7176 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7177 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7178 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7179 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7180 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7181 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7182 [POSIX] (_SC_BARRIERS): Likewise.
7183 [POSIX] (_SC_BASE): Likewise.
7184 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7185 [POSIX] (_SC_DEVICE_IO): Likewise.
7186 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7187 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7188 [POSIX] (_SC_FD_MGMT): Likewise.
7189 [POSIX] (_SC_FIFO): Likewise.
7190 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7191 [POSIX] (_SC_FILE_LOCKING): Likewise.
7192 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7193 [POSIX] (_SC_IOV_MAX): Likewise.
7194 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7195 [POSIX] (_SC_NETWORKING): Likewise.
7196 [POSIX] (_SC_PAGE_SIZE): Likewise.
7197 [POSIX] (_SC_PASS_MAX): Likewise.
7198 [POSIX] (_SC_PIPE): Likewise.
7199 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7200 [POSIX] (_SC_REGEXP): Likewise.
7201 [POSIX] (_SC_SHELL): Likewise.
7202 [POSIX] (_SC_SIGNALS): Likewise.
7203 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7204 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7205 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7206 [POSIX] (_SC_USER_GROUPS): Likewise.
7207 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7208 [POSIX] (_SC_STREAMS): Likewise.
7209 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7210 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7211 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7212 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7213 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7214 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7215 [POSIX] (_PC_FILESIZEBITS): Likewise.
7216 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7217 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7218 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7219 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7220 [POSIX] (uid_t): Likewise.
7221 [POSIX] (gid_t): Likewise.
7222 [POSIX] (off_t): Likewise.
7223 [POSIX] (pid_t): Likewise.
7224 [POSIX] (cuserid): Allow.
7225 (_SC_2_CHAR_TERM): Require constant.
7226 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7227 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7228 variable.
7229
7230 2015-05-20 Roland McGrath <roland@hack.frob.com>
7231
7232 * sysdeps/nacl/pthread-pids.h: New file.
7233 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7234 (create_thread): Use __nacl_get_tid to initialize PD->tid.
7235
7236 * nptl/pthread-pids.h: New file.
7237 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7238 * nptl/nptl-init.c: Include <pthread-pids.h>.
7239 (__pthread_initialize_minimal_internal):
7240 Call __pthread_initialize_pids instead of set_tid_address syscall.
7241
7242 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7243 * sysdeps/posix/usleep.c: ... here.
7244
7245 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7246
7247 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7248 call_pselect6 object.
7249 [$(subdir) = io]: Remove call_sync_file_range object.
7250 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7251 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7252 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7253 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7254
7255 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7256
7257 * math/s_cproj.c: Add include "math_private.h".
7258 * math/s_cprojf.c: Likewise.
7259 * math/s_cprojl.c: Likewise.
7260
7261 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7262
7263 [BZ #18244]
7264 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7265 high mantissa bit when testing whether P is a NaN.
7266 * math/libm-test.inc (remainder_test_data): Add more tests.
7267 (remquo_test_data): Likewise.
7268
7269 [BZ #18049]
7270 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7271 below -32, return the argument, with underflow if subnormal.
7272 * math/auto-libm-test-in: Add more tests of atanh.
7273 * math/auto-libm-test-out: Regenerated.
7274
7275 2015-05-19 Roland McGrath <roland@hack.frob.com>
7276
7277 [BZ #18434]
7278 * nptl/tst-sem15.c: New file.
7279 * nptl/Makefile (tests): Add it.
7280 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7281 s/<</>>/ to fix typo in EOVERFLOW check.
7282 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7283
7284 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7285
7286 * manual/strings.texi (envz_remove): Fix typo in safety
7287 annotations.
7288
7289 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7290 Steve Ellcey <sellcey@imgtec.com>
7291
7292 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7293 in order to avoid strict alias warnings.
7294 (iruserok_af): Ditto for ra.
7295
7296 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7297
7298 [BZ #17581]
7299 * malloc/hooks.c
7300 (magicbyte): Convert to a function and avoid returning 0x01.
7301 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7302 (mem2chunk_check): Fix unsigned comparisons to zero.
7303 Hoist defs of sz and magic.
7304
7305 2015-05-19 Richard Henderson <rth@redhat.com>
7306
7307 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7308
7309 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7310
7311 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7312
7313 [BZ #16159]
7314 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7315 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7316 (reused_arena): Find a non-corrupt arena.
7317 (heap_trim): Pass arena to unlink.
7318 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7319 malloc_printerr.
7320 (top_check): Likewise.
7321 (free_check): Likewise.
7322 (realloc_check): Likewise.
7323 * malloc/malloc.c (malloc_printerr): Add arena argument.
7324 (unlink): Likewise.
7325 (munmap_chunk): Adjust.
7326 (ARENA_CORRUPTION_BIT): New macro.
7327 (arena_is_corrupt): Likewise.
7328 (set_arena_corrupt): Likewise.
7329 (sysmalloc): Use mmap if there are no usable arenas.
7330 (_int_malloc): Likewise.
7331 (__libc_malloc): Don't fail if arena_get returns NULL.
7332 (_mid_memalign): Likewise.
7333 (__libc_calloc): Likewise.
7334 (__libc_realloc): Adjust for additional argument to
7335 malloc_printerr.
7336 (_int_free): Likewise.
7337 (malloc_consolidate): Likewise.
7338 (_int_realloc): Likewise.
7339 (_int_memalign): Don't touch corrupt arenas.
7340 * malloc/tst-malloc-backtrace.c: New test case.
7341
7342 * Makefile (summarize-tests): Fix return value on success.
7343
7344 * manual/string.texi (Envz Functions): Add envz_remove.
7345
7346 2015-05-18 Roland McGrath <roland@hack.frob.com>
7347
7348 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7349 (invalid_name): New function, broken out of ...
7350 (__opendirat): ... here. Call it.
7351 (need_isdir_precheck): New function, broken out of ...
7352 (__opendirat): ... here. Call it.
7353 Use __fxstatat64, not __xstatat64.
7354 (opendir_oflags): New function, broken out of ...
7355 (__opendirat): ... here. Call it.
7356 (opendir_tail): New function, broken out of ...
7357 (__opendirat): ... here. Call it.
7358 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7359 opendir_tail, rather than punting to __opendirat.
7360 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7361
7362 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7363
7364 * .gitignore: Ignore generated *.pyc.
7365
7366 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7367
7368 * include/stdio.h: Define __need_wint_t.
7369 * test-skeleton.c: Avoid `for' loop initial declaration.
7370 * nptl/tst-initializers1.c: Use test-skeleton.c.
7371
7372 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7373
7374 [BZ #18418]
7375 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7376
7377 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7378
7379 [BZ #16352]
7380 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7381 (__ieee754_atanh): Force underflow exception for results with
7382 small absolute value.
7383 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7384 (__ieee754_atanhf): Force underflow exception for results with
7385 small absolute value.
7386 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7387 (__ieee754_atanh): Force underflow exception for results with
7388 small absolute value.
7389 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7390 (__ieee754_atanhf): Force underflow exception for results with
7391 small absolute value.
7392 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7393 (__ieee754_atanhl): Force underflow exception for results with
7394 small absolute value.
7395 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7396 (__ieee754_atanhl): Force underflow exception for results with
7397 small absolute value.
7398 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7399 (__ieee754_atanhl): Force underflow exception for results with
7400 small absolute value.
7401 * math/auto-libm-test-in: Do not allow missing underflow
7402 exceptions from atanh.
7403 * math/auto-libm-test-out: Regenerated.
7404
7405 [BZ #18221]
7406 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7407 2**-28 as threshold for returning x or +/- 1/x.
7408 * math/auto-libm-test-in: Add more tests of tan.
7409 * math/auto-libm-test-out: Regenerated.
7410
7411 [BZ #18220]
7412 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7413 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7414 * math/auto-libm-test-in: Add another test of lgamma.
7415 * math/auto-libm-test-out: Regenerated.
7416
7417 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7418
7419 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7420 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7421 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7422 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7423 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7424 (ADD2A): Use fabs. (SUB2A): Use fabs.
7425 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7426 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7427 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7428 (log1): Use fabs. (my_log2): Use fabs.
7429 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7430 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7431 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7432 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7434 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7435 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7436 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7437 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7438 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7439 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7440
7441 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7442
7443 [BZ #18217]
7444 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7445 as threshold for returning 1 - x.
7446 * math/auto-libm-test-in: Add more tests of erfc.
7447 * math/auto-libm-test-out: Regenerated.
7448
7449 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7450
7451 [BZ #18196]
7452 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7453 threshold for large arguments.
7454 * math/auto-libm-test-in: Add another test of atan.
7455 * math/auto-libm-test-out: Regenerated.
7456
7457 [BZ #16339]
7458 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7459 (__log1p): Force underflow exception for results with small
7460 absolute value.
7461 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7462 (__log1pf): Force underflow exception for results with small
7463 absolute value.
7464 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7465 (__log1p): Force underflow exception for results with small
7466 absolute value.
7467 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7468 (__log1pf): Force underflow exception for results with small
7469 absolute value.
7470 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7471 (__log1pl): Force underflow exception for results with small
7472 absolute value.
7473 * math/auto-libm-test-in: Do not allow missing underflow
7474 exceptions from log1p.
7475 * math/auto-libm-test-out: Regenerated.
7476
7477 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7478 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7479
7480 [BZ #16704]
7481 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7482
7483 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7484
7485 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7486 (libmvec): New variable.
7487 * configure.ac: Added option for mathvec build.
7488 * configure: Regenerated.
7489 * mathvec/Depend: New file.
7490 * mathvec/Makefile: New file.
7491 * shlib-versions: Added libmvec.
7492 * math/Makefile: Added rule for libm.so installation.
7493
7494 * bits/math-vector.h: New file.
7495 * bits/libm-simd-decl-stubs.h: New header.
7496 * math/Makefile (headers): Added new header
7497 libm-simd-decl-stubs.h.
7498 * math/math.h (__MATHCALL_VEC): New macro.
7499
7500 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7501 for conditions in testing functions.
7502 * math/Makefile: Added call of libm-have-vector-test.sh.
7503 * math/libm-test.inc (HAVE_VECTOR): New macros.
7504
7505 * math/libm-test.inc: START refactored.
7506 * math/test-double.c (TEST_MATHVEC): Add define.
7507 * math/test-float.c: Likewise.
7508 * math/test-idouble.c: Likewise.
7509 * math/test-ifloat.c: Likewise.
7510 * math/test-ildoubl.c: Likewise.
7511 * math/test-ldouble.c: Likewise.
7512 * sysdeps/generic/math-tests-arch.h
7513 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7514 architecture check.
7515
7516 * math/test-double.c (FUNC_TEST): New macro.
7517 * math/test-float.c: Likewise.
7518 * math/test-idouble.c: Likewise.
7519 * math/test-ifloat.c: Likewise.
7520 * math/test-ildoubl.c: Likewise.
7521 * math/test-ldouble.c: Likewise.
7522 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7523
7524 2015-05-13 Roland McGrath <roland@hack.frob.com>
7525
7526 * sysdeps/nacl/fdopendir.c: New file.
7527
7528 * dirent/scandir-tail.c: New file.
7529 * dirent/scandir64-tail.c: New file.
7530 * dirent/Makefile (routines): Add them.
7531 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7532 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7533 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7534 [!SCANDIR] (SCANDIR_TAIL): New macro.
7535 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7536 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7537 (SCANDIRAT): Macro removed.
7538 (SCANDIR_TAIL): New macro.
7539 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7540 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7541 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7542 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7543 (READDIR): Macro removed.
7544 (SCANDIR_TAIL): New macro.
7545 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7546 (SCANDIR_TAIL): New macro.
7547
7548 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7549 * dirent/scandir-cancel.c: ... to this new file.
7550 * dirent/Makefile (routines): Add it.
7551 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7552 * sysdeps/unix/sysv/linux/i386/scandir64.c
7553 (SKIP_SCANDIR_CANCEL): Macro removed.
7554 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7555
7556 * dirent/tst-scandir.c: New file.
7557 * dirent/tst-scandir64.c: New file.
7558 * dirent/Makefile (tests): Add them.
7559
7560 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7561
7562 [BZ #18409]
7563 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7564
7565 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7566
7567 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7568 list.
7569
7570 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7571
7572 * benchtests/bench-strcoll.c: New benchmark.
7573 * benchtests/Makefile: Generate locales and run benchmark.
7574 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7575 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7576 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7577 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7578 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7579 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7580 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7581 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7582 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7583 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7584 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7585 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7586 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7587 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7588 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7589 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7590 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7591 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7592 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7593 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7594 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7595 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7596 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7597 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7598
7599 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7600
7601 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7602 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7603
7604 2015-05-12 Roland McGrath <roland@hack.frob.com>
7605
7606 * posix/uname-values.h: New file.
7607 * posix/uname.c: Include that instead of <config-name.h>.
7608 * sysdeps/nacl/uname-values.h: New file.
7609 * sysdeps/arm/nacl/uname-values.h: New file.
7610
7611 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7612
7613 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7614 splitting into fields.
7615
7616 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7617
7618 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7619 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7620 * locale/localeinfo.h: Add enum collation_encoding_type.
7621 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7622 * programs/ld-collate.c (collate_output): Add encoding type info.
7623 * string/strcoll_l.c (STRDIFF): New function.
7624 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7625 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7626
7627 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7628
7629 [BZ #18397]
7630 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7631 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7632 <fpu_control.h> instead of <math/fpu_control.c>.
7633 * sysdeps/mips/mips32/fpu/Makefile: New file.
7634
7635 2015-05-11 Andreas Schwab <schwab@suse.de>
7636
7637 [BZ #18007]
7638 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7639 nss_endgrent.
7640 (_nss_compat_endgrent): Call nss_endgrent.
7641 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7642 nss_endpwent.
7643 (_nss_compat_endpwent): Call nss_endpwent.
7644 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7645 needent, call nss_setspent only if non-zero.
7646 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7647 (internal_endspent): Don't call nss_endspent.
7648 (_nss_compat_endspent): Call nss_endspent.
7649 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7650 Remove. All uses removed.
7651 (internal_setent): Remove parameter stayopen, add parameter
7652 stream. Use it instead of global variable.
7653 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7654 (internal_endent, internal_getent): Add parameter stream. Use it
7655 instead of global variable.
7656 (CONCAT(_nss_files_end,ENTNAME))
7657 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7658 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7659 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7660 uses removed.
7661 (internal_setent, internal_endent): Add parameter stream. Use it
7662 instead of global variable.
7663 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7664 stream.
7665 (get_next_alias): Add parameter stream.
7666 (_nss_files_getaliasent_r): Pass global stream.
7667 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7668 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7669 (_nss_files_gethostbyname4_r): Pass local stream to
7670 internal_setent, internal_getent and internal_endent. Remove
7671 locking.
7672
7673 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7674
7675 * tst-strfmon1.c (tests): Update expected currency symbol.
7676
7677 2015-05-08 Roland McGrath <roland@hack.frob.com>
7678
7679 * sysdeps/nacl/gethostname.c: New file.
7680
7681 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7682
7683 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7684 and sinh.
7685 * math/auto-libm-test-out: Regenerated.
7686 * sysdeps/i386/fpu/libm-test-ulps: Update.
7687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7688
7689 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7690
7691 [BZ #18125]
7692 * stdlib/tst-setcontext3.c: New file.
7693 * stdlib/tst-setcontext3.sh: New file.
7694 * stdlib/Makefile (tests): Add tst-setcontext3.
7695 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7696 to verify test program created output file.
7697 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7698 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7699 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7700 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7701
7702 2015-05-06 Roland McGrath <roland@hack.frob.com>
7703
7704 [BZ #18383]
7705 * elf/tst-tlsalign.c: New file.
7706 * elf/tst-tlsalign-static.c: New file.
7707 * elf/tst-tlsalign-lib.c: New file.
7708 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7709 (tests-static): Add tst-tlsalign-static.
7710 (modules-names): Add tst-tlsalign-lib.
7711 (test-xfail-tst-tlsalign): New variable.
7712 (test-xfail-tst-tlsalign-static): New variable.
7713
7714 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7715 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7716
7717 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7718
7719 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7720 csqrt, erfc, sin and sincos.
7721 * math/auto-libm-test-out: Regenerated.
7722 * sysdeps/i386/fpu/libm-test-ulps: Update.
7723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7724
7725 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7726
7727 * sysdeps/aarch64/libm-test-ulps: Update.
7728
7729 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7730
7731 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7732 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7733 * math/auto-libm-test-out: Regenerated.
7734 * sysdeps/i386/fpu/libm-test-ulps: Update.
7735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7736
7737 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7738
7739 [BZ #18265]
7740 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7741 (wcsncpy): Likewise.
7742
7743 2015-05-05 Florian Weimer <fweimer@redhat.com>
7744
7745 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7746 Assume __ASSUME_FALLOCATE is always true.
7747 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7748 (__posix_fallocate64_l64): Likweise.
7749 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7750 (posix_fallocate): Likewise.
7751 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7752 (__posix_fallocate64_l64): Likewise.
7753 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7754 [!__ASSUME_FALLOCATE]: Add comment.
7755
7756 2015-05-05 Florian Weimer <fweimer@redhat.com>
7757
7758 * sysdeps/unix/sysv/linux/i386/Makefile
7759 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7760 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7761 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7762 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7763 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7764 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7765 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7766
7767 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7768
7769 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7770 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7771 tgamma.
7772 * math/auto-libm-test-out: Regenerated.
7773 * sysdeps/i386/fpu/libm-test-ulps: Update.
7774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7775
7776 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7777
7778 * math/auto-libm-test-in: Add more tests of tgamma.
7779 * math/auto-libm-test-out: Regenerated.
7780 * sysdeps/i386/fpu/libm-test-ulps: Update.
7781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7782
7783 * math/auto-libm-test-in: Add more tests of tanh.
7784 * math/auto-libm-test-out: Regenerated.
7785 * sysdeps/i386/fpu/libm-test-ulps: Update.
7786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7787
7788 * math/auto-libm-test-in: Add more tests of tan.
7789 * math/auto-libm-test-out: Regenerated.
7790 * sysdeps/i386/fpu/libm-test-ulps: Update.
7791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7792
7793 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7794 * math/auto-libm-test-out: Regenerated.
7795 * sysdeps/i386/fpu/libm-test-ulps: Update.
7796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7797
7798 * math/auto-libm-test-in: Add another test of pow.
7799 * math/auto-libm-test-out: Regenerated.
7800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7801
7802 * math/auto-libm-test-in: Add more tests of lgamma.
7803 * math/auto-libm-test-out: Regenerated.
7804 * sysdeps/i386/fpu/libm-test-ulps: Update.
7805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7806
7807 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7808 log1p.
7809 * math/auto-libm-test-out: Regenerated.
7810 * sysdeps/i386/fpu/libm-test-ulps: Update.
7811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7812
7813 2015-05-01 Mark Wielaard <mjw@redhat.com>
7814
7815 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7816 Elf64_Chdr structs and ELFCOMPRESS constants.
7817
7818 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7819
7820 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7821 expm1.
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 erf and erfc.
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 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7832
7833 * config.h.in (HAVE_AARCH64_BE): Add.
7834
7835 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7836
7837 * math/auto-libm-test-in: Add more tests of csqrt.
7838 * math/auto-libm-test-out: Regenerated.
7839 * sysdeps/i386/fpu/libm-test-ulps: Update.
7840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7841
7842 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7843 * math/auto-libm-test-out: Regenerated.
7844 * sysdeps/i386/fpu/libm-test-ulps: Update.
7845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7846
7847 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7848
7849 2015-04-29 Roland McGrath <roland@hack.frob.com>
7850
7851 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7852 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7853
7854 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7855 (euidaccess, eaccess): Define as weak aliases.
7856
7857 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7858 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7859 but __suseconds_t is often 'long int' so some sources assume that
7860 type is being used (e.g. they use %ld to print tv_usec).
7861
7862 2015-04-29 Florian Weimer <fweimer@redhat.com>
7863
7864 [BZ #18007]
7865 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7866 (CVE-2014-8121)
7867 * nss/tst-nss-getpwent.c: New file.
7868 * nss/Makefile (tests): Add new test.
7869
7870 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7871
7872 [BZ #18346]
7873 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7874 exponents less than 48 as cases where high part of mantissa needs
7875 examining to determine whether argument is integral.
7876 * math/libm-test.inc (round_test_data): Add more tests.
7877
7878 2015-04-28 Mark Wielaard <mjw@redhat.com>
7879
7880 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7881
7882 2015-04-27 David S. Miller <davem@davemloft.net>
7883
7884 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7885 __tls_get_addr.
7886 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7887
7888 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7889
7890 [BZ#18333]
7891 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7892
7893 2015-04-27 Florian Weimer <fweimer@redhat.com>
7894
7895 [BZ#18333]
7896 * time/tzset.c (parse_tzname): Return error on memory allocation
7897 failure.
7898 * test-skeleton.c (struct temp_name_list): Change type of name
7899 member to non-const.
7900 (add_temp_file): Create a copy of the file name.
7901 (delete_temp_files): Deallocate memory.
7902 (create_temp_file): Add comment.
7903
7904 2015-04-24 Florian Weimer <fweimer@redhat.com>
7905
7906 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7907 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7908
7909 2015-04-24 Roland McGrath <roland@hack.frob.com>
7910
7911 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7912 * sysdeps/arm/configure: Regenerated.
7913
7914 2015-04-24 Florian Weimer <fweimer@redhat.com>
7915
7916 [BZ #17715]
7917 * time/tzfile.c (__tzfile_read): Check for large values of
7918 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7919 * time/tzset.c (__tzstring_len): New function, based on the old
7920 __tzstring function.
7921 (__tzstring): Call __tzstring_len.
7922 (parse_tzname): New helper function extracted from
7923 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7924 the input string.
7925 (parse_offset): New helper function extracted from
7926 __tzset_parse_tz. Replace switch with fallthrough with
7927 initialization before sscanf.
7928 (parse_rule): Likewise.
7929 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7930 new-style function definition.
7931 * timezone/Makefile (tests): Add tst-tzset.
7932 (tst-tzset.out): Dependencies on time zone files.
7933 (tst-tzset-ENV): Set TZDIR.
7934 (testdata/XT%): Copy crafted time zone files.
7935 * timezone/README: Mention crafted time zone files.
7936 * timezone/testdata/XT1, timezone/testdata/XT2,
7937 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7938 files.
7939 * timezone/tst-tzset.c: New test.
7940
7941 2015-04-24 Florian Weimer <fweimer@redhat.com>
7942
7943 * Makeconfig (+gccwarn): Remove -Winline.
7944
7945 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7946
7947 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7948
7949 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7950
7951 * NEWS: Mention sysconf() cache information support for s390.
7952 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7953
7954 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7955
7956 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7957 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7958 (__nearbyint): Likewise.
7959 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7960 (copysignl): Likewise.
7961
7962 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7963
7964 [BZ #18287]
7965 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7966 based on padding. (CVE-2015-1781)
7967
7968 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7969
7970 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7971 libc-vdso.h.
7972 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7973 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7974 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7975 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7976 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7977 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7978 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7979 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7980 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7981 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7982 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7983 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7984 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7985 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7986 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7987 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7988 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7989 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7990 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7991 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7992 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7993 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7994 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7995
7996 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7997
7998 * stdlib/setenv.c (__add_to_environ):
7999 Dump core quickly if setenv (..., NULL, ...) is called.
8000 This time, do it the right way, and pacify GCC with a pragma.
8001
8002 2015-04-17 Roland McGrath <roland@hack.frob.com>
8003
8004 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8005 IMAP->l_prev cannot be null, and #if out the code for the contrary
8006 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8007 believe that NS (&_dl_ns[NSID]) could point outside the array.
8008
8009 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8010 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8011 before using NSID as an index.
8012
8013 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
8014
8015 [BZ #17825]
8016 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8017 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8018 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8019
8020 2015-04-17 Roland McGrath <roland@hack.frob.com>
8021
8022 Add preliminary port to Google Native Client on ARM.
8023 * abi-tags (.*-.*-nacl.*): New entry.
8024 * sysdeps/arm/nacl: New directory.
8025 * sysdeps/nacl: New directory.
8026
8027 2015-04-16 David S. Miller <davem@davemloft.net>
8028
8029 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8030 lowlevellock-futex.h
8031
8032 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
8033
8034 * sysdeps/tile/configure.ac: New file.
8035 * sysdeps/tile/configure: Regenerated.
8036
8037 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8038
8039 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
8040 conditionals for weak_alias and libc_hidden_weak.
8041 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8042 libc_hidden_weak and weak_alias.
8043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8044 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8045 and weak_alias for static one.
8046
8047 2015-04-15 David S. Miller <davem@davemloft.net>
8048
8049 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8050
8051 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8052
8053 [BZ #18206]
8054 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8055 Use signed comparision instead of substraction to avoid
8056 overflow bug.
8057 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8058 Take the sign of ret.
8059 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8060 Do not expect precise return values. Only the sign matters.
8061 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8062 * wcsmbs/test-wcsncmp.c: New File.
8063 * string/test-strncmp.c: Add wcsncmp support.
8064
8065 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8066
8067 [BZ #6792]
8068 * math/w_log1p.c: New file.
8069 * math/w_log1pf.c: Likewise.
8070 * math/w_log1pl.c: Likewise.
8071 * math/Makefile (libm-calls): Add w_log1p.
8072 * math/s_log1pl.c (log1pl): Remove weak_alias.
8073 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8074 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8075 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8076 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8077 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8078 [NO_LONG_DOUBLE] (log1pl): Likewise.
8079 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8080 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8081 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8082 (log1p): Remove long_double_symbol.
8083 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8084 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8085 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8086 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8087 remove weak_alias for corresponding log1p function.
8088 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8089 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8090 * sysdeps/ia64/fpu/w_log1p.c: New file.
8091 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8092 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8093 * math/libm-test.inc (log1p_test_data): Add errno expectations.
8094
8095 2015-04-10 Joseph Myers <joseph@codesourcery.com>
8096
8097 [BZ #18247]
8098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8099 decimal exponent by 1.
8100 * stdlib/tst-strtod-round-data: Add more tests.
8101 * stdlib/tst-strtod-round.c (tests): Regenerated.
8102
8103 2015-04-09 Joseph Myers <joseph@codesourcery.com>
8104
8105 * math/auto-libm-test-in: Add more tests of clog and clog10.
8106 * math/auto-libm-test-out: Regenerated.
8107 * sysdeps/i386/fpu/libm-test-ulps: Update.
8108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8109
8110 2015-04-09 Roland McGrath <roland@hack.frob.com>
8111
8112 * Makeconfig (module-cppflags): Exclude all .v.i files.
8113 (skip-module-cppflags): Variable removed.
8114
8115 * configure.ac (libc_config_ok): Initialize before reading
8116 preconfigure scripts, not after.
8117 * configure: Regenerated.
8118
8119 * test-skeleton.c (TIMEOUT): Move #define to top level.
8120 (main): Grok environment variable TEST_DIRECT. If set, print
8121 test expectation details into that file and then behave as if
8122 given --direct.
8123
8124 2015-04-09 Florian Weimer <fweimer@redhat.com>
8125
8126 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8127 warning on 32-bit.
8128
8129 2015-04-08 David S. Miller <davem@davemloft.net>
8130
8131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8132
8133 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8134
8135 * math/auto-libm-test-in: Add more tests of atanh.
8136 * math/auto-libm-test-out: Regenerated.
8137 * sysdeps/i386/fpu/libm-test-ulps: Update.
8138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8139
8140 * math/auto-libm-test-in: Add more tests of atan.
8141 * math/auto-libm-test-out: Regenerated.
8142 * sysdeps/i386/fpu/libm-test-ulps: Update.
8143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8144
8145 2015-04-08 Florian Weimer <fweimer@redhat.com>
8146
8147 * elf/pldd.c (main): Rewrite to use struct
8148 scratch_buffer instead of extend_alloca.
8149 * elf/pldd-xx.c (find_maps): Likewise.
8150 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8151 <alloca.h>.
8152 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8153 scratch_buffer instead of extend_alloca.
8154 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8155 grp/compat-initgroups.c.
8156 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8157 Rewrite to use struct scratch_buffer instead of extend_alloca.
8158 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8159 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8160
8161 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8162
8163 * math/auto-libm-test-in: Add more tests of cbrt.
8164 * math/auto-libm-test-out: Regenerated.
8165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8166
8167 * math/auto-libm-test-in: Add more tests of cabs.
8168 * math/auto-libm-test-out: Regenerated.
8169 * sysdeps/i386/fpu/libm-test-ulps: Update.
8170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8171
8172 [BZ #18210]
8173 [BZ #18211]
8174 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8175 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8176 computations.
8177 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8178 clog10.
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 [BZ #18197]
8184 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8185 (atan): Set FE_TONEAREST mode for internal computations.
8186 * math/auto-libm-test-in: Add more tests of atan.
8187 * math/auto-libm-test-out: Regenerated.
8188
8189 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8190
8191 [BZ #17930]
8192 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8193
8194 2015-04-07 Florian Weimer <fweimer@redhat.com>
8195
8196 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8197
8198 2015-04-07 Florian Weimer <fweimer@redhat.com>
8199
8200 * include/scratch_buffer.h: New file.
8201 * malloc/scratch_buffer_grow.c: Likewise.
8202 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8203 * malloc/scratch_buffer_set_array_size.c: Likewise.
8204 * malloc/tst-scratch_buffer.c: Likewise.
8205 * malloc/Makefile (routines): Add scratch_buffer_grow.
8206 (tests): Add test case.
8207 * malloc/Versions (GLIBC_PRIVATE): Export
8208 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8209 __libc_scratch_buffer_set_array_size.
8210
8211 2015-04-06 Richard Henderson <rth@redhat.com>
8212
8213 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8214 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8215
8216 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8217 unsigned int before printing.
8218
8219 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8220
8221 [BZ #17596]
8222 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8223 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8224
8225 2015-04-02 Florian Weimer <fweimer@redhat.com>
8226
8227 * include/libc-internal.h (libc_max_align_t): Define.
8228
8229 2015-04-02 Andreas Schwab <schwab@suse.de>
8230
8231 [BZ #16850]
8232 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8233
8234 2015-04-02 Mel Gorman <mgorman@suse.de>
8235
8236 [BZ #17195]
8237 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8238 as well as the main arena.
8239
8240 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8241
8242 [BZ #18185]
8243 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8244 sharing L2 cache to 2 for Silvermont/Knights Landing.
8245
8246 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8247
8248 [BZ #17711]
8249 * config.make.in (have-protected-data): New.
8250 * configure.ac: Check linker support for protected data symbol.
8251 * configure: Regenerated.
8252 * elf/Makefile (modules-names): Add tst-protected1moda and
8253 tst-protected1modb if $(have-protected-data) is yes.
8254 (tests): Add tst-protected1a and tst-protected1b if
8255 $(have-protected-data) is yes.
8256 ($(objpfx)tst-protected1a): New.
8257 ($(objpfx)tst-protected1b): Likewise.
8258 (tst-protected1modb.so-no-z-defs): Likewise.
8259 * elf/tst-protected1a.c: New file.
8260 * elf/tst-protected1b.c: Likewise.
8261 * elf/tst-protected1mod.h: Likewise.
8262 * elf/tst-protected1moda.c: Likewise.
8263 * elf/tst-protected1modb.c: Likewise.
8264
8265 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8266
8267 [BZ #17711]
8268 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8269 indicates it is called from do_lookup_x on relocation against
8270 protected data, skip the data definion in the executable from
8271 copy reloc.
8272 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8273 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8274 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8275 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8276 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8277 otherwise to 0.
8278 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8279 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8280 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8281 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8282 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8283 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8284
8285 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8286
8287 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8288 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8289
8290 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8291
8292 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8293 THREAD_SETMEM_NC.
8294 * sysdeps/x86_64/nptl/tls.h: Ditto.
8295
8296 2015-03-27 Roland McGrath <roland@hack.frob.com>
8297
8298 * dlfcn/tststatic.c (main): Converted to ...
8299 (do_test): ... this.
8300 (TEST_FUNCTION): New macro.
8301 Include test-skeleton.c.
8302
8303 2015-03-26 Alan Modra <amodra@gmail.com>
8304
8305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8306 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8307 zero for undefined weak.
8308 (elf_machine_plt_conflict): Similarly.
8309
8310 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8311
8312 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8313 atanh.
8314 * math/auto-libm-test-out: Regenerated.
8315 * sysdeps/i386/fpu/libm-test-ulps: Update.
8316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8317
8318 * math/auto-libm-test-in: Add another test of asin.
8319 * math/auto-libm-test-out: Regenerated.
8320 * sysdeps/i386/fpu/libm-test-ulps: Update.
8321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8322
8323 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8324 Remove macro.
8325 (LLL_EBX_REG): Likewise.
8326 (LLL_ENTER_KERNEL): Likewise.
8327
8328 * math/auto-libm-test-in: Add more tests of asin.
8329 * math/auto-libm-test-out: Regenerated.
8330 * sysdeps/i386/fpu/libm-test-ulps: Update.
8331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8332
8333 [BZ #18138]
8334 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8335 libc_do_syscall_args): New structure.
8336 (INTERNAL_SYSCALL_MAIN_0): New macro.
8337 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8338 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8339 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8340 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8341 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8342 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8343 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8344 Replace conditional definitions by conditional definitions of ....
8345 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8346 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8347 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8348 (libpthread-sysdep_routines): Add libc-do-syscall.
8349 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8350 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8351 to __NR_futex not 240.
8352
8353 2015-03-25 Alan Modra <amodra@gmail.com>
8354
8355 * NEWS: Advertise TLS optimization.
8356 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8357 (DT_PPC_NUM): Increment.
8358 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8359 (CHECK_STATIC_TLS): Use here.
8360 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8361 TLS descriptors.
8362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8363 * sysdeps/powerpc/dl-tls.c: New file.
8364 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8365 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8366 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8367 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8371
8372 2015-03-25 Alan Modra <amodra@gmail.com>
8373
8374 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8375 for overlapping .opd entries" to "support...".
8376 * sysdeps/powerpc/powerpc64/configure: Regenerate
8377
8378 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8379
8380 * math/auto-libm-test-in: Add more tests of acos.
8381 * math/auto-libm-test-out: Regenerated.
8382 * sysdeps/i386/fpu/libm-test-ulps: Update.
8383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8384
8385 * math/auto-libm-test-in: Add more tests of expm1.
8386 * math/auto-libm-test-out: Regenerated.
8387 * sysdeps/i386/fpu/libm-test-ulps: Update.
8388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8389
8390 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8391
8392 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8393 * math/auto-libm-test-out: Regenerated.
8394 * sysdeps/i386/fpu/libm-test-ulps: Update.
8395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8396
8397 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8399
8400 * math/auto-libm-test-in: Add more tests of log2.
8401 * math/auto-libm-test-out: Regenerated.
8402 * sysdeps/i386/fpu/libm-test-ulps: Update.
8403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8404
8405 2015-03-23 Roland McGrath <roland@hack.frob.com>
8406
8407 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8408 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8409 _IO_IS_APPENDING bit in READ_WRITE instead.
8410
8411 2015-03-23 Florian Weimer <fweimer@redhat.com>
8412
8413 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8414 (__determine_cpumask_size): Replace extend_alloca with a
8415 variable-length array. Do not treat res == 0 as an error.
8416
8417 2015-03-23 Florian Weimer <fweimer@redhat.com>
8418
8419 [BZ #18100]
8420 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8421 and integer overflow.
8422 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8423 (main): Add integer overflow tests.
8424 * manual/pattern.texi (Calling Wordexp): Document additional use
8425 for WRDE_SYNTAX.
8426
8427 2015-03-23 Alan Modra <amodra@gmail.com>
8428
8429 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8430 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8431 and false branch of conditional.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8433 Likewise.
8434
8435 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8436
8437 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8438 libc-modules.h
8439 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8440 unused declaration of _hurd_intr_rpc_msg_in_trap.
8441 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8442 defined instead of whether it is non-zero.
8443 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8444 input constraint instead of both input and output constraint. Use ecx
8445 clobber instead of %ecx.
8446 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8447 mutex_unlock): Use a statement expression instead of an expression list.
8448 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8449 type to vm_size_t instead of vm_address_t.
8450 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8451 defined instead of whether it is non-zero.
8452 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8453 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8454 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8455 comparisons with mapaddr.
8456 * nscd/nscd-client.h: Include <time.h>.
8457 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8458 9th parameter to __vm_region instead of int.
8459 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8460 * scripts/check-local-headers.sh (exclude): Add device/,
8461 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8462 cthreads.h.
8463
8464 2015-03-19 Roland McGrath <roland@hack.frob.com>
8465
8466 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8467 to account for alignment padding.
8468 * sysdeps/arm/memmove.S: Likewise.
8469
8470 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8471
8472 * sysdeps/unix/sysv/linux/generic/README: New file.
8473
8474 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8475
8476 [BZ #18138]
8477 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8478 (futex_abstimed_wait)
8479 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8480 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8481 of lll_futex_timed_wait.
8482
8483 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8484
8485 [BZ #17542]
8486 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8487
8488 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8489
8490 [BZ #17090]
8491 [BZ #17620]
8492 [BZ #17621]
8493 [BZ #17628]
8494 * NEWS: Update.
8495 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8496 entries with Static TLS too. Skip entries past the end of the
8497 allocated DTV, from Alan Modra.
8498 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8499 Static TLS DTV entry set up from...
8500 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8501 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8502 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8503 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8504 for Static TLS.
8505 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8506 that the slot we find is associated with the given map before
8507 using its generation count.
8508 * nptl_db/db_info.c: Include ldsodefs.h.
8509 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8510 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8511 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8512 (link_map::l_tls_offset): New struct field.
8513 (dtv_t::counter): Likewise.
8514 (rtld_global): New struct.
8515 (_rtld_global): New rtld variable.
8516 (dl_tls_dtv_slotinfo_list): New rtld global field.
8517 (dtv_slotinfo_list): New struct.
8518 (dtv_slotinfo): Likewise.
8519 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8520 (td_lookup): Rename to...
8521 (td_mod_lookup): ... this. Use new mod parameter instead of
8522 LIBPTHREAD_SO.
8523 * nptl_db/td_thr_tlsbase.c: Include link.h.
8524 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8525 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8526 addresses even if the DTV is out of date or missing them.
8527 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8528 index zero-length arrays.
8529 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8530 (td_lookup): Make it a macro implemented in terms of...
8531 (td_mod_lookup): ... this declaration.
8532 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8533 (DB_MAIN_VARIABLE): Likewise.
8534
8535 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8536
8537 [BZ #18134]
8538 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8539
8540 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8541
8542 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8543
8544 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8545
8546 [BZ #18128]
8547 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8548 (atomic_add, atomic_increment_and_test)
8549 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8550
8551 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8552
8553 * stdlib/setenv.c (__add_to_environ):
8554 Dump core quickly if setenv (..., NULL, ...) is called.
8555
8556 2015-03-13 Roland McGrath <roland@hack.frob.com>
8557
8558 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8559 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8560 all the necessary asm magic in one place.
8561 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8562 using those.
8563
8564 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8565
8566 [BZ #14906]
8567 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8568 traced file mtime. Use consistent log message.
8569 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8570 (register_traced_file): Call install_watches. Always set mtime.
8571 (invalidate_cache): Iterate over all trace files. Call install_watches.
8572 (inotify_check_files): Don't inline. Handle watching parent
8573 directories and configuration file movement in and out.
8574 (handle_inotify_events): New function.
8575 (main_loop_poll): Call handle_inotify_events.
8576 (main_loop_epoll): Likewise.
8577 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8578 (struct traced_file): Use array of inotify fds. Add parent directory,
8579 and basename.
8580 (struct database_dyn): Remove unused file_mtime.
8581 (init_traced_file): New inline function.
8582 (define_traced_file): New macro.
8583 * nss/nss_db/db-init.c: Use define_traced_file.
8584 (_nss_db_init): Use init_traced_file.
8585 * nss/nss_files/files-init.c: Use define_traced_file.
8586 (_nss_files_init): Use init_traced_file.
8587
8588 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8589
8590 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8591 [_LIBC]: Do not include <stdlib.h>.
8592 [!_LIBC] (abort): Remove declaration.
8593 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8594 _FP_STATIC_ASSERT instead of conditionally calling abort.
8595 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8596 (_FP_EXTEND_CNAN): Likewise.
8597 (FP_TRUNC): Likewise.
8598 (__FP_CLZ): Likewise.
8599 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8600
8601 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8602
8603 * manual/string.texi (XPG basename): Fix prototype.
8604
8605 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8606
8607 [BZ #18080]
8608 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8609 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8610 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8611 (__setcontext): Likewise.
8612 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8613 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8614 Call rt_sigprocmask syscall one time to set new signal mask
8615 and retrieve the current signal mask instead of two calls.
8616 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8617 (__swapcontext): Likewise.
8618 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8619 * stdlib/tst-setcontext2.c: New file.
8620
8621 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8622
8623 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8624
8625 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8626
8627 [BZ #18093]
8628 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8629 the wrong size.
8630
8631 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8632
8633 [BZ #18043]
8634 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8635
8636 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8637
8638 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8639 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8640 Remove define.
8641 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8642 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8643 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8644 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8645 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8646 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8647 define.
8648 * nptl_db/td_symbol_list.c (td_lookup): Remove
8649 HAVE_ASM_GLOBAL_DOT_NAME code.
8650 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8651 HAVE_ASM_GLOBAL_DOT_NAME check.
8652 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8653 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8654 (DOT_LABEL): Remove define.
8655 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8656 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8657 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8658 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8659 (__TLS_GET_ADDR): Likewise.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8661 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8662
8663 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8664
8665 [BZ #18111]
8666 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8667 (_FPU_SETCW): Initialize cw from fpsr before storing.
8668 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8669 (fesetexceptflag): Rewrite using fpu_control.h.
8670 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8671
8672 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8673
8674 [BZ #18110]
8675 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8676 asms.
8677 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8678
8679 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8680
8681 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8682 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8683 abort.
8684 (_FP_FMA): Likewise.
8685 (_FP_DIV): Likewise.
8686
8687 2015-03-10 Roland McGrath <roland@hack.frob.com>
8688
8689 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8690 with 0 in that case.
8691 * Makefile (summarize-tests): New canned sequence, factored out of
8692 commands for targets tests and xtests. Display summary lines that
8693 don't start with PASS: or XFAIL: rather than ones that do start with
8694 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8695 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8696 do start with ERROR: or FAIL:.
8697 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8698 (except for [$(build-shared) = yes]).
8699 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8700 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8701 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8702 * nptl/Makefile: Revert 2015-03-04 changes.
8703 [$(CXX) empty] (tests-unsupported): New variable.
8704 * debug/Makefile: Likewise.
8705
8706 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8707 gnulib file. Replace __attribute with __attribute__ throughout.
8708
8709 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8710
8711 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8712
8713 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8714
8715 [BZ #18104]
8716 * math/auto-libm-test-in: Add another test of pow.
8717 * math/auto-libm-test-out: Regenerated.
8718
8719 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8720
8721 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8722 $(config-cflags-nofma).
8723
8724 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8725
8726 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8727 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8728 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8729 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8730 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8731 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8732 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8733 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8734 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8735 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8736 Add comment on closing #endif.
8737
8738 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8739
8740 * posix/wordexp.c (CHAR_IN_SET): New macro.
8741 (parse_param): Use it.
8742
8743 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8744
8745 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8746
8747 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8748
8749 [BZ #18043]
8750 * posix/wordexp.c (parse_param): Fix buffer overflow.
8751 * posix/wordexp-test.c (test_case): Add test case.
8752
8753 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8754
8755 [BZ #18042]
8756 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8757 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8758
8759 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8760
8761 [BZ #18043]
8762 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8763 (do_bz18043): Delete.
8764 (at_page_end): New.
8765 (testit): Refactor to have words at the edge of unreadable page.
8766
8767 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8768
8769 [BZ #16734]
8770 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8771 Cleanup read-only streams as well.
8772 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8773
8774 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8775
8776 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8777 <bits/libc-lockP.h>
8778
8779 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8780
8781 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8782 on [__KERNEL__].
8783 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8784 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8785 * soft-fp/op-common.h (_FP_DECL): Likewise.
8786
8787 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8788
8789 * elf/ifuncdep2.c (global): Replace
8790 __attribute__((visibility("protected"))) with
8791 asm (".protected global").
8792 * elf/ifuncmod1.c (global): Likewise.
8793 * elf/ifuncmod5.c (global): Likewise.
8794
8795 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8796
8797 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8798 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8799
8800 2015-03-06 Roland McGrath <roland@hack.frob.com>
8801
8802 * manual/install.texi (Configuring and compiling):
8803 Document test-wrapper-env-only.
8804 * INSTALL: Regenerated.
8805
8806 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8807
8808 [BZ #18043]
8809 * posix/wordexp.c (parse_param): Fix buffer overflow.
8810 * posix/wordexp-test.c (do_bz18043): Add test case.
8811
8812 2015-03-06 Vincent Bernat <vincent@bernat.im>
8813
8814 * time/tst-strptime2.c (do_test): Ensure failing tests are
8815 reported correctly.
8816 * time/tst-strptime3.c (do_test): Likewise.
8817
8818 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8819
8820 Fix aio_error thread-safety.
8821 * sysdeps/pthread/aio_error.c: New file
8822 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8823 synchronization.
8824
8825 2015-03-06 Florian Weimer <fweimer@redhat.com>
8826
8827 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8828 (group_number, vfprintf): Use it.
8829 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8830 (JUMP, REF): Use it.
8831 (WORK_BUFFER_SIZE): New enum constant.
8832 (process_arg, vfprintf): Use it.
8833
8834 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8835
8836 * manual/errno.texi (Error Messages): Complete example function
8837 by adding missing #define.
8838 (program_invocation_name): Add statement indicating GNU
8839 extension and reference which header file declares the variable.
8840 (program_invocation_short_name): Likewise.
8841
8842 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8843
8844 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8845 compatibility note.
8846
8847 2015-03-05 Roland McGrath <roland@hack.frob.com>
8848
8849 * Makeconfig (test-wrapper-env-only): New variable.
8850 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8851 then use that with $(test-wrapper-env-only) rather than using
8852 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8853
8854 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8855
8856 [BZ #18082]
8857 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8858 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8859 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8860 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8861 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8862 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8863 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8864 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8865 Likewise.
8866 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8867 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8868 Likewise.
8869 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8870 Likewise.
8871 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8872 Likewise.
8873 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8874 Likewise.
8875 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8877 Likewise.
8878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8879 Likewise.
8880 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8881 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8882
8883 2015-03-04 Roland McGrath <roland@hack.frob.com>
8884
8885 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8886 (ETH_ALEN): New macro.
8887 (struct ether_addr): Use it for length of ether_addr_octet.
8888
8889 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8890 (setdb): Don't call __nss_configure_lookup for "rpc".
8891 (do_test): Don't call test_rpc.
8892 (output_rpcent, test_rpc): Functions moved ...
8893 * sunrpc/test-rpcent.c: ... to this new file.
8894 * sunrpc/Makefile (tests): Add it.
8895
8896 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8897 __xpg_sigpause.
8898 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8899 * nptl/tst-signal6.c: Likewise.
8900 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8901 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8902
8903 * configure.ac (libc_cv_cxx_link_ok): New check.
8904 Reset CXX to empty if it fails to link.
8905 * configure: Regenerated.
8906 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8907 bug-atexit3-lib only if $(CXX) is nonempty.
8908 * nptl/Makefile (tests): Likewise for tst-cancel24.
8909 (tests, tests-static): Likewise for tst-cancel24-static.
8910 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8911 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8912 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8913 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8914
8915 2015-03-04 Andreas Schwab <schwab@suse.de>
8916
8917 [BZ #17631]
8918 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8919 for non-GCC compilers.
8920 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8921 Likewise.
8922
8923 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8924
8925 [BZ #17776]
8926 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8927 integer before bitwise and assembly operations.
8928 (feclearexcept): Likewise.
8929 * math/test-fenvinline.c: New file.
8930 * math/Makefile: Add test-fenvinline test.
8931
8932 2015-03-03 Alan Modra <amodra@gmail.com>
8933
8934 [BZ #16512]
8935 * scripts/localplt.awk: Strip off symbol version.
8936 * NEWS: Mention bug fix.
8937
8938 2015-03-02 Roland McGrath <roland@hack.frob.com>
8939
8940 * sysdeps/pthread/timer_routines.c
8941 (timer_free_list, thread_free_list, thread_active_list): Make static.
8942
8943 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8944
8945 [BZ #17779]
8946 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8947 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8948 Undefine.
8949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8950 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8951 Likewise.
8952 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8953 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8954 Likewise.
8955
8956 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8957
8958 [BZ #18036]
8959 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8960 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8961
8962 2015-03-02 Andreas Schwab <schwab@suse.de>
8963
8964 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8965 variable name.
8966
8967 2015-03-02 Florian Weimer <fweimer@redhat.com>
8968
8969 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8970 Return error status.
8971
8972 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8973
8974 [BZ #15969]
8975 * locale/findlocale.c (_nl_find_locale): Introduce const
8976 version of loc_name and drop unsafe type casts.
8977
8978 2015-02-27 Roland McGrath <roland@hack.frob.com>
8979
8980 * dlfcn/tststatic2.c (main): Converted to ...
8981 (do_test): ... this.
8982 (TEST_FUNCTION): New macro.
8983 Include test-skeleton.c.
8984
8985 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8986
8987 [BZ #17711]
8988 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8989 (tests-pie): Add vismain.
8990 (CFLAGS-vismain.c): New.
8991 * elf/vismain.c: Add comments for PIE requirement.
8992
8993 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8994
8995 [BZ #18046]
8996 [BZ #18047]
8997 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8998 0x1p-56L as threshold for just returning the argument.
8999 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9000 0x1p-32L as threshold for just returning the argument.
9001 * math/auto-libm-test-in: Add more tests of atanh.
9002 * math/auto-libm-test-out: Regenerated.
9003 * sysdeps/i386/fpu/libm-test-ulps: Update.
9004 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9005
9006 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9007
9008 * string/bcopy.c (bcopy): Call memmove for performance.
9009
9010 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9011
9012 * string/bzero.c (__bzero): Call memset for performance.
9013
9014 2015-02-27 John David Anglin <dave.anglin@bell.net>
9015
9016 [BZ #18068]
9017 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9018 to 00100000.
9019
9020 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9021
9022 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9023
9024 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9025
9026 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9027 (__kernel_standard): Use CSTR macro when setting exc.name.
9028 * sysdeps/ieee754/Makefile [$(subdir) = math]
9029 (CFLAGS-k_standard.c): Remove variable.
9030
9031 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9032 setting p and q from "else if" to "else".
9033 (qzero): Likewise.
9034 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9035 (qone): Likewise.
9036 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9037 (qzerof): Likewise.
9038 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9039 (qonef): Likewise.
9040 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9041 (qzero): Likewise.
9042 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9043 (qone): Likewise.
9044
9045 [BZ #18038]
9046 [BZ #18039]
9047 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9048 return pi/2 for arguments below 0x1p-113L.
9049 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9050 return pi/2 for arguments below 0x1p-106L.
9051 * math/auto-libm-test-in: Add more tests of acos.
9052 * math/auto-libm-test-out: Regenerated.
9053
9054 [BZ #16351]
9055 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9056 (MO): New macro.
9057 (__ieee754_asin): Force underflow exception for results with small
9058 absolute value.
9059 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9060 (MO): New macro.
9061 (__ieee754_asinf): Force underflow exception for results with
9062 small absolute value.
9063 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9064 (__ieee754_asin): Force underflow exception for results with small
9065 absolute value.
9066 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9067 (__ieee754_asinf): Force underflow exception for results with
9068 small absolute value.
9069 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9070 (__ieee754_asinl): Force underflow exception for results with
9071 small absolute value.
9072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9073 (__ieee754_asinl): Force underflow exception for results with
9074 small absolute value.
9075 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9076 (__ieee754_asinl): Force underflow exception for results with
9077 small absolute value.
9078 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9079 Include <math.h>.
9080 * math/auto-libm-test-in: Do not mark underflow exceptions as
9081 possibly missing for bug 16351.
9082 * math/auto-libm-test-out: Regenerated.
9083
9084 [BZ #18030]
9085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9086 of power of 2 down when low part has opposite sign.
9087 * math/libm-test.inc (logb_test_data): Add more tests.
9088
9089 2015-02-26 Andreas Schwab <schwab@suse.de>
9090
9091 [BZ #18032]
9092 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9093 over collating symbol inside a bracket expression. Minor cleanup.
9094 * posix/tst-fnmatch3.c (do_test): Add test case.
9095
9096 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9097
9098 [BZ #18029]
9099 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9100 Adjust exponent of power of 2 down when low part has opposite
9101 sign.
9102 * math/libm-test.inc (ilogb_test_data): Add more tests.
9103
9104 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
9105
9106 [BZ #15969]
9107 * locale/findlocale.c (_nl_find_locale): Fix constness error in
9108 the previous change.
9109
9110 [BZ #15969]
9111 * locale/findlocale.c (_nl_find_locale): Retry archive search
9112 after alias expansion.
9113
9114 2015-02-25 Roland McGrath <roland@hack.frob.com>
9115
9116 * iconv/tst-iconv3.c (main): Converted to ...
9117 (do_test): ... this.
9118 (TEST_FUNCTION): New macro.
9119 Include test-skeleton.c.
9120
9121 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9122 (convert): Make function static.
9123 (test_unalign): Likewise. Add const to argument pointee types.
9124 (main): Replace with static function do_test.
9125 Print "Succeeded." only if RET is zero.
9126 (TEST_FUNCTION): New macro.
9127 Include test-skeleton.c.
9128
9129 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9130 returns a null pointer.
9131
9132 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9133
9134 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9135 to __memcpy_ppc only for static builds.
9136
9137 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9138
9139 [BZ #18020]
9140 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9141 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9142 * math/auto-libm-test-in: Add more tests of asinh.
9143 * math/auto-libm-test-out: Regenerated.
9144 * sysdeps/i386/fpu/libm-test-ulps: Update.
9145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9146
9147 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9148
9149 [BZ #15850]
9150 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9151 and ip6_mtuinfo definitions here.
9152 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9153 in this define too. Update comment.
9154
9155 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9156
9157 * elf/sprof.c (load_shobj): Tweak error message to match others.
9158
9159 2015-02-24 Kevin Easton <kevin@guarana.org>
9160
9161 [BZ #16145] (partial fix)
9162 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9163 to reduce lock contention.
9164
9165 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9166
9167 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9168 (struct timex): Update time comment.
9169 (ADJ_SETOFFSET): Define.
9170
9171 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9172
9173 [BZ #18019]
9174 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9175 2**56 not 2**28 as threshold for log (2x) formula.
9176 * math/auto-libm-test-in: Add more tests of acosh.
9177 * math/auto-libm-test-out: Regenerated.
9178 * sysdeps/i386/fpu/libm-test-ulps: Update.
9179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9180
9181 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9182
9183 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9184 parenthesis around the buf assignment.
9185 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9186
9187 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9188
9189 [BZ #16783]
9190 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9191 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9192 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9193 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9194 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9195 * math/libm-test.inc (scalb_test_data): Add more tests.
9196
9197 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9198
9199 [BZ #17916]
9200 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9201 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9202
9203 2015-02-24 Eric Rannaud <e@nanocritical.com>
9204
9205 [BZ #17523]
9206 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9207 * io/bits/fcntl2.h (open): Use it.
9208 (openat): Likewise.
9209 * io/open.c (__libc_open): Likewise.
9210 * io/open64.c (__libc_open64): Likewise.
9211 * io/open64_2.c (__open64_2): Likewise.
9212 * io/open_2.c (__open_2): Likewise.
9213 * io/openat.c (__openat): Likewise.
9214 * io/openat64.c (__openat64): Likewise.
9215 * io/openat64_2.c (__openat64_2): Likewise.
9216 * io/openat_2.c (__openat_2): Likewise.
9217 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9218 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9219 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9220 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9221 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9222 (__open_nocancel): Likewise.
9223 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9224 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9225 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9226
9227 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9228
9229 [BZ #14841]
9230 * resolv/gethnamaddr.c (getanswer): Skip logging if
9231 RES_USE_DNSSEC is set.
9232 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9233
9234 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9235
9236 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9237
9238 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
9239
9240 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9241 201304L, for Unicode 7.
9242
9243 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
9244
9245 [BZ #17836]
9246 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9247 shared library. Add gmon-start.os otherwise.
9248 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9249 $(objpfx)gmon-start.os if builing shared library.
9250 ($(objpfx)g$(static-start-installed-name)): Likewise.
9251
9252 2015-02-23 Andreas Schwab <schwab@suse.de>
9253
9254 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9255
9256 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9257
9258 [BZ #17269]
9259 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9260 (enlarge_userbuf): Likewise.
9261
9262 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9263
9264 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9265 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9266 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9267 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9268
9269 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9270
9271 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9272 expression inside statement expression.
9273
9274 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9275
9276 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9277 <sysdeps/nptl/lowlevellock.h> and remove macros and
9278 functions that are now defined there.
9279 (SYS_futex): Remove.
9280 (lll_compare_and_swap): Remove.
9281 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9282
9283 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9284
9285 [BZ #17999]
9286 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9287 instead of scandirat.
9288 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9289 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9290 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9291 __scandirat.
9292 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9293 (__scandirat): Declare. Use libc_hidden_proto.
9294 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9295 Remove variable.
9296 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9297
9298 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9299
9300 [BZ #15319]
9301 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9302 (MO): New macro.
9303 (__ieee754_atan2): For results with small absolute value, force
9304 underflow exception and remove excess range and precision from
9305 return value.
9306 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9307 (MO): New macro.
9308 (__ieee754_atan2f): For results with small absolute value, force
9309 underflow exception and remove excess range and precision from
9310 return value.
9311 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9312 (MO): New macro.
9313 (__atan): For results with small absolute value, force underflow
9314 exception and remove excess range and precision from return value.
9315 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9316 (MO): New macro.
9317 (__atanf): For results with small absolute value, force underflow
9318 exception and remove excess range and precision from return value.
9319 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9320 <math.h>.
9321 (__ieee754_atan2): Force underflow exception for results with
9322 small absolute value.
9323 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9324 <math_private.h>.
9325 (atan): Force underflow exception for results with small absolute
9326 value.
9327 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9328 (__atanf): Force underflow exception for results with small
9329 absolute value.
9330 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9331 <math.h>.
9332 (__atanl): Force underflow exception for results with small
9333 absolute value.
9334 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9335 (__atanl): Force underflow exception for results with small
9336 absolute value.
9337 * sysdeps/x86/fpu/bits/mathinline.h
9338 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9339 (__ieee754_atan2): Only define inline for long double.
9340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9341 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9342 * math/auto-libm-test-in: Do not mark underflow exceptions as
9343 possibly missing for bug 15319. Add more tests of atan2.
9344 * math/auto-libm-test-out: Regenerated.
9345 * math/libm-test.inc (casin_test_data): Do not mark underflow
9346 exceptions as possibly missing for bug 15319.
9347 (casinh_test_data): Likewise.
9348 * sysdeps/i386/fpu/libm-test-ulps: Update.
9349
9350 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9351
9352 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9353 * sysdeps/mips/bits/endian.h: Fix comments.
9354
9355 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9356
9357 [BZ #17996]
9358 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9359 (hdestroy_r): Likewise.
9360 (hsearch_r): Likewise.
9361 (__hcreate_r): Declare and use libc_hidden_proto.
9362 (__hdestroy_r): Likewise.
9363 (__hsearch_r): Likewise.
9364 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9365 (hcreate): Call __hcreate_r instead of hcreate_r.
9366 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9367 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9368 as weak alias of __hcreate_r.
9369 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9370 __hdestroy_r.
9371 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9372 __hsearch_r.
9373 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9374 Remove variable.
9375 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9376 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9377 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9378 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9379
9380 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9381
9382 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9383 arena_lock into a single arena_get.
9384
9385 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9386
9387 * dl-reloc.c: Inlucde libc-internal.h.
9388 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9389 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9390 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9391 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9392 (grow_heap): Likewise.
9393 * malloc/malloc.c: Include libc-internal.h.
9394 (do_check_malloc): Call powerof2.
9395 (sysmalloc): Use pagesize. Call ALIGN_UP.
9396 (systrim): Use pagesize.
9397 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9398 (__libc_valloc): Use pagesize.
9399 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9400
9401 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9402
9403 [BZ #17991]
9404 * include/sys/resource.h (__getrlimit64): Declare. Use
9405 libc_hidden_proto.
9406 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9407 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9408 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9409 getrlimit64.
9410 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9411 __getrlimit64.
9412 [!getrlimit64] (getrlimit64): Define as weak alias of
9413 __getrlimit64. Use libc_hidden_weak.
9414 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9415 using __getrlimit64 not __new_getrlimit64.
9416 (__GI_getrlimit64): Likewise.
9417 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9418 Likewise.
9419 (__GI_getrlimit64): Likewise.
9420 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9422 (getrlimit): Add __getrlimit64 alias.
9423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9424 Likewise.
9425 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9426 Remove variable.
9427 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9428 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9429
9430 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9431
9432 * libio/fileops.c: Add missing sys/mman.h
9433 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9434
9435 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9436
9437 * manual/math.texi (Errors in Math Functions): Clarify goals
9438 regarding inexact and underflow exceptions.
9439
9440 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9441
9442 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9443 * sysdeps/mips/memset.S: Ditto.
9444
9445 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9446
9447 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9448
9449 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9450
9451 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9452 (__v1longjmp): Remove versioned symbol.
9453 (__v1siglongjmp): Remove alias and versioned symbol.
9454 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9455 (__v2siglongjmp): Likewise.
9456
9457 2015-02-16 Torvald Riegel <triegel@redhat.com>
9458
9459 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9460
9461 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9462
9463 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9464
9465 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9466
9467 [BZ #17987]
9468 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9469 zero result does not depend on the sign resulting from
9470 subtraction.
9471 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9472 Likewise.
9473 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9474 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9475 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9476 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9477 * math/libm-test.inc (remquo_test_data): Add more tests.
9478
9479 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9480
9481 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9482 Problem reported by J William Piggott.
9483
9484 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9485
9486 [BZ #17978]
9487 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9488 products 4 * y and 2 * y where those would overflow.
9489 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9490 Likewise.
9491 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9492 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9494 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9495 * math/libm-test.inc (remquo_test_data): Add more tests.
9496
9497 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9498
9499 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9500 [defined _COMPILING_NEWLIB].
9501 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9502 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9503
9504 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9505 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9506
9507 2015-02-16 Torvald Riegel <triegel@redhat.com>
9508
9509 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9510 acquired.
9511
9512 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9513
9514 [BZ #17792]
9515 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9516 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9517 HOST_STACK_END_ADDR): Likewise.
9518
9519 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9520
9521 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9522 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9523 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9524
9525 2015-02-13 Roland McGrath <roland@hack.frob.com>
9526
9527 * sysdeps/generic/c++-types.data: New file.
9528 * sysdeps/generic/ld.abilist: New file.
9529 * sysdeps/generic/libBrokenLocale.abilist: New file.
9530 * sysdeps/generic/libanl.abilist: New file.
9531 * sysdeps/generic/libc.abilist: New file.
9532 * sysdeps/generic/libcrypt.abilist: New file.
9533 * sysdeps/generic/libdl.abilist: New file.
9534 * sysdeps/generic/libm.abilist: New file.
9535 * sysdeps/generic/libpthread.abilist: New file.
9536 * sysdeps/generic/libresolv.abilist: New file.
9537 * sysdeps/generic/librt.abilist: New file.
9538
9539 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9540
9541 [BZ #17569]
9542 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9543 Compute absolute value of x as modified by fmod, not original
9544 value of x.
9545 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9546 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9547 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9548 RUN_TEST_ffI_f1_mod8.
9549 (remquo_test_data): Add more tests.
9550
9551 2015-02-13 Roland McGrath <roland@hack.frob.com>
9552
9553 * sysdeps/init_array/pt-crti.S: New file.
9554
9555 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9556
9557 [BZ #17967]
9558 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9559 __builtin_fmaf instead of relying on contraction of a * b + c.
9560
9561 2015-02-12 J William Piggott <elseifthen@gmx.com>
9562
9563 [BZ #17969]
9564 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9565 node.
9566
9567 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9568
9569 [BZ #17964]
9570 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9571 __builtin_fma instead of relying on contraction of a * b + c.
9572
9573 2015-02-12 Roland McGrath <roland@hack.frob.com>
9574
9575 * Makeconfig (ASFLAGS): Add -Werror=undef.
9576 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9577 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9578 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9579
9580 * Makeconfig (after-link): New variable.
9581 (+link-pie, +link-pie-tests): Use it.
9582 (+link-static, +link-static-tests): Likewise.
9583 (+link, +link-tests): Likewise.
9584 * Makerules (build-module, build-module-asneeded): Likewise.
9585 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9586 Likewise.
9587 * elf/Makefile ($(objpfx)ld.so): Likewise.
9588
9589 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9590
9591 [BZ #17965]
9592 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9593 both struct timeval and struct timespec.
9594
9595 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9596
9597 [BZ #16560]
9598 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9599 and redefine.
9600 (__ieee754_exp2l): Do not multiply small fractional parts by
9601 M_LN2l.
9602 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9603 small argument.
9604 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9605 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9606 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9607 * math/auto-libm-test-in: Add more tests of exp2.
9608 * math/auto-libm-test-out: Regenerated.
9609
9610 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9611
9612 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9613 unaligned path.
9614
9615 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9616
9617 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9618 little endian.
9619
9620 2015-02-12 Andreas Schwab <schwab@suse.de>
9621
9622 [BZ #15790]
9623 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9624 Filter out elision flags from value returned in kind.
9625 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9626 * nptl/tst-pthread-mutexattr.c: New file.
9627
9628 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9629
9630 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9631 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9632 into gnu-gnu, and update comment to refer to abi-tags.
9633
9634 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9635
9636 [BZ #15467]
9637 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9638 (__sincos): Set errno to EDOM for infinite argument.
9639 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9640 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9641 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9642 (__sincosl): Set errno to EDOM for infinite argument.
9643 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9644 (__sincosl): Set errno to EDOM for infinite argument.
9645 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9646 (__sincosl): Set errno to EDOM for infinite argument.
9647 * math/libm-test.inc (sincos_test_data): Test errno setting.
9648
9649 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9650
9651 * string/strxfrm_l.c: Remove #define STRCMP.
9652 * string/strcoll_l.c: Remove #define STRLEN.
9653 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9654 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9655
9656 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9657
9658 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9659 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9660 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9661 * sysdeps/mips/mips64/Makefile: ... here.
9662 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9663 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9664 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9665 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9666 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9667 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9668 * sysdeps/mips/mips64/n64/Implies: Likewise.
9669
9670 2015-02-10 Roland McGrath <roland@hack.frob.com>
9671
9672 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9673 <sys/time.h>, <string.h>, and <errno.h>.
9674 (dest_offset, dest_address, value, zero): Remove unused variables.
9675 (ldouble): Remove typedef.
9676 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9677 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9678 1). Fix code style.
9679 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9680 (check): Function removed.
9681 (CHECK): New macro.
9682 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9683 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9684 Don't call set_sigaction_FP and remove_sigaction_FP here.
9685 (ldouble_test): Just use 'long double' as macro argument, no need for
9686 the 'ldouble' typedef.
9687 (do_test): Set up SIGFPE handler at start, using plain signal rather
9688 than sigaction. Fix code style.
9689
9690 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9691
9692 [BZ #17949]
9693 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9694 jump label.
9695
9696 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9697
9698 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9699 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9700
9701 * sysdeps/powerpc/configure.ac: Remove file.
9702 * sysdeps/powerpc/configure: Likewise.
9703
9704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9705 [sysdep_routines]: Remove wordcopy-power6 object.
9706 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9707 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9708 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9709 (__memmove_ppc32): Likewise.
9710 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9711 file.
9712 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9713 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9714 Remove preprocessor.
9715
9716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9717 [sysdep_routines]: Remove wide chars objects.
9718 [wcsmbs]: New rule for wide char objects.
9719
9720 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9721 Remove wordcopy-power6 obejct.
9722 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9723 Use local call for wordcopy and memcpy symbols.
9724 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9725 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9726 implementation for loader.
9727 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9728
9729 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9730 Remove wordcopy-power7 object.
9731 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9732 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9733 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9734 (_wordcopy_fwd_dest_aligned): Likewise.
9735 (_wordcopy_bwd_aligned): Likewise.
9736 (_wordcopy_bwd_dest_aligned): Likewise.
9737
9738 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9739 Rewrite to call __memmove_ppc instead of include default
9740 implementation.
9741
9742 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9743 Remove wide chars objects.
9744 [wcsmbs]: New rule for wide char objects.
9745
9746 2015-02-09 Andreas Schwab <schwab@suse.de>
9747
9748 [BZ #17912]
9749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9750 in terms of __O_DIRECTORY.
9751
9752 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9753
9754 * time/getdate.c: Include <stdbool.h>.
9755 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9756 call PTR_MANGLE.
9757 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9758 PTR_DEMANGLE.
9759
9760 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9761
9762 Add ersatz _Static_assert on older C hosts
9763 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9764 pre-C11 C platform that is not known to support _Static_assert.
9765
9766 2015-02-07 Richard Braun <rbraun@sceen.net>
9767
9768 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9769 sigstate.
9770 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9771
9772 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9773
9774 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9775 priority against unexistent AIO_PRIO_DELTA_MAX.
9776 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9777 instead of int.
9778 * misc/fchflags.c (fchflags): Likewise.
9779 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9780 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9781 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9782 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9783 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9784 Declare macros.
9785 [__USE_MISC] (chflags, fchflags): Declare functions.
9786 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9787 EINVAL when nfds is greater than FD_SETSIZE.
9788 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9789 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9790 45.
9791 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9792 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9793 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9794 MACH_RCV_TIMED_OUT.
9795 * hurd/hurd/signal.h (_hurd_self_sigstate,
9796 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9797 Explicit casts from void *.
9798 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9799 * abi-tags: Rename gnu-gnu os into gnu.
9800
9801 [BZ #4719]
9802 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9803 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9804 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9805 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9806 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9807 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9808
9809 [BZ #17944]
9810 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9811 duplicates ADDR->sun_path with sockaddr LEN limitation.
9812 * sysdeps/mach/hurd/connect.c: Include <string.h>
9813 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9814 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9815 * sysdeps/mach/hurd/sendto.c: Likewise.
9816 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9817 implementing it by hand.
9818
9819 2015-02-06 Roland McGrath <roland@hack.frob.com>
9820
9821 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9822 Use sfi_breg on ldr.
9823 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9824 Likewise.
9825
9826 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9827 it's defined.
9828 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9829 Test SIGSETXID only if it's defined.
9830
9831 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9832
9833 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9834 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9835
9836 * nptl/tst-align2.c: Moved ...
9837 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9838 * nptl/Makefile (tests): Remove tst-align2.
9839 * sysdeps/unix/sysv/linux/Makefile
9840 [$(subdir) = nptl] (tests): Add tst-align-clone.
9841 * nptl/tst-getpid1.c: Moved ...
9842 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9843 * nptl/tst-getpid2.c: Moved ...
9844 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9845 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9846 * sysdeps/unix/sysv/linux/Makefile
9847 [$(subdir) = nptl] (tests): ... here.
9848 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9849 * sysdeps/unix/sysv/linux/Makefile
9850 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9851
9852 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9853 Drop trailing \n from perror argument. Use return rather than exit.
9854
9855 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9856 on [SA_SIGINFO].
9857 * nptl/tst-cancel21.c (do_test): Likewise.
9858 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9859 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9860 [!SA_SIGINFO]: Make it a stub test.
9861
9862 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9863 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9864
9865 * posix/tst-getlogin.c: Move to ...
9866 * login/tst-getlogin.c: ... here.
9867 * posix/Makefile (tests): Move tst-getlogin to ...
9868 * login/Makefile (tests): ... here.
9869
9870 * libio/tst-atime.c (do_test): Move local variables SV and E
9871 inside [ST_NOATIME] conditional.
9872
9873 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9874
9875 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9876
9877 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9878 (wait_code): New function replaces macro.
9879 Call nanosleep rather than syscall.
9880
9881 * nptl/pt-system.c: Rewritten. Put everything under
9882 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9883 Use IFUNC to redirect when possible.
9884
9885 * nptl/pt-longjmp.c: Rewritten. Put everything under
9886 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9887 Use IFUNC to redirect when possible.
9888
9889 * nptl/pt-fork.c: Rewritten. Put everything under
9890 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9891 Use IFUNC to redirect when possible.
9892 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9893
9894 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9895 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9896 unconditionally nowadays. This included the only reference to
9897 __vdso_clock_gettime that appears outside libc proper.
9898 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9899 Remove version set (containing only __vdso_clock_gettime).
9900 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9901 Add attribute_hidden.
9902 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9903 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9904 libc_hidden_data_def.
9905 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9906 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9907
9908 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9909 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9910 setrpcent, and getrpcport to ...
9911 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9912 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9913 getrpcbynumber_r, and getrpcent_r to ...
9914 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9915 * inet/getrpcbyname.c: Moved ...
9916 * sunrpc/getrpcbyname.c: ... here.
9917 * inet/getrpcbyname_r.c: Moved ...
9918 * sunrpc/getrpcbyname_r.c: ... here.
9919 * inet/getrpcbynumber.c: Moved ...
9920 * sunrpc/getrpcbynumber.c: ... here.
9921 * inet/getrpcbynumber_r.c: Moved ...
9922 * sunrpc/getrpcbynumber_r.c: ... here.
9923 * inet/getrpcent.c: Moved ...
9924 * sunrpc/getrpcent.c: ... here.
9925 * inet/getrpcent_r.c: Moved ...
9926 * sunrpc/getrpcent_r.c: ... here.
9927 * inet/Makefile (routines): Move those to ...
9928 * sunrpc/Makefile (routines): ... here.
9929 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9930 the $(subdirs) list.
9931 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9932 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9933 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9934 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9935
9936 * elf/Makefile (routines): Include $(all-dl-routines), not just
9937 $(dl-routines).
9938 (rtld-routines): Likewise. Use = rather than :=.
9939 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9940 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9941 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9942 * sysdeps/arm/Makefile: Likewise.
9943 * sysdeps/i386/Makefile: Likewise.
9944 * sysdeps/x86_64/Makefile: Likewise.
9945 * sysdeps/hppa/Makefile [$(subdir) = elf]
9946 (sysdep_routines, sysdep-rtld-routines): Don't add
9947 $(sysdep-dl-routines) to these.
9948 * sysdeps/ia64/Makefile: Likewise.
9949 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9950 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9951 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9952 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9953 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9954 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9955 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9956 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9957 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9958 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9959 these; sysdep-dl-routines alone is enough.
9960
9961 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9962
9963 [BZ #17932]
9964 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9965 where multiplication results in zero and third argument is finite
9966 and nonzero.
9967 * math/auto-libm-test-in: Add more tests of fma.
9968 * math/auto-libm-test-out: Regenerated.
9969
9970 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9971 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9972 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9973 (_FP_CMP_EQ): Likewise.
9974 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9975
9976 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9977 extra argument CHECK_NAN. Redefine as wrapper around
9978 _FP_EXTEND_CNAN.
9979
9980 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9981
9982 * version.h (RELEASE): Set to "stable".
9983 (VERSION): Set to "2.21"
9984 * include/features.h (__GLIBC_MINOR__): Set to 21.
9985
9986 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9987
9988 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9989 Paul Eggert <eggert@cs.ucla.edu>
9990
9991 [BZ #16618]
9992 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9993 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9994 size in bytes. Store needed elements in wpmax. Use needed size
9995 in bytes for extend_alloca.
9996
9997 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9998
9999 * manual/install.texi: Latest tested versions are GCC 4.9.2,
10000 binutls 2.25, and texinfo 5.2.
10001 * INSTALL: Regenerate.
10002 * sysdeps/nios2/configure: Regenerate.
10003 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10004 * manual/contrib.texi: Update.
10005 * po/be.po: Update.
10006 * po/bg.po: Update.
10007 * po/ca.po: Update.
10008 * po/cs.po: Update.
10009 * po/da.po: Update.
10010 * po/de.po: Update.
10011 * po/el.po: Update.
10012 * po/eo.po: Update.
10013 * po/es.po: Update.
10014 * po/fi.po: Update.
10015 * po/fr.po: Update.
10016 * po/gl.po: Update.
10017 * po/hr.po: Update.
10018 * po/hu.po: Update.
10019 * po/ia.po: Update.
10020 * po/id.po: Update.
10021 * po/it.po: Update.
10022 * po/ja.po: Update.
10023 * po/ko.po: Update.
10024 * po/lt.po: Update.
10025 * po/nb.po: Update.
10026 * po/nl.po: Update.
10027 * po/pl.po: Update.
10028 * po/pt_BR.po: Update.
10029 * po/ru.po: Update.
10030 * po/rw.po: Update.
10031 * po/sk.po: Update.
10032 * po/sl.po: Update.
10033 * po/sv.po: Update.
10034 * po/tr.po: Update.
10035 * po/uk.po: Update.
10036 * po/vi.po: Update.
10037 * po/zh_CN.po: Update.
10038 * po/zh_TW.po: Update.
10039
10040 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10041 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10042 * sysdeps/hppa/dl-irel.h: Remove #warning.
10043 * sysdeps/hppa/entry.h: Provide prototype for
10044 __canonicalize_funcptr_for_compare and cast argument.
10045 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10046 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10047 * sysdeps/hppa/sotruss-lib.c: New file.
10048 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10049 (atomic_compare_and_exchange_val_acq): Use __typeof__.
10050 (atomic_compare_and_exchange_bool_acq): Likewise.
10051 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10052 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10053
10054 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10055 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10056 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10057
10058 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10059
10060 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10061 called function in non-PIC case.
10062
10063 2015-01-31 David S. Miller <davem@davemloft.net>
10064
10065 * sysdeps/sparc/sparc32/bits/atomic.h
10066 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10067 unlock not after it.
10068 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10069 volatile register usage warnings from the compiler.
10070
10071 * sysdeps/sparc/nptl/sem_init.c: Delete.
10072 * sysdeps/sparc/nptl/sem_post.c: Delete.
10073 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10074 * sysdeps/sparc/nptl/sem_wait.c: Delete.
10075 * sysdeps/sparc/sparc32/sem_init.c: New file.
10076 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10077 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10078 padding explicitly initialized.
10079 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10080 padding for in-semaphore spinlock.
10081 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10082 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10083 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10084 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10085 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10086 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10087 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10088 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10089 version.
10090 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10091 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10092
10093 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
10094
10095 [BZ #17801]
10096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10097 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10098 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10099 New.
10100 (index_AVX_Fast_Unaligned_Load): Likewise.
10101 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10102 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10103 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10104 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10105 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10106 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10107 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10108 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10109 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10110
10111 2015-01-29 Andreas Schwab <schwab@suse.de>
10112
10113 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10114
10115 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10116
10117 [BZ #17892]
10118 * nscd/nscd_stat.c (send_stats): Initialize DATA.
10119
10120 2015-01-28 Martin Sebor <msebor@redhat.com>
10121
10122 * math/README.libm-test: Clarify. Add "How to read the test output."
10123
10124 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
10125
10126 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10127 Define to 0.
10128
10129 2015-01-28 Joseph Myers <joseph@codesourcery.com>
10130
10131 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10132 (__HAVE_64B_ATOMICS): Define to 0.
10133
10134 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10135
10136 [BZ #17885]
10137 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10138 value to set as new flag.
10139
10140 [BZ #16576]
10141 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10142 and use _ARCH_PPCSQ instead.
10143 (__ieee754_sqrt): Likewise.
10144 (__ieee754_sqrtf): Likewise.
10145 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10146 _ARCH_PPCSQ is defined.
10147 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10148 fsqrt instruction.
10149 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10150 _ARCH_PPCSQ is defined.
10151 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10152 fsqrts instruction.
10153 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10154
10155 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10156
10157 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10158 bug (GCC BZ #64739).
10159
10160 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10161
10162 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10163 Mark _retval as used.
10164 (lll_futex_wake_unlock): Likewise.
10165 (lll_futex_timed_wait_requeue_pi): Likewise.
10166
10167 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10168 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10169 register variables.
10170
10171 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10172 libm_hidden_def.
10173
10174 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10175 (__bswap_64): Mark as __always_inline.
10176
10177 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10178
10179 [BZ #15378]
10180 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10181 when none of the search directories exist.
10182
10183 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10184
10185 [BZ #17869]
10186 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10187 power8 in .machine directive.
10188
10189 [BZ #17868]
10190 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10191 set dependency from opd value.
10192
10193 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10194
10195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10196 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10197 architecture.
10198
10199 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10200
10201 [BZ #17870]
10202 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10203 with uint64_t.
10204 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10205 (uint64_t) 1.
10206 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10207 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10208 Replace 1UL with (uint64_t) 1.
10209 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10210 int with uint64_t.
10211
10212 2015-01-23 Roland McGrath <roland@hack.frob.com>
10213
10214 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10215 (if_freenameindex): Likewise.
10216
10217 * resource/getrlimit64.c: Add missing libc_hidden_def.
10218
10219 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10220
10221 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10222 __label__.
10223 (_FP_FMA): Likewise.
10224 (_FP_TO_INT_ROUND): Likewise.
10225 (_FP_FROM_INT): Likewise.
10226
10227 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10228
10229 [BZ #16418]
10230 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10231 Make code racy and cancel safe.
10232
10233 2015-01-21 Carlos O'Donell <carlos@redhat.com>
10234
10235 * sysdeps/arm/unwind-resume.h: Fix copyright year.
10236 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10237 attribution.
10238
10239 * pwd/tst-getpw.c: Rewrite.
10240
10241 [BZ #17702]
10242 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10243 (modules-names): Add moddummy1 and moddummy2.
10244 ($(objpfx)tst-rec-dlopen): Define.
10245 * dlfcn/moddummy1.c: New file.
10246 * dlfcn/moddummy2.c: New file.
10247 * dlfcn/tst-rec-dlopen.c: New file.
10248 * elf/dl-cache.c (_dl_load_cache_lookup):
10249 Return char*. Copy result with alloca/strcpy/strdup.
10250 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10251 returns char*. Free cached. If not saving realname
10252 free cached.
10253 * elf/dl-open.c (dl_open_worker): Do not assert that
10254 _r_debug->r_state is RT_CONSISTENT.
10255 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10256 returns char*.
10257
10258 2015-01-21 Torvald Riegel <triegel@redhat.com>
10259 Carlos O'Donell <carlos@redhat.com>
10260
10261 [BZ #12674]
10262 * nptl/sem_waitcommon.c: New file.
10263 * nptl/sem_wait.c: Include sem_waitcommon.c.
10264 (__sem_wait_cleanup, do_futex_wait): Remove.
10265 (__new_sem_wait): Adapt.
10266 (__new_sem_trywait): New function.
10267 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10268 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10269 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10270 (sem_timedwait): Adapt.
10271 * nptl/sem_post.c (__new_sem_post): Adapt.
10272 (futex_wake): New function.
10273 (__old_sem_post): Add release MO fence.
10274 * nptl/sem_open.c (sem_open): Adapt.
10275 * nptl/sem_init.c (__new_sem_init): Adapt.
10276 (futex_private_if_supported): New function.
10277 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10278 (__old_sem_getvalue): Add using previous code.
10279 * sysdeps/nptl/internaltypes.h: Adapt.
10280 * nptl/tst-sem13.c (do_test): Adapt.
10281 * nptl/tst-sem11.c (main): Adapt.
10282 * nptl/sem_trywait.c: Remove.
10283 * nptl/DESIGN-sem.txt: Remove.
10284 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10285 (gen-as-const-headers): Remove structsem.sym.
10286 * nptl/structsem.sym: Remove.
10287 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10288 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10289 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10290 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10291 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10292 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10293 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10294 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10295 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10296 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10297 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10298 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10299 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10300 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10301 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10302 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10303 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10304 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10305 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10306 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10307 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10308 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10309
10310 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10311
10312 * INSTALL: Regenerated.
10313
10314 * po/libc.pot: Regenerated.
10315
10316 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10317 Sandra Loosemore <sandra@codesourcery.com>
10318 Andrew Jenner <andrew@codesourcery.com>
10319 Joseph Myers <joseph@codesourcery.com>
10320 Nathan Sidwell <nathan@codesourcery.com>
10321
10322 * NEWS: Mention new Nios II port.
10323 * sysdeps/nios2/Implies: New file.
10324 * sysdeps/nios2/Makefile: New file.
10325 * sysdeps/nios2/Subdirs: New file.
10326 * sysdeps/nios2/Versions: New file.
10327 * sysdeps/nios2/__longjmp.S: New file.
10328 * sysdeps/nios2/abort-instr.h: New file.
10329 * sysdeps/nios2/backtrace.c: New file.
10330 * sysdeps/nios2/bits/endian.h: New file.
10331 * sysdeps/nios2/bits/fenv.h: New file.
10332 * sysdeps/nios2/bits/link.h: New file.
10333 * sysdeps/nios2/bits/setjmp.h: New file.
10334 * sysdeps/nios2/bsd-_setjmp.S: New file.
10335 * sysdeps/nios2/bsd-setjmp.S: New file.
10336 * sysdeps/nios2/configure: New generated file.
10337 * sysdeps/nios2/configure.ac: New file.
10338 * sysdeps/nios2/crti.S: New file.
10339 * sysdeps/nios2/crtn.S: New file.
10340 * sysdeps/nios2/dl-init.c: New file.
10341 * sysdeps/nios2/dl-machine.h: New file.
10342 * sysdeps/nios2/dl-sysdep.h: New file.
10343 * sysdeps/nios2/dl-tls.h: New file.
10344 * sysdeps/nios2/dl-trampoline.S: New file.
10345 * sysdeps/nios2/gccframe.h: New file.
10346 * sysdeps/nios2/gmp-mparam.h: New file.
10347 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10348 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10349 * sysdeps/nios2/ldsodefs.h: New file.
10350 * sysdeps/nios2/libc-tls.c: New file.
10351 * sysdeps/nios2/libm-test-ulps: New file.
10352 * sysdeps/nios2/machine-gmon.h: New file.
10353 * sysdeps/nios2/math-tests.h: New file.
10354 * sysdeps/nios2/math_private.h: New file.
10355 * sysdeps/nios2/memusage.h: New file.
10356 * sysdeps/nios2/nptl/Makefile: New file.
10357 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10358 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10359 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10360 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10361 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10362 * sysdeps/nios2/nptl/tls.h: New file.
10363 * sysdeps/nios2/preconfigure: New file.
10364 * sysdeps/nios2/s_fma.c: New file.
10365 * sysdeps/nios2/s_fmaf.c: New file.
10366 * sysdeps/nios2/setjmp.S: New file.
10367 * sysdeps/nios2/sfp-machine.h: New file.
10368 * sysdeps/nios2/sotruss-lib.c: New file.
10369 * sysdeps/nios2/stackguard-macros.h: New file.
10370 * sysdeps/nios2/stackinfo.h: New file.
10371 * sysdeps/nios2/start.S: New file.
10372 * sysdeps/nios2/sysdep.h: New file.
10373 * sysdeps/nios2/tls-macros.h: New file.
10374 * sysdeps/nios2/tst-audit.h: New file.
10375 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10376 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10377 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10378 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10379 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10380 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10381 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10382 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10383 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10384 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10385 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10386 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10387 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10388 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10389 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10390 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10391 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10392 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10393 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10394 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10395 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10396 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10397 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10398 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10399 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10400 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10401 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10402 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10403 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10404 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10405 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10406 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10407 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10408 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10409 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10410 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10411 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10412 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10413 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10414 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10415 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10416 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10417 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10418 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10419
10420 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10421
10422 [BZ #17844]
10423 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10424 (getutent): Use weak_alias in non SHARED case
10425 and default_symbol_version in SHARED case.
10426 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10427 (getutent_r, pututline): Likewise.
10428 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10429 (getutid): Likewise.
10430 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10431 (getutid_r): Likewise.
10432 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10433 (getutline): Likewise.
10434 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10435 (getutline_r): Likewise.
10436 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10437 (updwtmp): Likewise.
10438
10439 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10440
10441 [BZ #17848]
10442 * sysdeps/s390/s390-32/memcmp.S
10443 (memcmp_g5): Rename to __memcmp_g5.
10444 * sysdeps/s390/s390-32/memcpy.S
10445 (memcpy_g5): Rename to __memcpy_g5.
10446 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10447 (memcpy_mvcle) Rename to __memcpy_mvcle.
10448 * sysdeps/s390/s390-32/memset.S
10449 (memset_g5): Rename to __memset_g5.
10450 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10451 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10452 and use prefixed functions.
10453 * sysdeps/s390/s390-32/multiarch/memcmp.S
10454 (memcmp_z196): Rename to __memcmp_z196.
10455 (memcmp_z10): Rename to __memcmp_z10.
10456 (memcmp): Set alias to __memcmp_g5.
10457 (bcmp): Set alias to __memcmp_g5.
10458 * sysdeps/s390/s390-32/multiarch/memcpy.S
10459 (memcpy_z196): Rename to __memcpy_z196.
10460 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10461 (memcpy_z10): Rename to __memcpy_z10.
10462 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10463 (memcpy): Set alias to __memcpy_g5.
10464 * sysdeps/s390/s390-32/multiarch/memset.S
10465 (memset_z196): Rename to __memset_z196.
10466 Jump to __memset_mvcle instead of memset_mvcle.
10467 (memset_z10): Rename to __memset_z10.
10468 Jump to __memset_mvcle instead of memset_mvcle.
10469 (memset_mvcle) Rename to __memset_mvcle.
10470 (memset): Set alias to __memset_g5.
10471 * sysdeps/s390/s390-64/memcmp.S
10472 (memcmp_z900): Rename to __memcmp_z900.
10473 * sysdeps/s390/s390-64/memcpy.S
10474 (memcpy_z900): Rename to __memcpy_z900.
10475 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10476 (memcpy_mvcle) Rename to __memcpy_mvcle.
10477 * sysdeps/s390/s390-64/memset.S
10478 (memset_z900): Rename to __memset_z900.
10479 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10480 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10481 and use prefixed functions.
10482 * sysdeps/s390/s390-64/multiarch/memcmp.S
10483 (memcmp_z196): Rename to __memcmp_z196.
10484 (memcmp_z10): Rename to __memcmp_z10.
10485 (memcmp): Set alias to __memcmp_z900.
10486 (bcmp): Set alias to __memcmp_z900.
10487 * sysdeps/s390/s390-64/multiarch/memcpy.S
10488 (memcpy_z196): Rename to __memcpy_z196.
10489 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10490 (memcpy_z10): Rename to __memcpy_z10.
10491 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10492 (memcpy): Set alias to __memcpy_z900.
10493 * sysdeps/s390/s390-64/multiarch/memset.S
10494 (memset_z196): Rename to __memset_z196.
10495 Jump to __memset_mvcle instead of memset_mvcle.
10496 (memset_z10): Rename to __memset_z10.
10497 Jump to __memset_mvcle instead of memset_mvcle.
10498 (memset_mvcle) Rename to __memset_mvcle.
10499 (memset): Set alias to __memset_z900.
10500
10501 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10502
10503 [BZ #17748]
10504 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10505 __fesetenv instead of fesetenv.
10506
10507 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10508
10509 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10510 macro.
10511
10512 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10513
10514 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10515 regression on LE.
10516
10517 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10518 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10519 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10520 strncmp-power8 object.
10521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10522 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10523 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10524 * NEWS: Update.
10525
10526 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10527 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10528
10529 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10530 trailing byte check.
10531
10532 2015-01-13 David S. Miller <davem@davemloft.net>
10533
10534 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10535
10536 2015-01-13 Roland McGrath <roland@hack.frob.com>
10537
10538 * login/logout.c (logout): Use memset rather than bzero.
10539 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10540 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10541 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10542 (_gethtbyaddr): Likewise.
10543 * locale/programs/simple-hash.c (bcopy): Macro removed.
10544
10545 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10546
10547 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10548 Add strcmp-power8 object.
10549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10550 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10551 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10552 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10553 __strcmp_power8 implementation.
10554 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10555 * NEWS: Update.
10556
10557 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10558 Add strncpy-power8 and stpncpy-power8 objects.
10559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10560 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10561 implementations.
10562 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10563 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10564 __stpncpy_power8 implementation.
10565 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10566 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10567 __strncpy_power8 implementation.
10568 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10569 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10570 * NEWS: Update.
10571
10572 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10573 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10574 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10575
10576 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10577 strncat-power8 object.
10578 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10579 __strcat_power8 implementation.
10580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10581 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10582 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10583 optimized strcat for power8.
10584
10585 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10586 strcpy-power8 and stpcpy-power8 objects.
10587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10588 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10589 implementations.
10590 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10591 multiarch stpcpy implementation for POWER8.
10592 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10593 multiarch strcpy implementation for POWER8.
10594 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10595 __strcpy_power8 function.
10596 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10597 stpcpy for POWER8.
10598 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10599 strcpy for POWER8.
10600 * NEWS: Update.
10601
10602 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10603
10604 [BZ #16009]
10605 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10606 weights and rules. Use do_xfrm_cached if data fits in cache,
10607 do_xfrm otherwise. Moved former main loop to...
10608 * (do_xfrm_cached): New function.
10609 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10610 find_idx, find_position and stack_push.
10611 * (find_idx): New function.
10612 * (find_position): Likewise.
10613 * localedata/sort-test.sh: Added test run for do_xfrm.
10614 * localedata/xfrm-test.c (main): Added command line option
10615 -nocache to run the test with strings that are too large for
10616 the STRXFRM cache.
10617
10618 2015-01-13 Torvald Riegel <triegel@redhat.com>
10619
10620 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10621 variable to lll_futex_wake call, not the value itself.
10622
10623 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10624
10625 [BZ #17803]
10626 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10627 twom64. Adjust value to 0x1p-64L.
10628 (__scalblnl): Only return standard underflowing result for K <=
10629 -64 not K <= -63; adjust exponent for underflowing result by 64
10630 not 63.
10631 * math/libm-test.inc (scalbn_test_data): Add more tests.
10632 (scalbln_test_data): Likewise.
10633
10634 [BZ #17834]
10635 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10636 0x1p63L.
10637 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10638 not HX.
10639 * math/libm-test.inc (scalbn_test_data): Add more tests.
10640 (scalbln_test_data): Likewise.
10641
10642 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10643 Stefani Seibold <stefani@seibold.net>
10644
10645 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10646 (sysdep_routines): Add dl-vdso here, ...
10647 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10648 (sysdep_routines): ... not here.
10649 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10650 fallback when vDSO is not presented.
10651 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10652 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10653 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10654 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10655 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10656 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10657 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10658 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10659 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10660 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10661 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10662 fallback configurable symbol when vDSO is not available.
10663 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10664 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10665 be able to redefine fallback symbol when vDSO is not available.
10666 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10667 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10668
10669 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10670
10671 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10672 (TLS_INIT_TP): Add tm_capable initialization.
10673 (TLS_DEFINE_INIT_TP): Likewise.
10674 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10675 TCB.
10676 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10677 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10678 calculation.
10679 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10680 transactoion is lock elision is built and TCB tm_capable is set.
10681 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10683 (INTERNAL_SYSCALL_NCS): Likewise.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10685 (INTERNAL_SYSCALL_NCS): Likewise.
10686 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10687
10688 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10689 for powerpc.
10690 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10691 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10692 and remove it for 32 bits case.
10693 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10695 initialization.
10696 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10697 Disable lock elision with rdlocks if elision is not available.
10698
10699 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10700 (sysdep_routines): Add lock elision objects.
10701 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10702 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10703 [pthread_mutex_t] (__elision): Add field.
10704 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10705 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10706 elision definitions for powerpc.
10707 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10708 implementation of lock elision for powerpc.
10709 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10710 implementation of timed lock elision for powerpc.
10711 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10712 implementation of trylock with lock elision for powerpc.
10713 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10714 implementaion of unlock for lock elision for powerpc.
10715 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10716 automatic enable lock elision for mutexes.
10717 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10718 transaction execution definitions for powerpc.
10719 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10720 definitions.
10721 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10722 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10723 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10724 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10725 * NEWS: Update.
10726
10727 2015-01-09 Roland McGrath <roland@hack.frob.com>
10728
10729 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10730 for #include of <shm-directory.h>.
10731
10732 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10733
10734 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10735 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10736
10737 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10738
10739 [BZ #17791]
10740 * NEWS: Mention bug fix.
10741 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10742 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10743 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10744
10745 2015-01-09 Torvald Riegel <triegel@redhat.com>
10746
10747 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10748
10749 2015-01-09 Torvald Riegel <triegel@redhat.com>
10750
10751 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10752
10753 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10754
10755 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10756 pointer and cast to uintptr_t.
10757
10758 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10759
10760 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10761 removed.
10762 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10763
10764 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10765
10766 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10767 of 0.
10768
10769 2015-01-08 Roland McGrath <roland@hack.frob.com>
10770
10771 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10772 <nptl/pthreadP.h> instead.
10773 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10774
10775 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10776 already defined.
10777 [__SIGRTMIN] (init): Function removed.
10778 [__SIGRTMIN] (initialized): Variable removed.
10779 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10780 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10781 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10782 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10783 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10784 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10785 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10786 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10787 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10788 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10789 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10790 * sysdeps/nptl/allocrtsig.c: New file.
10791 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10792 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10793 * sysdeps/generic/testrtsig.h: File removed.
10794
10795 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10796 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10797
10798 * nptl/nptl-init.c (pthread_functions): Conditionalize
10799 .ptr__nptl_setxid initialization on [SIGSETXID].
10800
10801 * sysdeps/nptl/sys/procfs.h: New file.
10802 * nptl_db/Makefile (headers): Add it.
10803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10804
10805 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10806 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10807 * nptl/pthread_attr_setaffinity.c: Include it.
10808 * nptl/pthread_setattr_default_np.c: Likewise.
10809 * nptl/check-cpuset.h: New file.
10810
10811 2015-01-08 Richard Henderson <rth@redhat.com>
10812
10813 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10814 (CFLAGS-tst-execstack-prog.c): Likewise.
10815 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10816
10817 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10818 Sandra Loosemore <sandra@codesourcery.com>
10819 Andrew Jenner <andrew@codesourcery.com>
10820 Joseph Myers <joseph@codesourcery.com>
10821 Nathan Sidwell <nathan@codesourcery.com>
10822
10823 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10824 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10825 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10826 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10827 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10828 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10829 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10830 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10831 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10832 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10833 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10834 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10835 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10836 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10837 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10838 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10839 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10840
10841 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10842
10843 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10844 timespec struct member in syscall macro.
10845 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10846 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10847 first timeval struct member in syscall macro.
10848 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10849
10850 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10851
10852 [BZ #17748]
10853 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10854 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10855 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10856 __feupdateenv and define as weak alias of __feupdateenv. Use
10857 libm_hidden_weak.
10858 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10859 libm_hidden_def.
10860 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10861 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10862 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10863 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10864 libm_hidden_def.
10865 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10866 __feupdateenv and define as weak alias of __feupdateenv. Use
10867 libm_hidden_weak.
10868 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10869 libm_hidden_def.
10870 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10871 __feupdateenv and define as weak alias of __feupdateenv. Use
10872 libm_hidden_weak.
10873 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10874 libm_hidden_def.
10875 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10876 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10877 (__feupdateenv): Likewise.
10878 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10879 __feupdateenv and define as weak alias of __feupdateenv. Use
10880 libm_hidden_weak.
10881 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10882 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10883 libm_hidden_def.
10884 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10885 function.
10886 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10887 libm_hidden_def.
10888 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10889 __feupdateenv instead of feupdateenv.
10890 (default_libc_feupdateenv_test): Likewise.
10891 (libc_feresetround_ctx): Likewise.
10892
10893 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10894
10895 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10896 prototype.
10897
10898 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10899
10900 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10901 COLL_SYM in a couple of places to avoid uninitialized variable
10902 wanings on tilegx gcc 4.8.2.
10903
10904 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10905
10906 * sysdeps/aarch64/strcpy.S: New file.
10907 * sysdeps/aarch64/stpcpy.S: New file.
10908 * NEWS: Updated.
10909
10910 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10911
10912 * sysdeps/aarch64/strrchr.S: New file.
10913 * NEWS: Updated.
10914
10915 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10916
10917 [BZ #17658]
10918 * stdlib/setenv.c: Fix memory leak when setting large,
10919 duplicate string.
10920
10921 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10922
10923 [BZ #17273]
10924 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10925 and tabs from buffer before parsing fstab entry.
10926 * misc/tst-mntent.c (main): Add test for mount entry with
10927 trailing spaces and tabs.
10928
10929 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10930
10931 [BZ #17748]
10932 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10933 * math/fesetround.c (fesetround): Rename to __fesetround and
10934 define as weak alias of __fesetround. Use libm_hidden_weak.
10935 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10936 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10937 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10938 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10939 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10940 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10941 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10942 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10943 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10944 __fesetround_inline.
10945 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10946 __fesetround_inline instead of __fesetround.
10947 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10948 __fesetround and define as weak alias of __fesetround. Use
10949 libm_hidden_weak. Call __fesetround_inline instead of
10950 __fesetround.
10951 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10952 __fesetround and define as weak alias of __fesetround. Use
10953 libm_hidden_weak.
10954 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10955 Likewise.
10956 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10957 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10958 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10959 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10960 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10961 __fesetround and define as weak alias of __fesetround. Use
10962 libm_hidden_weak.
10963 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10964 __fesetround instead of fesetround.
10965 (default_libc_feholdexcept_setround): Likewise.
10966 (libc_feholdsetround_ctx): Likewise.
10967 (libc_feholdsetround_noex_ctx): Likewise.
10968
10969 [BZ #17748]
10970 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10971 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10972 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10973 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10974 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10975 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10976 define as weak alias of __fesetenv. Use libm_hidden_weak.
10977 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10978 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10979 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10980 define as weak alias of __fesetenv. Use libm_hidden_weak.
10981 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10982 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10983 define as weak alias of __fesetenv. Use libm_hidden_weak.
10984 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10985 libm_hidden_def.
10986 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10987 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10988 Likewise.
10989 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10990 define as weak alias of __fesetenv. Use libm_hidden_weak.
10991 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10992 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10993 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10994 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10995 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10996 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10997 __fesetenv instead of fesetenv.
10998 (libc_feresetround_noex_ctx): Likewise.
10999 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11000 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11001 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11002 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11003 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11004 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11005 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11006 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11007 (__feupdateenv): Likewise.
11008 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11009 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11010 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11011 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11012
11013 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11014
11015 [BZ #17806]
11016 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11017 addresses have been freed.
11018
11019 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11020
11021 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11022 and nservall.
11023
11024 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
11025
11026 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11027 Clean up check_pf allocation pattern. addresses
11028
11029 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11030
11031 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11032 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11033 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11034 * nptl/pthread_exit.c (__pthread_exit): Likewise.
11035 * nptl/pthread_join.c (pthread_join): Likewise.
11036 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11037 * sysdeps/posix/waitid.c (__waitid): Likewise.
11038 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11039 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11040 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11041 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11042 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11043 Likewise.
11044 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11045 (__libc_pread64): Likewise.
11046 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11047 (__libc_pwrite): Likewise.
11048 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11049 (__libc_pwrite64): Likewsie.
11050 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11051 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11052 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11053 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11054 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11055 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11056 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11058 Likewise.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11060 (__libc_pread64): Likewise.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11062 Likewise.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11064 (__libc_pwrite64): Likewise.
11065 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11066 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11067 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11068 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11069 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11070 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11071 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11072 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11073 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11074 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11075 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11076 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11077 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11078 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11079 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11080 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11081 Likewise.
11082
11083 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11084
11085 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11086 (CFLAGS-test-double.c): Likewise.
11087 (CFLAGS-test-ldouble.c): Likewise.
11088 (CPPFLAGS-test-ifloat.c): Likewise.
11089 (CPPFLAGS-test-idouble.c): Likewise.
11090 (CPPFLAGS-test-ildoubl.c): Likewise.
11091 (CFLAGS-test-test-fenv.c): Remove variable.
11092 (CFLAGS-test-misc.c): Likewise.
11093
11094 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
11095
11096 [BZ #17797]
11097 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11098 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11099 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11100 CLOCKS_PER_SEC == 1000000.
11101 * time/clocktest.c (main): Replace %ld with %jd and cast to
11102 intmax_t.
11103
11104 2015-01-05 Roland McGrath <roland@hack.frob.com>
11105
11106 * sysdeps/generic/unwind-resume.h: New file.
11107 * sysdeps/gnu/unwind-resume.c: Include it.
11108 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11109 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11110 argument list.
11111 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11112 global rather than static.
11113 (_Unwind_Resume): Update user.
11114 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11115 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
11116 rather than static. Add __attribute__ ((cold)).
11117 (_Unwind_Resume, __gcc_personality_v0): Update callers.
11118 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11119 * sysdeps/arm/arm-unwind-resume.S: New file.
11120 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11121 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11122 * sysdeps/arm/Makefile [$(subdir) = csu]
11123 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11124 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11125 Add rt-arm-unwind-resume.
11126 [$(subdir) = nptl]
11127 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11128 Add pt-arm-unwind-resume.
11129 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11130 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11131
11132 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11133
11134 [BZ #17748]
11135 * include/fenv.h (__feholdexcept): Declare. Use
11136 libm_hidden_proto.
11137 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11138 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11139 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11140 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11141 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11142 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11143 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11144 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11145 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11146 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11147 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11148 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11149 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11150 (feholdexcept): Likewise.
11151 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11152 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11153 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11154 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11155 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11156 __feholdexcept instead of feholdexcept.
11157 (default_libc_feholdexcept_setround): Likewise.
11158
11159 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11160
11161 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11162 to avoid using stl/str to align destination.
11163
11164 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11165
11166 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11167
11168 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11169
11170 [BZ #17796]
11171 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11172 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11173 Define as weak alias not strong alias.
11174
11175 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11176
11177 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11178 bltzal with addiupc.
11179 (RTLD_START): Ditto.
11180
11181 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11182
11183 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11184 for __vdso_* functions in declarations.
11185 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11186 definitions.
11187 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11188 INTERNAL_VSYSCALL): Use struct return types to check for error.
11189
11190 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11191 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11192 function with cast from llround().
11193 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11194 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11195 Define.
11196
11197 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11198
11199 [BZ #17793]
11200 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11201 Define as weak alias not strong alias.
11202
11203 [BZ #17635]
11204 * ctype/ctype-c99.c: New file. isblank implementation moved from
11205 ...
11206 * ctype/ctype-extn.c: ... here.
11207 (__isblank_l): Move to ...
11208 * ctype/ctype-c99_l.c: ... here. New file.
11209 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11210 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11211 Remove variable.
11212 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11213 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11214 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11215 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11216 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11217
11218 [BZ #17777]
11219 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11220 (posix_fadvise64): Define as weak alias not strong alias.
11221 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11222 (posix_fallocate64): Likewise.
11223 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11224 Remove variable.
11225 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11226 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11227 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11228 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11229 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11230
11231 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
11232
11233 [BZ #16191]
11234 * NEWS: Mention bug fix.
11235 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11236 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11237 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11238 (HOST_STACK_END_ADDR): Likewise.
11239
11240 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11241
11242 [BZ #17748]
11243 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
11244 * math/fegetround.c (fegetround): Rename to __fegetround and
11245 define as weak alias of __fegetround. Use libm_hidden_weak.
11246 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11247 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11248 * sysdeps/arm/fegetround.c (fegetround): Likewise.
11249 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11250 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11251 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11252 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11253 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11254 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11255 Undefine after rather than before function definition; use
11256 parentheses around function name in definition.
11257 (__fegetround): Also undefine macro after function definition.
11258 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11259 __fegetround and define as weak alias of __fegetround. Use
11260 libm_hidden_weak. Do not undefine as macro.
11261 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11262 Likewise.
11263 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11264 __fegetround and define as weak alias of __fegetround. Use
11265 libm_hidden_weak.
11266 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11267 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11268 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11269 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11270 __fegetround and define as weak alias of __fegetround. Use
11271 libm_hidden_weak.
11272 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11273 __fegetround instead of fegetround.
11274
11275 [BZ #17782]
11276 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11277 Condition macro definition on [__USE_MISC].
11278
11279 [BZ #17781]
11280 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11281 (struct sigaction): Change type of sa_flags field to int.
11282
11283 [BZ #17780]
11284 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11285 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11286 __glibc_reserved0.
11287
11288 * nptl/version.c (banner): Use single year in copyright notice.
11289
11290 * NEWS: Update copyright dates.
11291 * catgets/gencat.c (print_version): Likewise.
11292 * csu/version.c (banner): Likewise.
11293 * debug/catchsegv.sh: Likewise.
11294 * debug/pcprofiledump.c (print_version): Likewise.
11295 * debug/xtrace.sh (do_version): Likewise.
11296 * elf/ldconfig.c (print_version): Likewise.
11297 * elf/ldd.bash.in: Likewise.
11298 * elf/pldd.c (print_version): Likewise.
11299 * elf/sotruss.sh: Likewise.
11300 * elf/sprof.c (print_version): Likewise.
11301 * iconv/iconv_prog.c (print_version): Likewise.
11302 * iconv/iconvconfig.c (print_version): Likewise.
11303 * locale/programs/locale.c (print_version): Likewise.
11304 * locale/programs/localedef.c (print_version): Likewise.
11305 * login/programs/pt_chown.c (print_version): Likewise.
11306 * malloc/memusage.sh (do_version): Likewise.
11307 * malloc/memusagestat.c (print_version): Likewise.
11308 * malloc/mtrace.pl: Likewise.
11309 * manual/libc.texinfo: Likewise.
11310 * nptl/version.c (banner): Likewise.
11311 * nscd/nscd.c (print_version): Likewise.
11312 * nss/getent.c (print_version): Likewise.
11313 * nss/makedb.c (print_version): Likewise.
11314 * posix/getconf.c (main): Likewise.
11315 * scripts/test-installation.pl: Likewise.
11316 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11317
11318 2015-01-02 Will Newton <will.newton@linaro.org>
11319
11320 * sysdeps/arm/armv7/configure: Removed.
11321 * sysdeps/arm/armv7/configure.ac: Likewise.
11322
11323 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11324
11325 * All files with FSF copyright notices: Update copyright dates
11326 using scripts/update-copyrights.
11327 * intl/plural.c: Regenerated.
11328 * locale/programs/charmap-kw.h: Likewise.
11329 * locale/programs/locfile-kw.h: Likewise.
11330
11331 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11332
11333 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11334
11335 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11336
11337 [BZ #17748]
11338 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11339 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11340 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11341 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11342 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11343 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11344 define as weak alias of __fegetenv. Use libm_hidden_weak.
11345 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11346 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11347 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11348 define as weak alias of __fegetenv. Use libm_hidden_weak.
11349 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11350 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11351 define as weak alias of __fegetenv. Use libm_hidden_weak.
11352 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11353 libm_hidden_def.
11354 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11355 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11356 Likewise.
11357 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11358 define as weak alias of __fegetenv. Use libm_hidden_weak.
11359 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11360 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11361 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11362 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11363 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11364 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11365 __fegetenv instead of fegetenv.
11366 (libc_feholdsetround_noex_ctx): Likewise.
11367
11368 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11369
11370 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11371 (Elf_MIPS_ABIFlags_v0): New structure.
11372 (EF_MIPS_FP64): Define.
11373 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11374 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11375 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11376 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11377 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11378 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11379 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11380 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11381 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11382 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11383 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11384 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11385 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11386 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11387 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11388 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11389 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11390 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11391 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11392 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11393 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11394 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11395 field.
11396 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11397 EF_MIPS_FP64.
11398 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11399 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11400 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11401 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11402 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11403 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11404 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11405 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11406 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11407 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11408 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11409 record the current FP ABI extension.
11410 (mips-mode-switch): Define to show if kernel headers support mode
11411 switching.
11412 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11413 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11414 supported SYSV ABI version to 3.
11415 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11416 feature.
11417
11418 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11419 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11420
11421 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11422 path.
11423 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11424
11425 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11426
11427 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11428 __fegetround and redefine to call __fegetround. Remove condition
11429 on [!__NO_MATH_INLINES].
11430 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11431 function.
11432 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11433 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11434 Remove macro.
11435 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11436 instead of <fenv_libc.h>.
11437 (__llrintl): Call fegetround instead of __fegetround.
11438 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11439 instead of <fenv_libc.h>.
11440 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11441 (__lrintl): Call fegetround instead of __fegetround.
11442 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11443 instead of <fenv_libc.h>.
11444 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11445 (__rintl): Call fegetround instead of __fegetround.
11446
11447 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11448
11449 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11450 arrays.
11451
11452 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11453
11454 [BZ #17775]
11455 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11456 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11457 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11458
11459 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11460
11461 * sysdeps/i386/tls-macros.h: Include <features.h>.
11462 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11463 (TLS_IE): Likewise.
11464 (TLS_LD): Likewise.
11465 (TLS_GD): Likewise.
11466 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11467 define for GCC >= 5.0.
11468
11469 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11470
11471 * math/test-fenv.c (test_single_exception, set_single_exc,
11472 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11473 feexcp_mask_test, feenable_test, fe_single_test): Add
11474 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11475 case where they are not used.
11476 * math/libm-test.inc: Likewise.
11477 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11478 unused in the absence of FP rounding/exception support.
11479 * stdio-common/tst-printf-round.c: Likewise.
11480 * stdlib/tst-strtod-round.c: Likewise.
11481 * stdlib/tst-strtod-underflow.c: Likewise.
11482
11483 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11484
11485 [BZ #17723]
11486 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11487 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11488 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11489 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11490 libm_hidden_weak.
11491 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11492 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11493 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11494 libm_hidden_def.
11495 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11496 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11497 libm_hidden_weak.
11498 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11499 Likewise.
11500 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11501 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11502 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11503 libm_hidden_weak.
11504 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11505 libm_hidden_def.
11506 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11507 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11508 (__feraiseexcept): Likewise.
11509 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11510 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11511 libm_hidden_weak.
11512 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11513 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11514 libm_hidden_def.
11515 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11516 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11517 Use libm_hidden_def.
11518 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11519 libm_hidden_def.
11520 (feraiseexcept): Define as weak not strong alias. Use
11521 libm_hidden_weak.
11522 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11523 New inline function. Factored out of ...
11524 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11525 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11526 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11527 feraiseexcept.
11528 * math/w_acos.c (__acos): Likewise.
11529 * math/w_asin.c (__asin): Likewise.
11530 * math/w_ilogb.c (__ilogb): Likewise.
11531 * math/w_j0.c (y0): Likewise.
11532 * math/w_j1.c (y1): Likewise.
11533 * math/w_jn.c (yn): Likewise.
11534 * math/w_log.c (__log): Likewise.
11535 * math/w_log10.c (__log10): Likewise.
11536 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11537 * sysdeps/aarch64/fpu/math_private.h
11538 (libc_feupdateenv_test_aarch64): Likewise.
11539 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11540 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11541 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11542 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11543 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11544 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11545 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11546 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11547 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11548 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11549
11550 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11551
11552 [BZ #17732]
11553 * io/test-utime.c (main): Replace %ld with %jd and cast to
11554 intmax_t.
11555 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11556 * nptl/tst-mutex5.c: Include <stdint.h>.
11557 (do_test): Replace %ld with %jd and cast to intmax_t.
11558 * posix/tst-regex.c (run_test): Likewise.
11559 (run_test_backwards): Likewise.
11560 * rt/tst-clock.c: Include <stdint.h>.
11561 (clock_test): Replace %ld with %jd and cast to intmax_t.
11562 * rt/tst-cpuclock1.c: Include <stdint.h>.
11563 (do_test): Replace %lu with %ju and cast to uintmax_t.
11564 * rt/tst-cpuclock2.c: Include <stdint.h>.
11565 (do_test): Replace %lu with %ju and cast to uintmax_t.
11566 * rt/tst-mqueue1.c: Include <stdint.h>.
11567 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11568 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11569 intmax_t.
11570 * rt/tst-mqueue4.c (do_test): Likewise.
11571 * rt/tst-timer4.c: Include <stdint.h>.
11572 (check_ts): Replace %ld with %jd and cast to intmax_t.
11573 (do_test): Likewise.
11574 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11575 and cast to intmax_t.
11576 * sysdeps/pthread/tst-timer.c (main): Likewise.
11577 * time/clocktest.c (main): Likewise.
11578 * time/tst-posixtz.c (do_test): Likewise.
11579 * timezone/tst-timezone.c (main): Likewise.
11580
11581 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11582 H.J. Lu <hongjiu.lu@intel.com>
11583
11584 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11585 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11586 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11587 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11588 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11589 version if bit_Fast_Unaligned_Load is set.
11590 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11591 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11592 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11593 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11594 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11595 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11597 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11598 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11599 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11600 to 4.
11601 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11602 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11603 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11604 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11605
11606 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11607
11608 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11609 instead of #if to avoid a Wundef warning.
11610 * stdlib/tst-limits.c (do_test): Likewise.
11611
11612 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11613 parallel other exception macros.
11614 (fegetenv): Convert from macro to extern inline so that it applies
11615 retroactively to inline functions already seen by the compiler.
11616 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11617
11618 * posix/Makefile (before-compile): Use $(objpfx) for
11619 posix-conf-vars-def.h.
11620
11621 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11622
11623 * posix/getconf.c (main): Use size_t for type of I.
11624 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11625 NSPEC.
11626
11627 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11628 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11629 * posix/posix-envs.def: Likewise.
11630 * sysdeps/posix/sysconf.c: Likewise.
11631 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11632 (specs): Remove array.
11633 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11634 array.
11635
11636 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11637 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11638 (__sysconf): Use CONF_IS_* macros.
11639
11640 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11641 ($(objpfx)posix-conf-vars-def.h): New target.
11642 * posix/posix-conf-vars.list: New file.
11643 * posix/posix-conf-vars.h: New file.
11644 * posix/confstr.c: Include posix-conf-vars.h.
11645 (confstr): Use CONF_IS_* macros.
11646 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11647 CONF_IS_* macros.
11648 * scripts/gen-posix-conf-vars.awk: New file.
11649
11650 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11651
11652 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11653 fegetround): Add no-op macros to avoid linknamespace issues.
11654
11655 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11656 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11657
11658 * sysdeps/unix/sysv/linux/tile/sysdep.h
11659 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11660 assembly-specific section to avoid a redefinition warning.
11661
11662 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11663 long before casting to pointer to avoid a cast warning.
11664
11665 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11666
11667 * sysdeps/tile/tilegx/Implies: New file.
11668
11669 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11670
11671 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11672
11673 2014-12-23 Florian Weimer <fweimer@redhat.com>
11674
11675 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11676
11677 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11678
11679 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11680 not define.
11681 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11682 <kernel-features.h>.
11683 (__utimes) [__NR_utimes]: Make code unconditional.
11684 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11685 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11686 (__ASSUME_UTIMES): Do not undefine.
11687 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11688 (__ASSUME_UTIMES): Likewise.
11689 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11690 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11691 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11692 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11693
11694 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11695
11696 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11697
11698 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11699
11700 [BZ #17747]
11701 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11702 alias to weak alias for j0l, y0l.
11703 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11704 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11705
11706 [BZ #17746]
11707 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11708 conversion.
11709
11710 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11711
11712 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11713 to zero if not already defined.
11714
11715 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11716
11717 [BZ #17724]
11718 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11719 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11720 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11721 (char *) casts added.
11722 * sysdeps/ieee754/k_standardf.c: New file.
11723 * sysdeps/ieee754/k_standardl.c: Likewise.
11724 * math/Makefile (libm-support): Remove k_standard.
11725 (libm-calls): Add k_standard.
11726
11727 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11728
11729 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11730 Optimize to avoid an unnecessary FPCR read.
11731
11732 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11733
11734 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11735 Optimize to reduce FPCR/FPSR accesses.
11736
11737 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11738
11739 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11740 Call libc_fetestexcept_aarch64.
11741
11742 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11743
11744 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11745 Call libc_fesetround_aarch64.
11746
11747 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11748
11749 [BZ #17733]
11750 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11751 (__bind): Do not define as weak alias.
11752 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11753 define.
11754 (__getsockname): Do not define as weak alias.
11755
11756 2014-12-22 Will Newton <will.newton@linaro.org>
11757
11758 * manual/install.texi: Document that we require bison 2.7
11759 or above.
11760 * INSTALL: Regenerate.
11761 * configure.ac: Use AC_CHECK_PROG_VER instead of
11762 AC_PATH_PROG when checking for bison and check for
11763 version 2.7 or above.
11764 * configure: Regenerate.
11765
11766 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11767
11768 [BZ #17745]
11769 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11770 * sysdeps/tile/ffsll.c (ffsll): To here.
11771
11772 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11773
11774 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11775
11776 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11777 if not defined.
11778 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11779 definition.
11780 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11781 hidden ___tls_get_addr.
11782 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11783 hidden __tls_get_addr.
11784 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11785 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11786 Likewise.
11787
11788 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11789
11790 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11791 _dl_init call.
11792
11793 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11794
11795 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11796 from "call _dl_init@PLT".
11797 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11798
11799 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11800
11801 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11802 guarantees.
11803
11804 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11805
11806 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11807
11808 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11809
11810 [BZ #17744]
11811 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11812 strnlen.
11813
11814 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11815
11816 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11817 of multu on MIPSr6.
11818 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11819 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11820 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11821 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11822 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11823
11824 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11825
11826 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11827 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11828 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11829 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11830 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11831 mips32r6/mips64r6.
11832 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11833
11834 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11835
11836 * string/strncat.c (STRNCAT): Simplify implementation.
11837
11838 2014-12-19 David S. Miller <davem@davemloft.net>
11839
11840 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11841 access the quad as both a long double and as a series of 4 words.
11842
11843 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11844 link_map->l_info array access.
11845
11846 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11847
11848 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11849
11850 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11851 * math/atest-exp2.c (TIMEOUT): Likewise.
11852 * math/atest-sincos.c (TIMEOUT): Likewise.
11853
11854 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11855
11856 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11857 -Wno-error with -fno-builtin-lround.
11858
11859 2014-12-19 Torvald Riegel <triegel@redhat.com>
11860
11861 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11862 Contains futex constants and functions moved over from ...
11863 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11864 <lowlevellock-futex.h>.
11865 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11866 (lll_timedwait_tid): Add comments and parentheses around macro
11867 arguments.
11868
11869 2014-12-19 Torvald Riegel <triegel@redhat.com>
11870
11871 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11872 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11873 (__lll_private_flag): Remove.
11874 (lll_futex_wait): Likewise.
11875 (lll_futex_timed_wait): Likewise.
11876 (lll_futex_wake): Likewise.
11877 (lll_futex_requeue): Likewise.
11878 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11879 (__lll_timedwait_tid): Spell out argument names.
11880 (lll_timedwait_tid): Add comments and parentheses around macro
11881 arguments.
11882 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11883 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11884
11885 2014-12-19 Torvald Riegel <triegel@redhat.com>
11886
11887 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11888 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11889 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11890 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11891 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11892 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11893 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11894 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11895 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11896 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11897 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11898 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11899 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11900 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11901 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11902 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11903 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11904 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11905 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11906
11907 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11908
11909 * sysdeps/x86_64/x32/Makefile: New file.
11910
11911 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11912
11913 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11914 1L with (mp_limb_t) 1.
11915
11916 2014-12-17 Roland McGrath <roland@hack.frob.com>
11917
11918 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11919 * nptl/libc_pthread_init.c: ... here.
11920 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11921 * nptl/register-atfork.c: ... here.
11922
11923 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11924 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11925 Use assert_perror to check its return value.
11926 (__gai_create_helper_thread): Likewise.
11927
11928 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11929
11930 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11931
11932 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11933
11934 [BZ #17725]
11935 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11936 __profil_counter.
11937 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11938 Likewise.
11939 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11940 Likewise.
11941 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11942 Likewise.
11943 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11944 (profil_counter): Likewise.
11945 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11946 (profil_counter): Likewise.
11947 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11948 Likewise.
11949 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11950 Likewise.
11951 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11952 (profil_counter): Likewise.
11953 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11954 Likewise.
11955 [!__profil_counter] (profil_counter): Define as weak alias of
11956 __profil_counter.
11957 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11958 (profil_counter): Rename to __profil_counter.
11959 [!__profil_counter] (profil_counter): Define as weak alias of
11960 __profil_counter.
11961 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11962 (profil_counter): Rename to __profil_counter.
11963 [!__profil_counter] (profil_counter): Define as weak alias of
11964 __profil_counter.
11965 * sysdeps/posix/profil.c: Update comment referring to
11966 profil_counter.
11967 (__profil): Use __profil_counter instead of profil_counter.
11968 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11969 __profil_counter. Use __profil_counter_ushort and
11970 __profil_counter_uint in definitions.
11971 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11972 instead of profil_counter_uint and profil_counter_ushort.
11973
11974 [BZ #17722]
11975 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11976 define as weak alias of __inet_makeaddr.
11977 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11978 as weak alias of __inet_addr.
11979 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11980 as weak alias of __inet_pton. Use libc_hidden_weak.
11981 * include/arpa/inet.h (__inet_pton): Declare. Use
11982 libc_hidden_proto.
11983 (inet_makeaddr): Don't use libc_hidden_proto.
11984 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11985 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11986 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11987 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11988 Remove variable.
11989 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11990 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11991
11992 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11993
11994 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11995
11996 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11997
11998 * stdio-common/bug-vfprintf-nargs.c (do_test):
11999 Cast value to intptr_t to avoid format warning
12000 for usage with PRIdPTR printing macro.
12001
12002 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12003
12004 * libio/tst-widetext.c (do_test):
12005 Use format type %td instead of %Zd for ptrdiff_t
12006 in order to avoid format warning.
12007
12008 2014-12-17 Andreas Schwab <schwab@suse.de>
12009
12010 * nscd/mem.c (gc): Add size_t cast to match printf format.
12011
12012 2014-12-16 Roland McGrath <roland@hack.frob.com>
12013
12014 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12015 (init): Apply PTR_MANGLE to pointers before storing them.
12016 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12017 before using them.
12018
12019 2014-12-16 Joseph Myers <joseph@codesourcery.com>
12020
12021 [BZ #17719]
12022 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12023 define as weak alias of __memrchr.
12024 (__memrchr): Do not define as strong alias of memrchr.
12025 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12026 Remove variable.
12027 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12028 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12029 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12030
12031 [BZ #17717]
12032 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12033 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
12034 (if_indextoname): Rename to __if_indextoname and define as weak
12035 alias of __if_indextoname. Use libc_hidden_weak.
12036 (if_freenameindex): Rename to __if_freenameindex and define as
12037 weak alias of __if_freenameindex.
12038 (if_nameindex): Rename to __if_nameindex and define as weak alias
12039 of __if_nameindex.
12040 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12041 __if_nametoindex and define as weak alias of __if_nametoindex.
12042 Use libc_hidden_weak.
12043 (if_freenameindex): Rename to __if_freenameindex and define as
12044 weak alias of __if_freenameindex.
12045 (if_nameindex): Rename to __if_nameindex and define as weak alias
12046 of __if_nameindex.
12047 (if_indextoname): Rename to __if_indextoname and define as weak
12048 alias of __if_indextoname. Use libc_hidden_weak.
12049 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12050 __if_nametoindex and define as weak alias of __if_nametoindex.
12051 Use libc_hidden_weak.
12052 (if_freenameindex): Rename to __if_freenameindex and define as
12053 weak alias of __if_freenameindex. Use libc_hidden_weak.
12054 (if_nameindex_netlink): Use __if_freenameindex instead of
12055 if_freenameindex.
12056 (if_nameindex): Rename to __if_nameindex and define as weak alias
12057 of __if_nameindex. Use libc_hidden_weak.
12058 (if_indextoname): Rename to __if_indextoname and define as weak
12059 alias of __if_indextoname. Use libc_hidden_weak.
12060 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12061 libc_hidden_proto.
12062 [!_ISOMAC] (__if_freenameindex): Likewise.
12063 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12064 if_nametoindex.
12065 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12066 variable.
12067 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12068 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12069 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12070 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12071 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12072 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12073 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12074
12075 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12076 Remove variable.
12077 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12078 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12079
12080 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12081
12082 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12083 subscript above bounds'
12084
12085 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12086 bounds.
12087
12088 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
12089
12090 * libio/tst-fopenloc.c: Use test-skeleton.c.
12091
12092 * stdlib/tst-bsearch.c: Use test-skeleton.c.
12093 (entry): Rename to ITEM.
12094 (do_test, comp): Adjust.
12095
12096 * stdio-common/tst-fseek.c: Use test-skeleton.c.
12097
12098 2014-12-16 Torvald Riegel <triegel@redhat.com>
12099
12100 * string/tester.c: Include <libc-internal.h>.
12101 (test_memset): Ignore -Wmemset-transposed-args.
12102
12103 2014-12-16 Torvald Riegel <triegel@redhat.com>
12104
12105 * misc/tst-mntent2.c (do_test): Fix warning.
12106
12107 2014-12-16 Torvald Riegel <triegel@redhat.com>
12108
12109 * elf/tst-unique4lib.cc(a): Mark as used.
12110
12111 2014-12-16 Florian Weimer <fweimer@redhat.com>
12112
12113 [BZ #17630]
12114 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12115 names.
12116
12117 2014-12-16 Allan McRae <allan@archlinux.org>
12118
12119 * stdio-common/Makefile (tests): Re-add bug26.
12120
12121 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
12122
12123 [BZ #17657]
12124 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12125 static array.
12126
12127 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12128
12129 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12130 (__lll_lock_wait): Likewise.
12131 (__lll_timedlock_wait): Likewise.
12132 (__lll_timedwait_tid): Likewise.
12133 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12134 (__lll_robust_timedlock_wait): Likewise.
12135 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12136 (lll_cond_trylock): Likewise.
12137 (__lll_lock): Likewise.
12138 (__lll_robust_lock): Likewise.
12139 (__lll_cond_lock): Likewise.
12140 (lll_robust_cond_lock): Likewise.
12141 (__lll_timedlock): Likewise.
12142 (__lll_robust_timedlock): Likewise.
12143 (__lll_unlock): Likewise.
12144 (__lll_robust_unlock): Likewise.
12145 (lll_wait_tid): Likewise.
12146 (lll_timedwait_tid): Likewise.
12147
12148 2014-12-15 Torvald Riegel <triegel@redhat.com>
12149
12150 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12151
12152 2014-12-15 Torvald Riegel <triegel@redhat.com>
12153
12154 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12155
12156 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12157
12158 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12159 * stdio-common/tst-sprintf.c: Likewise.
12160
12161 2014-12-15 Torvald Riegel <triegel@redhat.com>
12162
12163 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12164
12165 2014-12-15 Jeff Law <law@redhat.com>
12166
12167 [BZ #16617]
12168 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12169 on the heap. (CVE-2012-3406)
12170 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12171 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12172 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12173
12174 2014-12-15 Will Newton <will.newton@linaro.org>
12175
12176 * manual/install.texi: Bump required version of texinfo
12177 to 4.7 from 4.5.
12178 * INSTALL: Regenerated.
12179 * configure.ac: Check for makeinfo version 4.7 and above.
12180 * configure: Regenerated.
12181
12182 2014-12-12 Roland McGrath <roland@hack.frob.com>
12183
12184 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12185 PREFIX, string constant to insert between directory and name.
12186 * sysdeps/posix/shm_open.c: Update caller.
12187 * sysdeps/posix/shm_unlink.c: Likewise.
12188 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12189 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12190 (SEM_SHM_PREFIX): New macro.
12191 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12192 [$(have-thread-library) = no].
12193 * nptl/Makefile (libpthread-routines): Add shm-directory.
12194 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12195 * sysdeps/nptl/shm-directory.h: New file.
12196 * sysdeps/posix/shm-directory.c
12197 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12198 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12199 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12200 INTERNAL_SYSCALL.
12201 (__where_is_shmfs): Function removed.
12202 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12203 Variables removed.
12204 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12205 Use SHM_GET_NAME.
12206 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12207
12208 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12209 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12210 unconditional for use inside libpthread.
12211 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12212
12213 2014-12-12 Roland McGrath <roland@hack.frob.com>
12214
12215 * nptl/pthread_getaffinity.c: New file.
12216 * nptl/pthread_setaffinity.c: New file.
12217 * nptl/pthread_getname.c: New file.
12218 * nptl/pthread_setname.c: New file.
12219
12220 * nptl/pthread_create.c (START_THREAD_DEFN)
12221 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12222
12223 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12224 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12225
12226 * resolv/res_send.c (send_vc): Disable warning resplen may
12227 be used uninitialized.
12228
12229 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12230
12231 * nptl/tst-mutex6.c
12232 (ATTR_NULL): New define checks ATTR against NULL.
12233 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12234 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12235
12236 2014-12-11 James Lemke <jwlemke@codesourcery.com>
12237
12238 [BZ #17581]
12239 * malloc/hooks.c
12240 (mem2mem_check): Revert my previous change.
12241 (malloc_check_get_size): Revert my previous change.
12242 (mem2chunk_check): Revert my previous change.
12243
12244 2014-12-11 Roland McGrath <roland@hack.frob.com>
12245
12246 * sysdeps/posix/shm-directory.c: New file.
12247 * sysdeps/posix/shm-directory.h: New file.
12248 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12249 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12250 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12251 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12252 Transmute EPERM to EACCES.
12253 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12254 from ...
12255 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12256 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12257
12258 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12259
12260 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12261 pointer and cast to uintptr_t.
12262 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12263 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12264 Add cast to avoid warning.
12265 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12266
12267 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12268
12269 * nptl/semaphore.h: Move to ...
12270 * sysdeps/pthread/semaphore.h: ... here.
12271 * Makefile (installed-headers): Change nptl/semaphore.h to
12272 sysdeps/pthread/semaphore.h.
12273
12274 2014-12-11 Roland McGrath <roland@hack.frob.com>
12275
12276 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12277 generated error format strings.
12278
12279 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12280 -Wformat-extra-args warnings for scanf formats.
12281 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12282 test of zero-length format (duh).
12283 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12284 corner-case scanf format test.
12285 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12286 generated fprintf format string.
12287 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12288 corner-case sprintf format tests.
12289 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12290 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12291 -Wformat-extra-args warnings throughout.
12292 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12293 (CFLAGS-scanf4.c): Likewise.
12294 (CFLAGS-scanf7.c): Likewise.
12295 (CFLAGS-tst-sprintf.c): Likewise.
12296 (CFLAGS-tst-printf.c): Likewise.
12297 (CFLAGS-tst-printfsz.c): Likewise.
12298
12299 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12300
12301 * include/cpio.h: New file.
12302 * include/fmtmsg.h: Likewise.
12303
12304 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12305 corresponding format argument to size_t.
12306 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12307 arguments.
12308 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12309 corresponding format argument to size_t.
12310 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12311 arguments.
12312 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12313 corresponding format argument to size_t.
12314 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12315 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12316 (CFLAGS-tst-mbswcs2.c): Likewise.
12317 (CFLAGS-tst-mbswcs3.c): Likewise.
12318 (CFLAGS-tst-mbswcs4.c): Likewise.
12319 (CFLAGS-tst-mbswcs5.c): Likewise.
12320 (CFLAGS-tst-trans.c): Likewise
12321
12322 2014-12-11 Roland McGrath <roland@hack.frob.com>
12323
12324 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12325 rather than assuming they won't contain any '%'s.
12326
12327 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12328
12329 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12330 inhibit_loop_to_libcall to avoid recursive calls.
12331 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12332 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12333
12334 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12335
12336 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12337 prototype.
12338
12339 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12340
12341 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12342 integer value instead of boolean.
12343
12344 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12345
12346 * malloc/malloc.c: Fix powerof2 check.
12347
12348 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12349
12350 * locale/programs/locfile.h (maybe_swap_uint32):
12351 Remove inline and add unused attribute.
12352
12353 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12354
12355 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12356 Truncating assembler expression to a .long expression.
12357
12358 2014-12-11 Andreas Schwab <schwab@suse.de>
12359
12360 * elf/rtld.c (struct map_args): Constify str member.
12361 (do_preload): Constify fname argument.
12362
12363 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12364
12365 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12366 constants definition.
12367
12368 2014-12-11 Andreas Schwab <schwab@suse.de>
12369
12370 [BZ #16657]
12371 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12372 FORCE_ELISION instead of DO_ELISION.
12373 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12374 Remove.
12375 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12376 Likewise.
12377
12378 * iconvdata/gconv-modules: Remove duplicate entry.
12379
12380 2014-12-11 Will Newton <will.newton@linaro.org>
12381
12382 Merge gettext 0.19.3 into intl/.
12383
12384 This involves a number of cosmetic changes to comments
12385 and ANSI function definitions and prototypes throughout
12386 all the files. The gettext copyright header is used but
12387 with the date ranges taken from the glibc copy.
12388
12389 * NEWS: Add gettext merge to 2.21.
12390 * intl/bindtextdom.c: Switch to gettext copyright.
12391 Use ANSI definitions and prototypes.
12392 Use gl_* locking primitives rather than __libc_* ones.
12393 Use __builtin_expect rather than __glibc_likely/unlikely.
12394 * intl/dcgettext.c: Switch to gettext copyright.
12395 Use ANSI definitions and prototypes.
12396 * intl/dcigettext.c: Switch to gettext copyright.
12397 Use ANSI definitions and prototypes.
12398 (INTDIV0_RAISES_SIGFPE): New define.
12399 Use gl_* locking primitives rather than __libc_* ones.
12400 Include eval-plural.h instead of plural-eval.c.
12401 Use __builtin_expect rather than __glibc_likely/unlikely.
12402 * intl/dcngettext.c: Switch to gettext copyright.
12403 Use ANSI definitions and prototypes.
12404 * intl/dgettext.c: Likewise.
12405 * intl/dngettext.c: Likewise.
12406 * intl/plural-eval.c: Renamed to...
12407 * intl/eval-plural.h: ...this.
12408 * intl/explodename.c: Switch to gettext copyright.
12409 Use ANSI definitions and prototypes.
12410 (_nl_explode_name): Use strchr instead of __rawmemchr.
12411 * intl/finddomain.c: Switch to gettext copyright.
12412 Use ANSI definitions and prototypes.
12413 Use gl_* locking primitives rather than __libc_* ones.
12414 (_nl_find_domain): Use malloc rather than alloca for
12415 allocation of temporary locale name.
12416 * intl/gettext.c: Switch to gettext copyright.
12417 Use ANSI definitions and prototypes.
12418 * intl/gettextP.h: Switch to gettext copyright.
12419 Use ANSI definitions and prototypes.
12420 Use gl_* locking primitives rather than __libc_* ones.
12421 * intl/gmo.h: Switch to gettext copyright.
12422 (struct sysdep_string): Move struct segment_pair outside of
12423 struct definition.
12424 * intl/hash-string.c: Use ANSI definitions and prototypes.
12425 * intl/hash-string.h: Switch to gettext copyright.
12426 Use ANSI definitions and prototypes.
12427 * intl/l10nflist.c: Switch to gettext copyright.
12428 Use ANSI definitions and prototypes.
12429 (_nl_normalize_codeset): Avoid integer overflow.
12430 * intl/loadinfo.h: Switch to gettext copyright.
12431 Use ANSI definitions and prototypes.
12432 (LIBINTL_DLL_EXPORTED): New define.
12433 (PATH_SEPARATOR): New define.
12434 * intl/loadmsgcat.c: Switch to gettext copyright.
12435 * intl/localealias.c: Switch to gettext copyright.
12436 Use ANSI definitions and prototypes.
12437 (_nl_expand_alias): Use PATH_SEPARATOR.
12438 * intl/ngettext.c: Switch to gettext copyright.
12439 Use ANSI definitions and prototypes.
12440 * intl/plural-exp.c: Likewise.
12441 * intl/plural-exp.h: Switch to gettext copyright.
12442 Use ANSI definitions and prototypes.
12443 (struct expression): Move definition of enum operator outside
12444 of struct definition.
12445 * intl/plural.c: Regenerate.
12446 * intl/plural.y: Switch to gettext copyright.
12447 Use ANSI definitions and prototypes.
12448 Port to bison 3.0.
12449 * intl/textdomain.c: Switch to gettext copyright.
12450 Use ANSI definitions and prototypes.
12451 Use gl_* locking primitives rather than __libc_* ones.
12452
12453 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12454
12455 * debug/warning-nop.c: Add used atrribute.
12456
12457 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12458
12459 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12460
12461 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12462 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12463 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12464
12465 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12466 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12467
12468 [BZ #17634]
12469 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12470 Undefine after defining function. Define as weak alias of
12471 __wcschr. Use libc_hidden_weak.
12472 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12473 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12474 (libc_hidden_def): Also define __GI___wcschr alias.
12475 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12476 __wcschr and define as weak alias of __wcschr.
12477 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12478 __wcschr.
12479 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12480 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12481 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12482 libc_hidden_weak. Do not use libc_hidden_def.
12483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12484 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12485 __GI___wcschr alias.
12486 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12487 [IS_IN (libc)] (wcschr): Define as macro expanding to
12488 __redirect_wcschr.
12489 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12490 [IS_IN (libc)] (__wcschr_power6): Likewise.
12491 [IS_IN (libc)] (__wcschr_power7): Likewise.
12492 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12493 instead of wcschr.
12494 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12495 __libc_wcschr.
12496 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12497 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12498 __wcschr and define as weak alias of __wcschr. Use
12499 libc_hidden_builtin_def.
12500 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12501 as weak alias of __wcschr. Use libc_hidden_weak.
12502 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12503 wcschr.
12504 * time/era.c (_nl_init_era_entries): Likewise.
12505 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12506 variable.
12507 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12508 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12509
12510 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12511
12512 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12513 format for long int variable.
12514
12515 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12516
12517 [BZ #10672]
12518 * manual/search.texi: (Array Sort Function): Remove claim how to make
12519 qsort stable.
12520
12521 2014-12-10 Andreas Schwab <schwab@suse.de>
12522
12523 [BZ #12847]
12524 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12525 user-controlled locks.
12526
12527 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12528
12529 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12530 register.
12531
12532 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12533
12534 * configure.ac (--disable-werror): New configure option.
12535 (enable_werror): New AC_SUBST.
12536 * configure: Regenerated.
12537 * config.make.in (enable-werror): New variable.
12538 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12539 -Wno-error=undef.
12540 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12541 * manual/install.texi (Configuring and compiling): Document
12542 --disable-werror.
12543 * INSTALL: Regenerated.
12544 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12545 (CFLAGS-tst-chk2.c): Likewise.
12546 (CFLAGS-tst-chk3.c): Likewise.
12547 (CFLAGS-tst-chk4.cc): Likewise.
12548 (CFLAGS-tst-chk5.cc): Likewise.
12549 (CFLAGS-tst-chk6.cc): Likewise.
12550 (CFLAGS-tst-lfschk1.c): Likewise.
12551 (CFLAGS-tst-lfschk2.c): Likewise.
12552 (CFLAGS-tst-lfschk3.c): Likewise.
12553 (CFLAGS-tst-lfschk4.cc): Likewise.
12554 (CFLAGS-tst-lfschk5.cc): Likewise.
12555 (CFLAGS-tst-lfschk6.cc): Likewise.
12556
12557 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12558 (main): Disable -Wdeprecated-declarations around calls to
12559 register_printf_function.
12560
12561 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12562 (do_test): Disable -Wdiv-by-zero around some calls to
12563 fwrite_unlocked and fread_unlocked.
12564
12565 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12566 (DIAG_POP_NEEDS_COMMENT): Likewise.
12567 (_DIAG_STR1): Likewise.
12568 (_DIAG_STR): Likewise.
12569 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12570 * stdio-common/bug21.c: Include <libc-internal.h>.
12571 (do_test): Disable -Wformat around call to sscanf.
12572 * stdio-common/scanf14.c: Include <libc-internal.h>.
12573 (main): Disable -Wformat around some calls to scanf functions.
12574
12575 2014-12-09 Torvald Riegel <triegel@redhat.com>
12576
12577 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12578
12579 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12580
12581 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12582 stack variable alignment.
12583
12584 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12585
12586 [BZ #17682]
12587 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12588 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12589 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12590 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12591 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12592 __getrlimit instead of getrlimit.
12593 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12594 __gettimeofday instead of gettimeofday.
12595 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12596 Likewise.
12597 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12598 Likewise.
12599 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12600 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12601 Remove variable.
12602 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12603 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12604
12605 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12606
12607 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12608 for wide-character tests.
12609
12610 2014-12-04 Roland McGrath <roland@hack.frob.com>
12611
12612 * io/openat64.c: #include <libc-internal.h>
12613 (__openat64): Prototypify. Use ignore_value on MODE.
12614 * io/openat.c: Likewise.
12615 * misc/reboot.c: #include <libc-internal.h>
12616 (reboot): Prototypify. Use ignore_value on HOWTO.
12617 * misc/ptrace.c: #include <libc-internal.h>
12618 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12619
12620 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12621
12622 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12623 XPG4, UNIX98 and XOPEN2K.
12624 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12625 Remove variable.
12626 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12627
12628 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12629
12630 * libio/fileops.c: Use ISO C style for function definitions.
12631 * libio/iofopen.c: Likewise.
12632 * libio/wfileops.c: Likewise.
12633
12634 [BZ #17653]
12635 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12636 offset on EOF.
12637 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12638 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12639 (fgets_func): Function pointer to fgets and fgetws.
12640 (do_ftell_test): Add test to verify ftell value after read
12641 EOF.
12642 (do_test): Set fgets_func.
12643
12644 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12645 O_TRUNC flag for w and w+ modes.
12646 (do_rewind_test): Likewise.
12647 (do_ftell_test): Likewise.
12648 (do_write_test): Likewise.
12649
12650 [BZ #17647]
12651 * libio/fileops.c (do_ftell): Seek only when there are
12652 unflushed writes.
12653 * libio/wfileops.c (do_ftell_wide): Likewise.
12654 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12655 test case.
12656 (do_one_test): Call it.
12657
12658 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12659
12660 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12661 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12662 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12663 Remove variable.
12664 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12665 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12666 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12667
12668 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12669
12670 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12671 Remove variable.
12672 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12673
12674 [BZ #17668]
12675 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12676 as weak alias of __getifaddrs. Use libc_hidden_weak.
12677 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12678 __freeifaddrs. Use libc_hidden_weak.
12679 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12680 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12681 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12682 __freeifaddrs. Use libc_hidden_weak.
12683 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12684 __getifaddrs and define as weak alias of __getifaddrs. Use
12685 libc_hidden_weak.
12686 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12687 __freeifaddrs. Use libc_hidden_weak.
12688 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12689 Remove variable.
12690 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12691 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12692
12693 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12694
12695 [BZ #17601]
12696 * sysdeps/mips/start.S (__start): Use indirect jump to call
12697 __libc_start_main.
12698
12699 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12700
12701 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12702
12703 * nptl/tst-mutex1.c: Include <stdbool.h>.
12704 [!ATTR] (ATTR_NULL): New macro.
12705 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12706 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12707 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12708
12709 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12710 to char *.
12711
12712 [BZ #17665]
12713 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12714 Change conditional to [__USE_MISC].
12715
12716 [BZ #17664]
12717 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12718 fgets_unlocked.
12719 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12720 __fgets_unlocked.
12721 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12722 fgets_unlocked.
12723 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12724 Remove variable.
12725 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12726 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12727 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12728 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12729 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12730 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12731 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12732 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12733 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12734
12735 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12736
12737 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12738
12739 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12740 Remove strpbrk objects.
12741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12742 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12743 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12744 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12745 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12746 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12747
12748 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12749 Remove strcspn objects.
12750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12751 (__libc_ifunc_impl_list): Remove strcspn implementation.
12752 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12753 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12754 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12755 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12756
12757 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12758 Remove strspn objetcs.
12759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12760 (__libc_ifunc_impl_list): Remove strspn implementation.
12761 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12762 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12763 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12764 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12765
12766 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12767
12768 [BZ #17581]
12769 * malloc/hooks.c
12770 (mem2mem_check): Add a terminator to the chain of checking blocks.
12771 (malloc_check_get_size): Use it here.
12772 (mem2chunk_check): Ditto.
12773
12774 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12775
12776 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12777 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12778
12779 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12780
12781 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12782
12783 * nptl/nptl-init.c: Include libc-internal.h.
12784 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12785
12786 * elf/ldconfig.c (search_dir): Expand comment.
12787
12788 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12789
12790 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12791 variable.
12792 (linknamespace-symlist-stdlibs-tests): Likewise.
12793 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12794 instead of $(objpfx)symlist-stdlibs.
12795 (linknamespace-libs-isoc): New variable.
12796 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12797 (linknamespace-libs-ISO): New variable.
12798 (linknamespace-libs-ISO99): Likewise.
12799 (linknamespace-libs-ISO11): Likewise.
12800 (linknamespace-libs-XPG3): Likewise.
12801 (linknamespace-libs-XPG4): Likewise.
12802 (linknamespace-libs-POSIX): Likewise.
12803 (linknamespace-libs-UNIX98): Likewise.
12804 (linknamespace-libs-XOPEN2K): Likewise.
12805 (linknamespace-libs-POSIX2008): Likewise.
12806 (linknamespace-libs-XOPEN2K8): Likewise.
12807 ($(objpfx)symlist-stdlibs): Replace by
12808 $(linknamespace-symlist-stdlibs-tests). Use
12809 $(linknamespace-libs-$*) as set of libraries.
12810 ($(linknamespace-header-tests)): Update dependencies. Use
12811 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12812 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12813 * conform/linknamespace.pl: Remove comment about considering
12814 definitions of symbols from irrelevant libraries.
12815
12816 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12817
12818 [BZ #13862]
12819 * elf/dl-tls.c: Include <atomic.h>.
12820 (oom): Remove #ifdef SHARED/#endif.
12821 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12822 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12823 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12824 big enough.
12825 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12826 * nptl/Makefile (tests): Add tst-stack4.
12827 (modules-names): Add tst-stack4mod.
12828 ($(objpfx)tst-stack4): New.
12829 (tst-stack4mod.sos): Likewise.
12830 ($(objpfx)tst-stack4.out): Likewise.
12831 ($(tst-stack4mod.sos)): Likewise.
12832 (clean): Likewise.
12833 * nptl/tst-stack4.c: New file.
12834 * nptl/tst-stack4mod.c: Likewise.
12835
12836 2014-11-27 J. Brown <jb999@gmx.de>
12837
12838 * sysdeps/x86/bits/string.h: Add recent CPUs.
12839
12840 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12841
12842 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12843 sigblock.
12844
12845 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12846 feof.
12847
12848 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12849 variable.
12850
12851 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12852
12853 * nscd/connections.c: Include libc-internal.h because of macro
12854 usage ignore_value.
12855
12856 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12857
12858 * string/bits/string3.h (__warn_memset_zero_len): Don't
12859 declare for gcc newer than 5.0.
12860 (memset): Don't test for zero-length __LEN for gcc newer than
12861 5.0.
12862
12863 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12864
12865 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12866 size_t for %zu format.
12867
12868 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12869 difference, not %ju.
12870
12871 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12872
12873 * include/libc-internal.h (ignore_value): New macro.
12874 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12875 with ignore_value.
12876
12877 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12878 definition.
12879
12880 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12881 pthread_cleanup_push to void *.
12882
12883 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12884 Undefine.
12885
12886 [BZ #16619]
12887 [BZ #16740]
12888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12889 instead of 1L << 52.
12890
12891 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12892 * libio/bug-rewind2.c (do_test): Likewise.
12893
12894 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12895 * debug/test-strcpy_chk-ifunc.c: Likewise.
12896 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12897 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12898 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12899 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12900 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12901 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12902 * Rules [$(multi-arch) = no] (tests): Do not filter out
12903 $(tests-ifunc).
12904 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12905 * debug/Makefile (tests-ifunc): Remove variable.
12906 (tests): Do not add $(tests-ifunc).
12907 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12908 (tests): Do not add $(tests-ifunc).
12909 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12910 [TEST_IFUNC]: Remove conditionals.
12911 * string/test-string.h (TEST_IFUNC): Remove macro.
12912 [TEST_IFUNC]: Remove conditionals.
12913
12914 * string/test-strchr.c [!WIDE] (L): New macro.
12915 [WIDE] (L): Likewise.
12916 (check1): Use CHAR instead of char. Use L on string and character
12917 constants.
12918
12919 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12920
12921 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12922 tests.
12923 * sysdeps/powerpc/bits/atomic.h
12924 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12925 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12926 (atomic_exchange_and_add_acq): Likewise.
12927 (atomic_exchange_and_add_rel): Likewise.
12928 * sysdeps/powerpc/powerpc32/bits/atomic.h
12929 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12930 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12931 * sysdeps/powerpc/powerpc64/bits/atomic.h
12932 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12933 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12934
12935 2014-11-26 Torvald Riegel <triegel@redhat.com>
12936
12937 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12938 Change synchronization of __sched_fifo_min_prio and
12939 __sched_fifo_max_prio.
12940 * nptl/pthread_mutexattr_getprioceiling.c
12941 (pthread_mutexattr_getprioceiling): Likewise.
12942 * nptl/pthread_mutexattr_setprioceiling.c
12943 (pthread_mutexattr_setprioceiling): Likewise.
12944 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12945 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12946 Likewise.
12947
12948 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12949
12950 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12951 void.
12952
12953 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12954
12955 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12956 third argument const.
12957
12958 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12959
12960 fnmatch: work around GCC compiler warning bug with uninit var
12961 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12962 This works around a bug with x86-64 GCC 4.9.2 and earlier
12963 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12964 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12965 used uninitialized in this function [-Wmaybe-uninitialized]".
12966
12967 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12968
12969 * posix/bug-regex31.c (main): Return RES not 0.
12970
12971 2014-11-25 Anton Blanchard <anton@samba.org>
12972
12973 * sysdeps/powerpc/bits/atomic.h
12974 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12975
12976 2014-11-24 Sterling Augustine <saugustine@google.com>
12977
12978 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12979
12980 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12981
12982 [BZ #17608]
12983 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12984
12985 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12986
12987 [BZ #17633]
12988 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12989 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12990 variable.
12991 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12992 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12993
12994 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12995
12996 * string/strncpy.c (strncpy): Improve performance by using memset.
12997
12998 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12999
13000 * string/strcpy.c (strcpy):
13001 Improve performance by using strlen and memcpy.
13002
13003 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
13004
13005 * string/strcoll_l.c (get_next_seq): __always_inline.
13006 * string/strcoll_l.c (do_compare): __always_inline.
13007
13008 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13009
13010 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13011 defined.
13012 * include/mqueue.h: Likewise.
13013 * include/stdlib.h: Likewise.
13014
13015 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13016 (get_null_defines): Adjust.
13017 * sunrpc/Makefile: Adjust comment.
13018 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13019 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13020 (CFLAGS-interp.c): Likewise.
13021 (CFLAGS-ldconfig.c): Likewise.
13022 (CPPFLAGS-.os): Likewise.
13023 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13024 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13025 * extra-modules.mk (extra-modules.mk): Likewise.
13026 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13027 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13028 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13029 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13030 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13031 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13032 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13033 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13034 * iconvdata/Makefile (CPPFLAGS): Likewise.
13035 (cpp-srcs-left): Add libof for all iconvdata routines.
13036 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13037 * include/assert.h: Likewise.
13038 * include/ctype.h: Likewise.
13039 * include/errno.h: Likewise.
13040 * include/libc-symbols.h: Likewise.
13041 * include/math.h: Likewise.
13042 * include/netdb.h: Likewise.
13043 * include/resolv.h: Likewise.
13044 * include/stdio.h: Likewise.
13045 * include/stdlib.h: Likewise.
13046 * include/string.h: Likewise.
13047 * include/sys/stat.h: Likewise.
13048 * include/wctype.h: Likewise.
13049 * intl/l10nflist.c: Likewise.
13050 * libidn/idn-stub.c: Likewise.
13051 * libio/libioP.h: Likewise.
13052 * nptl/libc_multiple_threads.c: Likewise.
13053 * nptl/pthreadP.h: Likewise.
13054 * posix/regex_internal.h: Likewise.
13055 * resolv/res_hconf.c: Likewise.
13056 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13057 * sysdeps/arm/memmove.S: Likewise.
13058 * sysdeps/arm/sysdep.h: Likewise.
13059 * sysdeps/generic/_itoa.h: Likewise.
13060 * sysdeps/generic/symbol-hacks.h: Likewise.
13061 * sysdeps/gnu/errlist.awk: Likewise.
13062 * sysdeps/gnu/errlist.c: Likewise.
13063 * sysdeps/i386/i586/memcpy.S: Likewise.
13064 * sysdeps/i386/i586/memset.S: Likewise.
13065 * sysdeps/i386/i686/memcpy.S: Likewise.
13066 * sysdeps/i386/i686/memmove.S: Likewise.
13067 * sysdeps/i386/i686/mempcpy.S: Likewise.
13068 * sysdeps/i386/i686/memset.S: Likewise.
13069 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13070 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13071 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13072 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13073 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13074 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13075 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13076 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13077 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13079 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13080 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13081 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13082 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13083 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13084 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13085 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13086 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13087 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13088 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13089 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13090 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13091 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13092 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13093 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13095 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13096 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13097 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13098 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13099 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13102 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13103 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13104 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13105 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13106 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13107 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13108 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13109 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13110 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13111 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13112 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13113 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13114 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13115 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13116 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13117 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13118 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13119 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13120 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13121 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13122 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13123 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13124 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13125 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13126 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13127 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13128 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13129 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13130 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13131 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13132 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13133 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13134 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13135 * sysdeps/posix/closedir.c: Likewise.
13136 * sysdeps/posix/opendir.c: Likewise.
13137 * sysdeps/posix/readdir.c: Likewise.
13138 * sysdeps/posix/rewinddir.c: Likewise.
13139 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13140 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13141 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13142 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13143 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13144 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13145 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13146 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13147 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13148 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13149 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13150 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13151 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13152 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13153 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13154 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13155 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13156 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13157 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13158 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13160 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13161 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13162 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13164 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13165 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13166 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13167 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13174 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13175 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13176 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13177 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13178 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13179 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13180 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13181 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13182 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13183 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13184 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13185 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13186 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13187 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13188 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13189 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13190 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13191 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13192 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13193 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13195 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13196 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13197 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13198 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13199 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13200 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13201 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13202 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13203 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13204 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13205 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13206 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13207 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13208 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13209 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13210 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13211 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13212 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13213 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13214 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13215 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13216 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13217 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13218 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13219 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13220 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13221 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13222 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13223 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13224 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13225 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13226 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13227 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13228 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13229 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13230 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13231 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13232 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13233 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13234 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13235 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13237 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13238 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13240 * sysdeps/unix/alpha/sysdep.S: Likewise.
13241 * sysdeps/unix/alpha/sysdep.h: Likewise.
13242 * sysdeps/unix/make-syscalls.sh: Likewise.
13243 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13244 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13245 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13246 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13247 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13248 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13249 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13250 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13251 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13252 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13253 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13254 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13255 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13256 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13257 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13258 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13259 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13260 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13261 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13262 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13263 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13264 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13265 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13266 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13267 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13268 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13269 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13272 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13273 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13277 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13280 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13281 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13282 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13283 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13284 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13285 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13286 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13287 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13290 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13293 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13294 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13295 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13296 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13297 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13298 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13301 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13302 * sysdeps/x86_64/memcpy.S: Likewise.
13303 * sysdeps/x86_64/memmove.c: Likewise.
13304 * sysdeps/x86_64/memset.S: Likewise.
13305 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13306 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13307 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13308 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13309 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13310 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13311 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13312 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13313 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13314 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13315 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13316 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13317 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13318 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13319 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13320 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13321 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13322 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13323 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13324 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13325 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13326 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13328 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13329 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13330 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13331 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13332 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13333 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13334 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13335 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13336 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13337 * sysdeps/x86_64/strcmp.S: Likewise.
13338
13339 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13340
13341 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13342 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13343 * elf/rtld-Rules: Likewise.
13344 * elf/setup-vdso.h: Likewise.
13345 * include/assert.h: Likewise.
13346 * include/bits/stdlib-float.h: Likewise.
13347 * include/errno.h: Likewise.
13348 * include/sys/stat.h: Likewise.
13349 * include/unistd.h: Likewise.
13350 * sysdeps/aarch64/setjmp.S: Likewise.
13351 * sysdeps/alpha/setjmp.S: Likewise.
13352 * sysdeps/arm/__longjmp.S: Likewise.
13353 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13354 * sysdeps/arm/setjmp.S: Likewise.
13355 * sysdeps/arm/sysdep.h: Likewise.
13356 * sysdeps/generic/_itoa.h: Likewise.
13357 * sysdeps/generic/dl-sysdep.h: Likewise.
13358 * sysdeps/generic/ldsodefs.h: Likewise.
13359 * sysdeps/i386/dl-tls.h: Likewise.
13360 * sysdeps/i386/setjmp.S: Likewise.
13361 * sysdeps/m68k/setjmp.c: Likewise.
13362 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13363 * sysdeps/mach/hurd/opendir.c: Likewise.
13364 * sysdeps/posix/getcwd.c: Likewise.
13365 * sysdeps/posix/opendir.c: Likewise.
13366 * sysdeps/posix/profil.c: Likewise.
13367 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13368 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13369 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13370 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13371 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13372 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13373 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13374 * sysdeps/s390/dl-tls.h: Likewise.
13375 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13376 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13377 * sysdeps/sh/sh3/setjmp.S: Likewise.
13378 * sysdeps/sh/sh4/setjmp.S: Likewise.
13379 * sysdeps/unix/alpha/sysdep.h: Likewise.
13380 * sysdeps/unix/arm/sysdep.S: Likewise.
13381 * sysdeps/unix/i386/sysdep.S: Likewise.
13382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13383 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13384 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13385 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13386 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13387 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13388 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13389 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13390 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13391 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13392 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13393 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13394 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13397 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13399 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13400 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13401 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13402 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13405 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13406 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13407 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13409 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13410 * sysdeps/x86_64/setjmp.S: Likewise.
13411
13412 * include/math.h: Use IS_IN instead of IS_IN_libm.
13413 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13425 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13433 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13434 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13435 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13436 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13437 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13438 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13440 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13441 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13442 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13443 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13444 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13445 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13447 Likewise.
13448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13449 Likewise.
13450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13451 Likewise.
13452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13453 Likewise.
13454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13455 Likewise.
13456 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13458 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13459 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13460 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13461 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13467 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13468 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13469 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13470 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13471 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13472 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13473 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13474 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13475 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13476 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13477 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13478 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13479 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13480 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13482 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13483
13484 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13485 * nptl/pthreadP.h: Likewise.
13486 * nptl_db/structs.def: Likewise.
13487 * sysdeps/arm/sysdep.h: Likewise.
13488 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13489 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13490 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13491 * sysdeps/unix/alpha/sysdep.h: Likewise.
13492 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13494 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13495 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13496 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13497 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13498 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13499 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13500 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13501 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13502 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13503 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13504 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13505 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13508 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13510 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13511 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13512 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13513 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13514 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13515 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13516 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13517 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13518
13519 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13520 * nptl/pthreadP.h: Likewise.
13521 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13522 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13523 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13524 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13525 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13526 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13527 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13528 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13529 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13530 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13531 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13532 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13534 Likewise.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13536 Likewise.
13537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13539 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13540 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13542 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13543 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13544 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13545
13546 * dlfcn/dladdr.c: Use IS_IN.
13547 * dlfcn/dladdr1.c: Likewise.
13548 * dlfcn/dlclose.c: Likewise.
13549 * dlfcn/dlerror.c: Likewise.
13550 * dlfcn/dlinfo.c: Likewise.
13551 * dlfcn/dlmopen.c: Likewise.
13552 * dlfcn/dlopen.c: Likewise.
13553 * dlfcn/dlsym.c: Likewise.
13554 * dlfcn/dlvsym.c: Likewise.
13555
13556 * include/ifaddrs.h: Use IS_IN.
13557 * inet/check_pf.c: Likewise.
13558 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13559 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13560
13561 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13562 IS_IN_ldconfig.
13563 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13564 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13565
13566 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13567 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13568 IS_IN (libc).
13569
13570 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13571
13572 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13573 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13574 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13575 * include/libc-symbols.h (IS_IN_LIB): New macro.
13576 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13577 * include/netdb.h: Likewise.
13578 * include/stap-probe.h: Remove all uses of IN_LIB.
13579
13580 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13581 instead of IN_MODULE.
13582 * include/libc-symbols.h (IN_MODULE): Define using
13583 MODULE_NAME.
13584 (PASTE_NAME, PASTE_NAME1): New macros.
13585 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13586 of IN_LIB.
13587 (STAP_PROBE_ASM): Likewise.
13588
13589 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13590
13591 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13592 __mach_init in dlopened libc.
13593
13594 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13595
13596 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13597 * sysdeps/arm/preconfigure: Regenerate.
13598
13599 2014-11-21 Roland McGrath <roland@hack.frob.com>
13600
13601 * nptl/pthread_create.c (__pthread_create_2_1): Set
13602 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13603 when copying values from IATTR into PD.
13604
13605 2014-11-21 Will Newton <will.newton@linaro.org>
13606 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13607
13608 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13609 Refactor inline-asm. Also add comment.
13610
13611 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13612 ElfW macro instead of hardcoded Elf64 types.
13613 (la_aarch64_gnu_pltenter): Likewise.
13614 * sysdeps/aarch64/dl-machine.h
13615 (elf_machine_runtime_setup): Use ElfW(Addr).
13616
13617 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13618 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13619 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13620 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13621 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13622 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13623 (R_AARCH64_TLS_DTPMOD): This.
13624 (R_AARCH64_TLS_DTPREL64): Rename to ...
13625 (R_AARCH64_TLS_DTPREL): This.
13626 (R_AARCH64_TLS_TPREL64): Rename to ...
13627 (R_AARCH64_TLS_TPREL): This.
13628 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13629 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13630 R_AARCH64_TLS_TPREL64.
13631 (elf_machine_rela): Likewise.
13632
13633 2014-11-21 Torvald Riegel <triegel@redhat.com>
13634
13635 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13636 by setting it to 0. 64b atomics are not supported currently.
13637
13638 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13639
13640 [BZ #16469]
13641 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13642 search domain names.
13643
13644 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13645
13646 [BZ #16469]
13647 * NEWS: Update.
13648 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13649 trailing dot.
13650 * posix/tst-getaddrinfo5.c: New.
13651 * posix/Makefile (tests): Add it.
13652
13653 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13654
13655 [BZ #14498]
13656 * NEWS: Fixed.
13657 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13658 after parsing line but before break_if_match.
13659 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13660 if there is a protocol mismatch.
13661
13662 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13663
13664 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13665 because the potential race is on the user-supplied stream.
13666
13667 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13668
13669 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13670 string literal if not passed a buffer.
13671 * manual/job.texi (ctermid): Update reasoning, note deviation
13672 from posix, suggest mtasurace when not passed a buffer, for
13673 future non-preliminary safety notes.
13674
13675 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13676
13677 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13678 of not passing it a buffer.
13679 Reported by Peng Haitao.
13680
13681 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13682
13683 * manual/Makefile ($(objpfx)stamp-summary): Require
13684 check-safety.sh to pass.
13685 * manual/check-safety.sh: Wish for verification that every
13686 @deftypefn and @deftypefun is followed by a @safety remark.
13687
13688 2014-11-20 Roland McGrath <roland@hack.frob.com>
13689
13690 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13691
13692 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13693 PTHREAD_CANCEL_ASYNCHRONOUS.
13694 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13695 send SIGCANCEL.
13696
13697 * nptl/default-sched.h: New file.
13698 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13699 * nptl/pthread_create.c: Include it.
13700 (__pthread_create_2_1): Use collect_default_sched instead of making
13701 Linux syscalls here directly.
13702
13703 2014-11-20 Torvald Riegel <triegel@redhat.com>
13704
13705 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13706 __pthread_once): Use C11 atomics.
13707
13708 2014-11-20 Torvald Riegel <triegel@redhat.com>
13709
13710 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13711
13712 2014-11-20 Torvald Riegel <triegel@redhat.com>
13713
13714 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13715 atomic_thread_fence_acquire, atomic_thread_fence_release,
13716 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13717 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13718 atomic_compare_exchange_weak_relaxed,
13719 atomic_compare_exchange_weak_acquire,
13720 atomic_compare_exchange_weak_release,
13721 atomic_exchange_acquire, atomic_exchange_release,
13722 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13723 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13724 atomic_fetch_and_acquire,
13725 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13726
13727 2014-11-20 Torvald Riegel <triegel@redhat.com>
13728
13729 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13730 USE_ATOMIC_COMPILER_BUILTINS): Define.
13731 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13732 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13733 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13734 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13735 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13736 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13737 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13738 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13739 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13740 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13741 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13742 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13743 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13744 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13745 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13746 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13747 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13748 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13749 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13750 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13751 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13752 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13753 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13754 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13755 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13756 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13757 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13758 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13759 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13760 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13761 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13762 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13763 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13764 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13765 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13766 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13767 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13768 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13769 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13770 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13771
13772 2014-11-19 Roland McGrath <roland@hack.frob.com>
13773
13774 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13775 the sched_priority value here. It was already checked when the user
13776 called pthread_attr_setschedparam.
13777
13778 * nptl/tst-bad-schedattr.c: New file.
13779 * nptl/Makefile (tests): Add it.
13780
13781 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13782 Florian Weimer <fweimer@redhat.com>
13783 Joseph Myers <joseph@codesourcery.com>
13784 Adam Conrad <adconrad@0c3.net>
13785 Andreas Schwab <schwab@suse.de>
13786 Brooks <bmoses@google.com>
13787
13788 [BZ #17625]
13789 * wordexp-test.c (__dso_handle): Add prototype.
13790 (__register_atfork): Likewise.
13791 (__app_register_atfork): New function.
13792 (registered_forks): New global.
13793 (register_fork): New function.
13794 (test_case): Add 3 new tests for WRDE_CMDSUB.
13795 (main): Call __app_register_atfork.
13796 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13797 fork count is non-zero fail the test.
13798 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13799 is set.
13800 (parse_dollars): Remove check for WRDE_NOCMD.
13801 (parse_dquote): Likewise.
13802
13803 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13804
13805 * Makeconfig (built-modules): List non-library modules to be
13806 built.
13807 (module-cppflags): Include libc-modules.h for
13808 everything except shlib-versions.v.i.
13809 (CPPFLAGS): Use it.
13810 (before-compile): Add libc-modules.h.
13811 ($(common-objpfx)libc-modules.h,
13812 $(common-objpfx)libc-modules.stmp): New targets.
13813 (common-generated): Add libc-modules.h and libc-modules.stmp.
13814 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13815 * include/libc-symbols.h: Don't include libc-modules.h.
13816 * include/libc-modules.h: Remove file.
13817 * scripts/gen-libc-modules.awk: New script to generate
13818 libc-modules.h.
13819 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13820 Depend on libc-modules.stmp.
13821
13822 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13823
13824 * Makeconfig (in-module): Get value of libof set for the
13825 translation unit.
13826 (CPPFLAGS): Use $(in-module).
13827 * Makerules: Don't suffix routine names for nonlib.
13828 * include/libc-modules.h: New file.
13829 * include/libc-symbols.h: Include libc-modules.h
13830 (IS_IN): New macro to replace IS_IN_* macros.
13831 * elf/Makefile: Set libof-* for each routine.
13832 * elf/rtld-Rules: Likewise.
13833 * extra-modules.mk: Likewise.
13834 * iconv/Makefile: Likewise.
13835 * iconvdata/Makefile: Likewise.
13836 * locale/Makefile: Likewise.
13837 * malloc/Makefile: Likewise.
13838 * nss/Makefile: Likewise.
13839 * sysdeps/gnu/Makefile: Likewise.
13840 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13841 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13842 * sysdeps/s390/s390-64/Makefile: Likewise.
13843 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13844 CPPFLAGS for nscd instead of nonlib.
13845
13846 2014-11-18 Roland McGrath <roland@hack.frob.com>
13847
13848 * nptl/createthread.c: New file.
13849
13850 * nptl/createthread.c: Moved ...
13851 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13852
13853 * nptl/createthread.c: Add proper top-line comment.
13854 (do_clone): Folded into ...
13855 (create_thread): ... here. Take new arguments STOPPED_START and
13856 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13857 increment __nptl_threads, do event-reporting logic, do
13858 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13859 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13860 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13861 just send SIGCANCEL.
13862 * nptl/pthread_create.c: Forward-declare create_thread before
13863 including createthread.c.
13864 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13865 declaration, and new macro START_THREAD_SELF to replace argument.
13866 Remove return statement.
13867 (report_thread_creation): New function.
13868 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13869 synchronization logic, and __nptl_nthreads increment here, around
13870 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13871 PD->parent_cancelhandling here, before create_thread. When
13872 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13873 __deallocate_stack, and ENOMEM translation here.
13874
13875 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13876
13877 [BZ #17616]
13878 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13879 (mptwo): Rename to __mptwo.
13880 (__inv): Use __mptwo instead of mptwo.
13881 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13882 (mptwo): Rename to __mptwo.
13883 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13884 of mpone and __mptwo instead of mptwo.
13885 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13886 instead of mpone.
13887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13888 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13889 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13890 of mpone and __mptwo instead of mptwo.
13891 (__mpranred): Use __mpone instead of mpone.
13892 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13893 variable.
13894 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13895 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13896 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13897 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13898 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13899 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13900 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13901 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13902 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13903 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13904 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13905 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13906 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13907 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13908 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13909 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13910 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13911 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13912 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13913
13914 2014-11-18 Tom de Vries <tom@codesoucery.com>
13915
13916 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13917 replace BSD Handler xref with BSD Signal Handling.
13918
13919 2014-11-17 Richard Henderson <rth@redhat.com>
13920
13921 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13922 (_FP_PACK_RAW_2): Remove.
13923 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13924 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13925 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13926 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13927 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13928 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13929 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13930 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13931 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13932 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13933 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13934 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13935 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13936 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13937 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13938 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13939
13940 2014-11-14 Roland McGrath <roland@hack.frob.com>
13941
13942 * signal/signal.h [__USE_MISC]
13943 (struct sigvec): Remove type.
13944 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13945 (sigvec): Remove declaration.
13946 * sysdeps/posix/sigvec.c: Moved ...
13947 * signal/sigvec.c: ... here, replacing old file.
13948 (struct sigvec): New type, copied from old signal.h definition.
13949 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13950 (__sigvec): Convert definition to prototype.
13951 (sigvec): Replace weak_alias with compat_symbol.
13952 * signal/Versions (libc: GLIBC_2.21): New version set.
13953 * include/signal.h: Remove __sigvec declaration.
13954 * sysdeps/unix/bsd/sigvec.c: Remove file.
13955 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13956 * manual/signal.texi (BSD Handler): Remove subsection.
13957 Move siginterrupt up to ...
13958 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13959 (Blocking in BSD): Fold subsection into its parent.
13960 * NEWS: Mention sigvec removal.
13961
13962 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13963
13964 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13965 (DLA_FMS): Make definition conditional only on [__FMA4__].
13966 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13967 definition.
13968
13969 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13970 Make definition conditional only on [PROF].
13971 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13972 definition.
13973 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13974 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13975
13976 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13977 !__GNUC__].
13978 * include/signal.h (__sigpause): Move declaration above call to
13979 libc_hidden_proto.
13980 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13981 variable.
13982 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13983 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13984
13985 2014-11-14 David S. Miller <davem@davemloft.net>
13986
13987 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13988 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13989
13990 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13991
13992 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13993 * configure: Regenerated.
13994 * manual/install.texi (Tools for Compilation): Document a
13995 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13996 compiler verified to work.
13997 * INSTALL: Regenerated.
13998
13999 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14000 redeclare with asm name.
14001 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14002 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14003 including <string.h>.
14004 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14005 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14006 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14007 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14008 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14009 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14010 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14011
14012 2014-11-13 Joseph Myers <joseph@codesourcery.com>
14013
14014 * stdlib/strtol.c (__strtol): Use prototype definition.
14015
14016 [BZ #17594]
14017 * stdlib/strtol.c (SYM__): New macro.
14018 (SYM__1): Likewise.
14019 (__strtol): Likewise.
14020 (strtol): Rename to __strtol and define as weak alias of
14021 __strtol. Use libc_hidden_weak.
14022
14023 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14024
14025 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14026 Use numbered labels in inline assembly.
14027
14028 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14029
14030 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14031 Add setjmp LIBC_PROBE.
14032 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14033 Likewise.
14034 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14035 Add longjmp, longjmp_target LIBC_PROBE.
14036 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14037 Likewise.
14038
14039 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14040
14041 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14042 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14043 to get rid of unused variable warning.
14044
14045 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14046
14047 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14048 Check for unwind_backtrace == NULL only in SHARED case.
14049 (__backchain_backtrace): Compile only in SHARED case.
14050 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14051 Likewise.
14052 (__backchain_backtrace): Declare as static.
14053
14054 2014-11-12 Roland McGrath <roland@hack.frob.com>
14055
14056 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14057 (__libc_multiple_threads_ptr): Variable moved ...
14058 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14059
14060 2014-11-12 Joseph Myers <joseph@codesourcery.com>
14061
14062 * conform/GlibcConform.pm: New file.
14063 * conform/conformtest.pl: Use GlibcConform module.
14064 * conform/linknamespace.pl: New file.
14065 * conform/list-header-symbols.pl: Likewise.
14066 * conform/Makefile (linknamespace-symlists-base): New variable.
14067 (linknamespace-symlists-tests): Likewise.
14068 (linknamespace-header-base): Likewise.
14069 (linknamespace-header-tests): Likewise.
14070 (tests-special): Add new tests.
14071 ($(linknamespace-symlists-tests)): New rule.
14072 (linknamespace-libs): New variable.
14073 ($(objpfx)symlist-stdlibs): New rule.
14074 ($(linknamespace-header-tests)): Likewise.
14075 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14076 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14077 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14078 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14079 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14080 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14081 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14082 (test-xfail-ISO/math.h/linknamespace): Likewise.
14083 (test-xfail-ISO/signal.h/linknamespace): Likewise.
14084 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14085 (test-xfail-ISO/time.h/linknamespace): Likewise.
14086 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14087 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14088 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14089 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14090 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14091 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14092 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14093 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14094 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14095 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14096 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14097 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14098 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14099 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14100 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14101 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14102 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14103 (test-xfail-XPG3/search.h/linknamespace): Likewise.
14104 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14105 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14106 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14107 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14108 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14109 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14110 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14111 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14112 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14113 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14114 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14115 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14116 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14117 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14118 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14119 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14120 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14121 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14122 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14123 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14124 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14125 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14126 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14127 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14128 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14129 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14130 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14131 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14132 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14133 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14134 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14135 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14136 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14137 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14138 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14139 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14140 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14141 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14142 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14143 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14144 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14145 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14146 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14147 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14148 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14149 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14150 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14151 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14152 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14153 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14154 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14155 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14156 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14157 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14158 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14159 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14160 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14161 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14162 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14163 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14164 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14165 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14166 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14167 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14168 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14169 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14170 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14171 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14172 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14173 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14174 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14175 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14176 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14177 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14178 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14179 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14180 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14181 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14182 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14183 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14184 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14185 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14186 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14187 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14188 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14189 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14190 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14191 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14192 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14193 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14194 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14195 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14196 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14197 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14198 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14199 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14200 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14201 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14202 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14203 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14204 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14205 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14206 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14207 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14208 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14209 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14210 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14211 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14212 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14213 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14214 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14215 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14216 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14217 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14218 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14219 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14220 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14221 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14222 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14223 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14224 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14225 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14226 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14227 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14228 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14229 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14230 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14231 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14232 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14233 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14234 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14235 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14236
14237 [BZ #17589]
14238 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14239 of fgets_unlocked.
14240
14241 [BZ #17585]
14242 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14243 (memmem): Rename to __memmem and define as weak alias of
14244 __memmem. Use libc_hidden_weak.
14245 (__memmem): Use libc_hidden_def.
14246 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
14247 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14248 memmem.
14249
14250 [BZ #17582]
14251 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14252 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14253 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14254 and define as weak alias of __fgets_unlocked. Use
14255 libc_hidden_weak.
14256 (__fgets_unlocked): Use libc_hidden_def.
14257 * include/stdio.h (__fgets_unlocked): Declare. Use
14258 libc_hidden_proto.
14259 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14260 __fgets_unlocked instead of fgets_unlocked.
14261 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14262 (GET_NPROCS_CONF_PARSER): Likewise.
14263 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14264 (GET_NPROCS_CONF_PARSER): Likewise.
14265
14266 [BZ #17574]
14267 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14268 weak alias of __wmemset. Use libc_hidden_weak.
14269 (__wmemset): Use libc_hidden_def.
14270 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14271 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14272 of wmemset.
14273
14274 [BZ #17573]
14275 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14276 with asm name __mempcpy.
14277 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14278
14279 [BZ #17572]
14280 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14281 and define as weak alias of __rawmemchr.
14282 (__rawmemchr): Do not define as strong alias of rawmemchr.
14283
14284 [BZ #17571]
14285 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14286 alias of __qsort_r.
14287 (qsort): Call __qsort_r instead of qsort_r.
14288 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14289 (__qsort_r): Declare. Call libc_hidden_proto.
14290 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14291 instead of qsort_r.
14292 * nscd/gai.c (__qsort_r): Define to qsort_r.
14293 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14294 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14295 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14296
14297 [BZ #17570]
14298 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14299 define as weak alias of __malloc_info.
14300
14301 [BZ #17584]
14302 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14303 as weak alias of __rewinddir. Don't use libc_hidden_def.
14304 (__rewinddir): Use libc_hidden_def.
14305 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14306 as weak alias of __rewinddir. Don't use libc_hidden_def.
14307 (__rewinddir): Use libc_hidden_def.
14308 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14309 weak alias of __rewinddir. Don't use libc_hidden_def.
14310 (__rewinddir): Use libc_hidden_def.
14311 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14312 (__rewinddir): Use libc_hidden_proto.
14313 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14314 rewinddir.
14315 (__getcwd): Use __rewinddir instead of rewinddir.
14316
14317 [BZ #17583]
14318 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14319 alias of __fileno. Use libc_hidden_weak.
14320 (__fileno): Use libc_hidden_def.
14321 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14322 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14323 alias of __ftello.
14324 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14325 __ftello.
14326 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14327 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14328 libc_hidden_def.
14329 (fread_unlocked): Don't use libc_hidden_ver.
14330 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14331 and define as weak alias of __fread_unlocked. Don't use
14332 libc_hidden_def.
14333 (__fread_unlocked): Use libc_hidden_def.
14334 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14335 (ftello): Don't use libc_hidden_proto.
14336 (__ftello): Declare. Use libc_hidden_proto.
14337 (fread_unlocked): Don't use libc_hidden_proto.
14338 (__fread_unlocked): Declare. Use libc_hidden_proto.
14339 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14340 and __ftello instead of fileno, fread_unlocked and ftello.
14341
14342 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14343
14344 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14345 GOT12.
14346 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14347 Likewise.
14348 (_dl_start_user): Likewise.
14349 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14350
14351 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14352 Siddhesh Poyarekar <siddhesh@redhat.com>
14353
14354 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14355 Move argv and envp down instead of moving argc up.
14356 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14357
14358 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14359
14360 [BZ #17506]
14361 * test-skeleton.c (main): Return successful if one of
14362 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14363 * string/tst-strcoll-overflow.c: Define expected status.
14364
14365 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14366
14367 [BZ #17475]
14368 * locale/iso-639.def: Define Bhili and Tulu language codes.
14369
14370 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14371
14372 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14373
14374 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14375
14376 [BZ #17555]
14377 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14378
14379 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14380
14381 * configure.ac: Updated check of minimal required version to
14382 2.22.
14383 * manual/install.texi (Tools for Compilation): Updated version
14384 number.
14385 * configure: Regenerated.
14386 * INSTALL: Likewise.
14387
14388 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14389
14390 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14391 __tls_get_addr.
14392
14393 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14394
14395 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14396 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14397 (__waitpid): Don't define as alias. Use libc_hidden_def not
14398 libc_hidden_weak.
14399 (waitpid): Define as alias of __waitpid.
14400 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14401 __waitpid.
14402 (__waitpid): Don't define as alias. Use libc_hidden_def not
14403 libc_hidden_weak.
14404 (waitpid): Define as alias of __waitpid.
14405 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14406 __libc_waitpid alias.
14407 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14408 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14409 Likewise.
14410 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14412 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14413 alias.
14414 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14415 __waitpid.
14416 (__waitpid): Don't define as alias. Use libc_hidden_def not
14417 libc_hidden_weak.
14418 (waitpid): Define as alias of __waitpid.
14419
14420 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14421
14422 * manual/llio.texi: Add comment that write safety has been
14423 fixed in Linux.
14424
14425 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14426 (localplt-build-dso): Add elf/ld.so.
14427 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14428 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14429 and free for ld.so.
14430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14431 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14433 Likewise.
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14435 Likewise.
14436 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14437 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14438 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14439 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14440 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14441 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14442 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14443 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14444 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14445 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14446 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14447
14448 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14449
14450 [BZ #14132]
14451 * include/libc-symbols.h (INTUSE): Remove macro.
14452 (INTDEF): Likewise.
14453 (INTVARDEF): Likewise.
14454 (_INTVARDEF): Likewise.
14455 (INTDEF2): Likewise.
14456 (INTVARDEF2): Likewise.
14457 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14458 rtld_hidden_def instead of INTVARDEF.
14459 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14460 (_dl_starting_up_internal): Remove declaration.
14461 (_dl_starting_up): Use rtld_hidden_proto.
14462 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14463 declaration.
14464 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14465 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14466 _dl_starting_up.
14467 * elf/dl-writev.h (_dl_writev): Likewise.
14468 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14469 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14470 _dl_starting_up_internal.
14471
14472 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14473
14474 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14475 test-skeleton.c.
14476
14477 2014-11-05 Will Newton <will.newton@linaro.org>
14478
14479 * benchtests/Makefile: (bench-malloc): Add malloc thread
14480 scalability benchmark.
14481 * benchtests/bench-malloc-threads.c: New file.
14482
14483 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14484
14485 * sysdeps/aarch64/strchrnul.S: New file.
14486
14487 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14488
14489 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14490 definition.
14491 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14492 Likwise.
14493 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14494 Likewise.
14495 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14496 Likewise.
14497 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14498 Likewise.
14499 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14500 Likewise.
14501
14502 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14503
14504 * catgets/test-gencat.c: Use test-skeleton.c.
14505 * catgets/tst-catgets.c: Likewise.
14506 * csu/tst-empty.c: Likewise.
14507 * elf/tst-audit2.c: Likewise.
14508 * elf/tst-global1.c: Likewise.
14509 * elf/tst-pathopt.c: Likewise.
14510 * elf/tst-piemod1.c: Likewise.
14511 * elf/tst-tls10.c: Likewise.
14512 * elf/tst-tls11.c: Likewise.
14513 * elf/tst-tls12.c: Likewise.
14514 * gnulib/tst-gcc.c: Likewise.
14515 * iconvdata/tst-e2big.c: Likewise.
14516 * iconvdata/tst-loading.c: Likewise.
14517 * iconv/tst-iconv1.c: Likewise.
14518 * iconv/tst-iconv2.c: Likewise.
14519 * inet/test-inet6_opt.c: Likewise.
14520 * inet/tst-gethnm.c: Likewise.
14521 * inet/tst-network.c: Likewise.
14522 * inet/tst-ntoa.c: Likewise.
14523 * intl/tst-codeset.c: Likewise.
14524 * intl/tst-gettext2.c: Likewise.
14525 * intl/tst-gettext3.c: Likewise.
14526 * intl/tst-ngettext.c: Likewise.
14527 * intl/tst-translit.c: Likewise.
14528 * io/test-stat.c: Likewise.
14529 * libio/test-fmemopen.c: Likewise.
14530 * libio/tst-freopen.c: Likewise.
14531 * libio/tst-sscanf.c: Likewise.
14532 * libio/tst-ungetwc1.c: Likewise.
14533 * libio/tst-ungetwc2.c: Likewise.
14534 * libio/tst-widetext.c: Likewise.
14535 * localedata/tst-ctype.c: Likewise.
14536 * localedata/tst-digits.c: Likewise.
14537 * localedata/tst-leaks.c: Likewise.
14538 * localedata/tst-mbswcs1.c: Likewise.
14539 * localedata/tst-mbswcs2.c: Likewise.
14540 * localedata/tst-mbswcs3.c: Likewise.
14541 * localedata/tst-mbswcs4.c: Likewise.
14542 * localedata/tst-mbswcs5.c: Likewise.
14543 * localedata/tst-setlocale.c: Likewise.
14544 * localedata/tst-trans.c: Likewise.
14545 * localedata/tst-wctype.c: Likewise.
14546 * localedata/tst-xlocale1.c: Likewise.
14547 * login/tst-grantpt.c: Likewise.
14548 * malloc/tst-calloc.c: Likewise.
14549 * malloc/tst-malloc.c: Likewise.
14550 * malloc/tst-mallocstate.c: Likewise.
14551 * malloc/tst-mcheck.c: Likewise.
14552 * malloc/tst-mtrace.c: Likewise.
14553 * malloc/tst-obstack.c: Likewise.
14554 * math/atest-exp2.c: Likewise.
14555 * math/atest-exp.c: Likewise.
14556 * math/atest-sincos.c: Likewise.
14557 * math/test-matherr.c: Likewise.
14558 * math/test-misc.c: Likewise.
14559 * math/test-powl.c: Likewise.
14560 * math/tst-definitions.c: Likewise.
14561 * misc/tst-dirname.c: Likewise.
14562 * misc/tst-efgcvt.c: Likewise.
14563 * misc/tst-fdset.c: Likewise.
14564 * misc/tst-hsearch.c: Likewise.
14565 * misc/tst-mntent2.c: Likewise.
14566 * nptl/tst-sem7.c: Likewise.
14567 * nptl/tst-sem8.c: Likewise.
14568 * nptl/tst-sem9.c: Likewise.
14569 * nss/test-netdb.c: Likewise.
14570 * posix/tst-fnmatch.c: Likewise.
14571 * posix/tst-getlogin.c: Likewise.
14572 * posix/tst-gnuglob.c: Likewise.
14573 * posix/tst-mmap.c: Likewise.
14574 * pwd/tst-getpw.c: Likewise.
14575 * resolv/tst-inet_ntop.c: Likewise.
14576 * rt/tst-timer.c: Likewise.
14577 * stdio-common/test-fseek.c: Likewise.
14578 * stdio-common/test-popen.c: Likewise.
14579 * stdio-common/test-vfprintf.c: Likewise.
14580 * stdio-common/tst-cookie.c: Likewise.
14581 * stdio-common/tst-fileno.c: Likewise.
14582 * stdio-common/tst-gets.c: Likewise.
14583 * stdio-common/tst-obprintf.c: Likewise.
14584 * stdio-common/tst-perror.c: Likewise.
14585 * stdio-common/tst-sprintf2.c: Likewise.
14586 * stdio-common/tst-sprintf3.c: Likewise.
14587 * stdio-common/tst-sprintf.c: Likewise.
14588 * stdio-common/tst-swprintf.c: Likewise.
14589 * stdio-common/tst-tmpnam.c: Likewise.
14590 * stdio-common/tst-unbputc.c: Likewise.
14591 * stdio-common/tst-wc-printf.c: Likewise.
14592 * stdlib/tst-environ.c: Likewise.
14593 * stdlib/tst-fmtmsg.c: Likewise.
14594 * stdlib/tst-limits.c: Likewise.
14595 * stdlib/tst-rand48-2.c: Likewise.
14596 * stdlib/tst-rand48.c: Likewise.
14597 * stdlib/tst-random2.c: Likewise.
14598 * stdlib/tst-random.c: Likewise.
14599 * stdlib/tst-strtol.c: Likewise.
14600 * stdlib/tst-strtoll.c: Likewise.
14601 * stdlib/tst-tls-atexit.c: Likewise.
14602 * stdlib/tst-xpg-basename.c: Likewise.
14603 * string/test-ffs.c: Likewise.
14604 * string/tst-bswap.c: Likewise.
14605 * string/tst-inlcall.c: Likewise.
14606 * string/tst-strtok.c: Likewise.
14607 * string/tst-strxfrm.c: Likewise.
14608 * sysdeps/x86_64/tst-audit10.c: Likewise.
14609 * sysdeps/x86_64/tst-audit3.c: Likewise.
14610 * sysdeps/x86_64/tst-audit4.c: Likewise.
14611 * sysdeps/x86_64/tst-audit5.c: Likewise.
14612 * time/tst-ftime_l.c: Likewise.
14613 * time/tst-getdate.c: Likewise.
14614 * time/tst-mktime3.c: Likewise.
14615 * time/tst-mktime.c: Likewise.
14616 * time/tst-posixtz.c: Likewise.
14617 * time/tst-strptime2.c: Likewise.
14618 * time/tst-strptime3.c: Likewise.
14619 * wcsmbs/tst-btowc.c: Likewise.
14620 * wcsmbs/tst-mbrtowc.c: Likewise.
14621 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14622 * wcsmbs/tst-wchar-h.c: Likewise.
14623 * wcsmbs/tst-wcpncpy.c: Likewise.
14624 * wcsmbs/tst-wcrtomb.c: Likewise.
14625 * wcsmbs/tst-wcsnlen.c: Likewise.
14626 * wcsmbs/tst-wcstof.c: Likewise.
14627
14628 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14629
14630 [BZ #14132]
14631 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14632 INTDEF.
14633 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14634 declaration.
14635 (_dl_mcount): Use rtld_hidden_proto.
14636 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14637 _dl_mcount.
14638 * elf/rtld.c (_rtld_global_ro): Likewise.
14639
14640 [BZ #14132]
14641 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14642 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14643 of _dl_init_internal.
14644 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14645 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14646 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14647 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14648 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14649 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14650 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14651 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14652 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14653 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14654 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14655 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14656 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14657 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14658 * sysdeps/tile/dl-start.S (_start): Likewise.
14659 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14660 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14661
14662 [BZ #14132]
14663 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14664 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14665 (rtld_progname): Make macro definition unconditional.
14666 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14667 INTDEF.
14668 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14669 (dl_main): Likewise.
14670 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14671 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14672 instead of _dl_argv_internal.
14673 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14674 __GI__dl_argv instead of INTUSE(_dl_argv).
14675 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14676 __GI__dl_argv instead of _dl_argv_internal.
14677
14678 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14679 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14680 macro.
14681 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14682 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14683 New macro.
14684 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14685 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14686 macro.
14687 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14688 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14689
14690 2014-11-04 Andreas Schwab <schwab@suse.de>
14691
14692 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14693
14694 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14695
14696 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14697 mtvsrd instruction in binary form.
14698
14699 2014-11-03 Andreas Schwab <schwab@suse.de>
14700
14701 [BZ #17522]
14702 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14703 for less than MB_LEN_MAX use a local buffer of that size.
14704 * libio/tst-fputws.c: New file.
14705 * libio/Makefile (tests): Add tst-fputws.
14706
14707 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14708
14709 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14710 the size of the fpu_fr.fpu_dregs[] array.
14711
14712 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14713
14714 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14715 (__nanosleep): Do not define as alias.
14716 (nanosleep): Define as alias of __nanosleep.
14717 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14718 __libc_nanosleep name.
14719
14720 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14721
14722 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14723 install.texi in comment.
14724
14725 2014-10-31 Torvald Riegel <triegel@redhat.com>
14726
14727 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14728 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14729 ... add here and use lwsync or sync ...
14730 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14731 ... and add here using lwsync.
14732
14733 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14734
14735 * elf/dl-machine-reject-phdr.h: New file.
14736 * elf/dl-load.c: #include that.
14737 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14738 if that returned true.
14739
14740 2014-10-31 Roland McGrath <roland@hack.frob.com>
14741
14742 [BZ #17496]
14743 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14744 gen-as-const-headers chunk. Add a big scare comment after the last
14745 safe place to touch before-compile.
14746
14747 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14748
14749 * manual/install.texi (Tools for Compilation): Update autoconf
14750 version requirements.
14751 * INSTALL: Regenerated.
14752
14753 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14754 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14755 (__libc_pselect): Likewise.
14756
14757 [BZ #14138]
14758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14762
14763 2014-10-31 Torvald Riegel <triegel@redhat.com>
14764
14765 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14766 correct barrier instruction.
14767 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14768 Likewise.
14769 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14770 Likewise.
14771
14772 2014-10-30 Roland McGrath <roland@hack.frob.com>
14773
14774 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14775 after defining inlines. Instead, just use parens to defeat macro
14776 expansion of __isctype in its declaration.
14777
14778 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14779
14780 * include/sys/uio.h (__libc_readv): Remove declaration.
14781 (__libc_writev): Likewise.
14782 * misc/readv.c (__libc_readv): Rename to __readv.
14783 (__readv): Do not define as alias.
14784 (readv): Define as alias of __readv.
14785 * misc/writev.c (__libc_writev): Rename to __writev.
14786 (__writev): Do not define as alias.
14787 (writev): Define as alias of __writev.
14788 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14789 (__readv): Do not define as alias.
14790 (readv): Define unconditionally as alias of __readv.
14791 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14792 (__writev): Do not define as alias.
14793 (writev): Define unconditionally as alias of __writev.
14794 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14795 name.
14796 (writev): Do not define __libc_writev name.
14797
14798 2014-10-30 Roland McGrath <roland@hack.frob.com>
14799
14800 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14801 (convert_charseq): New function, broken out of ...
14802 (use_from_charmap): ... here. Call it.
14803 (use_to_charmap): Use convert_charseq and free instead of duplicating
14804 its code with a variable-length stack struct.
14805
14806 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14807
14808 * include/fcntl.h (__libc_creat): Remove declaration.
14809 * io/creat.c (__libc_creat): Rename to creat.
14810 (creat): Do not define as alias.
14811 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14812 of creat instead of __libc_creat.
14813 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14814 to creat.
14815 (creat): Do not define as alias.
14816 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14817 __libc_creat.
14818 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14819 __libc_creat name.
14820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14821 Likewise.
14822
14823 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14824
14825 * manual/llio.texi: Add comments discussing why write() may be
14826 considered MT-unsafe on Linux.
14827
14828 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14829
14830 * dl-load.c (local_strdup): Remove.
14831 (expand_dynamic_string_token): Use __strdup.
14832 (decompose_rpath): Likewise.
14833 (_dl_map_object): Likewise.
14834
14835 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14836
14837 [BZ #14132]
14838 * sysdeps/generic/unwind-dw2-fde.c
14839 (__register_frame_info_bases_internal): Do not declare.
14840 (__register_frame_info_table_bases_internal): Likewise.
14841 (__deregister_frame_info_bases_internal): Likewise.
14842 (__register_frame_info_bases): Declare and use hidden_proto before
14843 definition. Use hidden_def instead of INTDEF.
14844 (__register_frame_info_table_bases): Likewise.
14845 (__deregister_frame_info_bases): Likewise.
14846 (__register_frame_info): Do not use INTUSE.
14847 (__register_frame): Likewise.
14848 (__register_frame_info_table): Likewise.
14849 (__register_frame_table): Likewise.
14850 (__deregister_frame_info): Likewise.
14851 (__deregister_frame): Likewise.
14852
14853 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14854
14855 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14856 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14857 not undefine.
14858 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14859 Likewise.
14860 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14861 Likewise.
14862
14863 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14864
14865 [BZ #14138]
14866 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14867 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14868 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14869 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14870 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14871 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14872 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14873 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14874 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14875 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14876 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14877 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14878 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14879 syscall.
14880 (setfsuid): Likewise.
14881 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14882 (setfsuid): Likewise.
14883 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14884 (setfsuid): Likewise.
14885 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14886 Likewise.
14887 (setfsuid): Likewise.
14888 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14889 (setfsuid): Likewise.
14890 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14891 Likewise.
14892 (setfsuid): Likewise.
14893
14894 2014-10-27 Andreas Schwab <schwab@suse.de>
14895
14896 [BZ #17501]
14897 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14898 check for Slow_SSE4_2 feature bit.
14899 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14900 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14901 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14902 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14903
14904 2014-10-24 Roland McGrath <roland@hack.frob.com>
14905
14906 * configure.ac: Validate compiler version with a empirical test of
14907 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14908 $CC -v output.
14909 * configure: Regenerated.
14910
14911 * inet/htons.c (htons): Prototypify.
14912 * inet/htonl.c (htonl): Likewise.
14913
14914 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14915
14916 * string/strncat.c (strncat): Improve performance by using strlen.
14917
14918 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14919
14920 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14921
14922 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14923
14924 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14925 Call libc_fetestexcept_aarch64.
14926
14927 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14928
14929 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14930 Call libc_feholdexcept_aarch64.
14931
14932 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14933
14934 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14935 Call get_rounding_mode.
14936
14937 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14938
14939 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14940 Simplify logic.
14941
14942 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14943
14944 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14945 Simplify logic.
14946
14947 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14948
14949 [BZ #14138]
14950 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14951 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14952 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14953 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14954 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14955 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14956 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14957 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14958 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14959 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14960 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14961 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14962 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14963 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14964 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14965 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14966 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14967 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14968 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14969 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14970 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14971 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14972 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14973 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14974 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14975 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14976 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14977 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14978 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14979 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14980 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14981 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14982 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14983 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14984 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14985 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14986 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14987 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14988 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14989 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14990 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14991 syscall.
14992 (geteuid): Likewise.
14993 (getgid): Likewise.
14994 (getuid): Likewise.
14995 (getresgid): Likewise.
14996 (getresuid): Likewise.
14997 (getgroups): Likewise.
14998 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14999 (geteuid): Likewise.
15000 (getgid): Likewise.
15001 (getuid): Likewise.
15002 (getresgid): Likewise.
15003 (getresuid): Likewise.
15004 (getgroups): Likewise.
15005 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15006 (geteuid): Likewise.
15007 (getgid): Likewise.
15008 (getuid): Likewise.
15009 (getresgid): Likewise.
15010 (getresuid): Likewise.
15011 (getgroups): Likewise.
15012 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15013 Likewise.
15014 (geteuid): Likewise.
15015 (getgid): Likewise.
15016 (getuid): Likewise.
15017 (getresgid): Likewise.
15018 (getresuid): Likewise.
15019 (getgroups): Likewise.
15020 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15021 (geteuid): Likewise.
15022 (getgid): Likewise.
15023 (getuid): Likewise.
15024 (getresgid): Likewise.
15025 (getresuid): Likewise.
15026 (getgroups): Likewise.
15027 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15028 Likewise.
15029 (geteuid): Likewise.
15030 (getgid): Likewise.
15031 (getuid): Likewise.
15032 (getgroups): Likewise.
15033
15034 [BZ #14138]
15035 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15036 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15037 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15038 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15039 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15040 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15041 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15042 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15043 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15044 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15045 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15046 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15047 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15048 __chown.
15049 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15050 (lchown): Likewise.
15051 (fchown): Likewise.
15052 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15053 Likewise.
15054 (lchown): Likewise.
15055 (fchown): Likewise.
15056 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15057 (lchown): Likewise.
15058 (fchown): Likewise.
15059 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15060 Likewise.
15061 (lchown): Likewise.
15062 (fchown): Likewise.
15063
15064 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15065
15066 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15067 Simplify logic.
15068
15069 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15070
15071 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15072 Cleanup logic.
15073
15074 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15075
15076 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15077 Remove unused include.
15078
15079 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15080
15081 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15082 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15083 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15084 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15085
15086 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
15087 Helge Deller <deller@gmx.de>
15088
15089 [BZ #17508]
15090 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15091 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15092 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15093
15094 2014-10-23 Joseph Myers <joseph@codesourcery.com>
15095
15096 [BZ #14132]
15097 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15098 Remove macro definition.
15099 (__ashrdi3_v_glibc20): Likewise.
15100 (__lshrdi3_v_glibc20): Likewise.
15101 (__cmpdi2_v_glibc20): Likewise.
15102 (__ucmpdi2_v_glibc20): Likewise.
15103 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15104 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15105 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15106 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15107 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15108 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15109
15110 2014-10-22 Roland McGrath <roland@hack.frob.com>
15111
15112 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15113 old GNU extension [0] syntax.
15114 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15115 alloca rather than an array member with variable length.
15116 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15117 * nscd/nscd.c (invalidate_db): New function, broken out of ...
15118 (parse_opt): ... here. Likewise use alloca there.
15119 Validate the -i argument before checking for rootness.
15120 (send_shutdown): New function, broken out of ...
15121 (parse_opt): ... here.
15122
15123 2014-10-22 Roland McGrath <roland@hack.frob.com>
15124
15125 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15126 macro to get at the _rt_local_ro field.
15127 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15128 ([PIC] case) or _dl_hwcap ([!PIC] case).
15129 * sysdeps/arm/setjmp.S: Likewise.
15130
15131 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15132 * sysdeps/arm/configure.ac: New check to define it.
15133 * sysdeps/arm/configure: Regenerated.
15134 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15135 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15136 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15137 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15138 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15139 Use move/movt pair instead of a load.
15140 (LDST_GLOBAL): Macro removed.
15141 (LDR_GLOBAL): New macro replaces it.
15142 (LDR_HIDDEN): New macro.
15143 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15144 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15145
15146 * setjmp/tst-setjmp-static.c: New file.
15147 * setjmp/Makefile (tests): Add it.
15148 (tests-static): New variable.
15149
15150 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15151
15152 [BZ #17485]
15153 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15154
15155 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15156
15157 [BZ #14132]
15158 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15159
15160 2014-10-21 Roland McGrath <roland@hack.frob.com>
15161
15162 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15163
15164 2014-10-20 Roland McGrath <roland@hack.frob.com>
15165
15166 * io/fts.c (dirent_not_directory): New function.
15167 (fts_build): Call it.
15168
15169 2014-10-20 Roland McGrath <roland@hack.frob.com>
15170
15171 * nptl/version.c (__nptl_main): Use normal __write rather than
15172 INTERNAL_SYSCALL.
15173 (banner): Update copyright years.
15174
15175 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15176 gettimeofday.
15177 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15178 * nptl/pthread_cond_timedwait.c: Likewise.
15179 * nptl/pthread_mutex_timedlock.c: Likewise.
15180 * nptl/sem_timedwait.c: Likewise.
15181
15182 * sysdeps/nptl/bits/libc-lock.h
15183 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15184 (__libc_lock_init_recursive): Return void, not 0.
15185 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15186 (__libc_rwlock_init): Likewise.
15187 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15188
15189 2014-10-20 Torvald Riegel <triegel@redhat.com>
15190
15191 [BZ #15215]
15192 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15193 (__pthread_once_slow): ... here.
15194 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15195 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15196
15197 2014-10-20 Torvald Riegel <triegel@redhat.com>
15198
15199 [BZ #15215]
15200 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15201 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15202 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15203 * nptl/pthread_once.c (__pthread_once): Likewise.
15204 Update comments.
15205
15206 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15207
15208 [BZ #14138]
15209 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15210 name.
15211 (writev): Use __libc_writev as strong name.
15212 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15213 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15214
15215 2014-10-17 Roland McGrath <roland@hack.frob.com>
15216
15217 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15218
15219 * sysdeps/i386/nptl/tls.h
15220 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15221 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15222 New macros.
15223 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15224 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15225 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15226 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15227 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15228 Call CHECK_THREAD_SYSINFO instead of doing an assert.
15229
15230 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15231 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15232 on [__NR_futex].
15233 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15234 broken out of ...
15235 (__pthread_mutex_init): ... here. Call it.
15236 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15237 Conditionalize PI cases on [__NR_futex].
15238 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15239 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15240 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15241
15242 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15243 conditional on [SIGSETXID].
15244 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15245 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15246 is defined. Likewise for SIGSETXID.
15247 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15248 Conditionalize definitions on [SIGSETXID].
15249 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15250 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15251 unblocking on [SIGCANCEL].
15252
15253 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15254 [__NR_set_robust_list].
15255
15256 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15257
15258 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15259 (do_compare): Likewise.
15260
15261 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15262
15263 [BZ #15884]
15264 * string/strcoll_l.c: Don't include stdio.h.
15265 (coll_seq): Remove members idxarr and rulearr.
15266 (get_next_seq_cached): Remove function.
15267 (get_next_seq): Likewise.
15268 (get_next_seq_nocache): Rename to get_next_seq.
15269 (do_compare): Remove function.
15270 (do_compare_nocache): Rename to do_compare.
15271 (STRCOLL): Remove weight and rules cache.
15272
15273 2014-10-16 Roland McGrath <roland@hack.frob.com>
15274
15275 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15276 * sysdeps/arm/sfp-machine.h: ... to here.
15277 * sysdeps/arm/Implies: Remove arm/soft-fp.
15278
15279 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15280
15281 * conform/data/sys/utsname.h-data (*_t): Allow.
15282 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15283 [POSIX] (WEXITED): Do not expect constant.
15284 [POSIX] (WSTOPPED): Likewise.
15285 [POSIX] (WNOHANG): Likewise.
15286 [POSIX] (WNOWAIT): Likewise.
15287 [POSIX] (siginfo_t): Do not expect type or elements.
15288 [POSIX] (pid_t): Do not expect type.
15289 [POSIX] (signal.h): Do not allow header.
15290 [POSIX] (sys/resource.h): Likewise.
15291 [POSIX] (si_*): Do not allow pattern.
15292 [POSIX] (W*): Likewise.
15293 [POSIX] (P_*): Likewise.
15294 [POSIX] (BUS_*): Likewise.
15295 [POSIX] (CLD_*): Likewise.
15296 [POSIX] (FPE_*): Likewise.
15297 [POSIX] (ILL_*): Likewise.
15298 [POSIX] (POLL_*): Likewise.
15299 [POSIX] (SEGV_*): Likewise.
15300 [POSIX] (SI_*): Likewise.
15301 [POSIX] (TRAP_*): Likewise.
15302 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15303 variable.
15304
15305 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15306
15307 [BZ #12926]
15308 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15309 infinite loop when __recvmsg returns 0.
15310
15311 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15312
15313 * CANCEL-FCT-WAIVE: Remove file.
15314 * CANCEL-FILE-WAIVE: Likewise.
15315
15316 [BZ #14132]
15317 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15318 instead of INTVARDEF.
15319 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15320 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15321 rtld_hidden_data_def instead of INTVARDEF.
15322 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15323 * elf/dl-deps.c (expand_dst): Likewise.
15324 * elf/dl-load.c (_dl_dst_count): Likewise.
15325 (_dl_dst_substitute): Likewise.
15326 (decompose_rpath): Likewise.
15327 (_dl_init_paths): Likewise.
15328 (open_path): Likewise.
15329 (_dl_map_object): Likewise.
15330 * elf/rtld.c (dl_main): Likewise.
15331 (process_dl_audit): Likewise.
15332 (process_envvars): Likewise.
15333 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15334 Remove declaration.
15335 (__libc_enable_secure): Use rtld_hidden_proto.
15336
15337 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15338
15339 * elf/dl-load.c
15340 (add_path): New function broken out of _dl_rtld_di_serinfo.
15341 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15342
15343 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15344
15345 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15346 parentheses around macro arguments.
15347 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15348 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15349 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15350 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15351 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15352 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15353 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15354 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15355 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15356 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15357 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15358 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15359 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15360 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15361 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15362 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15363 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15364 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15365 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15366 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15367 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15368 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15369 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15370 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15371 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15372 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15373 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15374 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15375 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15376 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15377 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15378 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15379 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15380 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15381 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15382 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15383 Likewise.
15384 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15385 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15386 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15387 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15388 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15389 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15390 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15391 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15392 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15393 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15394 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15395 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15396 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15397 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15398 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15399 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15400 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15401 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15402 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15403 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15404 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15405 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15406 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15407 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15408 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15409 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15410 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15411 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15412 (_FP_FRAC_SRS_1): Likewise.
15413 (_FP_FRAC_CLZ_1): Likewise.
15414 (_FP_MUL_MEAT_1_imm): Likewise.
15415 (_FP_MUL_MEAT_1_wide): Likewise.
15416 (_FP_MUL_MEAT_1_hard): Likewise.
15417 (_FP_SQRT_MEAT_1): Likewise.
15418 (_FP_FRAC_ASSEMBLE_1): Likewise.
15419 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15420 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15421 (__FP_CLZ_2): Likewise.
15422 (_FP_MUL_MEAT_2_wide): Likewise.
15423 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15424 (_FP_MUL_MEAT_2_gmp): Likewise.
15425 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15426 (_FP_SQRT_MEAT_2): Likewise.
15427 (_FP_FRAC_ASSEMBLE_2): Likewise.
15428 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15429 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15430 (_FP_FRAC_CLZ_4): Likewise.
15431 (_FP_MUL_MEAT_4_wide): Likewise.
15432 (_FP_MUL_MEAT_4_gmp): Likewise.
15433 (_FP_SQRT_MEAT_4): Likewise.
15434 (_FP_FRAC_ASSEMBLE_4): Likewise.
15435 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15436 * soft-fp/op-common.h (_FP_CMP): Likewise.
15437 (_FP_CMP_EQ): Likewise.
15438 (_FP_CMP_UNORD): Likewise.
15439 (_FP_TO_INT): Likewise.
15440 (_FP_FROM_INT): Likewise.
15441 [!__FP_CLZ] (__FP_CLZ): Likewise.
15442 (_FP_DIV_HELP_imm): Likewise.
15443 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15444 Likewise.
15445 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15446 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15447 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15448 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15449 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15450 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15451 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15452 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15453 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15454 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15455 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15456 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15457 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15458 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15459 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15460 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15461 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15462 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15463 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15464 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15465 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15466 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15467 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15468 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15469 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15471 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15472 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15473 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15474 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15475 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15476 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15477 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15478 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15479 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15480 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15481 (FP_UNPACK_RAW_SP): Likewise.
15482 (FP_PACK_RAW_S): Likewise.
15483 (FP_PACK_RAW_SP): Likewise.
15484 (FP_UNPACK_S): Likewise.
15485 (FP_UNPACK_SP): Likewise.
15486 (FP_UNPACK_SEMIRAW_S): Likewise.
15487 (FP_UNPACK_SEMIRAW_SP): Likewise.
15488 (FP_PACK_S): Likewise.
15489 (FP_PACK_SP): Likewise.
15490 (FP_PACK_SEMIRAW_S): Likewise.
15491 (FP_PACK_SEMIRAW_SP): Likewise.
15492 (_FP_SQRT_MEAT_S): Likewise.
15493 (FP_CMP_S): Likewise.
15494 (FP_CMP_EQ_S): Likewise.
15495 (FP_CMP_UNORD_S): Likewise.
15496 (FP_TO_INT_S): Likewise.
15497 (FP_FROM_INT_S): Likewise.
15498
15499 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15500
15501 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15502 (FP_EX_INVALID_IMZ): Likewise.
15503 (FP_EX_INVALID_IMZ_FMA): Likewise.
15504 (FP_EX_INVALID_ISI): Likewise.
15505 (FP_EX_INVALID_ZDZ): Likewise.
15506 (FP_EX_INVALID_IDI): Likewise.
15507 (FP_EX_INVALID_SQRT): Likewise.
15508 (FP_EX_INVALID_CVI): Likewise.
15509 (FP_EX_INVALID_VC): Likewise.
15510 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15511 "invalid" exceptions.
15512 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15513 (_FP_ADD_INTERNAL): Likewise.
15514 (_FP_MUL): Likewise.
15515 (_FP_FMA): Likewise.
15516 (_FP_DIV): Likewise.
15517 (_FP_CMP_CHECK_NAN): Likewise.
15518 (_FP_SQRT): Likewise.
15519 (_FP_TO_INT): Likewise.
15520 (FP_EXTEND): Likewise.
15521
15522 2014-10-09 Allan McRae <allan@archlinux.org>
15523
15524 * po/fr.po: Update French translation from translation project.
15525
15526 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15527
15528 [BZ #14132]
15529 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15530 of INTDEF.
15531 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15532 (__cxa_atexit): Use libc_hidden_proto.
15533 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15534
15535 [BZ #14132]
15536 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15537 declaration.
15538 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15539 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15540 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15541 [!_ISOMAC] (__iswctype_internal): Likewise.
15542 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15543 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15544 alias.
15545 (fcntl): Remove __fcntl_internal alias.
15546 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15547 __connect_internal alias.
15548 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15549 Likewise.
15550
15551 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15552 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15553 FP_DENORM_ZERO.
15554 (_FP_CHECK_FLUSH_ZERO): New macro.
15555 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15556 (_FP_CMP): Likewise.
15557 (_FP_CMP_EQ): Likewise.
15558 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15559 FP_DENORM_ZERO.
15560 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15561 (FP_TRUNC): Likewise.
15562
15563 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15564 treated as invalid conversion, not as normal exponent.
15565
15566 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15567 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15568 (_FP_CMP_EQ): Likewise.
15569 (_FP_CMP_UNORD): Likewise.
15570 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15571 (FP_CMP_EQ_D): Likewise.
15572 (FP_CMP_UNORD_D): Likewise.
15573 * soft-fp/extended.h (FP_CMP_E): Likewise.
15574 (FP_CMP_EQ_E): Likewise.
15575 (FP_CMP_UNORD_E): Likewise.
15576 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15577 (FP_CMP_EQ_Q): Likewise.
15578 (FP_CMP_UNORD_Q): Likewise.
15579 * soft-fp/single.h (FP_CMP_S): Likewise.
15580 (FP_CMP_EQ_S): Likewise.
15581 (FP_CMP_UNORD_S): Likewise.
15582 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15583 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15584 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15585 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15586 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15587 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15588 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15589 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15590 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15591 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15592 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15593 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15594 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15595 to FP_CMP_Q.
15596 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15597 FP_CMP_Q.
15598 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15599 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15600 FP_CMP_EQ_Q.
15601 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15602 FP_CMP_Q.
15603 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15604 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15605 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15606 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15607 FP_CMP_EQ_Q.
15608 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15609 FP_CMP_Q.
15610 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15611 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15612 FP_CMP_EQ_Q.
15613 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15614 FP_CMP_Q.
15615 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15616 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15617 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15618 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15619 FP_CMP_EQ_Q.
15620
15621 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15622 a subnormal result, set the underflow exception if trapping on
15623 underflow is enabled.
15624 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15625 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15626 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15627 redefine to 0.
15628 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15629 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15630 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15631 * soft-fp/extendxftf2.c (__extendxftf2): Use
15632 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15633
15634 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15635 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15636 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15637 FP_HANDLE_EXCEPTIONS.
15638 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15639 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15640 FP_HANDLE_EXCEPTIONS.
15641 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15642 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15643 FP_HANDLE_EXCEPTIONS.
15644 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15645 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15646 FP_HANDLE_EXCEPTIONS.
15647
15648 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15649
15650 [BZ #14132]
15651 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15652 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15653 use INTUSE.
15654 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15655 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15656 Remove alias.
15657 (__adjtimex): Define using libc_hidden_ver.
15658 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15659 Remove declaration.
15660 (ntp_gettime): Call __adjtimex directly.
15661 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15662 Remove declaration.
15663 (ntp_gettimex): Call __adjtimex directly.
15664 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15665 __adjtimex_internal alias.
15666
15667 2014-10-08 Roland McGrath <roland@hack.frob.com>
15668
15669 [BZ #17460]
15670 * nscd/nscd.c (more_help): Rewrite list of tables collection
15671 using xstrdup and asprintf.
15672
15673 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15674
15675 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15676 Roland McGrath <roland@hack.frob.com>
15677
15678 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15679 (do_lookup_unique): ... local function 'enter' here; update callers.
15680
15681 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15682
15683 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15684 compat_symbol calls on [SHARED].
15685 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15686 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15687 Remove.
15688 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15689 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15690 (oldsetrlimit): Remove.
15691 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15693 (lchown): New syscall entry.
15694 (oldsetrlimit): Remove.
15695 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15696 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15697 (oldsetrlimit): Remove.
15698 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15699
15700 [BZ #14138]
15701 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15702 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15703 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15704 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15705 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15706 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15707 (fchown): Likewise.
15708 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15709 (fchown): Likewise.
15710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15711 Likewise.
15712
15713 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15714
15715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15716 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15717 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15718 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15719 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15720 Likewise.
15721 (__old_sem_post): Likewise.
15722
15723 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15724
15725 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15726 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15727 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15728 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15729 Use INLINE_VSYSCALL macro.
15730 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15731 __vdso_clock_gettime.
15732 * sysdeps/unix/sysv/linux/tile/init-first.c
15733 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15734 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15735 __vdso_clock_gettime.
15736
15737 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15738 to set up frame more cleanly.
15739
15740 * sysdeps/tile/memcmp.c: New file.
15741
15742 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15743
15744 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15745 * sysdeps/tile/tilegx/strcasestr.c: New file.
15746 * sysdeps/tile/tilegx/strnlen.c: New file.
15747 * sysdeps/tile/tilegx/strstr.c: New file.
15748
15749 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15750
15751 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15752
15753 * nptl/tst-setuid3.c: Write errors to stdout.
15754
15755 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15756
15757 * elf/dl-deps.c
15758 (preload): New functions broken out of _dl_map_object_deps.
15759 (_dl_map_object_deps): Remove a nested function. Update call sites.
15760
15761 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15762
15763 [BZ #14138]
15764 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15765 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15766
15767 2014-10-01 Steve Ellcey <sellcey@mips.com>
15768
15769 * sysdeps/mips/strcmp.S: New.
15770
15771 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15772
15773 [BZ #14138]
15774 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15775 (linkat): Likewise.
15776 (mkdirat): Likewise.
15777 (readlinkat): Likewise.
15778 (renameat): Likewise.
15779 (symlinkat): Likewise.
15780 (unlinkat): Likewise.
15781 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15782 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15783 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15784 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15785 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15786 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15787 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15788
15789 2014-09-30 Will Newton <will.newton@linaro.org>
15790
15791 * math/math.h: Define long double math functions if
15792 _LIBC_TEST is defined.
15793 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15794
15795 * localedata/Makefile: Move assignment to tests-special
15796 into an ifdef testing run-built-tests.
15797 * timezone/Makefile: Likewise.
15798
15799 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15800
15801 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15802 with $(BASH) not $(SHELL).
15803
15804 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15805 Matthew LeGendre <legendre1@llnl.gov>
15806
15807 [BZ #17411]
15808 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15809 l_reloc_result.
15810
15811 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15812
15813 * stdio-common/printf_fp.c
15814 (hack_digit): New function, broken out of ...
15815 (__printf_fp): ... local function here. Update call sites.
15816 hack_digit now takes an additional parameter that is a pointer
15817 to a struct of the referenced locals. Those locals moved inside
15818 the struct and references updated.
15819
15820 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15821
15822 * aclocal.m4: Require autoconf 2.69.
15823 * configure: Regenerated.
15824 * sysdeps/aarch64/configure: Likewise.
15825 * sysdeps/alpha/configure: Likewise.
15826 * sysdeps/arm/armv7/configure: Likewise.
15827 * sysdeps/arm/configure: Likewise.
15828 * sysdeps/ia64/configure: Likewise.
15829 * sysdeps/mach/configure: Likewise.
15830 * sysdeps/mips/configure: Likewise.
15831 * sysdeps/s390/configure: Likewise.
15832 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15834
15835 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15836 file.
15837 * sysdeps/ia64/configure.ac: Likewise.
15838
15839 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15840
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15842 specify symbol version for ld.so. Do not include entry for
15843 libpthread.
15844 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15845 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15846 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15847
15848 [BZ #14171]
15849 * Makeconfig [$(build-shared) = yes]
15850 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15851 makefiles.
15852 [$(build-shared) = yes && $(soversions.mk-done) = t]
15853 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15854 [$(build-shared) = yes && $(soversions.mk-done) = t]
15855 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15856 to Makerules.
15857 [$(build-shared) = yes && $(soversions.mk-done) = t]
15858 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15859 here.
15860 [$(build-shared) = yes && $(soversions.mk-done) = t]
15861 (common-generated): Don't append gnu/lib-names.h and
15862 gnu/lib-names.stmp here.
15863 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15864 (lib-names-h-abi): New variable.
15865 [$(build-shared) = yes && $(soversions.mk-done) = t]
15866 (lib-names-stmp-abi): Likewise.
15867 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15868 abi-variants] (before-compile): Append
15869 $(common-objpfx)$(lib-names-h-abi).
15870 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15871 abi-variants] (common-generated): Append gnu/lib-names.h.
15872 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15873 abi-variants] (install-others-nosubdir): Depend on
15874 $(inst_includedir)/$(lib-names-h-abi).
15875 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15876 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15877 [$(build-shared) = yes && $(soversions.mk-done) = t]
15878 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15879 [$(build-shared) = yes && $(soversions.mk-done) = t]
15880 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15881 [$(build-shared) = yes && $(soversions.mk-done) = t]
15882 (common-generated): Append $(lib-names-h-abi) and
15883 $(lib-names-stmp-abi).
15884 * scripts/lib-names.awk: Do not handle multi being set.
15885 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15886 Remove variable.
15887 (abi-lp64_be-ld-soname): Likewise.
15888 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15889 Likewise.
15890 (abi-hard-ld-soname): Likewise.
15891 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15892 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15893 Remove variable.
15894 (abi-o32_hard-ld-soname): Likewise.
15895 (abi-o32_soft_2008-ld-soname): Likewise.
15896 (abi-o32_hard_2008-ld-soname): Likewise.
15897 (abi-n32_soft-ld-soname): Likewise.
15898 (abi-n32_hard-ld-soname): Likewise.
15899 (abi-n32_soft_2008-ld-soname): Likewise.
15900 (abi-n32_hard_2008-ld-soname): Likewise.
15901 (abi-n64_soft-ld-soname): Likewise.
15902 (abi-n64_hard-ld-soname): Likewise.
15903 (abi-n64_soft_2008-ld-soname): Likewise.
15904 (abi-n64_hard_2008-ld-soname): Likewise.
15905 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15906 Likewise.
15907 (abi-64-v2-ld-soname): Likewise.
15908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15909 ld.so entries.
15910 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15911 variable.
15912 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15913 entry.
15914 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15915 variable.
15916 (abi-64-ld-soname): Likewise.
15917 (abi-x32-ld-soname): Likewise.
15918 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15919 entry.
15920 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15921
15922 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15923
15924 [BZ #14138]
15925 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15926 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15927 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15928 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15929 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15930 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15931 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15932 syscall entry for GLIBC_2.2 symbol version.
15933 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15934 Likewise.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15936 (setrlimit): Likewise.
15937 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15938 Likewise.
15939
15940 2014-09-23 Will Newton <will.newton@linaro.org>
15941
15942 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15943 _LINUX_ARM_SYSDEP_H include guard too.
15944 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15945 define.
15946
15947 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15948
15949 * sysdeps/unix/sysv/linux/eventfd.c:
15950 Make first argument unsigned.
15951 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15952 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15953
15954 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15955
15956 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15957 * socket/sys/socket.h: Likewise
15958 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15959
15960 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15961
15962 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15963
15964 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15965
15966 * time/tst-ftime.c: New test.
15967 * time/Makefile (tests): Add tst-ftime.
15968
15969 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15970
15971 * soft-fp/extended.h: Fix comment formatting.
15972 * soft-fp/op-1.h: Likewise.
15973 * soft-fp/op-2.h: Likewise.
15974 * soft-fp/op-4.h: Likewise.
15975 * soft-fp/op-8.h: Likewise.
15976 * soft-fp/op-common.h: Likewise.
15977 * soft-fp/soft-fp.h: Likewise.
15978
15979 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15980
15981 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15982
15983 [BZ #6652]
15984 * Makeconfig (soversions-default-setname): Remove variable.
15985 ($(common-objpfx)soversions.i): Don't pass default_setname to
15986 soversions.awk.
15987 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15988 oldest_abi to abi-versions.awk.
15989 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15990 * config.make.in (oldest-abi): Remove variable.
15991 * configure.ac (--enable-oldest-abi): Remove configure option.
15992 * configure: Regenerated.
15993 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15994 text.
15995 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15996 * scripts/soversions.awk: Do not handle default_setname variable.
15997 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15998 variable.
15999 * sysdeps/mach/hurd/configure: Regenerated.
16000 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16001 variable.
16002 * sysdeps/unix/sysv/linux/configure: Regenerated.
16003
16004 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16005
16006 * elf/Makefile (CFLAGS-interp.c): Remove.
16007 ($(elf-objpfx)runtime-linker.h): Generate header with linker
16008 path string.
16009 * elf/interp.c: Include generated runtime-linker.h
16010
16011 * Makerules (lib%.so): Don't include $(+interp) in
16012 prerequisites.
16013 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16014 * dlfcn/eval.c: Remove file.
16015
16016 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16017 macros.
16018
16019 [BZ #17266]
16020 * misc/sys/cdefs.h: Define __extern_always_inline for clang
16021 4.2 and newer.
16022
16023 [BZ #17370]
16024 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16025
16026 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16027 Jakub Jelinek <jakub@redhat.com>
16028
16029 [BZ #17266]
16030 * libio/stdio.h: Check definition of __fortify_function
16031 instead of __extern_always_inline to include bits/stdio2.h.
16032 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16033 check if __extern_always_inline is defined.
16034 [__USE_MISC || __USE_XOPEN]: Likewise.
16035 [__USE_ISOC99] Likewise.
16036 * misc/sys/cdefs.h (__fortify_function): Define only if
16037 __extern_always_inline is defined.
16038 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16039 __extern_always_inline and __extern_inline only for g++-4.3
16040 and newer or a compatible gcc.
16041
16042 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
16043
16044 [BZ #17371]
16045 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16046 last change to handle zero prefix length.
16047
16048 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16049
16050 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16051 _SC_REGEX_VERSION.
16052
16053 * posix/getconf.c (vars): Add _POSIX_IPV6 and
16054 _POSIX_RAW_SOCKETS.
16055
16056 2014-09-13 Allan McRae <allan@archlinux.org>
16057
16058 * po/ru.po: Update Russian translation from translation project.
16059
16060 2014-09-12 Roland McGrath <roland@hack.frob.com>
16061
16062 * locale/programs/locale.c (show_locale_vars): Inline local function
16063 into its sole call site. Clean up some style nits.
16064 (print_item): New function, broken out of ...
16065 (show_info): ... local function here. Clean up style nits.
16066
16067 * locale/programs/ld-ctype.c (set_one_default): New function, broken
16068 out of ...
16069 (set_class_defaults): ... local function set_default here.
16070 Define set_default as a macro locally to pass constant parameters.
16071 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16072 rather than a shared local.
16073
16074 * stdlib/rpmatch.c (try): New function, broken out of ...
16075 (rpmatch): ... local function here. Also, prototypify definition.
16076
16077 2014-09-12 Joseph Myers <joseph@codesourcery.com>
16078
16079 * scripts/soversions.awk: Do not handle configuration names.
16080 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16081 vendor and os variables to soversions.awk.
16082 * configure.ac: Do not modify gnu-* host_os.
16083 * configure: Regenerated
16084 * shlib-versions: Remove first column with configuration names.
16085 * nptl/shlib-versions: Likewise.
16086 * nptl_db/shlib-versions: Likewise.
16087 * sysdeps/hppa/shlib-versions: Likewise.
16088 * sysdeps/m68k/shlib-versions: Likewise.
16089 * sysdeps/mach/hurd/shlib-versions: Likewise.
16090 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16091 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16092 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16093 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16094 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16095 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16096 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16097 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16099 Likewise.
16100 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16101 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16102 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16103 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16104 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16105 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16106 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16107 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16108
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16110 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16112 Regenerated.
16113 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16115 Condition symbol version definitions on [HAVE_ELFV2_ABI].
16116
16117 * shlib-versions: Remove OS-specific entries. Moved to files in
16118 sysdeps.
16119 * sysdeps/mach/hurd/shlib-versions: New file.
16120 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16121
16122 * nptl/shlib-versions: Remove architecture-specific entries.
16123 Moved to files in sysdeps.
16124 * shlib-versions: Likewise.
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16126 file.
16127 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16128 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16129 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16130 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16131
16132 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16133 (UDP_NO_CHECK6_RX): Likewise.
16134
16135 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16136
16137 * sysdeps/posix/sysconf.c (__sysconf): Spell
16138 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16139
16140 2014-08-12 Florian Weimer <fweimer@redhat.com>
16141
16142 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16143 loading.
16144 * iconv/Versions (__gconv_transliterate): Export for use from
16145 gconv modules.
16146 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16147 (struct __gconv_trans_data, __gconv_trans_fct,
16148 __gconv_trans_context_fct, __gconv_trans_query_fct,
16149 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16150 definitions.
16151 (struct __gconv_step_data): Remove __trans member.
16152 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16153 longer hidden. Remove unused trans_data argument.
16154 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16155 (__gconv_translit_find): Remove declaration.
16156 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16157 prototype.
16158 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16159 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16160 trans_data argument. Add hidden definition.
16161 (__gconv_translit_find): Remove.
16162 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16163 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16164 * iconv/skeleton.c: Remove transliteration initialization.
16165 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16166 __gconv_step_data initialization.
16167 * libio/iofwide.c (__libio_translit_): Remove.
16168 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16169 * wcsmbs/btowc.c (__btowc): Likewise.
16170 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16171 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16172 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16173 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16174 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16175 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16176 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16177 * wcsmbs/wctob.c (wctob): Likewise.
16178
16179 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16180
16181 [BZ #16194]
16182 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16183 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16184 register usage.
16185 * sysdeps/x86/Makefile: Adjust.
16186
16187 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16188 Roland McGrath <roland@hack.frob.com>
16189
16190 * locale/weight.h: Add include guard.
16191 (findidx): Make static rather than auto; take new parameters
16192 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16193 * locale/weightwc.h: Likewise.
16194 * posix/fnmatch_loop.c
16195 (FCT): Change type of EXTRA from int32_t to wint_t.
16196 Don't include either header inside the function.
16197 Call FINDIDX rather than findidx, and pass new arguments.
16198 #undef FINDIDX at the end of the file.
16199 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16200 FINDIDX before including fnmatch_loop.c for the non-wide version.
16201 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16202 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16203 for the wide version.
16204 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16205 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16206 Pass new arguments to findidx.
16207 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16208 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16209 Don't #include it inside the function. Pass new arguments to findidx.
16210 * posix/regex_internal.h
16211 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16212 (re_string_elem_size_at): Don't #include it inside the function.
16213 Pass new arguments to findidx.
16214 * string/strcoll_l.c: #include WEIGHT_H at top level.
16215 (get_next_seq): Don't #include it inside the function.
16216 Pass new arguments to findidx.
16217 (get_next_seq_nocache): Likewise.
16218 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16219 (STRXFRM): Don't #include it inside the function.
16220 Pass new arguments to findidx.
16221
16222 2014-09-11 Florian Weimer <fweimer@redhat.com>
16223
16224 [BZ #17344]
16225 * malloc/malloc.c (unlink): Turn asserts into a call to
16226 malloc_printerr.
16227
16228 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
16229
16230 [BZ #17370]
16231 * libio/wfileops (do_ftell_wide): Free OUT.
16232
16233 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
16234
16235 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16236
16237 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16238
16239 [BZ #17363]
16240 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16241 group if the current group is empty.
16242
16243 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16244
16245 * benchtests/bench-memset.c (test_main): Add more test from size
16246 from 32 to 512 bytes.
16247 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16248 Add POWER8 memset object.
16249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16250 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16251 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16252 implementation.
16253 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16254 Likewise.
16255 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16256 multiarch POWER8 memset optimization.
16257 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16258 POWER8 memset optimization.
16259
16260 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16261 Remove bzero multiarch objects.
16262 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16263 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16264 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16265 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16266 Remove define.
16267 [__bzero]: Redefine to specific name.
16268 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16269 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16270 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16271 define.
16272 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16273 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16274
16275 2014-09-10 Florian Weimer <fweimer@redhat.com>
16276
16277 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16278 warnings into errors.
16279
16280 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16281 __cxa_thread_atexit_impl prototype.
16282
16283 2014-09-09 Steve Ellcey <sellcey@mips.com>
16284
16285 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16286 Fix capitalization of error message.
16287
16288 2014-09-09 Steve Ellcey <sellcey@mips.com>
16289
16290 * sysdeps/mips/preconfigure: Modify ABI tests.
16291
16292 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16293
16294 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16295
16296 2014-09-07 Roland McGrath <roland@hack.frob.com>
16297 Carlos O'Donell <carlos@systemhalted.org>
16298
16299 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16300 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16301 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16302 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16303 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16304 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16305 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16306 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16307 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16308 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16309 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16310 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16311 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16312 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16313 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16314 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16315 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16316 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16317 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16318 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16319 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16320 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16321 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16322 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16323 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16324 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16325 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16326 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16327 Deconditionalize the code that was previously under [RESET_PID].
16328 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16329 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16330 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16331 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16332 include sysdep.h.
16333
16334 2014-09-08 Allan McRae <allan@archlinux.org>
16335
16336 * version.h (RELEASE): Set to "development".
16337 (VERSION): Set to "2.20.90"
16338
16339 2014-09-07 Allan McRae <allan@archlinux.org
16340
16341 * version.h (RELEASE): Set to "stable".
16342 (VERSION): Set to "2.20"
16343 * include/features.h (__GLIBC_MINOR__): Set to 20.
16344
16345 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16346 Liebler.
16347
16348 * po/ko.po: Update Korean translation from translation project.
16349
16350 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16351
16352 [BZ #17354]
16353 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16354 macro for handling signed relocations.
16355
16356 2014-09-03 Florian Weimer <fweimer@redhat.com>
16357
16358 [BZ #17325]
16359 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16360 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16361 assert.
16362 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16363 * iconvdata/ibm935.c (BODY): Likewise.
16364 * iconvdata/ibm937.c (BODY): Likewise.
16365 * iconvdata/ibm939.c (BODY): Likewise.
16366 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16367 assert.
16368 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16369 script.
16370 * iconvdata/run-iconv-test.sh: New test loop for checking for
16371 decoder crashers.
16372
16373 2014-09-02 Khem Raj <raj.khem@gmail.com>
16374
16375 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16376 libm_hidden_ver.
16377
16378 2014-09-01 Allan McRae <allan@archlinux.org>
16379
16380 * po/eo.po: Update Esperanto translation from translation project.
16381
16382 * po/ca.po: Update Catalan translation from translation project.
16383
16384 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16385
16386 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16387 __proc_dostop call.
16388
16389 2014-08-27 Mark Wielaard <mjw@redhat.com>
16390
16391 [BZ #17319]
16392 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16393 to call set_thread_area instead of hand written asm.
16394 (__NR_set_thread_area): Removed define.
16395 (TLS_FLAG_WRITABLE): Likewise.
16396 (__ASSUME_SET_THREAD_AREA): Remove check.
16397 (TLS_EBX_ARG): Remove define.
16398 (TLS_LOAD_EBX): Likewise.
16399
16400 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16401
16402 Simplify atomicity of socket creation in bind.
16403
16404 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16405 looking up the name after linking the file.
16406
16407 2014-08-27 Allan McRae <allan@archlinux.org>
16408
16409 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16410
16411 2014-08-26 Florian Weimer <fweimer@redhat.com>
16412
16413 [BZ #17187]
16414 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16415 trans_compare, open_translit, __gconv_translit_find):
16416 Remove module loading code.
16417
16418 2014-08-26 Allan McRae <allan@archlinux.org>
16419
16420 * po/vi.po: Update Vietnamese translation from translation project.
16421
16422 * po/uk.po: Update Ukrainian translation from translation project.
16423
16424 * po/fr.po: Update French translation from translation project.
16425
16426 * po/ru.po: Update Russian translation from translation project.
16427
16428 * po/pl.po: Update Polish translation from translation project.
16429
16430 * po/cs.po: Update Czech translation from translation project.
16431
16432 * po/de.po: Update German translation from translation project.
16433
16434 * po/bg.po: Update Bulgarian translation from translation project.
16435
16436 * po/sv.po: Update Sweedish translation from translation project.
16437
16438 * po/nl.po: Update Dutch translation from translation project.
16439
16440 * po/es.po: Update Spanish translation from translation project.
16441
16442 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16443
16444 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16445
16446 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16447 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16448 (CPPFLAGS-iconvconfig): Likewise.
16449 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16450
16451 * include/libc-symbols.h: Remove unnecessary check for
16452 NOT_IN_libc.
16453 * nptl/pthreadP.h: Likewise.
16454 * sysdeps/aarch64/setjmp.S: Likewise.
16455 * sysdeps/alpha/setjmp.S: Likewise.
16456 * sysdeps/arm/sysdep.h: Likewise.
16457 * sysdeps/i386/setjmp.S: Likewise.
16458 * sysdeps/m68k/setjmp.c: Likewise.
16459 * sysdeps/posix/getcwd.c: Likewise.
16460 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16461 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16462 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16463 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16464 * sysdeps/sh/sh3/setjmp.S: Likewise.
16465 * sysdeps/sh/sh4/setjmp.S: Likewise.
16466 * sysdeps/unix/alpha/sysdep.h: Likewise.
16467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16468 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16469 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16470 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16473 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16475 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16476 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16478 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16480 * sysdeps/x86_64/setjmp.S: Likewise.
16481
16482 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16483
16484 [BZ #17263]
16485 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16486 <stdint.h>.
16487 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16488 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16489
16490 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16491
16492 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16493
16494 [BZ #17262]
16495 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16496 and __x86_64__ when disabling x87 inline functions.
16497
16498 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16499
16500 [BZ #17259]
16501 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16502 asm statement with __cpuid_count.
16503
16504 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16505
16506 * configure.ac: Change __ehdr_start code to dereference the struct.
16507 Run readelf on the output to look for relocations.
16508 * configure: Regenerated.
16509
16510 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16511
16512 [BZ #17261]
16513 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16514 value to 0.
16515 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16516
16517 2014-08-12 Roland McGrath <roland@hack.frob.com>
16518
16519 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16520
16521 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16522
16523 [BZ #16892]
16524 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16525 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16526
16527 2014-08-12 Sean Anderson <seanga2@gmail.com>
16528
16529 * malloc/malloc.c: Fix typo in comment.
16530
16531 2014-08-09 Allan McRae <allan@archlinux.org>
16532
16533 * Regenerate libc.po.
16534
16535 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16536
16537 * intl/tst-gettext2.sh: Check every lang file for creation.
16538
16539 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16540
16541 * sysdeps/aarch64/fpu/math_private.h
16542 (libc_feholdsetround_noex_aarch64_ctx): New function.
16543
16544 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16545
16546 * sysdeps/arm/armv6/strcpy.S (strcpy):
16547 Fix performance issue in misaligned cases.
16548
16549 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16550
16551 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16552 Move definition from termios.h.
16553 (struct termio): Likewise.
16554 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16555 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16556 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16557 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16558 Likewise.
16559 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16560 Move definition to ioctl-types.h
16561 (struct termio): Likewise.
16562 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16563 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16564 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16565 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16566 Likewise.
16567
16568 2014-08-05 Richard Henderson <rth@redhat.com>
16569
16570 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16571 exceptions.
16572 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16573 Add fraiseexcpt.
16574 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16575 Use __feraiseexcept.
16576 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16577 Protect libm symbols with IS_IN_libm.
16578
16579 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16580
16581 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16582
16583 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16584
16585 2014-08-04 Will Newton <will.newton@linaro.org>
16586
16587 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16588 file.
16589
16590 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16591
16592 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16593 variants for each function.
16594
16595 2014-08-04 Roland McGrath <roland@hack.frob.com>
16596
16597 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16598 appended ...
16599 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16600 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16601 appended ...
16602 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16603 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16604 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16605 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16606 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16607 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16608 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16609 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16610 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16611 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16612 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16613 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16614 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16615 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16616 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16617 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16618 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16619 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16620 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16621 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16622 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16623 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16624 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16625 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16626 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16627 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16628 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16629 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16630 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16631 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16632 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16633 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16634 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16635 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16636 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16637 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16638 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16639 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16640 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16641 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16642 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16643 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16644 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16645 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16646 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16647 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16648 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16650 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16651 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16652 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16653 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16654 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16655 Update #include.
16656 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16657 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16658
16659 2014-08-04 Roland McGrath <roland@hack.frob.com>
16660
16661 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16662 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16663 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16664 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16665 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16666 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16667
16668 2014-08-04 Roland McGrath <roland@hack.frob.com>
16669
16670 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16671 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16672 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16673 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16674
16675 2014-08-04 Roland McGrath <roland@hack.frob.com>
16676
16677 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16678 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16679 (__libc_vfork): Define function under this name.
16680 (__vfork): Define as an alias.
16681 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16682 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16683
16684 2014-08-04 Roland McGrath <roland@hack.frob.com>
16685
16686 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16687 that was previously under [RESET_PID].
16688 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16689
16690 2014-08-04 Andreas Schwab <schwab@suse.de>
16691
16692 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16693
16694 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16695
16696 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16697 (main): Likewise.
16698
16699 2014-08-01 Roland McGrath <roland@hack.frob.com>
16700
16701 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16702
16703 2014-08-01 Richard Henderon <rth@redhat.com>
16704
16705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16706 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16707 typo in exact zero test.
16708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16709 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16710 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16711
16712 2014-08-01 Roland McGrath <roland@hack.frob.com>
16713
16714 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16715 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16716 * sysdeps/arm/sysdep.h: ... here.
16717 [!__ASSEMBLER__]: Include <stdint.h>.
16718
16719 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16720
16721 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16722 (HAVE_WCTYPE_H): Likewise.
16723 (HAVE_ISWCTYPE): Likewise.
16724 (ENABLE_NLS): Likewise.
16725 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16726 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16727
16728 * posix/regex_internal.c: Check if DEBUG is defined and is
16729 set.
16730
16731 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16732 (HAVE_MBSRTOWCS): Likewise.
16733 * posix/fnmatch.c: Include string.h unconditionally.
16734
16735 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16736
16737 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16738 reversal.
16739
16740 2014-07-31 Roland McGrath <roland@hack.frob.com>
16741
16742 * sysdeps/generic/safe-fatal.h: New file.
16743 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16744 * nptl/forward.c: Include it.
16745 (__pthread_unwind): Use __safe_fatal as default action, rather
16746 than a bogus use of INTERNAL_SYSCALL that could never work.
16747
16748 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16749 * configure.ac (libc_cv_builtin_trap): New test.
16750 * configure: Regenerated.
16751 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16752 (ABORT_INSTRUCTION): Define using __builtin_trap.
16753
16754 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16755 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16756 * sysdeps/nptl/nptl-signals.h: New file.
16757 * nptl/pthreadP.h: Include <nptl-signals.h>.
16758
16759 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16760
16761 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16762 (ONE_DIRECTION): Define.
16763 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16764 (ONE_DIRECTION): Define.
16765 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16766 (ONE_DIRECTION): Define.
16767
16768 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16769
16770 * sysdeps/s390/Makefile: Delete file.
16771 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16772 * sysdeps/s390/__longjmp.c: Delete file.
16773 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16774 Remove fields __flags and __reserved.
16775 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16776 and add versioning.
16777 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16778 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16779 * sysdeps/s390/rtld-setjmp.S: Likewise.
16780 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16781 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16782 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16783 * sysdeps/s390/s390-32/setjmp.S: ... here.
16784 Add versioning.
16785 (__sigsetjmp): Remove setting __flags field.
16786 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16787 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16788 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16789 * sysdeps/s390/s390-64/setjmp.S: ... here.
16790 Add versioning.
16791 (__sigsetjmp): Remove setting __flags field.
16792 * sysdeps/s390/setjmp.S: Delete file.
16793 * sysdeps/s390/sigjmp.c: Likewise.
16794 * sysdeps/s390/v1-longjmp.c: Likewise.
16795 * sysdeps/s390/v1-setjmp.h: Likewise.
16796 * sysdeps/s390/v1-sigjmp.c: Likewise.
16797 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16798 Remove v1-longjmp_chk.
16799 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16800 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16801 Include debug/longjmp_chk.c and add versioning.
16802 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16803 Include nptl/pt-longjmp.c and add versioning.
16804 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16805 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16806 Include __longjmp.c.
16807 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16808 Move to ...
16809 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16810 (__getcontext): Remove setting __flags field.
16811 Add versioning.
16812 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16813 Don't restore upper high grps.
16814 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16815 Likewise.
16816 (__swapcontext): Remove setting uc_flags field.
16817 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16818 Delete file.
16819 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16820 Include __longjmp.c.
16821 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16822 Move to ...
16823 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16824 (__getcontext): Remove setting __flags field.
16825 Add versioning.
16826 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16827 (__swapcontext): Remove setting uc_flags field.
16828 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16829 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16830 Remove fields uc_high_gprs and __reserved.
16831 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16832 New file with reverted content.
16833 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16834 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16835 Regenerated.
16836 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16837 Regenerated.
16838
16839 2014-07-31 Andreas Schwab <schwab@suse.de>
16840
16841 * config.h.in (HAVE_IFUNC): Define to 0.
16842 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16843 definedness.
16844
16845 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16846
16847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16848 memmove-avx-unaligned, memcpy-avx-unaligned and
16849 mempcpy-avx-unaligned.
16850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16851 Add tests for AVX memcpy functions.
16852 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16853 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16854 memcpy_chk.
16855 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16856 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16857 memmove_chk.
16858 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16859 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16860 mempcpy_chk.
16861 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16862 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16863 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16864
16865 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16866
16867 [BZ #17213]
16868 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16869 powerpc64le.
16870
16871 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16872
16873 [BZ #16839]
16874 * manual/llio.texi: Add section about open file description locks.
16875 * manual/examples/ofdlocks.c: Example of open file description
16876 lock usage.
16877 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16878 F_OFD_SETLK, and F_OFD_SETLKW.
16879
16880 2014-07-23 Allan McRae <allan@archlinux.org>
16881
16882 * po/es.po: Update Spanish translation from translation project.
16883
16884 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16885
16886 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16887
16888 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16889
16890 [BZ #17078]
16891 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16892 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16893 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16894
16895 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16896
16897 [BZ #17088]
16898 * math/fesetenv.c (__fesetenv)
16899 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16900 * math/feupdateenv.c (__feupdateenv)
16901 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16902
16903 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16904 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16905 (__ASSUME_SOCKETCALL): Do not define.
16906
16907 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16908 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16909 (__ASSUME_SOCKETCALL): Do not define.
16910 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16911 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16912 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16913 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16914 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16915 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16916 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16917 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16918
16919 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16920 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16921 (__ASSUME_SOCKETCALL): Do not define.
16922 (__ASSUME_IPC64): Define unconditionally.
16923 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16924 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16925 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16926 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16927 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16928 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16929 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16930 Likewise.
16931
16932 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16933 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16934 (__ASSUME_SOCKETCALL): Do not define.
16935 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16936 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16937 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16938 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16939 (__ASSUME_REQUEUE_PI): Define unconditionally.
16940 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16941 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16942 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16943 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16944 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16945 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16946
16947 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16948 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16949 (__ASSUME_SOCKETCALL): Do not define.
16950 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16951 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16952 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16953 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16954 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16955 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16956
16957 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16958 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16959 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16960 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16961 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16962 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16963 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16964 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16965 (__ASSUME_GETCPU_SYSCALL): Likewise.
16966
16967 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16968 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16969 cases for individual architectures.
16970 * sysdeps/gnu/configure: Regenerated.
16971 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16972 LIBC_SLIBDIR_RTLDDIR.
16973 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16974 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16975 LIBC_SLIBDIR_RTLDDIR.
16976 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16978 LIBC_SLIBDIR_RTLDDIR.
16979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16980 Regenerated.
16981 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16982 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16983 file.
16984 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16985 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16986 file.
16987 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16988 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16989 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16990 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16991
16992 * sysdeps/aarch64/shlib-versions: Move to ...
16993 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16994 * sysdeps/alpha/shlib-versions: Move to ...
16995 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16996 * sysdeps/arm/shlib-versions: Move to ...
16997 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16998 * sysdeps/hppa/shlib-versions: Move all contents except for
16999 libgcc_s entry to ...
17000 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
17001 entry from ...
17002 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
17003 * sysdeps/ia64/shlib-versions: Move to ...
17004 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
17005 entry from ...
17006 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
17007 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17008 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17009 * sysdeps/microblaze/shlib-versions: Move to ...
17010 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17011 * sysdeps/mips/shlib-versions: Move to ...
17012 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
17013 entry from ...
17014 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
17015 * sysdeps/tile/shlib-versions: Move to ...
17016 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17017 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17018 from ...
17019 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
17020 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17021 entry from ...
17022 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
17023
17024 2014-07-17 Will Newton <will.newton@linaro.org>
17025
17026 * sysdeps/arm/bits/atomic.h
17027 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17028 (__arch_compare_and_exchange_bool_16_int): Likewise.
17029 (__arch_compare_and_exchange_bool_64_int): Likewise.
17030
17031 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17032 into an #else block.
17033
17034 2014-07-16 Roland McGrath <roland@hack.frob.com>
17035
17036 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17037 just Linux configurations. Test empirically that the compiler sets
17038 __ARM_EABI__, rather than using the tuple to decide.
17039 * sysdeps/arm/preconfigure: Regenerated.
17040 * sysdeps/unix/sysv/linux/arm/configure: File removed.
17041 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17042 contents appended ...
17043 * sysdeps/arm/configure.ac: ... here.
17044 * sysdeps/arm/configure: Regenerated.
17045
17046 2014-07-15 Roland McGrath <roland@hack.frob.com>
17047
17048 * nptl/pthread_kill.c: New file.
17049 * nptl/pthread_sigmask.c: New file.
17050 * nptl/pthread_sigqueue.c: New file.
17051
17052 * sysdeps/nptl/lowlevellock.h: New file.
17053 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17054 * sysdeps/nptl/lowlevellock-futex.h: New file.
17055
17056 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17057 Remove dead declarations.
17058
17059 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
17060
17061 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17062 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17063 config-cflags-avx2.
17064 * sysdeps/x86_64/configure.ac: Likewise.
17065 * sysdeps/i386/configure: Regenerated.
17066 * sysdeps/x86_64/configure: Likewise.
17067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17068 memset-avx2 only if config-cflags-avx2 is yes.
17069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17070 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17071 defined.
17072 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17073 only if HAVE_AVX2_SUPPORT is defined.
17074 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17075
17076 2014-07-14 Alan Modra <amodra@gmail.com>
17077
17078 [BZ #17153]
17079 * elf/elf.h (DT_PPC64_NUM): Correct value.
17080 * NEWS: Add to fixed bug list.
17081
17082 2014-07-13 Jim Meyering <meyering@fb.com>
17083
17084 [BZ 17150]
17085 regex: don't deref NULL upon heap allocation failure
17086 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17087 failure in one more place.
17088 To trigger the segfault, configure grep -with-included-regex,
17089 build it, and run these commands:
17090 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17091
17092 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
17093
17094 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17095
17096 2014-07-11 Richard Henderson <rth@redhat.com>
17097
17098 * sysdeps/aarch64/libm-test-ulps: Update.
17099
17100 2014-07-10 Florian Weimer <fweimer@redhat.com>
17101
17102 [BZ #17135]
17103 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17104 * nptl/allocatestack.c (__nptl_setxid_error): New function.
17105 (__nptl_setxid): Initialize error member. Call
17106 __nptl_setxid_error.
17107 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17108 * nptl/descr.h (struct xid_command): Add error member.
17109 * nptl/tst-setuid3.c: New file.
17110 * nptl/Makefile (tests): Add it.
17111
17112 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17113
17114 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17115 New define.
17116 (__lll_trylock): Use __lll_base_trylock.
17117 (__lll_cond_trylock): Likewise.
17118
17119 2014-07-10 Roland McGrath <roland@hack.frob.com>
17120
17121 * nptl/pthread_create.c (start_thread): Use atomic_or and
17122 lll_futex_wake directly rather than lll_robust_dead.
17123 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17124 (lll_robust_dead): Macro removed.
17125 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17126 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17127 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17128 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17129 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17130 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17131 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17132 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17133 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17134 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17135 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17136 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17137 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17138 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17139 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17140
17141 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17142 Use atomic_compare_and_exchange_val_acq directly rather than
17143 lll_robust_trylock.
17144 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17145 (__lll_robust_trylock, lll_robust_trylock): Removed.
17146 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17147 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17148 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17149 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17150 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17151 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17152 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17153 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17154 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17155 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17156 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17157 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17158 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17159 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17160
17161 2014-07-02 Florian Weimer <fweimer@redhat.com>
17162
17163 * manual/locale.texi (Locale Names): New section documenting
17164 locale name syntax. Adjust menu and node chaining accordingly.
17165 (Choosing Locale): Reference Locale Names, Locale Categories.
17166 Mention setting LC_ALL=C. Reflect that name syntax is now
17167 documented.
17168 (Locale Categories): New section title. Reference Locale Names.
17169 LC_ALL is an environment variable, but not a category.
17170 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17171 description, now in Locale Name. Reference that section. Locale
17172 name syntax is now documented.
17173
17174 2014-07-02 Florian Weimer <fweimer@redhat.com>
17175
17176 [BZ #17137]
17177 * locale/findlocale.c (name_present, valid_locale_name): New
17178 functions.
17179 (_nl_find_locale): Use the loc_name variable to store name
17180 candidates. Call name_present and valid_locale_name to check and
17181 validate locale names. Return an error if the locale is invalid.
17182
17183 2014-07-02 Florian Weimer <fweimer@redhat.com>
17184
17185 * locale/setlocale.c (setlocale): Use strdup for allocating
17186 composite name copy.
17187
17188 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17189
17190 Sync up with gnulib.
17191 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17192 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17193 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17194 and _GL_ARG_NONNULL.
17195 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17196 [!_LIBC]: Include code for Windows and Cygwin.
17197 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17198 Include prototype for int strerror_r.
17199 [!_LIBC] (is_open): New function.
17200 (flush_stdout): New function.
17201 (print_errno_message): Use it.
17202 (error): Likewise.
17203 (error_at_line): Likewise.
17204 (error_tail) Add function attribute macros. Use
17205 __builtin_expect.
17206
17207 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17208
17209 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17210
17211 * io/ftw.c: Include sys/param.h unconditionally.
17212
17213 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17214
17215 [BZ #17125]
17216 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17217 libc_freeres_ptr.
17218 (freecache): New function to free CACHE on exit.
17219
17220 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17221 initialization.
17222
17223 2014-07-09 David S. Miller <davem@davemloft.net>
17224
17225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17226
17227 * sysdeps/sparc/nptl/internaltypes.h: Delete.
17228 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17229 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17230 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17231 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17232 * sysdeps/sparc/nptl/sem_init.c: Likewise.
17233 * sysdeps/sparc/nptl/sem_post.c: Likewise.
17234 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17235 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17236 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17237 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17238 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17239 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17240
17241 2014-07-09 Andreas Schwab <schwab@suse.de>
17242
17243 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17244 output.
17245 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17246 (do_test): Likewise.
17247
17248 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17249
17250 2014-07-09 Will Newton <will.newton@linaro.org>
17251
17252 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17253 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17254 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17255 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17256 * sysdeps/hppa/start.S (_start): Likewise.
17257
17258 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17259
17260 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17261
17262 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17263 defined.
17264
17265 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17266
17267 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17268 after checking that it is non-NULL.
17269
17270 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17271
17272 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17273
17274 * sysdeps/powerpc/memmove.c: Remove file.
17275 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17276 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17277 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17278 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17279 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17280 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17281 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17282 string memmove instead of removed powerpc one.
17283
17284 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17285 [weak_alias]: Fix compiler warning due trailing data.
17286 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17287 [weak_alias]: Likewise.
17288 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17289 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17290
17291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17292 (__libc_ifunc_impl_list): Add memmove functions.
17293
17294 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17295
17296 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17297 Remove code.
17298 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17299 Likewise
17300 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17301 Likewise
17302 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17303 Likewise
17304 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17305 Likewise
17306 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17307 Likewise
17308 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17309 Likewise
17310 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17311 Likewise
17312 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17313 Likewise
17314 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17315 Likewise
17316 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17317 Likewise
17318 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17319 Likewise
17320 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17321 Likewise
17322 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17323 Likewise
17324 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17325 Likewise
17326 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17327 Likewise
17328 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17329 Likewise
17330
17331 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17332
17333 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17334 to avoid alignment traps in non-cacheable memory.
17335 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17336
17337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17338 multiarch objects.
17339 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17340 file: multiarch power7 memmove.
17341 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17342 multiarch default memmove.
17343 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17344 multiarch memove for powerpc32/power4.
17345
17346 * string/bcopy.c: Use full path to include memmove.c.
17347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17348 multiarch objects.
17349 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17350 bcopy for powerpc64.
17351 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17352 bcopy for powerpc64.
17353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17354 and memmove implementations.
17355 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17356 optimized multiarch memmove for POWER7/powerpc64.
17357 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17358 default multiarch memmove for powerpc64.
17359 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17360 multiarch for powerpc64.
17361 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17362 for POWER7/powerpc64.
17363 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17364 memmove for POWER7/powerpc64.
17365
17366 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17367 glibc default one.
17368
17369 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17370 __ELF_NATIVE_CLASS equal to 64.
17371
17372 2014-07-07 Roland McGrath <roland@hack.frob.com>
17373
17374 * sysdeps/nptl/lowlevellock.h: File removed.
17375
17376 * NEWS: NPTL is no longer an add-on!
17377 * nptl/internaltypes.h: Moved ...
17378 * sysdeps/nptl/internaltypes.h: ... here.
17379 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17380 * sysdeps/nptl/fork.c: Likewise.
17381 * sysdeps/nptl/gai_misc.h: Likewise.
17382 * sysdeps/nptl/librt-cancellation.c: Likewise.
17383 * sysdeps/nptl/jmp-unwind.c: Likewise.
17384 * sysdeps/nptl/setxid.h: Likewise.
17385 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17386 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17387 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17388 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17389 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17390 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17391 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17392 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17393 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17394 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17395 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17396 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17397 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17398 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17399 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17400 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17401 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17402 * nptl/Makeconfig: Moved ...
17403 * sysdeps/nptl/Makeconfig: ... here.
17404 * nptl/configure: File removed.
17405 * nptl/ANNOUNCE: File removed.
17406 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17407 * sysdeps/unix/sysv/linux/configure: Regenerated.
17408
17409 * nptl/Makefile (routines): Add libc_pthread_init,
17410 libc_multiple_threads, register-atfork and unregister-atfork.
17411 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17412 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17413 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17414 pthread-pi-defines.sym, structsem.sym.
17415 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17416 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17417 [$(subdir) = nptl] (tests): Add tst-setgetname.
17418 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17419 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17420 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17421 [!LIBC_SIGACTION]: Remove aliases.
17422 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17423 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17424 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17425 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17426 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17427 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17428 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17429 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17430 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17431 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17432 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17433 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17434 __libc_allocate_rtsig_private.
17435 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17436 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17437 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17438 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17439 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17440 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17441 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17442 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17443 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17444 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17445 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17446 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17447 * nptl/internaltypes.h: ... here.
17448 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17449 * sysdeps/nptl/jmp-unwind.c: ... here.
17450 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17451 * nptl/libc-lowlevellock.c: ... here.
17452 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17453 * nptl/libc_multiple_threads.c: ... here.
17454 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17455 * nptl/libc_pthread_init.c: ... here.
17456 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17457 * nptl/lowlevelbarrier.sym: ... here.
17458 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17459 * nptl/lowlevelcond.sym: ... here.
17460 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17461 * nptl/lowlevellock.c: ... here.
17462 * nptl/lowlevellock.h: Moved ...
17463 * sysdeps/nptl/lowlevellock.h: ... here.
17464 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17465 * nptl/lowlevelrobustlock.c: ... here.
17466 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17467 * nptl/lowlevelrobustlock.sym: ... here.
17468 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17469 * nptl/lowlevelrwlock.sym: ... here.
17470 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17471 * nptl/pt-fork.c: ... here.
17472 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17473 * nptl/pthread-pi-defines.sym: ... here.
17474 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17475 * nptl/pthread_attr_getaffinity.c: ... here.
17476 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17477 * nptl/pthread_attr_setaffinity.c: ... here.
17478 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17479 * nptl/pthread_mutex_cond_lock.c: ... here.
17480 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17481 Update #include.
17482 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17483 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17484 * nptl/pthread_once.c: ... here, replacing old file.
17485 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17486 * nptl/pthread_yield.c: ... here.
17487 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17488 * nptl/register-atfork.c: ... here.
17489 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17490 * nptl/sem_post.c: ... here.
17491 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17492 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17493 * nptl/sem_timedwait.c: ... here.
17494 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17495 * nptl/sem_trywait.c: ... here.
17496 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17497 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17498 * nptl/sem_wait.c: ... here.
17499 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17500 * nptl/structsem.sym: ... here.
17501 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17502 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17503 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17504 * nptl/unregister-atfork.c: ... here.
17505 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17506 * nptl/unwindbuf.sym: ... here.
17507 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17508 * sysdeps/nptl/fork.c: ... here.
17509 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17510 * sysdeps/nptl/fork.h: ... here.
17511 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17512 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17513 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17514 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17515 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17516 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17517 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17518 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17519 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17520 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17521 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17522 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17523 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17524 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17525 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17526 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17527 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17528 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17529 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17530 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17531 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17532 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17533 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17534 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17535 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17536 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17537 * sysdeps/unix/sysv/linux/raise.c: ... here.
17538 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17539 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17540 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17541 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17542 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17543 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17544 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17545 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17546 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17547 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17548 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17549 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17550 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17551 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17552 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17553
17554 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17555
17556 * sysdeps/generic/memcopy.h: Add comment for
17557 MEMCPY_OK_FOR_FWD_MEMMOVE.
17558
17559 2014-07-04 Will Newton <will.newton@linaro.org>
17560
17561 * string/memchr.c: Merge from gnulib.
17562 [_LIBC]: Remove conditionals.
17563 (__ptr_t): Remove define.
17564 (LONG_MAX_32_BITS): Likewise.
17565 (LONG_MAX): Likewise.
17566 (MEMCHR): Use ANSI prototype and optimize algorithm.
17567
17568 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17569
17570 2014-07-03 Roland McGrath <roland@hack.frob.com>
17571
17572 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17573 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17574
17575 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17576 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17577 in a bare environment with no <stdlib.h> installed.
17578 * sysdeps/nptl/configure: Regenerated.
17579
17580 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17581
17582 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17583 AC_EGREP_CPP for kernel header checks, so they only succeed if
17584 including <linux/version.h> actually works right.
17585 * sysdeps/unix/sysv/linux/configure: Regenerated.
17586
17587 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17588 value so it's not diagnosed as unused.
17589
17590 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17591 thing) with "ifeq ($(subdir),rt)".
17592
17593 2014-07-03 Richard Henderson <rth@redhat.com>
17594
17595 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17596 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17597 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17598
17599 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17600 (math_force_eval): New.
17601
17602 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17603 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17604
17605 * sysdeps/alpha/fpu/s_round.c: Remove file.
17606 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17607
17608 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17609 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17610 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17611 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17612 (_dl_start, print_statistics): Likewise.
17613 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17614 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17615
17616 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17617 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17618 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17619 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17621 (HP_SMALL_TIMING_AVAIL): Define.
17622 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17623 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17624 (HP_SMALL_TIMING_AVAIL): Define.
17625 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17626 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17627
17628 * sysdeps/aarch64/hp-timing.h: New file.
17629
17630 * sysdeps/generic/hp-timing.h: Remove dead comment.
17631 * sysdeps/generic/hp-timing-common.h: New file.
17632 * sysdeps/alpha/hp-timing.h: Include it.
17633 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17634 * sysdeps/i386/i686/hp-timing.h: Likewise.
17635 * sysdeps/ia64/hp-timing.h: Likewise.
17636 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17637 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17638 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17639 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17640 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17641 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17642 (hp_timing_t): New.
17643
17644 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17645 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17646 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17647 * elf/rtld.c (_dl_start_final): Likewise.
17648 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17649 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17650 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17651 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17652 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17654 (HP_TIMING_DIFF_INIT): Remove.
17655 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17656 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17657 (HP_TIMING_DIFF_INIT): Remove.
17658 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17659 * sysdeps/i386/i686/hp-timing.c: Remove file.
17660 * sysdeps/x86_64/hp-timing.c: Remove file.
17661 * sysdeps/ia64/hp-timing.c: Remove file.
17662 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17663 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17664 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17665 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17666
17667 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17668 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17669 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17670 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17671 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17672 (HP_TIMING_ACCUM): Remove.
17673 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17674 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17675 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17676
17677 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17678 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17679 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17680 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17681 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17682 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17683 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17684 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17685
17686 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17687
17688 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17689
17690 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17691
17692 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17693
17694 Sync up with gettext.
17695 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17696 [_MSC_VER]: Include malloc.h
17697 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17698 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17699 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17700 TEMP_FAILURE_RETRY. Cast return of alloca.
17701 [!_LIBC] Call gl_rwlock_init.
17702 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17703
17704 2014-07-02 Roland McGrath <roland@hack.frob.com>
17705
17706 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17707 before checking its value.
17708
17709 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17710
17711 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17712
17713 * debug/memcpy_chk.c: Don't include pagecopy.h.
17714 * debug/mempcpy_chk.c: Likewise.
17715 * string/memcpy.c: Likewise.
17716 * string/memmove.c: Likewise.
17717 * sysdeps/powerpc/memmove.c: Likewise.
17718 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17719 definition of PAGE_COPY_FWD_MAYBE here...
17720 * sysdeps/generic/pagecopy.h: ... from here.
17721 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17722
17723 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17724 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17725
17726 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17728 optimizations.
17729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17730 (__libc_ifunc_impl_list): Likewise.
17731 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17732 multiarch strcat for PPC64.
17733 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17734 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17735
17736 2014-07-02 Roland McGrath <roland@hack.frob.com>
17737
17738 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17739
17740 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17741
17742 * intl/loadmsgcat.c: Remove declaration of
17743 get_sysdep_segment_value.
17744 (get_sysdep_segment_value): Use ISO C style.
17745 (_nl_load_domain): Use ISO C style. Get rid of redundant
17746 semicolon. Fix typo and formatting in comment.
17747 (_nl_unload_domain): Use ISO C style.
17748
17749 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17750
17751 2014-07-02 Will Newton <will.newton@linaro.org>
17752
17753 * malloc/obstack.c: Merge from gnulib master.
17754 [HAVE_CONFIG_H]: Remove conditional code.
17755 [!_LIBC]: Include config.h.
17756 [!ELIDE_CODE]: Don't include inttypes.h, include
17757 stdint.h unconditionally.
17758 (print_and_abort): Mark as _Noreturn.
17759 (_obstack_allocated_p): Mark as __attribute_pure__.
17760 (obstack_free): Rename to __obstack_free.
17761 [!__attribute__]: Remove conditional code.
17762 * malloc/obstack.h: Merge from gnulib master.
17763 [__cplusplus]: Move conditional down.
17764 [!__attribute_pure__]: Define __attribute_pure__ here
17765 if it is not already defined.
17766 (_obstack_memory_used): Mark as __attribute_pure__.
17767 [!__obstack_free]: Define as obstack_free.
17768 [__GNUC__]: Remove check for ancient NeXT gcc.
17769
17770 2014-07-02 Will Newton <will.newton@linaro.org>
17771 Paul Eggert <eggert@cs.ucla.edu>
17772
17773 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17774
17775 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17776
17777 * resolv/gethnamaddr.c: Add comment warning that the file is
17778 not maintained.
17779
17780 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17781
17782 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17783 entries.
17784
17785 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17786 entry for aio_cancel and aio_cancel64.
17787 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17788 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17789 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17790 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17791 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17792 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17793 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17794 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17795 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17796 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17797 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17798 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17799 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17800
17801 2014-07-01 Roland McGrath <roland@hack.frob.com>
17802
17803 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17804 * nptl/pthread_mutex_lock.c: Likewise.
17805 * nptl/pthread_mutex_timedlock.c: Likewise.
17806 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17807
17808 2014-07-01 Richard henderson <rth@redhat.com>
17809
17810 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17811 (__isnan, __isnanl): Remove.
17812 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17813
17814 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17815
17816 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17817
17818 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17819
17820 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17821
17822 * resolv/nss_dns/dns-host.c (getanswer_r)
17823 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17824
17825 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17826
17827 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17828 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17829 undefine.
17830 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17831 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17832
17833 2014-07-01 Roland McGrath <roland@hack.frob.com>
17834
17835 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17836 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17837
17838 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17839 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17840
17841 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17842 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17843 ... here.
17844 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17845 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17846
17847 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17848 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17849 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17850 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17851
17852 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17853 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17854 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17855 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17856 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17857 Moved ...
17858 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17859 ... here.
17860 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17861 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17862 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17863 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17864 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17865 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17866 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17867 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17868 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17869 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17870 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17871 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17872 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17873 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17874 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17875 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17876 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17877 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17878 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17879 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17880 ... here.
17881 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17882 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17883 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17884 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17885 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17886 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17887 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17888 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17889
17890 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17891
17892 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17893 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17894 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17895 Add sysdep.
17896
17897 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17898
17899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17900
17901 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17902
17903 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17904 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17905
17906 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17907
17908 * sysdeps/arm/libm-test-ulps: Regenerated.
17909
17910 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17911 Roland McGrath <roland@hack.frob.com>
17912
17913 * test-skeleton.c (signal_handler): Kill the whole process group
17914 before killing the child individually.
17915 (main): Report any failure on `setpgid'.
17916
17917 2014-06-30 Roland McGrath <roland@hack.frob.com>
17918
17919 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17920 from _TLS_H to _ARM_NPTL_TLS_H.
17921 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17922 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17923
17924 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17925
17926 [BZ #16539]
17927 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17928 (__expm1l): Return argument unchanged when small but not
17929 subnormal.
17930
17931 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17932 include macro name.
17933 (_FP_UNPACK_RAW_1_P): Likewise.
17934 (_FP_PACK_RAW_1): Likewise.
17935 (_FP_PACK_RAW_1_P): Likewise.
17936 (_FP_MUL_MEAT_1_wide): Likewise.
17937 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17938 (_FP_MUL_MEAT_1_hard): Likewise.
17939 (_FP_DIV_MEAT_1_imm): Likewise.
17940 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17941 (_FP_DIV_MEAT_1_udiv): Likewise.
17942 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17943 (_FP_UNPACK_RAW_2): Likewise.
17944 (_FP_UNPACK_RAW_2_P): Likewise.
17945 (_FP_PACK_RAW_2): Likewise.
17946 (_FP_PACK_RAW_2_P): Likewise.
17947 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17948 (_FP_MUL_MEAT_2_wide): Likewise.
17949 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17950 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17951 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17952 (_FP_MUL_MEAT_2_gmp): Likewise.
17953 (_FP_DIV_MEAT_2_udiv): Likewise.
17954 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17955 (_FP_FRAC_SRL_4): Likewise.
17956 (_FP_FRAC_SRST_4): Likewise.
17957 (_FP_FRAC_SRS_4): Likewise.
17958 (_FP_UNPACK_RAW_4): Likewise.
17959 (_FP_UNPACK_RAW_4_P): Likewise.
17960 (_FP_PACK_RAW_4): Likewise.
17961 (_FP_PACK_RAW_4_P): Likewise.
17962 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17963 (_FP_MUL_MEAT_4_wide): Likewise.
17964 (_FP_MUL_MEAT_4_gmp): Likewise.
17965 (umul_ppppmnnn): Likewise.
17966 (_FP_DIV_MEAT_4_udiv): Likewise.
17967 (__FP_FRAC_ADD_4): Likewise.
17968 (__FP_FRAC_SUB_3): Likewise.
17969 (__FP_FRAC_SUB_4): Likewise.
17970 (__FP_FRAC_DEC_3): Likewise.
17971 (__FP_FRAC_DEC_4): Likewise.
17972 (__FP_FRAC_ADDI_4): Likewise.
17973 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17974 (_FP_FRAC_SRL_8): Likewise.
17975 (_FP_FRAC_SRS_8): Likewise.
17976
17977 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17978 include macro name.
17979 (FP_UNPACK_RAW_EP): Likewise.
17980 (FP_PACK_RAW_E): Likewise.
17981 (FP_PACK_RAW_EP): Likewise.
17982 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17983 (_FP_ISSIGNAN): Likewise.
17984 (_FP_ADD_INTERNAL): Likewise.
17985 (_FP_FMA): Likewise.
17986 (_FP_CMP): Likewise.
17987 (_FP_SQRT): Likewise.
17988 (_FP_TO_INT): Likewise.
17989 (_FP_FROM_INT): Likewise.
17990 (FP_EXTEND): Likewise.
17991 (_FP_DIV_MEAT_N_loop): Likewise.
17992
17993 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17994
17995 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17996 throughout.
17997
17998 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17999
18000 [BZ #17097]
18001 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18002 result with correct sign in case of exponents that produce
18003 overflow except for X very close to 1.
18004
18005 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
18006
18007 mktime: merge #if/#ifdef usage from glibc
18008 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18009 as that works with both Glibc's and Gnulib's style.
18010 See thread starting at Siddhesh Poyarekar's bug report at:
18011 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18012
18013 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18014
18015 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18016 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18017 * sysdeps/tile/tilegx/memmove.c: Remove file.
18018
18019 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18020
18021 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18022 abi-name definition.
18023 * scripts/soversions.awk: Do not handle or generate ABI lines.
18024 * shlib-versions: Remove ABI entries.
18025 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18026 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18027
18028 2014-06-27 Roland McGrath <roland@hack.frob.com>
18029
18030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18031 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18032 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18033 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18035 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18036 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18037 Moved ...
18038 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18039 ... here.
18040 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18041 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18042 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18043 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18044 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18045 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18047 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18049 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18050 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18051 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18052 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18053 Moved ...
18054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18056 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18058 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18059 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18060 Moved ...
18061 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18062 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18063 Moved ...
18064 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18065 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18066 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18068 Moved ...
18069 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18071 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18073 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18074 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18075 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18076 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18077 Moved ...
18078 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18080 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18081 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18082 Moved ...
18083 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18084 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18085 Moved ...
18086 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18087 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18088 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18089 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18090 Moved ...
18091 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18092 ... here.
18093 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18094 Identical file removed.
18095 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18096 Moved ...
18097 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18099 Identical file removed.
18100 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18101 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18103 Moved ...
18104 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18105 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18106 Identical file removed.
18107 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18108 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18109 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18110 Identical file removed.
18111 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18112 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18113 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18114 Identical file removed.
18115 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18116 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18117 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18118 Identical file removed.
18119 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18120 Moved ...
18121 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18122 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18123 Identical file removed.
18124 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18125 Moved ...
18126 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18127 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18128 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18130 Identical file removed.
18131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18132 Moved ...
18133 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18134 ... here.
18135 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18136 Identical file removed.
18137 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18138 Moved ...
18139 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18140 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18141 Identical file removed.
18142 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18143 Moved ...
18144 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18145 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18146 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18148 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18149 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18150 Moved ...
18151 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18152 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18153 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18154
18155 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18156 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18157 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18158 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18159 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18160
18161 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18162
18163 [BZ #17092]
18164 * nscd/nscd.c (monitor_child): Return exit status of child
18165 instead of return value from wait syscall.
18166
18167 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18168
18169 * configure.ac (libc_commonpagesize): Remove variable.
18170 (libc_relro_required): Likewise.
18171 (libc_cv_z_relro): Remove configure test.
18172 * configure: Regenerated.
18173 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18174 variable.
18175 (libc_relro_required): Likewise.
18176 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18177 (libc_relro_required): Likewise.
18178 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18179 (libc_relro_required): Likewise.
18180 * sysdeps/arm/preconfigure: Regenerated.
18181 * sysdeps/ia64/preconfigure: Remove file.
18182 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18183 variable.
18184 (libc_relro_required): Likewise.
18185
18186 [BZ #16561]
18187 [BZ #16562]
18188 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18189 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18190 recompute overflowing results in original rounding mode.
18191 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18192 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18193 recompute overflowing results in original rounding mode.
18194 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18195 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18196 recompute overflowing results in original rounding mode.
18197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18198 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18199 recompute overflowing results in original rounding mode.
18200 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18201 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18202 recompute overflowing results in original rounding mode.
18203 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18204 (libc_feholdsetround_ctx): New macro.
18205 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18206 * sysdeps/i386/fpu/libm-test-ulps: Update.
18207 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18208
18209 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18210
18211 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18212 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18213 corresponding .cpsetup call.
18214
18215 2014-06-26 Roland McGrath <roland@hack.frob.com>
18216
18217 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18218 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18219 * sysdeps/arm/Makefile [$(subdir) = csu]
18220 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18221 (static-only-routines): Add aeabi_read_tp here.
18222 (shared-only-routines): Add libc-aeabi_read_tp here.
18223 (CFLAGS-libc-start.c): Add -fexceptions here.
18224 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18225 (sysdep_routines, static-only-routines, shared-only-routines):
18226 Don't add to these here.
18227 (CFLAGS-libc-start.c): Likewise.
18228
18229 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18230 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18231 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18232 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18233 * sysdeps/arm/Makefile [$(subdir) = rt]
18234 (librt-sysdep_routines, librt-shared-only-routines):
18235 Append rt-aeabi_unwind_cpp_pr1 here.
18236 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18237 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18238 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18239 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18240 Append nptl-aeabi_unwind_cpp_pr1 here.
18241 (tests): Filter out tst-cleanupx4 here.
18242 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18243 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18244 Don't do those here.
18245
18246 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18247
18248 * scripts/list-sources.sh: Do not handle ports specially.
18249
18250 2014-06-26 Roland McGrath <roland@hack.frob.com>
18251
18252 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18253 * sysdeps/arm/feupdateenv.c: Likewise.
18254
18255 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18256
18257 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18258
18259 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18260 trailing whitespace removed.
18261 * scripts/config.guess: Update to version 2014-03-23.
18262 * scripts/config.sub: Update to version 2014-05-01
18263 * scripts/install-sh: Update to version 2013-12-25.23.
18264 * scripts/move-if-change: Update from gnulib.
18265
18266 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18267
18268 * debug/memmove_chk.c: Remove pagecopy.h include.
18269
18270 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18271
18272 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18273 identical to gnulib mktime.
18274
18275 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18276
18277 * configure.ac: Do not test for machine being rs6000. Do not test
18278 for powerpc*-*soft.
18279 * configure: Regenerated.
18280
18281 [BZ #11505]
18282 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18283 test.
18284 * configure: Regenerated.
18285 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18286 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18287 Remove configure test.
18288 * sysdeps/arm/configure: Regenerated.
18289 * sysdeps/nptl/configure.ac: Do not check
18290 libc_cv_asm_cfi_directives.
18291 * sysdeps/nptl/configure: Regenerated.
18292 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18293 * sysdeps/x86_64/nptl/configure: Remove generated file.
18294 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18295 unconditional.
18296 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18297
18298 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18299
18300 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18301 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18302 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18303 it is defined.
18304
18305 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18306 instead of whether it is defined.
18307 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18308 * sysdeps/hppa/dl-machine.h: Likewise.
18309 * sysdeps/ia64/dl-machine.h: Likewise.
18310 * sysdeps/m68k/dl-machine.h: Likewise.
18311 * sysdeps/microblaze/dl-machine.h: Likewise.
18312 * sysdeps/mips/dl-machine.: Likewise.
18313 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18314 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18315 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18316 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18317 * sysdeps/sh/dl-machine.h: Likewise.
18318 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18319 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18320 * sysdeps/tile/dl-machine.h: Likewise.
18321 * sysdeps/x86_64/dl-machine.h: Likewise.
18322
18323 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18324 code.
18325 (verify_persistent_db): Likewise.
18326
18327 2014-06-26 Roland McGrath <roland@hack.frob.com>
18328
18329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18330 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18332 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18334 Moved ...
18335 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18336 ... here.
18337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18338 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18340 Identical file removed.
18341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18342 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18344 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18346 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18348 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18350 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18352 Moved ...
18353 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18355 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18357 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18359 Moved ...
18360 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18362 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18364 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18366 Identical file removed.
18367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18368 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18370 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18372 Moved ...
18373 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18374 ... here.
18375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18376 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18378 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18380 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18382 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18384 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18386 Moved ...
18387 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18389 Moved ...
18390 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18392 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18394 Moved ...
18395 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18397 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18398
18399 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18400 folded into ...
18401 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18402 * sysdeps/unix/sysv/linux/s390/Versions
18403 (libpthread: GLIBC_2.19): New version set.
18404 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18405 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18406 (librt: GLIBC_2.3.3): New version set.
18407 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18408 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18409 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18410 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18411 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18412 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18413 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18414 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18415 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18416 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18417 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18418 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18419 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18420 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18421 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18422 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18423 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18424 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18425 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18426 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18427 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18428 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18429 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18430 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18431 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18432 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18433 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18434 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18435 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18436 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18437 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18438 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18439 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18442 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18443 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18444 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18445 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18446 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18447 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18449 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18450 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18451 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18452
18453 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18454 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18455 (__libc_vfork): Define the function under this name.
18456 [!NOT_IN_libc] (__vfork): Make this an alias.
18457 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18458 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18459 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18460 (__libc_vfork): Define the function under this name.
18461 [!NOT_IN_libc] (__vfork): Make this an alias.
18462 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18463 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18464 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18466 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18467 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18468
18469 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18470 code that was previously under [RESET_PID].
18471 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18472 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18473 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18474
18475 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18476 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18477 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18478 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18479 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18480 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18481 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18482 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18483 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18484 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18485 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18486 Moved ...
18487 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18488 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18489 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18490 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18491 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18492 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18493 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18494 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18495 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18496 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18497 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18498 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18499 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18500 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18501 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18502 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18503 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18504 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18505 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18506 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18507 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18508 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18509 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18510 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18511 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18512 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18513 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18514 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18515 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18516
18517 2014-06-25 Roland McGrath <roland@hack.frob.com>
18518
18519 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18520 that was previously under [RESET_PID].
18521 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18522
18523 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18524
18525 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18526 not undefine and redefine.
18527 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18528 [O_CLOEXEC]: Make code unconditional.
18529 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18530 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18531 <kernel-features.h>.
18532 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18533 conditional variable definition.
18534 (shm_open) [O_CLOEXEC]: Make code unconditional.
18535 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18536 code.
18537
18538 * configure.ac (USE_REGPARMS): Don't define here.
18539 * configure: Regenerated.
18540 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18541 * sysdeps/i386/configure: Regenerated.
18542
18543 * nptl/createthread.c: Don't include kernel-features.h.
18544 * nptl/pthread_cancel.c: Likewise.
18545 * nptl/pthread_condattr_setclock.c: Likewise.
18546 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18547 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18548 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18549 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18550 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18551 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18552 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18553 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18555 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18556 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18557 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18558 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18559 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18560 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18561 * nscd/gai.c: Likewise.
18562 * nss/nss_db/db-open.c: Likewise.
18563 * sysdeps/generic/ldsodefs.h: Likewise.
18564 * sysdeps/sh/nptl/tls.h: Likewise.
18565 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18566 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18567 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18568 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18569 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18570 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18571 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18572 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18573 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18574 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18575 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18576 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18577 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18578 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18579 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18580 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18581 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18582 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18583 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18584 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18585 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18586 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18587 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18588 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18589 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18590 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18591 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18592 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18593 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18594 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18595 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18596 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18597 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18598 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18599 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18600 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18601 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18602 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18603 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18604 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18605 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18606 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18607 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18608 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18609 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18610 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18611 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18612 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18613 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18614 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18615 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18616 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18617 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18618 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18619 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18620 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18621 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18622 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18645 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18646 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18647 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18648 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18649 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18650 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18651 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18652 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18653 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18654 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18655 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18656 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18657 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18658 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18659 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18660 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18661 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18662 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18663 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18664 * sysdeps/unix/sysv/linux/system.c: Likewise.
18665 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18666 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18667 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18668 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18669 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18670 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18671 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18672
18673 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18674 * configure: Regenerated.
18675 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18676
18677 * configure.ac (base_machine): Do not set specially for particular
18678 machines here.
18679 * configure: Regenerated.
18680 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18681 settings from configure.ac.
18682 * sysdeps/i386/preconfigure: New file.
18683 * sysdeps/s390/preconfigure: Likewise.
18684 * sysdeps/sh/preconfigure: Likewise.
18685 * sysdeps/sparc/preconfigure: Likewise.
18686
18687 2014-06-25 Roland McGrath <roland@hack.frob.com>
18688
18689 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18690 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18691 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18692 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18693 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18694 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18695 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18696 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18697 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18698 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18699 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18700 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18701 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18702 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18703 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18704 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18705 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18706 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18707 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18708
18709 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18710 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18711 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18712 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18713 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18714 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18715 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18716 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18717 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18718 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18719 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18720 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18721 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18722 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18723 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18724 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18725 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18726 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18727 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18728 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18729 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18730 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18732 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18733 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18734 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18735 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18736 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18737 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18738 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18739 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18740 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18741 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18742 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18743 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18744 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18745 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18746 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18747
18748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18749 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18751 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18753 Moved ...
18754 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18755 ... here.
18756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18757 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18759 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18761 Moved ...
18762 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18764 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18766 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18768 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18770 Moved ...
18771 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18773 Moved ...
18774 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18776 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18778 Moved ...
18779 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18781 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18783 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18785 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18787 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18789 Moved ...
18790 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18791 ... here.
18792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18793 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18795 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18797 Moved ...
18798 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18800 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18802 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18804 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18806 Moved ...
18807 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18809 Moved ...
18810 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18812 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18814 Moved ...
18815 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18817 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18819 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18820
18821 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18822
18823 * timezone/checktab.awk: Update from tzcode 2014e.
18824 * timezone/private.h: Likewise.
18825 * timezone/tzfile.h: Likewise.
18826 * timezone/zdump.c: Likewise.
18827 * timezone/zic.c: Likewise.
18828
18829 * sysdeps/unix/sysv/linux/kernel-features.h
18830 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18831 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18832 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18833 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18834 Remove conditional code.
18835
18836 2014-06-25 Will Newton <will.newton@linaro.org>
18837
18838 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18839 (_dl_arm_cap_flags): Add HWCAP2 values.
18840 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18841 (_DL_HWCAP_COUNT): Increase to 37.
18842 (_DL_HWCAP_LAST): New define.
18843 (_DL_HWCAP2_LAST): New define.
18844 (_dl_procinfo): Add support for printing
18845 AT_HWCAP2 entries.
18846 (_dl_string_hwcap): Use _dl_hwcap_string.
18847
18848 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18849
18850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18851
18852 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18853
18854 * README: Do not mention ports directory.
18855
18856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18857 Remove macro.
18858 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18859 <kernel-features.h>.
18860 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18861 conditional variable definition.
18862 (__futimes): Update comment.
18863 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18864 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18865
18866 [BZ #16560]
18867 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18868 arguments close to 0.
18869 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18870 Likewise.
18871 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18872 Likewise.
18873 * math/auto-libm-test-in: Add more tests of exp10.
18874 * math/auto-libm-test-out: Regenerated.
18875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18876
18877 * sysdeps/unix/sysv/linux/kernel-features.h
18878 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18879 * sysdeps/unix/sysv/linux/readv.c: Do not include
18880 <kernel-features.h>.
18881 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18882 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18883 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18884 unconditional.
18885 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18886 conditional code.
18887 * sysdeps/unix/sysv/linux/writev.c: Do not include
18888 <kernel-features.h>.
18889 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18890 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18891 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18892 unconditional.
18893 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18894 conditional code.
18895
18896 2014-06-25 Will Newton <will.newton@linaro.org>
18897
18898 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18899 comment changes throughout the file. Remove checks
18900 for HAVE_*_H definitions that are not required.
18901 (__gen_tempname): Call abort if an unknown kind value is
18902 passed.
18903
18904 2014-06-25 Andreas Schwab <schwab@suse.de>
18905
18906 [BZ #17086]
18907 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18908 scalbln, scalblnf, scalblnl in libc.
18909
18910 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18911
18912 [BZ #17086]
18913 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18914 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18915 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18916
18917 2014-06-24 Roland McGrath <roland@hack.frob.com>
18918
18919 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18920 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18921 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18922 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18923 Update #include.
18924 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18925 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18926 Update #include.
18927 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18928 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18929 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18930 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18931 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18932 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18933 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18934 * sysdeps/x86/bits/semaphore.h: ... here.
18935 * sysdeps/x86/nptl/elide.h: Moved ...
18936 * sysdeps/x86/elide.h: ... here.
18937 * sysdeps/x86_64/nptl/Implies: File removed.
18938 * sysdeps/i386/nptl/Implies: File removed.
18939
18940 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18941
18942 [BZ #16539]
18943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18944 return the argument for normal arguments with exponent below -64.
18945 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18946 Likewise.
18947 * math/auto-libm-test-in: Add another test of expm1.
18948 * math/auto-libm-test-out: Regenerated.
18949
18950 [BZ #16287]
18951 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18952 calling __erfcl for arguments at least 16.
18953 * math/auto-libm-test-in: Add more tests of erf.
18954 * math/auto-libm-test-out: Regenerated.
18955
18956 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18957 individual architectures.
18958 * sysdeps/unix/sysv/linux/configure: Regenerated.
18959 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18960 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18961 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18962 (ldd_rewrite_script): Define variable.
18963 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18965 file.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18967 generated file.
18968 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18969 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18970 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18971 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18972 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18973 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18974 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18975 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18976
18977 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18978
18979 [BZ #17084]
18980 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18981 Rename member __data.d to __data.__elision_data.
18982
18983 2014-06-24 Wilco <wdijkstr@arm.com>
18984
18985 * NEWS: Add 16918 to fixed bug list.
18986
18987 2014-06-24 Wilco <wdijkstr@arm.com>
18988
18989 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18990
18991 2014-06-24 Wilco <wdijkstr@arm.com>
18992
18993 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18994 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18995 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18996 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18997 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18998 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18999 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19000 Use _FPU_MASK_RM.
19001
19002 2014-06-24 Wilco <wdijkstr@arm.com>
19003
19004 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19005
19006 2014-06-24 Wilco <wdijkstr@arm.com>
19007
19008 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19009 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19010 * sysdeps/arm/fesetround.c (fesetround): Remove space.
19011 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19012
19013 2014-06-24 Wilco <wdijkstr@arm.com>
19014
19015 [BZ #16918]
19016 * sysdeps/arm/feupdateenv.c (feupdateenv):
19017 Rewrite to reduce FPSCR accesses and fix return value.
19018
19019 2014-06-24 Wilco <wdijkstr@arm.com>
19020
19021 * sysdeps/arm/fclrexcpt.c (feclearexcept):
19022 Optimize to avoid unnecessary FPSCR writes.
19023 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19024 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19025 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19026 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19027
19028 2014-06-24 Wilco <wdijkstr@arm.com>
19029
19030 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19031 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19032 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19033 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19034 Call libc_fetestexcept_vfp.
19035 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19036 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19037 __SOFTFP__ ifdef so that they can be built for softfp.
19038
19039 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19040
19041 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19042 argument type signed char.
19043
19044 * Makerules (check-abi): Dump diff of symlist if the test
19045 fails.
19046
19047 2014-06-23 Roland McGrath <roland@hack.frob.com>
19048
19049 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19050 using abort.
19051
19052 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19053 Remove unused variable ST.
19054
19055 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19056
19057 [BZ #16354]
19058 [BZ #17061]
19059 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19060 small arguments before calling __expm1.
19061 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19062 small arguments before calling __expm1f.
19063 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19064 small arguments before calling __expm1l.
19065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19066 Likewise.
19067 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19068 * math/auto-libm-test-in: Add more cosh tests. Do not allow
19069 spurious underflow for some cosh tests.
19070 * math/auto-libm-test-out: Regenerated.
19071 * sysdeps/i386/fpu/libm-test-ulps: Update.
19072
19073 [BZ #17050]
19074 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19075 (__ieee754_y1): Set errno if return value overflows.
19076 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19077 (__ieee754_y1f): Set errno if return value overflows.
19078 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19079 (__ieee754_y1l): Set errno if return value overflows.
19080 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19081 (__ieee754_y1l): Set errno if return value overflows.
19082 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19083 * math/auto-libm-test-out: Regenerated.
19084
19085 * math/gen-auto-libm-tests.c: Document use of
19086 ignore-zero-inf-sign.
19087 (input_flag_type): Add value flag_ignore_zero_inf_sign.
19088 (input_flags): Add ignore-zero-inf-sign.
19089 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19090 * math/gen-libm-test.pl (generate_testfile): Handle
19091 ignore-zero-inf-sign.
19092 * math/auto-libm-test-in: Mark some cpow tests with
19093 ignore-zero-inf-sign and some with xfail-rounding.
19094 * math/auto-libm-test-out: Regenerated.
19095 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19096 * sysdeps/i386/fpu/libm-test-ulps: Update.
19097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19098
19099 [BZ #16315]
19100 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19101 overflowing or underflowing operations take place with sign of
19102 result.
19103 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19104 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19105 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19106 (__ieee754_pow): Recompute overflowing and underflowing results in
19107 original rounding mode.
19108 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19109 (__powl_helper): Allow negative argument X and scale negated value
19110 as needed. Avoid passing value outside [-1, 1] to f2xm1.
19111 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19112 overflowing or underflowing operations take place with sign of
19113 result.
19114 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19115 Include <math.h>.
19116 * math/auto-libm-test-in: Add more tests of pow.
19117 * math/auto-libm-test-out: Regenerated.
19118 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19119 (pow_tonearest_test_data): Remove.
19120 (pow_test_tonearest): Likewise.
19121 (pow_towardzero_test_data): Likewise.
19122 (pow_test_towardzero): Likewise.
19123 (pow_downward_test_data): Likewise.
19124 (pow_test_downward): Likewise.
19125 (pow_upward_test_data): Likewise.
19126 (pow_test_upward): Likewise.
19127 (main): Don't call removed functions.
19128 * sysdeps/i386/fpu/libm-test-ulps: Update.
19129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130
19131 2014-06-23 Roland McGrath <roland@hack.frob.com>
19132
19133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19134 Moved ...
19135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19137 Moved ...
19138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19140 Moved ...
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19143 Moved ...
19144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19146 File removed.
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19148 File removed.
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19150 File removed.
19151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19152 File removed.
19153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19154 File removed.
19155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19156 File removed.
19157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19158 File removed.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19160 File removed.
19161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19162 File removed.
19163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19164 File removed.
19165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19166 File removed.
19167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19168 File removed.
19169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19170 Moved ...
19171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19173 Moved ...
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19175 ... here.
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19177 Moved ...
19178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19180 Moved ...
19181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19183 Moved ...
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19186 Moved ...
19187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19189 Moved ...
19190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19192 Moved ...
19193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19195 Moved ...
19196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19199 ... here.
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19201 Moved ...
19202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19204 Moved ...
19205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19206 ... here.
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19208 Moved ...
19209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19210 ... here.
19211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19212 Moved ...
19213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19214 ... here.
19215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19216 Moved ...
19217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19219 Moved ...
19220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19224 Moved ...
19225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19226 ... here.
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19228 Moved ...
19229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19230 ... here.
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19232 Moved ...
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19235 Moved ...
19236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19238 Moved ...
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19241 Moved ...
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19244 Moved ...
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19246 ... here.
19247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19248 Moved ...
19249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19251 Moved ...
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19254 Moved ...
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19257 Moved ...
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19262 Moved ...
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19265 Moved ...
19266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19268 Moved ...
19269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19270 ... here.
19271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19272 Moved ...
19273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19274 ... here.
19275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19276 Moved ...
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19278 ... here.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19280 Moved ...
19281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19283 Moved ...
19284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19286 Moved ...
19287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19289 Moved ...
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19291 ... here.
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19293 Moved ...
19294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19295 ... here.
19296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19297 Moved ...
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19299 ... here.
19300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19301 Moved ...
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19304 Moved ...
19305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19306
19307 2014-06-23 Will Newton <will.newton@linaro.org>
19308 Wilco <wdijkstr@arm.com>
19309
19310 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19311 implementation. Include get-rounding-mode.h.
19312 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19313 [!libc_feholdsetround_noex_ctx]: Define
19314 libc_feholdsetround_noex_ctx.
19315 [!libc_feholdsetround_noexf_ctx]: Define
19316 libc_feholdsetround_noexf_ctx.
19317 [!libc_feholdsetround_noexl_ctx]: Define
19318 libc_feholdsetround_noexl_ctx.
19319 (libc_feholdsetround_ctx): New function.
19320 (libc_feresetround_ctx): New function.
19321 (libc_feholdsetround_noex_ctx): New function.
19322 (libc_feresetround_noex_ctx): New function.
19323
19324 2014-06-23 Roland McGrath <roland@hack.frob.com>
19325
19326 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19327 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19328 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19329 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19330 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19331 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19332
19333 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19334 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19335 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19336 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19337 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19338 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19340 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19342 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19344 Moved ...
19345 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19346 ... here.
19347 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19348 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19349 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19350 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19351 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19352 Moved ...
19353 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19355 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19357 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19359 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19360 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19361 Moved ...
19362 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19363 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19364 Moved ...
19365 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19366 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19367 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19368 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19369 Moved ...
19370 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19371 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19372 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19373 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19374 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19375 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19376 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19377 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19378 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19379 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19380 Moved ...
19381 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19382 ... here.
19383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19384 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19386 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19387 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19388 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19389 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19390 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19391 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19392 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19393 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19394 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19395 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19396 Moved ...
19397 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19398 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19399 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19400 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19401 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19402 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19403 Moved ...
19404 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19405 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19406 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19407 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19408 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19409
19410 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19411 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19412 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19413 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19414 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19415 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19416 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19417 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19419 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19420 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19421 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19422 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19423 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19424 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19425 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19426 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19427 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19428 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19429 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19430 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19431 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19432 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19433 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19434 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19435 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19436 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19437 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19438
19439 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19440
19441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19442 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19443 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19444 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19445 (IPV6_PMTUDISC_INTERFACE): Likewise.
19446 (IPV6_PMTUDISC_OMIT): Likewise.
19447
19448 2014-06-23 Andreas Schwab <schwab@suse.de>
19449
19450 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19451 Remove unused errout label.
19452
19453 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19454
19455 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19456 macro: hardware supports Vector Crypto instructions.
19457
19458 2014-06-23 Will Newton <will.newton@linaro.org>
19459
19460 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19461 rather than __builtin_expect.
19462
19463 * elf/dl-lookup.c (undefined_msg): Remove variable.
19464 (_dl_lookup_symbol_x): Replace undefined_msg with string
19465 literal.
19466
19467 * elf/dl-lookup.c (do_lookup_unique): New function.
19468 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19469 to a separate function.
19470
19471 2014-06-23 Andreas Schwab <schwab@suse.de>
19472
19473 [BZ #17079]
19474 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19475 before reading the next line.
19476
19477 2014-06-23 Will Newton <will.newton@linaro.org>
19478
19479 * test-skeleton.c (signal_handler): Use printf and %m
19480 rather than perror. Use printf rather than fprintf to
19481 stderr. Use puts rather than fputs to stderr.
19482 (main): Likewise.
19483
19484 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19485
19486 * nscd/nscd.c (thread_info_t): Remove typedef.
19487 (thread_info): Remove variable.
19488
19489 2014-06-21 Allan McRae <allan@archlinux.org>
19490
19491 * NEWS: Mention CVE-2014-4043.
19492
19493 2014-06-20 Roland McGrath <roland@hack.frob.com>
19494
19495 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19496 * nptl/smp.h: ... here.
19497
19498 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19499
19500 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19501 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19502 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19503 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19504
19505 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19506 * nptl/stack-aliasing.h: New file.
19507 * sysdeps/i386/i686/stack-aliasing.h: New file.
19508 * sysdeps/i386/i686/nptl/Makefile: File removed.
19509 * sysdeps/x86_64/stack-aliasing.h: New file.
19510 * sysdeps/x86_64/nptl/Makefile
19511 (CFLAGS-pthread_create.c): Variable removed.
19512
19513 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19514 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19515 old file.
19516 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19517 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19518 old file.
19519
19520 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19521
19522 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19523 (__ASSUME_SIGFRAME_V2): Remove macro.
19524 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19525 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19526 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19527 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19528 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19529 Declare as function. Remove conditional macro definitions.
19530 (__default_rt_sa_restorer): Likewise.
19531 (__default_sa_restorer_v1): Remove declaration.
19532 (__default_sa_restorer_v2): Likewise.
19533 (__default_rt_sa_restorer_v1): Likewise.
19534 (__default_rt_sa_restorer_v2): Likewise.
19535 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19536 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19537 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19538
19539 2014-06-20 Roland McGrath <roland@hack.frob.com>
19540
19541 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19542 (libpthread-routines): Add sysdep.
19543 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19544 * sysdeps/unix/sysv/linux/sparc/Versions
19545 (libpthread: GLIBC_2.3.3): New version set.
19546 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19547 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19548 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19549 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19550 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19551 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19552 Moved ...
19553 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19554 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19555 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19556 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19557 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19558 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19559 * sysdeps/sparc/nptl/sem_init.c: ... here.
19560 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19561 * sysdeps/sparc/nptl/sem_post.c: ... here.
19562 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19563 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19564 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19565 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19566 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19567 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19568 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19569 (libpthread-routines): Add cpu_relax.
19570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19571 File removed.
19572 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19573 (librt: GLIBC_2.3.3): New version set.
19574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19575 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19576 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19577 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19580 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19582 Moved ...
19583 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19585 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19587 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19589 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19591 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19593 Moved ...
19594 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19595 Update #include.
19596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19597 Moved ...
19598 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19599 Update #include.
19600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19601 Moved ...
19602 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19603 Update #include.
19604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19605 Moved ...
19606 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19607 Update #include.
19608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19609 Moved ...
19610 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19611 Update #include.
19612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19613 Moved ...
19614 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19615 Update #include.
19616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19617 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19619 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19623 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19625 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19627 Moved ...
19628 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19630 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19632 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19633
19634 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19635
19636 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19637 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19638 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19639 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19640 * nscd/nscd.c: Likewise.
19641 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19642 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19643 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19644 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19645
19646 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19647 <kernel-features.h>.
19648 (init_mq_netlink): Remove conditional have_sock_cloexec
19649 definitions. Remove code conditional on have_sock_cloexec < 0.
19650 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19651 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19652 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19653 <kernel-features.h>.
19654 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19655 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19656
19657 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19658
19659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19660 Add tests for memset_chk and memset.
19661
19662 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19663 with AVX2_Usable.
19664
19665 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19666
19667 [BZ #16046]
19668 * elf/tst-dl-iter-static.c: New file.
19669 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19670
19671 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19672 error.
19673
19674 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19675
19676 * sysdeps/unix/sysv/linux/kernel-features.h
19677 (__ASSUME_F_GETOWN_EX): Remove macro.
19678 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19679 <kernel-features.h>.
19680 (miss_F_GETOWN_EX): Remove variable or macro.
19681 (do_fcntl): Do not check miss_F_GETOWN_EX.
19682 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19683
19684 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19685 Remove macro.
19686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19687 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19688 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19689
19690 * sysdeps/unix/sysv/linux/kernel-features.h
19691 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19692 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19693 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19694 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19695
19696 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19697
19698 [BZ #17075]
19699 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19700 Fix calculation of the symbol's value.
19701 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19702 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19703 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19704 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19705 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19706 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19707 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19708 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19709 (modules-names): Add `tst-armtlsdescmod',
19710 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19711 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19712 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19713 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19714 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19715 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19716 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19717 ($(objpfx)tst-armtlsdescloc): New dependency.
19718 ($(objpfx)tst-armtlsdescextnow): Likewise.
19719 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19720 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19721 TLS scheme support.
19722 * sysdeps/arm/configure: Regenerate.
19723
19724 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19725
19726 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19727 (__atfct_seterrno_2): Likewise.
19728 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19729 <kernel-features.h>.
19730 (__ASSUME_ATFCTS): Do not undefine and redefine.
19731 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19732 (__have_atfcts): Remove conditional definition.
19733 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19734 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19735 unreachable if [__ASSUME_ATFCTS].
19736 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19737 not undefine and redefine.
19738 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19739 <kernel-features.h>.
19740 (faccessat) [__NR_faccessat]: Make code unconditional.
19741 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19742 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19743 <kernel-features.h>.
19744 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19745 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19746 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19747 <kernel-features.h>.
19748 (fchownat) [__NR_fchownat]: Make code unconditional.
19749 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19750 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19751 <kernel-features.h>.
19752 (futimesat) [__NR_futimesat]: Make code unconditional.
19753 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19754 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19755 <kernel-features.h>.
19756 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19757 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19758 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19759 <kernel-features.h>.
19760 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19761 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19762 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19763 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19764 <kernel-features.h>.
19765 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19766 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19767 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19768 <kernel-features.h>.
19769 (linkat) [__NR_linkat]: Make code unconditional.
19770 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19771 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19772 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19773 <kernel-features.h>.
19774 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19775 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19776 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19777 <kernel-features.h>.
19778 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19779 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19780 * sysdeps/unix/sysv/linux/openat.c: Do not include
19781 <kernel-features.h>.
19782 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19783 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19784 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19785 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19786 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19787 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19788 <kernel-features.h>.
19789 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19790 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19791 result of INLINE_SYSCALL directly, not via int variable.
19792 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19793 <kernel-features.h>.
19794 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19795 (renameat) [__NR_renameat]: Make code unconditional.
19796 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19797 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19798 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19799 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19800 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19801 (__ASSUME_ATFCTS): Do not undefine and redefine.
19802 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19803 <kernel-features.h>.
19804 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19805 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19806 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19807 <kernel-features.h>.
19808 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19809 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19810 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19811 (__ASSUME_ATFCTS): Do not undefine and redefine.
19812 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19813 <kernel-features.h>.
19814 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19815 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19816 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19817 <kernel-features.h>.
19818 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19819 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19820
19821 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19822
19823 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19824
19825 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19826
19827 [BZ #17069]
19828 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19829 constructed tree before returning error.
19830 * posix/bug-regexp36.c: Expand test case.
19831
19832 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19833
19834 [BZ #6803]
19835 * math/libm-test.inc (scalbln_test_date):
19836 Add errno expectations.
19837 * math/w_scalblnf.c: New File.
19838 Add wrapper which checks for setting errno to ERANGE.
19839 Add weak_alias for corresponding scalbln function.
19840 * math/w_scalbln.c: Likewise.
19841 * math/w_scalblnl.c: Likewise.
19842 * math/Makefile (libm-calls): Add w_scalbln.
19843 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19844 Remove weak_alias for corresponding scalbln function.
19845 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19847 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19848 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19849 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19850 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19851 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19852 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19853 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19854 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19855 Remove long_double_symbol for scalblnl function in libm, libc.
19856 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19857 Add wrapper which checks for setting errno to ERANGE.
19858 Add long_double_symbol for scalblnl function in libm, libc.
19859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19860 Remove long_double_symbol for scalblnl in libm.
19861 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19862 Add wrapper which checks for setting errno to ERANGE.
19863 Add long_double_symbol for scalblnl function in libm.
19864 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19865 Do not use wrapper because of own implementation.
19866
19867 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19868
19869 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19870 3 bytes for __pad1 for x32.
19871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19872
19873 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19874 H.J. Lu <hongjiu.lu@intel.com>
19875
19876 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19877 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19878 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19879 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19880 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19881
19882 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19883
19884 [BZ #17069]
19885 * posix/regcomp.c (parse_expression): Deallocate partially
19886 constructed tree before returning error.
19887 * posix/Makefile.c (tests): Add bug-regex36.
19888 (generated): Add bug-regex36.mtrace.
19889 (tests-special): Add $(objpfx)bug-regex36-mem.out
19890 (bug-regex36-ENV): New variable.
19891 ($(objpfx)bug-regex36-mem.out): New rule.
19892 * posix/bug-regex36.c: New file.
19893
19894 2014-06-19 Will Newton <will.newton@linaro.org>
19895
19896 * malloc/malloc.c (systrim): If extra is zero then return
19897 early.
19898
19899 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19900
19901 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19902
19903 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19904
19905 * sysdeps/aarch64/strchr.S: New file.
19906
19907 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19908
19909 [BZ #17022]
19910 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19911 from arguments -2 or below.
19912 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19913 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19914
19915 2014-06-18 Andreas Schwab <schwab@suse.de>
19916
19917 [BZ #17062]
19918 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19919 of a bracket expr not to run off the end of the string.
19920 * posix/Makefile (tests): Add tst-fnmatch3.
19921 * posix/tst-fnmatch3.c: New file.
19922
19923 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19924
19925 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19926 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19927 [$(cross-compiling) = no]: Likewise.
19928 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19929 [$(cross-compiling) = no]: Likewise.
19930
19931 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19932
19933 [BZ #17031]
19934 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19935 double, adjusted for any remainder from the high double.
19936 * math/libm-test.inc (nearbyint): Add tests.
19937 (rint): Likewise.
19938
19939 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19940
19941 * nptl/sysdeps/powerpc/Makefile: Moved ...
19942 * sysdeps/powerpc/nptl/Makefile: ... here.
19943 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19944 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19945 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19946 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19947 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19948 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19949 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19950 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19951 * nptl/sysdeps/powerpc/tls.h: Moved ...
19952 * sysdeps/powerpc/nptl/tls.h: ... here.
19953
19954 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19955
19956 [BZ #16681]
19957 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19958 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19959 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19960 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19961 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19962 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19963 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19964 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19965 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19966
19967 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19968
19969 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19970
19971 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19972
19973 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19974 defined operator.
19975
19976 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19977 $TIMEOUTFACTOR.
19978
19979 2014-06-16 Florian Weimer <fweimer@redhat.com>
19980
19981 [BZ #17058]
19982 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19983 non-executed part of the test.
19984
19985 2014-06-16 Andreas Schwab <schwab@suse.de>
19986
19987 * string/bits/string2.h (strdup, strndup): Update feature guard.
19988
19989 2014-06-14 David S. Miller <davem@davemloft.net>
19990
19991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19992
19993 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19994
19995 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19996 that was previously under [RESET_PID].
19997 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19998
19999 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20000 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20001 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20002 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20003 (__libc_vfork): New strong alias.
20004 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20005
20006 2014-06-14 Andi Kleen <ak@linux.intel.com>
20007
20008 * sysdeps/generic/elide.h: New file.
20009
20010 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20011
20012 * Makefile (installed-headers): Adjust path of pthread.h header.
20013
20014 2014-06-13 Roland McGrath <roland@hack.frob.com>
20015
20016 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20017 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20018 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20019 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20020
20021 * nptl/sysdeps/s390/Makefile: Moved ...
20022 * sysdeps/s390/nptl/Makefile: ... here.
20023 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20024 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20025 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20026 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20027 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20028 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20029 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20030 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20031 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20032 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20033 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20034 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20035 * nptl/sysdeps/s390/tls.h: Moved ...
20036 * sysdeps/s390/nptl/tls.h: ... here.
20037
20038 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20039 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20040
20041 2014-06-13 David S. Miller <davem@davemloft.net>
20042
20043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20046 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20050 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20051 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20052 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20053 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20054 Remove RESET_PID cpp guards.
20055 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20056 Remove RESET_PID cpp guards.
20057 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20058
20059 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
20060
20061 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20062 __sp to uintptr_t.
20063
20064 2014-06-13 Andi Kleen <ak@linux.intel.com>
20065
20066 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20067 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20068 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20069 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20070 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20071 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20072 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20073 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20074 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20075 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20076 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20077 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20078 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20079 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20080 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20081 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20082 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20083 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20084 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20085 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20086
20087 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20088 (pthread_rwlock_rdlock): Add elision.
20089 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20090 (pthread_rwlock_wrlock): Add elision.
20091 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20092 (pthread_rwlock_trywrlock): Add elision.
20093 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20094 (pthread_rwlock_tryrdlock): Add elision.
20095 * nptl/pthread_rwlock_unlock.c: Include elide.h.
20096 (pthread_rwlock_tryrdlock): Add elision unlock.
20097 * nptl/sysdeps/pthread/pthread.h:
20098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20099 (PTHREAD_RWLOCK_INITIALIZER,
20100 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20101 Handle new elision field.
20102 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20103 * sysdeps/arm/nptl/bits/pthreadtypes.h
20104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20105 * sysdeps/sh/nptl/bits/pthreadtypes.h
20106 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20107 * sysdeps/tile/nptl/bits/pthreadtypes.h
20108 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20109 * sysdeps/a/nptl/bits/pthreadtypes.h
20110 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20111 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20112 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20113 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20115 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20117 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20118 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20119 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20120 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20121 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20122 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20123 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20124 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20125 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20126 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20127 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20128 (elision_init): Set try_xbegin to zero when no RTM.
20129 * sysdeps/x86/nptl/bits/pthreadtypes.h
20130 (pthread_rwlock_t): Change __pad1 to __rwelision.
20131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20132
20133 2014-06-13 Andi Kleen <ak@linux.intel.com>
20134
20135 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20136 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20137 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20138 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20139
20140 2014-06-13 Meador Inge <meadori@codesourcery.com>
20141
20142 [BZ #16996]
20143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20144 that the cached result has been set before returning it.
20145
20146 2014-06-12 Roland McGrath <roland@hack.frob.com>
20147
20148 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20149 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20150 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20151 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20152 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20153 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20154
20155 * nptl/sysdeps/sparc/Makefile: Moved ...
20156 * sysdeps/sparc/nptl/Makefile: ... here.
20157 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20158 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20159 * nptl/sysdeps/sparc/tls.h: Moved ...
20160 * sysdeps/sparc/nptl/tls.h: ... here.
20161 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20162 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20163 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20164 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20165 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20166 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20167 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20168 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20169 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20170 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20171 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20172 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20173 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20174 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20175 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20176 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20177 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20179 Update #include.
20180 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20181 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20182 Update #include.
20183 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20184 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20185 Update #include.
20186 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20187 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20188 Update #include.
20189
20190 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20191
20192 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20193 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20194
20195 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20196 (struct list_links): Type removed.
20197 (struct thread_node, struct timer_node): Replace struct list_links
20198 with struct list_head.
20199 (list_unlink_ip): Likewise.
20200 * sysdeps/pthread/timer_routines.c
20201 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20202 (list_append, list_insbefore): Likewise.
20203 (list_init): Function removed.
20204 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20205 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20206 * sysdeps/pthread/Makefile: ... here, new file.
20207
20208 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20209 * sysdeps/nptl/Implies: ... here.
20210 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20211 * nptl/sysdeps/pthread/list.h: Moved ...
20212 * include/list.h: ... here.
20213 * nptl/sysdeps/pthread/createthread.c: Moved ...
20214 * nptl/createthread.c: ... here.
20215 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20216 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20217 * nptl/pt-longjmp.c: ... here.
20218 * nptl/sysdeps/pthread/Makefile: Moved ...
20219 * sysdeps/nptl/Makefile: ... here.
20220 * nptl/sysdeps/pthread/Subdirs: Moved ...
20221 * sysdeps/nptl/Subdirs: ... here.
20222 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20223 * sysdeps/nptl/aio_misc.h: ... here.
20224 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20225 * sysdeps/nptl/bits/libc-lock.h: ... here.
20226 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20227 * sysdeps/nptl/bits/libc-lockP.h: ... here.
20228 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20229 * sysdeps/nptl/bits/stdio-lock.h: ... here.
20230 * nptl/sysdeps/pthread/configure: Moved ...
20231 * sysdeps/nptl/configure: ... here.
20232 * nptl/sysdeps/pthread/configure.ac: Moved ...
20233 * sysdeps/nptl/configure.ac: ... here.
20234 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20235 * sysdeps/nptl/gai_misc.h: ... here.
20236 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20237 * sysdeps/nptl/librt-cancellation.c: ... here.
20238 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20239 * sysdeps/nptl/malloc-machine.h: ... here.
20240 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20241 * sysdeps/nptl/pthread-functions.h: ... here.
20242 * nptl/sysdeps/pthread/pthread.h: Moved ...
20243 * sysdeps/nptl/pthread.h: ... here.
20244 * nptl/sysdeps/pthread/setxid.h: Moved ...
20245 * sysdeps/nptl/setxid.h: ... here.
20246 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20247 * sysdeps/nptl/sigfillset.c: ... here.
20248 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20249 * sysdeps/nptl/tcb-offsets.h: ... here.
20250 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20251 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20252 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20253 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20254 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20255 * sysdeps/pthread/allocalim.h: ... here.
20256 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20257 * sysdeps/pthread/bits/sigthread.h: ... here.
20258 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20259 * sysdeps/pthread/flockfile.c: ... here.
20260 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20261 * sysdeps/pthread/ftrylockfile.c: ... here.
20262 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20263 * sysdeps/pthread/funlockfile.c: ... here.
20264 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20265 * sysdeps/pthread/posix-timer.h: ... here.
20266 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20267 * sysdeps/pthread/timer_create.c: ... here.
20268 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20269 * sysdeps/pthread/timer_delete.c: ... here.
20270 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20271 * sysdeps/pthread/timer_getoverr.c: ... here.
20272 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20273 * sysdeps/pthread/timer_gettime.c: ... here.
20274 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20275 * sysdeps/pthread/timer_routines.c: ... here.
20276 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20277 * sysdeps/pthread/timer_settime.c: ... here.
20278 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20279 * sysdeps/pthread/tst-timer.c: ... here.
20280 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20281 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20282
20283 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20284 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20285
20286 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20287 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20288 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20289 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20290 Update #include target.
20291 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20292 * sysdeps/i386/i686/nptl/Makefile: ... here.
20293 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20294 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20295 Update #include target.
20296 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20297 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20298 * nptl/sysdeps/i386/Makefile: Moved ...
20299 * sysdeps/i386/nptl/Makefile: ... here.
20300 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20301 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20302 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20303 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20304 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20305 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20306 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20307 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20308 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20309 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20310 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20311 * nptl/sysdeps/i386/tls.h: Moved ...
20312 * sysdeps/i386/nptl/tls.h: ... here.
20313
20314 * sysdeps/sh/Makefile [$(subdir) = csu]
20315 (gen-as-const-headers): Add tcb-offsets.sym.
20316 * nptl/sysdeps/sh/Makefile: File removed.
20317 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20318 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20319 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20320 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20321 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20322 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20323 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20324 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20325 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20326 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20327 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20328 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20329 * nptl/sysdeps/sh/tls.h: Moved ...
20330 * sysdeps/sh/nptl/tls.h: ... here.
20331 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20332 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20333 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20334 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20335 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20336 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20337 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20338 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20339 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20340 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20342 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20344 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20345 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20346 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20347 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20348 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20349 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20350 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20351 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20352 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20353 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20354 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20355 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20356 Moved ...
20357 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20358 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20359 Moved ...
20360 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20361 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20362 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20363 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20364 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20365 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20366 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20367 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20368 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20369 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20370 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20371 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20372 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20373 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20374 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20375 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20376 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20377 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20378 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20379
20380 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20381
20382 * posix/spawn_faction_addopen.c: Include string.h.
20383
20384 2014-06-11 Roland McGrath <roland@hack.frob.com>
20385
20386 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20387 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20388 * nptl/sysdeps/x86_64/Makefile: Moved ...
20389 * sysdeps/x86_64/nptl/Makefile: ... here.
20390 * nptl/sysdeps/x86_64/configure: Moved ...
20391 * sysdeps/x86_64/nptl/configure: ... here.
20392 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20393 * sysdeps/x86_64/nptl/configure.ac: ... here.
20394 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20395 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20396 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20397 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20398 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20399 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20400 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20401 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20402 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20403 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20404 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20405 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20406 * nptl/sysdeps/x86_64/tls.h: Moved ...
20407 * sysdeps/x86_64/nptl/tls.h: ... here.
20408 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20409 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20410 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20411 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20412
20413 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20414
20415 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20416
20417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20418
20419 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20420
20421 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20422 type.
20423 [POSIX] (off_t): Likewise.
20424 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20425 [POSIX] (S_ISBLK): Require macro.
20426 [POSIX] (S_ISCHR): Likewise.
20427 [POSIX] (S_ISDIR): Likewise.
20428 [POSIX] (S_ISFIFO): Likewise.
20429 [POSIX] (S_ISREG): Likewise.
20430 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20431 optional-macro.
20432 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20433 type.
20434 [POSIX] (time_t): Likewise.
20435 [POSIX] (timer_t): Likewise.
20436
20437 2014-06-11 Florian Weimer <fweimer@redhat.com>
20438
20439 [BZ #17048]
20440 * posix/spawn_int.h (struct __spawn_action): Make the path string
20441 non-const to support deallocation.
20442 * posix/spawn_faction_addopen.c
20443 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20444 * posix/spawn_faction_destroy.c
20445 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20446 path in all spawn_do_open actions.
20447 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20448 posix_spawn_file_actions_addopen.
20449
20450 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20451
20452 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20453 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20454 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20455 conditional code always true.
20456 (__libc_vfork): New alias.
20457
20458 2014-06-11 Roland McGrath <roland@hack.frob.com>
20459
20460 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20461 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20462
20463 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20464
20465 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20466 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20467
20468 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20469 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20470
20471 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20472 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20473
20474 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20475
20476 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20477 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20478 multiarch strcmp for PPC64.
20479 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20480 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20482 multiarch optimizations.
20483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20484 (__libc_ifunc_impl_list): Likewise.
20485
20486 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20487
20488 * benchtests/scripts/validate_benchout.py: New script.
20489 * benchtests/Makefile (bench-func): Call it.
20490 * benchtests/scripts/benchout.schema.json: New file.
20491
20492 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20493
20494 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20495 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20496 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20497 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20498 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20499 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20500 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20501 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20502 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20503 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20504 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20505 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20506 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20507 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20508 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20509 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20511 Moved ...
20512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20513 ... here.
20514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20515 Moved ...
20516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20518 Moved ...
20519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20520 ... here.
20521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20522 Moved ...
20523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20524 ... here.
20525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20526 Moved ...
20527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20529 Moved ...
20530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20531 ... here.
20532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20533 Moved ...
20534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20535 ... here.
20536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20537 Moved ...
20538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20540 Moved ...
20541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20542 ... here.
20543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20544 Moved ...
20545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20546 ... here.
20547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20548 Moved ...
20549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20550 ... here.
20551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20552 Moved ...
20553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20555 Moved ...
20556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20557 ... here.
20558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20559 Moved ...
20560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20561 ... here.
20562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20563 Moved ...
20564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20565 ... here.
20566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20567 Moved ...
20568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20570 Moved ...
20571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20572 ... here.
20573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20574 Moved ...
20575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20576 ... here.
20577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20578 Moved ...
20579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20581 Moved ...
20582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20583 ... here.
20584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20585 Moved ...
20586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20588 Moved ...
20589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20591 Moved ...
20592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20593 ... here.
20594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20595 Moved ...
20596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20597 ... here.
20598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20599 Moved ...
20600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20601 ... here.
20602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20603 Moved ...
20604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20606 Moved ...
20607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20608 ... here.
20609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20610 Moved ...
20611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20612 ... here.
20613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20614 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20616 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20617 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20618 Moved ...
20619 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20620 ... here.
20621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20622 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20623 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20624 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20625 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20626 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20627 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20628 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20629 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20630 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20631 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20632 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20633 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20634 Moved ...
20635 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20637 Moved ...
20638 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20639 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20640 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20641 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20642 Moved ...
20643 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20644 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20645 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20646 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20647 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20648 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20649 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20650
20651 2014-06-10 Wilco <wdijkstr@arm.com>
20652
20653 * math/test-fenv-return.c: New file.
20654 * math/Makefile: Add new test test-fenv-return.
20655
20656 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20657
20658 [BZ #17042]
20659 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20660 when x - 1 is zero.
20661 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20662 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20663 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20664 0.0L for an argument of 1.0L.
20665 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20666 Likewise.
20667 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20668 value when x - 1 is zero.
20669 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20670 * sysdeps/i386/fpu/libm-test-ulps: Update.
20671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20672
20673 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20674
20675 [BZ #15119]
20676 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20677
20678 2014-06-09 Roland McGrath <roland@hack.frob.com>
20679
20680 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20681 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20682
20683 2014-06-09 Roland McGrath <roland@hack.frob.com>
20684
20685 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20686 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20687
20688 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20689 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20690
20691 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20692 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20693
20694 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20695 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20696
20697 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20698 if not already defined.
20699 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20700 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20701 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20702 (TLS_INIT_TP): Use it.
20703 (TLS_DEFINE_INIT_TP): New macro.
20704 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20705
20706 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20707
20708 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20709 constant.
20710 [POSIX] (IXANY): Likewise.
20711 [POSIX] (OLCUC): Likewise.
20712 [POSIX || POSIX2008] (CBAUD): Do not allow.
20713 [POSIX || POSIX2008] (DEFECHO): Likewise.
20714 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20715 [POSIX || POSIX2008] (ECHOKE): Likewise.
20716 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20717 [POSIX || POSIX2008] (EXTA): Likewise.
20718 [POSIX || POSIX2008] (EXTB): Likewise.
20719 [POSIX || POSIX2008] (FLUSHO): Likewise.
20720 [POSIX || POSIX2008] (LOBLK): Likewise.
20721 [POSIX || POSIX2008] (PENDIN): Likewise.
20722 [POSIX || POSIX2008] (SWTCH): Likewise.
20723 [POSIX || POSIX2008] (VDISCARD): Likewise.
20724 [POSIX || POSIX2008] (VDSUSP): Likewise.
20725 [POSIX || POSIX2008] (VLNEXT): Likewise.
20726 [POSIX || POSIX2008] (VREPRINT): Likewise.
20727 [POSIX || POSIX2008] (VSTATUS): Likewise.
20728 [POSIX || POSIX2008] (VWERASE): Likewise.
20729 (B*): Change to B[0123456789]*.
20730 * conform/data/time.h-data [POSIX || UNIX98]
20731 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20732 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20733 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20734 [POSIX] (tm_*): Do not allow.
20735
20736 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20737
20738 * Makefile (install): Don't set LANGUAGE.
20739 * Makefile.in (install): Likewise.
20740 * assert/Makefile (test-assert-ENV): Remove variable.
20741 (test-assert-perr-ENV): Likewise.
20742 * elf/Makefile (neededtest4-ENV): Likewise.
20743 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20744 [$(cross-compiling) = no]: Don't set LANGUAGE.
20745 * io/ftwtest-sh (LANG): Remove variable.
20746 * libio/Makefile (tst-widetext-ENV): Likewise.
20747 * manual/install.texi (Running make install): Don't refer to
20748 environment settings for make install.
20749 * INSTALL: Regenerated.
20750 * nptl/tst-tls6.sh: Don't set LANG.
20751 * posix/globtest.sh (LANG): Remove variable.
20752 * string/Makefile (tester-ENV): Likewise.
20753 (inl-tester-ENV): Likewise.
20754 (noinl-tester-ENV): Likewise.
20755 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20756 [$(cross-compiling) = no]: Don't set LANGUAGE.
20757 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20758 without explicit environment settings.
20759
20760 2014-06-06 Roland McGrath <roland@hack.frob.com>
20761
20762 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20763 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20764 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20765 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20766
20767 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20768
20769 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20770 other files in the crypt directory.
20771 * crypt/crypt.c: Remove duplicate includes.
20772 * crypt/crypt-entry.c: Likewise.
20773 * crypt/crypt_util.c: Likewise.
20774
20775 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20776
20777 * Makeconfig (run-program-env): New variable.
20778 (run-program-prefix-before-env): Likewise.
20779 (run-program-prefix-after-env): Likewise.
20780 (run-program-prefix): Define in terms of new variables.
20781 (built-program-cmd-before-env): New variable.
20782 (built-program-cmd-after-env): Likewise.
20783 (built-program-cmd): Define in terms of new variables.
20784 (test-program-prefix-before-env): New variable.
20785 (test-program-prefix-after-env): Likewise.
20786 (test-program-prefix): Define in terms of new variables.
20787 (test-program-cmd-before-env): New variable.
20788 (test-program-cmd-after-env): Likewise.
20789 (test-program-cmd): Define in terms of new variables.
20790 * Rules (make-test-out): Use $(run-program-env).
20791 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20792 (help): Do not mention environment variables. Mention
20793 --timeoutfactor option.
20794 (timeoutfactor): New variable.
20795 (blacklist_exports): Remove function.
20796 (exports): Remove variable.
20797 (command): Do not include ${exports}.
20798 * manual/install.texi (Configuring and compiling): Do not mention
20799 test wrappers preserving environment variables. Mention that last
20800 assignment to a variable must take precedence.
20801 * INSTALL: Regenerated.
20802 * benchtests/Makefile (run-bench): Use $(run-program-env).
20803 * catgets/Makefile ($(objpfx)test1.cat): Use
20804 $(built-program-cmd-before-env), $(run-program-env) and
20805 $(built-program-cmd-after-env).
20806 ($(objpfx)test2.cat): Do not specify environment variables
20807 explicitly.
20808 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20809 $(run-program-env) and $(built-program-cmd-after-env).
20810 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20811 $(run-program-env) and $(test-program-cmd-after-env).
20812 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20813 explicitly.
20814 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20815 run_program_env and test_program_cmd_after_env arguments.
20816 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20817 * elf/tst-pathopt.sh: Use run_program_env argument.
20818 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20819 $(test-wrapper-env) and $(run-program-env).
20820 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20821 run_program_env arguments.
20822 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20823 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20824 $(test-program-prefix-before-env), $(run-program-env) and
20825 $(test-program-prefix-after-env).
20826 ($(objpfx)tst-gettext2.out): Likewise.
20827 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20828 run_program_env and test_program_prefix_after_env arguments.
20829 * intl/tst-gettext2.sh: Likewise.
20830 * intl/tst-gettext4.sh: Do not set environment variables
20831 explicitly.
20832 * intl/tst-gettext6.sh: Likewise.
20833 * intl/tst-translit.sh: Likewise.
20834 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20835 $(test-program-prefix-before-env), $(run-program-env) and
20836 $(test-program-prefix-after-env).
20837 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20838 run_program_env and test_program_prefix_after_env arguments.
20839 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20840 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20841 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20842 explicitly with each use of ${test_wrapper_env}.
20843 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20844 $(test-program-prefix-before-env), $(run-program-env) and
20845 $(test-program-prefix-after-env).
20846 * posix/tst-getconf.sh: Do not set environment variables
20847 explicitly.
20848 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20849 run_program_env and test_program_prefix_after_env arguments.
20850 * stdio-common/tst-printf.sh: Do not set environment variables
20851 explicitly.
20852 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20853 $(test-program-prefix-before-env), $(run-program-env) and
20854 $(test-program-prefix-after-env).
20855 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20856 run_program_env and test_program_prefix_after_env arguments.
20857 Split $test calls into $test_pre and $test.
20858 * timezone/Makefile (build-testdata): Use
20859 $(built-program-cmd-before-env), $(run-program-env) and
20860 $(built-program-cmd-after-env).
20861
20862 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20863
20864 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20865 strlen for non SHARED builds.
20866
20867 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20868
20869 * nptl/allocatestack.c (check_list): Inlined function...
20870 (__reclaim_stacks): ... here.
20871
20872 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20873
20874 [BZ #15698]
20875 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20876 memory overrun.
20877
20878 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20879
20880 * Rules (make-test-out): Include
20881 LOCPATH=$(common-objpfx)localedata in default environment.
20882 * debug/Makefile (tst-chk1-ENV): Remove variable.
20883 (tst-chk2-ENV): Likewise.
20884 (tst-chk3-ENV): Likewise.
20885 (tst-chk4-ENV): Likewise.
20886 (tst-chk5-ENV): Likewise.
20887 (tst-chk6-ENV): Likewise.
20888 (tst-lfschk1-ENV): Likewise.
20889 (tst-lfschk2-ENV): Likewise.
20890 (tst-lfschk3-ENV): Likewise.
20891 (tst-lfschk4-ENV): Likewise.
20892 (tst-lfschk5-ENV): Likewise.
20893 (tst-lfschk6-ENV): Likewise.
20894 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20895 (tst-iconv7-ENV): Likewise.
20896 * intl/Makefile (LOCPATH-ENV): Likewise.
20897 (tst-codeset-ENV): Likewise.
20898 (tst-gettext3-ENV): Likewise.
20899 (tst-gettext5-ENV): Likewise.
20900 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20901 (tst-fopenloc-ENV): Likewise.
20902 (tst-fgetws-ENV): Remove variable.
20903 (tst-ungetwc1-ENV): Likewise.
20904 (tst-ungetwc2-ENV): Likewise.
20905 (bug-ungetwc2-ENV): Likewise.
20906 (tst-swscanf-ENV): Likewise.
20907 (bug-ftell-ENV): Likewise.
20908 (tst-fgetwc-ENV): Likewise.
20909 (tst-fseek-ENV): Likewise.
20910 (tst-ftell-partial-wide-ENV): Likewise.
20911 (tst-ftell-active-handler-ENV): Likewise.
20912 (tst-ftell-append-ENV): Likewise.
20913 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20914 (tst-regexloc-ENV): Likewise.
20915 (bug-regex1-ENV): Likewise.
20916 (tst-regex-ENV): Likewise.
20917 (tst-regex2-ENV): Likewise.
20918 (bug-regex5-ENV): Likewise.
20919 (bug-regex6-ENV): Likewise.
20920 (bug-regex17-ENV): Likewise.
20921 (bug-regex18-ENV): Likewise.
20922 (bug-regex19-ENV): Likewise.
20923 (bug-regex20-ENV): Likewise.
20924 (bug-regex22-ENV): Likewise.
20925 (bug-regex23-ENV): Likewise.
20926 (bug-regex25-ENV): Likewise.
20927 (bug-regex26-ENV): Likewise.
20928 (bug-regex30-ENV): Likewise.
20929 (bug-regex32-ENV): Likewise.
20930 (bug-regex33-ENV): Likewise.
20931 (bug-regex34-ENV): Likewise.
20932 (bug-regex35-ENV): Likewise.
20933 (tst-rxspencer-ENV): Likewise.
20934 (tst-rxspencer-no-utf8-ENV): Likewise.
20935 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20936 (tst-sscanf-ENV): Likewise.
20937 (tst-swprintf-ENV): Likewise.
20938 (tst-swscanf-ENV): Likewise.
20939 (test-vfprintf-ENV): Likewise.
20940 (scanf13-ENV): Likewise.
20941 (bug14-ENV): Likewise.
20942 (tst-grouping-ENV): Likewise.
20943 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20944 (tst-strtod3-ENV): Likewise.
20945 (tst-strtod4-ENV): Likewise.
20946 (tst-strtod5-ENV): Likewise.
20947 (testmb2-ENV): Likewise./
20948 * string/Makefile (tst-strxfrm-ENV): Likewise.
20949 (tst-strxfrm2-ENV): Likewise.
20950 (bug-strcoll1-ENV): Likewise.
20951 (test-strcasecmp-ENV): Likewise.
20952 (test-strncasecmp-ENV): Likewise.
20953 * time/Makefile (tst-strptime-ENV): Likewise.
20954 (tst-ftime_l-ENV): Likewise.
20955 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20956 (tst-mbrtowc-ENV): Likewise.
20957 (tst-wcrtomb-ENV): Likewise.
20958 (tst-mbrtowc2-ENV): Likewise.
20959 (tst-c16c32-1-ENV): Likewise.
20960 (tst-mbsnrtowcs-ENV): Likewise.
20961
20962 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20963
20964 * manual/resource.texi (How to get information about the memory
20965 subsystem?): Fix typo.
20966 Reported by Peon de la Parra Ivan <peon@keba.com>
20967
20968 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20969
20970 [BZ #16882]
20971 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20972 (pthread_spin_lock): Branch out of spin loop to proper location.
20973 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20974 (pthread_spin_lock): Likewise.
20975
20976 * nptl/tst-spin4.c: New test.
20977 * nptl/Makefile (tests): Add tst-spin4.
20978
20979 2014-06-03 Andreas Schwab <schwab@suse.de>
20980
20981 [BZ #15946]
20982 * resolv/res_send.c (send_dg): Reload file descriptor after
20983 calling reopen.
20984
20985 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20986
20987 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20988
20989 2014-06-03 Richard Henderson <rth@redhat.com>
20990
20991 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20992 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20993 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20994 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20995 in the SAVE_PID block.
20996 (__libc_vfork): New alias.
20997 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20998
20999 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21000 child in registers, not on the stack. Remove RESET_PID conditionals.
21001 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21002
21003 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21004
21005 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21006
21007 2014-06-03 Wilco <wdijkstr@arm.com>
21008
21009 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21010 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21011 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21012 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21013 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21014 Likewise.
21015
21016 2014-06-03 Wilco <wdijkstr@arm.com>
21017
21018 * sysdeps/aarch64/fpu/math_private.h
21019 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21020 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21021 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21022 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21023 Fix declarations.
21024
21025 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21026
21027 * crypt/crypt-private.h: Include ufc-crypt.h.
21028 (__b64_from_24bit): Declare extern.
21029 * crypt/crypt_util.c(__b64_from_24bit): New function.
21030 (b64t): New static const variable.
21031 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21032 (b64t): Remove variable.
21033 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21034 * crypt/sha256-crypt.c: Include crypt-private.h.
21035 (b64t): Remove variable.
21036 (__sha256_crypt_r): Remove b64_from_24bit and replace
21037 with __b64_from_24bit.
21038 * crypt/sha512-crypt.c: Likewise.
21039
21040 2014-06-02 Roland McGrath <roland@hack.frob.com>
21041
21042 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21043 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21044 Label the code __libc_vfork rather than __vfork.
21045 [!NOT_IN_libc] (vfork): Define as weak alias.
21046 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21047 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21048 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21049
21050 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21051
21052 * malloc/malloc.c (malloc_info): Fix format specifier for
21053 n_mmaps.
21054
21055 2014-06-02 Wilco <wdijkstr@arm.com>
21056
21057 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21058 FPCR write.
21059
21060 2014-06-02 Wilco <wdijkstr@arm.com>
21061
21062 [BZ #17009]
21063 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21064 Rewrite to reduce FPCR/FPSR accesses.
21065
21066 2014-06-01 David S. Miller <davem@davemloft.net>
21067
21068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21069
21070 2014-05-31 David S. Miller <davem@davemloft.net>
21071
21072 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21073 to occur in round to nearest mode when |x| >= 2.0
21074
21075 2014-05-30 Richard Henderson <rth@twiddle.net>
21076
21077 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21078 (PSEUDO_RET_NOERRNO): Remove.
21079 (ret): Don't redefine.
21080 (ret_NOERRNO): Define in terms of ret.
21081 (ret_ERRVAL): Likewise.
21082
21083 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21084 use of PSEUDO_RET; perform the error check directly.
21085
21086 2014-05-30 Marko Myllynen <myllynen@redhat.com>
21087
21088 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21089 with __int128_t.
21090
21091 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21092
21093 * malloc/malloc (malloc_info): Fix formatting.
21094
21095 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21096 Roland McGrath <roland@hack.frob.com>
21097
21098 * malloc/malloc (malloc_info): Also print mmapped statistics.
21099
21100 2014-05-30 Roland McGrath <roland@hack.frob.com>
21101
21102 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21103 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21104
21105 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
21106
21107 * malloc/malloc.c (malloc_info): Inline mi_arena.
21108
21109 2014-05-29 Richard Henderson <rth@twiddle.net>
21110
21111 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21112 Remove comma before expanding ASM_ARGS_##nr.
21113 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21114 Make _x0 a strict output; make _x8 a strict input; adjust expansion
21115 of ASM_ARGS_##nr.
21116 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21117 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21118 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21119 (ASM_ARGS_1): Add leading comma.
21120
21121 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21122 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21123 to __errno_location.
21124 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21125 Remove the expected plt for __errno_location.
21126
21127 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21128 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21129 call to __read_tp.
21130
21131 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21132 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21133 it and break it down.
21134 (DOCARGS_0, DOCARGS_1): Do nothing.
21135 (DOCARGS_2): Update to store into the new stack frame.
21136 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21137 (UNDOCARGS_1): Update to restore from the new stack frame.
21138 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21139 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21140
21141 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21142 (SINGLE_THREAD_P): New parameter for result regno.
21143 (PSEUDO): Update to match; use cbz instead of beq.
21144
21145 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21146 Use ENTRY to define the _nocancel entry point. Share the syscall
21147 and syscall error check paths with the cancel path.
21148 (PSEUDO_END): New.
21149
21150 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21151 whitespace; tabs before and after asm mnemonics.
21152
21153 2014-05-29 Eric Wong <normalperson@yhbt.net>
21154
21155 [BZ #15132]
21156 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21157 Call fstat64 or stat64 internally, depending on arguments passed.
21158 Replace stat buffer argument with file descriptor argument.
21159 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21160 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21161 Pass fd to __internal_statvfs instead of calling fstat64.
21162 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21163 Pass fd to __internal_statvfs64 instead of calling fstat64.
21164 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21165 Pass -1 to __internal_statvfs instead of calling stat64.
21166 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21167 Pass -1 to __internal_statvfs64 instead of calling stat64.
21168
21169 2014-05-28 Roland McGrath <roland@hack.frob.com>
21170
21171 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21172 that was previously under [RESET_PID].
21173 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21174
21175 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21176 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21177
21178 2014-05-27 Roland McGrath <roland@hack.frob.com>
21179
21180 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21181
21182 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21183 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21184
21185 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21186
21187 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21188
21189 2014-05-27 Andreas Schwab <schwab@suse.de>
21190
21191 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21192 TLS_INIT_TP macro.
21193 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21194 * elf/rtld.c (init_tls, dl_main): Likewise.
21195 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21196 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21197 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21198 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21199 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21200 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21201 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21202 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21203 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21204 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21205 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21206 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21207 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21208 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21209 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21210 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21211 * sysdeps/generic/tls.h: Update description.
21212
21213 2014-05-27 Will Newton <will.newton@linaro.org>
21214
21215 [BZ #16990]
21216 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21217 and restore r2 rather than just restoring.
21218
21219 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21220
21221 [BZ #16724]
21222 * libio/tst-ftell-append.c: New test case.
21223 * libio/Makefile (tests): Add test case.
21224 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21225 append mode.
21226 * libio/wfileops.c (do_ftell_wide): Likewise.
21227
21228 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21229
21230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21231
21232 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21233 ...
21234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21236 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21237 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21238 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21239 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21240 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21241 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21243 Moved ...
21244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21245 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21246 Moved ...
21247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21248 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21249 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21250 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21251 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21252 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21253 ...
21254 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21255 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21256 Moved ...
21257 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21258 here.
21259 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21260 ...
21261 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21262 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21263 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21264
21265 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21266 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21267 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21268 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21269
21270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21271 merge into ...
21272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21273 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21274 ...
21275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21277 ...
21278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21279 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21280 Moved ...
21281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21282 here.
21283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21284 Moved ...
21285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21287 Moved ...
21288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21289
21290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21291 conditional [RESET_PID].
21292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21294 removed.
21295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21296 removed.
21297
21298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21299 <tcb-offsets.h>.
21300 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21301 (__libc_vfork): New strong alias.
21302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21303 removed.
21304 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21305 Removed.
21306
21307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21308 <tcb-offsets.h>.
21309 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21310 (__libc_vfork): New strong alias.
21311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21312 removed.
21313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21314 removed.
21315
21316 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21317
21318 * malloc/malloc.c (mi_arena): New function.
21319 (malloc_info): Remove nested function mi_arena. Call non-nosted
21320 function mi_arena.
21321
21322 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21323
21324 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21325 by insrwi.
21326 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21327 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21328 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21329 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21330 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21331 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21332 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21333
21334 2014-05-26 Andreas Schwab <schwab@suse.de>
21335
21336 [BZ #16984]
21337 * locale/programs/repertoire.c (repertoire_read): Add slash
21338 between I18NPATH element and file name.
21339 * locale/programs/locfile.c (locfile_read): Likewise.
21340
21341 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21342
21343 * nptl/pthread_mutexattr_settype.c
21344 (__pthread_mutexattr_settype):
21345 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21346
21347 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21348
21349 * nptl/tst-mutex5 (do_test):
21350 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21351
21352 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21353
21354 * benchtests/README: Document 'init' directive.
21355 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21356 BENCH_INIT.
21357 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21358 (parse_file): Recognize 'init' directive.
21359
21360 2014-05-26 Kyle McMartin <kyle@redhat.com>
21361
21362 [BZ #16796]
21363 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21364 alignment of struct pthread.
21365
21366 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21367
21368 [BZ #16878]
21369 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21370 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21371 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21372 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21373
21374 2014-05-25 Richard Henderson <rth@twiddle.net>
21375
21376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21377 (SINGLE_THREAD_P_PIC): Remove.
21378 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21379 (SINGLE_THREAD_P_PIC): Remove.
21380
21381 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21382 branch to syscall error ...
21383 (PSEUDO): ... here.
21384 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21385 from __local_syscall_error to .Lsyscall_error.
21386 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21387 (SYSCALL_ERROR): Update label name.
21388
21389 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21390 Do not use DOARGS/UNDOARGS.
21391 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21392 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21393 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21394 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21395 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21396
21397 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21398 block comment.
21399
21400 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21401 define if !NOT_IN_libc.
21402 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21403 define with non-default symbol versions.
21404
21405 2014-05-23 Richard Henderson <rth@twiddle.net>
21406
21407 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21408 (vfork, __vfork): Define via compat_symbol.
21409
21410 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21411 [!HAVE_IFUNC] (vfork_compat): Remove.
21412 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21413
21414 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21415
21416 [BZ #16978]
21417 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21418 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21419 variable.
21420
21421 2014-05-23 Richard Henderson <rth@twiddle.net>
21422
21423 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21424 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21425 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21426 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21427
21428 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21429 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21430 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21431 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21432 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21433 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21434 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21435 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21436 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21437 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21438 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21439 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21440 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21441 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21442 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21443 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21444 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21445 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21446 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21447 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21448 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21449 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21450 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21451 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21452 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21453 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21454 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21455 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21456 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21457 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21458 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21459 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21460 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21461 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21462 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21463 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21464 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21465 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21466 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21467 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21468 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21469 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21470 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21471 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21472 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21473 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21474 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21475 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21476 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21477 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21478 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21479 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21480 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21481 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21482 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21483 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21484
21485 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21486 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21487 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21488 before exiting on error.
21489 (__libc_vfork): New strong alias.
21490 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21491 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21492
21493 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21494 that was previously under [RESET_PID].
21495 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21496
21497 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21498
21499 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21500
21501 [BZ #16977]
21502 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21503 value when x - 1 is zero.
21504 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21505 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21506 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21507 0.0L for an argument of 1.0L.
21508 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21509 Likewise.
21510 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21511 value when x - 1 is zero.
21512 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21513 * sysdeps/i386/fpu/libm-test-ulps: Update.
21514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21515
21516 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21517
21518 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21519 alphasort and versionsort.
21520
21521 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21522
21523 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21524 macro.
21525 [copysignf]: Likewise.
21526
21527 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21528
21529 * crypt/md5-crypt.c: Fix formatting.
21530
21531 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21532
21533 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21534 (b64_from_24bit): New function.
21535
21536 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21537
21538 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21539 libc_hidden_builtin_def to ifunc.
21540 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21541 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21542
21543 2014-05-21 Roland McGrath <roland@hack.frob.com>
21544
21545 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21546 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21547
21548 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21549
21550 * nscd/Depend (linuxthreads): Remove.
21551 (nptl): Add.
21552 * resolv/Depend (linuxthreads): Remove.
21553 * rt/Depend (linuxthreads): Remove.
21554
21555 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21556 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21557 $(common-objpfx)elf/.
21558 (link-libc-before-gnulib): Likewise.
21559 (elfobjdir): Remove variable.
21560 * Makefile (install): Use $(elf-objpfx) instead of
21561 $(common-objpfx)elf/.
21562 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21563 $(elfobjdir)/.
21564 (link-libc-deps): Likewise.
21565 ($(common-objpfx)libc.so): Likewise.
21566 ($(common-objpfx)linkobj/libc.so): Likewise.
21567 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21568 instead of $(common-objpfx)elf/.
21569 (symbolic-link-list): Likewise.
21570 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21571 [$(cross-compiling) = no]: Likewise.
21572 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21573 $(elfobjdir)/.
21574 (static-gnulib-arch): Likewise.
21575 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21576 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21577 $(common-objpfx)elf/.
21578
21579 2014-05-21 Richard Henderson <rth@redhat.com>
21580
21581 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21582 (SINGLE_THREAD_P): Use the correct width load. Fold
21583 into the ldr offset.
21584
21585 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21586 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21587
21588 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21589
21590 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21591 (libgcc_s_resume): Use __attribute_used__.
21592 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21593 Likewise.
21594
21595 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21596
21597 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21598 optimization when used with float constants.
21599
21600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21601
21602 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21603
21604 [BZ #16915]
21605 * locale/nl_langinfo_l.c: Make direct reference to every
21606 _nl_current_CATEGORY symbol.
21607 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21608 (tests-static): Add tst-langinfo-static.
21609 (tests-special): Add tst-langinfo-static.out.
21610 ($(objpfx)tst-langinfo.out): Redirect output.
21611 ($(objpfx)tst-langinfo-static.out): New.
21612 * localedata/tst-langinfo.sh: Send output to stdout.
21613 * localedata/tst-langinfo-static.c: New file.
21614
21615 [BZ #16965]
21616 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21617 when the shift amount is modulo the limb size.
21618
21619 2014-05-20 Richard Henderson <rth@redhat.com>
21620
21621 [BZ #16967]
21622 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21623 Change type of sa_flags from unsigned int to int.
21624
21625 [BZ #16966]
21626 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21627
21628 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21629
21630 2014-05-20 Will Newton <will.newton@linaro.org>
21631
21632 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21633 Test the return value of the system call in the nocancel case.
21634
21635 2014-05-20 Will Newton <will.newton@linaro.org>
21636 Yvan Roux <yvan.roux@linaro.org>
21637
21638 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21639 #include of asm/ptrace.h.
21640 (PTRACE_GET_THREAD_AREA): Remove #undef.
21641 (PTRACE_GETHBPREGS): Likewise.
21642 (PTRACE_SETHBPREGS): Likewise.
21643 (struct user_regs_struct): New structure.
21644 (struct user_fpsimd_struct): New structure.
21645 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21646 #include of asm/ptrace.h and second #include of sys/user.h.
21647 (PTRACE_GET_THREAD_AREA): Remove #undef.
21648 (PTRACE_GETHBPREGS): Likewise.
21649 (PTRACE_SETHBPREGS): Likewise.
21650 (ELF_NGREG): Use new struct user_regs_struct.
21651 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21652
21653 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21654
21655 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21656 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21657
21658 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21659
21660 [BZ #16958]
21661 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21662 membar to avoid block loads/stores to overlap previous stores.
21663
21664 2014-05-17 Richard Henderson <rth@redhat.com>
21665
21666 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21667 Create the __##syscall_name##_nocancel entry point.
21668 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21669 Remove; let the sysdep-cancel.h code create it.
21670
21671 2014-05-17 David S. Miller <davem@davemloft.net>
21672
21673 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21674 Protect with __USE_GNU.
21675 (TIOCSET_TEMPT): Likewise.
21676 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21677 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21678 these are already provided in bits/ioctl-types.h
21679
21680 2014-05-16 Roland McGrath <roland@hack.frob.com>
21681
21682 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21683 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21684
21685 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21686 Use wait4 regardless of [__NR_waitpid].
21687
21688 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21689
21690 PR libgcc/60166
21691 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21692 (_FP_NANSIGN_Q): Set the quiet bit.
21693
21694 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21695
21696 * benchtests/Makefile
21697 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21698 not $(common-objpfx)math/libm.so.
21699 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21700 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21701 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21702 $(common-objpfx)dlfcn/libdl.so.
21703 ($(objpfx)tst-audit8): Depend on $(libm), not
21704 $(common-objpfx)math/libm.so.
21705 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21706 not $(common-objpfx)dlfcn/libdl.so.
21707 * math/Makefile
21708 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21709 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21710 [$(build-shared) = yes].
21711 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21712 $(common-objpfx)nptl/libpthread.so.
21713 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21714 $(common-objpfx)math/libm.so$(libm.so-version) or
21715 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21716 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21717 $(common-objpfx)dlfcn/libdl.so.
21718 * setjmp/Makefile (link-libm): Remove variable.
21719 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21720 * stdio-common/Makefile (link-libm): Remove variable.
21721 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21722 * stdlib/Makefile (link-libm): Remove variable.
21723 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21724 ($(objpfx)tst-strtod-round): Likewise.
21725 ($(objpfx)tst-tininess): Likewise.
21726 ($(objpfx)tst-strtod-underflow): Likewise.
21727 ($(objpfx)tst-strtod6): Likewise.
21728 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21729 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21730 $(common-objpfx)dlfcn/libdl.so.
21731
21732 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21733
21734 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21735 BSD terminal modes definitions.
21736
21737 2014-05-16 Roland McGrath <roland@hack.frob.com>
21738
21739 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21740 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21741
21742 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21743 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21744 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21745 Don't do #include_next.
21746 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21747 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21748 Don't do #include_next.
21749 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21750 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21751 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21752 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21753
21754 2014-05-16 Allan McRae <allan@archlinux.org>
21755
21756 * po/sv.po: Update Swedish translation from translation project.
21757
21758 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21759 in sed expression.
21760
21761 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21762
21763 [BZ #16917]
21764 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21765 errno if the TIOCGPTN ioctl fails with an error different than
21766 EINVAL.
21767 * login/tst-ptsname.c: New file.
21768 * login/Makefile (tests): Add tst-ptsname.
21769
21770 [BZ #16943]
21771 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21772 and prlimit64.
21773
21774 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21775
21776 [BZ #16849]
21777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21778 herrno to return EAI_AGAIN.
21779
21780 2014-05-14 Roland McGrath <roland@hack.frob.com>
21781
21782 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21783 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21784 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21785 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21786 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21787 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21788 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21789 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21790 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21791 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21792 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21793 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21794 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21795 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21796 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21797 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21798 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21799 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21800 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21801 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21802 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21803 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21804 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21805 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21806 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21807 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21808 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21809 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21810 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21811 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21813 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21815 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21817 Moved ...
21818 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21820 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21822 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21824 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21826 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21828 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21830 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21832 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21834 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21836 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21838 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21840 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21842 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21844 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21846 Moved ...
21847 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21849 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21851 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21853 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21855 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21857 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21859 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21861 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21863 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21865 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21867 Moved ...
21868 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21870 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21871
21872 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21873 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21874 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21875 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21876 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21877 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21878 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21879 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21880 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21881 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21882 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21883 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21884 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21885 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21886 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21887 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21888 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21889 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21890 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21891 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21892 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21893 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21894 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21895 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21896 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21897 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21898 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21899 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21900 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21901 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21902 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21903
21904 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21905 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21906
21907 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21908 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21909 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21910 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21911 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21912 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21913 Moved ...
21914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21915 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21916 Moved ...
21917 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21919 Moved ...
21920 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21921 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21922 Moved ...
21923 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21924 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21925 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21926 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21927 Moved ...
21928 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21929 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21930 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21931 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21932 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21933 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21934 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21935 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21936 Moved ...
21937 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21938 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21939 Moved ...
21940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21941 ... here.
21942 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21943 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21944 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21945 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21946 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21947 Moved ...
21948 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21949 ... here.
21950 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21951 Moved ...
21952 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21953 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21954 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21955 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21956 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21957 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21958 Moved ...
21959 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21960 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21961 Moved ...
21962 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21964 Moved ...
21965 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21966 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21967 Moved ...
21968 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21969 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21970 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21971 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21972 Moved ...
21973 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21974 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21975 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21976 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21977 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21978 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21979 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21980 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21981 Moved ...
21982 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21983 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21984 Moved ...
21985 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21986 ... here.
21987 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21988 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21989 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21990 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21991 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21992 Moved ...
21993 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21994 ... here.
21995 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21996 Moved ...
21997 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21998 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21999 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22000 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22001 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22002 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22003 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22004 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22005 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22006 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22007 Moved ...
22008 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22009 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22010 Moved ...
22011 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22012 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22013 Moved ...
22014 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22015 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22016 Moved ...
22017 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22018 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22019 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22020 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22021 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22022 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22023 Moved ...
22024 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22025 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22026 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22027 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22028 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22029 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22030 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22031 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22032 Moved ...
22033 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22034 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22035 Moved ...
22036 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22037 ... here.
22038 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22039 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22040 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22041 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22042 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22043 Moved ...
22044 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22045 ... here.
22046 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22047 Moved ...
22048 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22049 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22050 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22051 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22052 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22053 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22054 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22055 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22056 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22057 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22058 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22059
22060 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22061 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22062
22063 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22064 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22065
22066 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22067 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22068 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22069 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22070 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22071 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22072 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22073 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22074 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22075 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22076 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22077 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22078 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22079 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22080 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22082 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22084 Moved ...
22085 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22087 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22089 Moved ...
22090 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22091 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22092 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22093 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22094 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22095 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22096 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22098 Moved ...
22099 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22100 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22101 Moved ...
22102 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22103 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22104 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22105 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22106 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22107 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22108 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22109 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22110 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22111 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22112 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22113 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22114 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22115 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22116 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22117 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22118 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22119
22120 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22121 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22122 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22123 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22124 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22125
22126 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22127 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22128 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22129 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22130 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22131 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22132 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22133 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22134 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22135 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22136
22137 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22138 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22139
22140 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22141 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22142 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22143 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22144 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22145 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22146 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22147 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22148 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22149 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22150 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22151 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22152 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22153 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22155 Update #include.
22156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22157 Likewise.
22158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22159 Likewise.
22160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22161 Likewise.
22162 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22163 Likewise.
22164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22165 Likewise.
22166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22167 Likewise.
22168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22169 Likewise.
22170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22171 Likewise.
22172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22173 Likewise.
22174 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22175 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22177 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22178 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22179 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22180 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22181 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22182 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22183 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22184 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22185 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22186 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22187 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22188 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22189
22190 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22191 that was previously under [RESET_PID].
22192 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22193 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22194 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22195
22196 * sysdeps/i386/nptl/Implies: New file.
22197 * sysdeps/x86_64/nptl/Implies: New file.
22198 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22199 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22200 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22201 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22202
22203 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22204 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22205 (__libc_vfork): New strong alias.
22206 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22207 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22208
22209 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22210 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22211 (__libc_vfork): New strong alias.
22212 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22213 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22214
22215 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22216 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22217 (__libc_vfork): New strong alias.
22218 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22219 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22220 * nptl/pt-vfork.c: New file.
22221 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22222 (libpthread: GLIBC_2.20): New version set (empty).
22223
22224 2014-05-14 Will Newton <will.newton@linaro.org>
22225
22226 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22227 rather than #if.
22228
22229 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22230
22231 [BZ #16564]
22232 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22233 arguments with exponent 65 or above.
22234 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22235 arguments 0x1p113L or above.
22236 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22237 to arguments 0x1p107L or above.
22238 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22239 positive arguments with exponent 65 or above.
22240 * math/auto-libm-test-in: Add more tests of log1p.
22241 * math/auto-libm-test-out: Regenerated.
22242
22243 [BZ #16928]
22244 * math/s_cacos.c (__cacos): Ensure zero real part of result from
22245 non-finite arguments is +0.
22246 * math/s_cacosf.c (__cacosf): Likewise.
22247 * math/s_cacosl.c (__cacosl): Likewise.
22248 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22249 * sysdeps/i386/fpu/libm-test-ulps: Update.
22250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22251
22252 [BZ #16927]
22253 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22254 value.
22255 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22256 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22257 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22258 for explicit high bit of mantissa when testing for argument equal
22259 to 1.
22260 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22261 * sysdeps/i386/fpu/libm-test-ulps: Update.
22262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22263
22264 [BZ #16516]
22265 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22266 (__erf): Scale by 16 instead of 8 in potentially underflowing
22267 case. Ensure exception if result actually underflows.
22268 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22269 (__erff): Scale by 16 instead of 8 in potentially underflowing
22270 case. Ensure exception if result actually underflows.
22271 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22272 (efx8): Remove variable.
22273 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22274 case. Ensure exception if result actually underflows.
22275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22276 (efx8): Remove variable.
22277 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22278 case. Ensure exception if result actually underflows.
22279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22280 (efx8): Remove variable.
22281 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22282 case. Ensure exception if result actually underflows.
22283 * math/auto-libm-test-in: Add more tests of erf.
22284 * math/auto-libm-test-out: Regenerated.
22285
22286 2014-05-14 Andreas Schwab <schwab@suse.de>
22287
22288 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22289 Remove code conditionalized on USE___THREAD.
22290
22291 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22292 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22293 not definedness.
22294
22295 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22296
22297 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22298 Define unconditionally.
22299 (__ASSUME_O_CLOEXEC): Likewise.
22300 (__ASSUME_SOCK_CLOEXEC): Likewise.
22301 (__ASSUME_IN_NONBLOCK): Likewise.
22302 (__ASSUME_PIPE2): Likewise.
22303 (__ASSUME_EVENTFD2): Likewise.
22304 (__ASSUME_SIGNALFD4): Likewise.
22305 (__ASSUME_DUP3): Likewise.
22306 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22307 (__ASSUME_DUP3): Do not define.
22308 (__ASSUME_EVENTFD2): Likewise.
22309 (__ASSUME_IN_NONBLOCK): Likewise.
22310 (__ASSUME_O_CLOEXEC): Likewise.
22311 (__ASSUME_PIPE2): Likewise.
22312 (__ASSUME_SIGNALFD4): Likewise.
22313 (__ASSUME_SOCK_CLOEXEC): Likewise.
22314 (__ASSUME_UTIMES): Undefine.
22315 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22316 (__ASSUME_UTIMES): Do not define.
22317 (__ASSUME_O_CLOEXEC): Likewise.
22318 (__ASSUME_SOCK_CLOEXEC): Likewise.
22319 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22320 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22321 0x020621].
22322 (__ASSUME_PIPE2): Likewise.
22323 (__ASSUME_EVENTFD2): Likewise.
22324 (__ASSUME_SIGNALFD4): Likewise.
22325 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22326 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22327 Do not define.
22328 (__ASSUME_EVENTFD2): Likewise.
22329 (__ASSUME_SIGNALFD4): Likewise.
22330 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22331 (__ASSUME_32BITUIDS): Likewise.
22332 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22333 (__ASSUME_IPC64): Likewise.
22334 (__ASSUME_ST_INO_64_BIT): Likewise.
22335 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22336 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22337 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22338 (__ASSUME_UTIMES): Do not define.
22339 (__ASSUME_PSELECT): Likewise.
22340 (__ASSUME_PPOLL): Likewise.
22341 (__ASSUME_O_CLOEXEC): Likewise.
22342 (__ASSUME_SOCK_CLOEXEC): Likewise.
22343 (__ASSUME_IN_NONBLOCK): Likewise.
22344 (__ASSUME_PIPE2): Likewise.
22345 (__ASSUME_EVENTFD2): Likewise.
22346 (__ASSUME_SIGNALFD4): Likewise.
22347 (__ASSUME_DUP3): Likewise.
22348 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22349 (__ASSUME_UTIMES): Likewise.
22350 (__ASSUME_O_CLOEXEC): Likewise.
22351 (__ASSUME_SOCK_CLOEXEC): Likewise.
22352 (__ASSUME_IN_NONBLOCK): Likewise.
22353 (__ASSUME_PIPE2): Likewise.
22354 (__ASSUME_EVENTFD2): Likewise.
22355 (__ASSUME_SIGNALFD4): Likewise.
22356 (__ASSUME_DUP3): Likewise.
22357 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22358 (__ASSUME_UTIMES): Likewise.
22359 (__ASSUME_O_CLOEXEC): Likewise.
22360 (__ASSUME_SOCK_CLOEXEC): Likewise.
22361 (__ASSUME_IN_NONBLOCK): Likewise.
22362 (__ASSUME_PIPE2): Likewise.
22363 (__ASSUME_EVENTFD2): Likewise.
22364 (__ASSUME_SIGNALFD4): Likewise.
22365 (__ASSUME_DUP3): Likewise.
22366 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22367 Likewise.
22368 (__ASSUME_UTIMES): Likewise.
22369 (__ASSUME_EVENTFD2): Likewise.
22370 (__ASSUME_SIGNALFD4): Likewise.
22371 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22372 (__ASSUME_O_CLOEXEC): Likewise.
22373 (__ASSUME_SOCK_CLOEXEC): Likewise.
22374 (__ASSUME_IN_NONBLOCK): Likewise.
22375 (__ASSUME_PIPE2): Likewise.
22376 (__ASSUME_EVENTFD2): Likewise.
22377 (__ASSUME_SIGNALFD4): Likewise.
22378 (__ASSUME_DUP3): Likewise.
22379 (__ASSUME_UTIMES): Undefine.
22380
22381 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22382 feclearexcept. Remove symbol versioning code.
22383 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22384 symbol versioning code.
22385 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22386 symbol versioning code.
22387 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22388 feupdateenv. Remove symbol versioning code.
22389 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22390 fegetexceptflag. Remove symbol versioning code.
22391 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22392 fesetexceptflag. Remove symbol versioning code.
22393 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22394 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22395 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22396 (__posix_fadvise64_l32): Remove prototype.
22397 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22398 code.
22399
22400 2014-05-13 Roland McGrath <roland@hack.frob.com>
22401
22402 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22403 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22404 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22405 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22406
22407 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22408
22409 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22410 current working directory
22411
22412 2014-05-13 Roland McGrath <roland@hack.frob.com>
22413
22414 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22415 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22416 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22417 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22418 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22419 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22420 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22421 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22422 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22423 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22424 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22425 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22426 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22427 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22428 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22429 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22430 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22431 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22432 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22433 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22434 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22435 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22436 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22437 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22438 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22439 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22440 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22441 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22442 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22443 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22444 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22445 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22446 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22447 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22448 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22449 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22450 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22451 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22452 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22453 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22454 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22455 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22456
22457 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22458 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22459
22460 * sysdeps/unix/sysv/linux/arm/Makefile
22461 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22462 Add rt-aeabi_unwind_cpp_pr1.
22463 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22464 Add nptl-aeabi_unwind_cpp_pr1.
22465 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22466 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22467 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22468 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22469 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22470 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22471
22472 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22473 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22474 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22475 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22476
22477 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22478 Deconditionalize the code that was previously under [RESET_PID].
22479 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22480
22481 * sysdeps/generic/exit-thread.h: New file.
22482 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22483 * include/unistd.h (__exit_thread): Remove declaration.
22484 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22485 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22486 * csu/libc-start.c: Include <exit-thread.h>.
22487 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22488 * nptl/pthread_create.c: Include <exit-thread.h>.
22489 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22490 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22491 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22492 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22493 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22494 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22495 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22496 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22497 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22498 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22499 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22500 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22501 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22502 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22503 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22504 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22505 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22506
22507 2014-05-13 Andreas Schwab <schwab@suse.de>
22508
22509 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22510
22511 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22512
22513 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22514 (__ASSUME_UTIMES): Do not condition on kernel version.
22515 (__ASSUME_PSELECT): Define unconditionally.
22516 (__ASSUME_PPOLL): Likewise.
22517 (__ASSUME_ATFCTS): Likewise.
22518 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22519 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22520 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22521 (__ASSUME_UTIMENSAT): Define unconditionally.
22522 (__ASSUME_PRIVATE_FUTEX): Likewise.
22523 (__ASSUME_FALLOCATE): Likewise.
22524 (__ASSUME_O_CLOEXEC): Likewise.
22525 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22526 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22527 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22528 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22529 (__ASSUME_IN_NONBLOCK): Likewise.
22530 (__ASSUME_PIPE2): Likewise.
22531 (__ASSUME_EVENTFD2): Likewise.
22532 (__ASSUME_SIGNALFD4): Likewise.
22533 (__ASSUME_DUP3): Likewise.
22534 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22535 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22536 (__ASSUME_AT_RANDOM): Likewise.
22537 (__ASSUME_PREADV): Likewise.
22538 (__ASSUME_PWRITEV): Likewise.
22539 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22540 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22541 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22542 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22543 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22544 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22545 (__ASSUME_O_CLOEXEC): Define unconditionally.
22546 (__ASSUME_PSELECT): Do not undefine conditionally.
22547 (__ASSUME_PPOLL): Likewise.
22548 (__ASSUME_ATFCTS): Likewise.
22549 (__ASSUME_SET_ROBUST_LIST): Likewise.
22550 (__ASSUME_UTIMENSAT): Likewise.
22551 (__ASSUME_FDATASYNC): Define unconditionally.
22552 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22553 (__ASSUME_SIGFRAME_V2): Likewise.
22554 )__ASSUME_EVENTFD2): Likewise.
22555 (__ASSUME_SIGNALFD4): Likewise.
22556 (__ASSUME_PSELECT): Do not undefine conditionally.
22557 (__ASSUME_PPOLL): Likewise.
22558 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22559 (__ASSUME_PSELECT): Define unconditionally.
22560 (__ASSUME_PPOLL): Likewise.
22561 (__ASSUME_O_CLOEXEC): Likewise.
22562 (__ASSUME_SOCK_CLOEXEC): Likewise.
22563 (__ASSUME_IN_NONBLOCK): Likewise.
22564 (__ASSUME_PIPE2): Likewise.
22565 (__ASSUME_EVENTFD2): Likewise.
22566 (__ASSUME_SIGNALFD4): Likewise.
22567 (__ASSUME_DUP3): Likewise.
22568 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22569 (__ASSUME_O_CLOEXEC): Likewise.
22570 (__ASSUME_SOCK_CLOEXEC): Likewise.
22571 (__ASSUME_IN_NONBLOCK): Likewise.
22572 (__ASSUME_PIPE2): Likewise.
22573 (__ASSUME_EVENTFD2): Likewise.
22574 (__ASSUME_SIGNALFD4): Likewise.
22575 (__ASSUME_DUP3): Likewise.
22576 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22577 (__ASSUME_EVENTFD2): Likewise.
22578 (__ASSUME_SIGNALFD4): Likewise.
22579 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22580
22581 2014-05-12 Andreas Schwab <schwab@suse.de>
22582
22583 [BZ #16932]
22584 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22585 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22586 than maximum RPC packet size.
22587 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22588 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22589 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22590 (_nss_nis_getservbyport_r): Likewise.
22591
22592 2014-05-12 Will Newton <will.newton@linaro.org>
22593
22594 * malloc/Makefile (tests): Add tst-mallopt.
22595 * malloc/tst-mallopt.c: New file.
22596
22597 2014-05-09 Roland McGrath <roland@hack.frob.com>
22598
22599 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22600 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22601
22602 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22603
22604 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22605 (tst-tlsmod6.so): Likewise.
22606
22607 2014-05-09 Roland McGrath <roland@hack.frob.com>
22608
22609 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22610
22611 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22612
22613 [BZ #16064]
22614 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22615 and <dl-procinfo.h>.
22616 (__fegetenv): Save SSE state in envp->__eip if supported.
22617 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22618 envp->__eip if supported.
22619 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22620 and <dl-procinfo.h>.
22621 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22622 __data_offset and __data_selector in environment to 0. Set SSE
22623 state if supported.
22624 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22625 test-fenv-sse.
22626 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22627 -mfpmath=sse.
22628 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22629
22630 2014-05-09 Will Newton <will.newton@linaro.org>
22631
22632 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22633 and libc_relro_required for ARM.
22634 * sysdeps/arm/preconfigure: Regenerate.
22635
22636 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22637 Stefan Liebler <stli@linux.vnet.ibm.com>
22638
22639 * config.make.in (enable-lock-elision): New Makefile variable.
22640 * configure.ac: Likewise.
22641 * configure: Regenerate.
22642 * sysdeps/s390/configure.ac:
22643 Add check for gcc transactions support.
22644 * sysdeps/s390/configure: Regenerate.
22645 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22646 Build elision files if enabled.
22647 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22648 Add lock elision support for s390.
22649 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22650 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22651 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22652 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22653 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22654 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22655 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22656 Likewise.
22657 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22658 Likewise.
22659 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22660 Likewise.
22661 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22662 Likewise.
22663 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22664 (__lll_timedlock_elision, __lll_lock_elision)
22665 (__lll_unlock_elision, __lll_trylock_elision)
22666 (lll_timedlock_elision, lll_lock_elision)
22667 (lll_unlock_elision, lll_trylock_elision): Add.
22668 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22669 (pthread_mutex_t): Add lock elision support for s390.
22670
22671 2014-05-14 Wilco <wdijkstr@arm.com>
22672
22673 * sysdeps/arm/fclrexcpt.c: Cleanup.
22674 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22675 * sysdeps/arm/feenablxcpt.c: Cleanup.
22676 * sysdeps/arm/fegetenv.c: Cleanup.
22677 * sysdeps/arm/fegetexcept.c: Cleanup.
22678 * sysdeps/arm/fegetround.c: Cleanup.
22679 * sysdeps/arm/feholdexcpt.c: Cleanup.
22680 * sysdeps/arm/fesetenv.c: Cleanup.
22681 * sysdeps/arm/fesetround.c: Cleanup.
22682 * sysdeps/arm/feupdateenv.c: Cleanup.
22683 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22684 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22685 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22686 * sysdeps/arm/ftestexcept.c: Cleanup.
22687 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22688 * sysdeps/arm/setfpucw.c: Cleanup.
22689
22690 2014-05-09 Will Newton <will.newton@linaro.org>
22691
22692 * sysdeps/arm/armv7/strcmp.S: New file.
22693 * NEWS: Mention addition of ARMv7 optimized strcmp.
22694
22695 2014-05-08 Roland McGrath <roland@hack.frob.com>
22696
22697 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22698 look for %.ac rather than %.in.
22699
22700 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22701 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22702 * sysdeps/mach/hurd/configure: Regenerated.
22703 * sysdeps/unix/sysv/linux/configure: Regenerated.
22704
22705 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22706
22707 2014-05-07 Steve Ellcey <sellcey@mips.com>
22708
22709 [BZ# 16922]
22710 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22711 (LONG_SUB): Ditto.
22712 (PTR_SUB): Ditto.
22713
22714 2014-05-07 Andreas Schwab <schwab@suse.de>
22715
22716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22717 when skipping over non-matching result from nscd.
22718
22719 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22720
22721 [BZ #16876]
22722 * nptl/sockperf.c (client): Check socket return value.
22723
22724 [BZ #16877]
22725 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22726 nscd security class.
22727
22728 2014-05-06 Roland McGrath <roland@hack.frob.com>
22729
22730 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22731 * sysdeps/arm/unwind.h: ... here.
22732
22733 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22734
22735 [BZ# 16916]
22736 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22737 Define.
22738
22739 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22740
22741 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22742 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22743 multiarch strncpy for PPC64.
22744 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22745 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22747 multiarch optimizations.
22748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22749 (__libc_ifunc_impl_list): Likewise.
22750 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22751 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22752 multiarch stpncpy for PPC64.
22753 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22754 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22755
22756 2014-05-06 Andreas Schwab <schwab@suse.de>
22757
22758 [BZ #16912]
22759 * gmon/mcount.c (_MCOUNT_DECL): Use
22760 atomic_compare_and_exchange_bool_acq instead of
22761 catomic_compare_and_exchange_bool_acq.
22762
22763 2014-05-05 Roland McGrath <roland@hack.frob.com>
22764
22765 * elf/Makefile (others, install-bin): Remove pldd.
22766 (pldd-modules): Variable removed.
22767 ($(objpfx)pldd): Target removed.
22768 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22769 (others, install-bin): Append pldd here.
22770 ($(objpfx)pldd): New target.
22771
22772 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22773 to 0, so the first #if test emitted later doesn't see it undefined.
22774 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22775 * sysdeps/gnu/errlist.c: Regenerated.
22776
22777 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22778
22779 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22780 [libc_hidden_builtin_def]: Define to empty value.
22781 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22782 [libc_hidden_builtin_def]: Likewise.
22783 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22784 [libc_hidden_builtin_def]: Likewise.
22785 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22786 [libc_hidden_builtin_def]: Likewise.
22787 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22788 __redirect_memcpy and define ifunc as default hidden symbol.
22789 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22790 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22791
22792 2014-05-04 Adam Conrad <adconrad@0c3.net>
22793
22794 * locale/iso-4217.def: Reintroduce XDR currency.
22795
22796 2014-05-04 Allan McRae <allan@archlinux.org>
22797
22798 * po/eo.po: Update Esperanto translation from translation project.
22799
22800 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22801
22802 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22803 and FEATURE_INDEX_MAX to 1.
22804 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22805
22806 2014-05-01 Steve Ellcey <sellcey@mips.com>
22807
22808 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22809 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22810 * iconvdata/big5.c (ONE_DIRECTION): Define.
22811 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22812 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22813 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22814 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22815 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22816 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22817 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22818 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22819 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22820 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22821 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22822 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22823 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22824 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22825 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22826 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22827 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22828 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22829 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22830 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22831 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22832 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22833 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22834 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22835 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22836 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22837 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22838 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22839 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22840 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22841 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22842 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22843 * iconvdata/johab.c (ONE_DIRECTION): Define.
22844 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22845 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22846 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22847 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22848 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22849 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22850 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22851 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22852 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22853 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22854
22855 2014-05-01 Roland McGrath <roland@hack.frob.com>
22856
22857 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22858 (_IO_JUMPS_OFFSET): Define to 0.
22859
22860 * nptl/sysdeps/pthread/bits/libc-lock.h
22861 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22862 (__libc_lock_define_initialized_recursive): Always define using
22863 initializer. Modern compilers treat uninitialized (implicit zero) and
22864 explicit zero initializers the same (i.e. put the datum in bss).
22865
22866 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22867
22868 * nscd/nscd-client.h: Include <string.h>.
22869
22870 2014-05-01 David S. Miller <davem@davemloft.net>
22871
22872 [BZ #16885]
22873 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22874 multiple zero bytes exist at the end of a string.
22875 Reported by Aurelien Jarno <aurelien@aurel32.net>
22876
22877 * string/test-strcmp.c (check): Add explicit test for situations where
22878 there are multiple zero bytes after the first.
22879
22880 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22881
22882 [BZ #16890]
22883 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22884 when compiling wprintf.
22885 * stdio-common/tstdiomisc.c (t3): New function.
22886 (main): Call it.
22887
22888 2014-05-01 Steve Ellcey <sellcey@mips.com>
22889
22890 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22891 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22892 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22893 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22894
22895 2014-05-01 Steve Ellcey <sellcey@mips.com>
22896
22897 * stdlib/longlong.h: Updated from GCC.
22898
22899 2014-05-01 Will Newton <will.newton@linaro.org>
22900 Bernard Ogden <bernie.ogden@linaro.org>
22901
22902 * NEWS: Update fixed bug list.
22903
22904 [BZ #15119]
22905 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22906
22907 2014-04-30 David S. Miller <davem@davemloft.net>
22908
22909 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22910 (libc_feholdexcept_setround_sparc_ctx): New function.
22911 (libc_fesetenv_sparc_ctx): Likewise.
22912 (libc_feupdateenv_sparc_ctx): Likewise.
22913 (libc_feholdsetround_sparc_ctx): Likewise.
22914 (libc_feholdexcept_setround_ctx): Define.
22915 (libc_feholdexcept_setroundf_ctx): Likewise.
22916 (libc_feholdexcept_setroundl_ctx): Likewise.
22917 (libc_fesetenv_ctx): Likewise.
22918 (libc_fesetenvf_ctx): Likewise.
22919 (libc_fesetenvl_ctx): Likewise.
22920 (libc_feupdateenv_ctx): Likewise.
22921 (libc_feupdateenvf_ctx): Likewise.
22922 (libc_feupdateenvl_ctx): Likewise.
22923 (libc_feresetround_ctx): Likewise.
22924 (libc_feresetroundf_ctx): Likewise.
22925 (libc_feresetroundl_ctx): Likewise.
22926 (libc_feholdsetround_ctx): Likewise.
22927 (libc_feholdsetroundf_ctx): Likewise.
22928 (libc_feholdsetroundl_ctx): Likewise.
22929
22930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22931 with __USE_GNU instead of XOPEN cpp guards.
22932
22933 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22934 0.
22935
22936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22937 with XOPEN cpp guards.
22938
22939 2014-04-30 Julian Brown <julian@codesourcery.com>
22940
22941 [BZ #16888]
22942 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22943 handling.
22944
22945 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22946
22947 [BZ #9894]
22948 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22949 Change to 2.6.32.
22950 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22951 * sysdeps/unix/sysv/linux/configure: Regenerated.
22952 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22953 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22954 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22955 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22956 * README: Update reference to required Linux kernel version.
22957 * manual/install.texi (Linux): Update reference to required Linux
22958 kernel headers version.
22959 * INSTALL: Regenerated.
22960
22961 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22962 header inclusion.
22963 [POSIX] (limits.h): Likewise.
22964 [POSIX] (math.h): Likewise.
22965 [POSIX] (sys/wait.h): Likewise.
22966 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22967 function.
22968 [POSIX] (stddef.h): Do not allow header inclusion.
22969
22970 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22971
22972 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22973
22974 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22975
22976 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22977 Return immediately after lll_futex_wake.
22978
22979 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22980
22981 [BZ #16791]
22982 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22983 structure.
22984 (datahead_init_pos): Call datahead_init_common early.
22985 (datahead_init_neg): Likewise.
22986
22987 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22988 datahead_init_neg): New functions.
22989 * nscd/aicache.c (addhstaiX): Use them.
22990 * nscd/grpcache.c (cache_addgr): Likewise.
22991 * nscd/hstcache.c (cache_addhst): Likewise.
22992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22993 * nscd/netgroupcache.c (do_notfound): Likewise.
22994 (addgetnetgrentX): Likewise.
22995 (addinnetgrX): Likewise.
22996 * nscd/pwdcache.c (cache_addpw): Likewise.
22997 * nscd/servicescache.c (cache_addserv): Likewise.
22998
22999 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23000 Atsushi Onoe <atsushi@onoe.org>
23001
23002 [BZ #14308]
23003 [BZ #12994]
23004 [BZ #13651]
23005 * resolv/res_query.c (__libc_res_nsearch): Return if at least
23006 one response is valid.
23007 * resolv/res_send.c (send_dg): Check for validity of other
23008 response if the current response is a referral.
23009
23010 2014-04-29 Steve Ellcey <sellcey@mips.com>
23011
23012 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23013
23014 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
23015
23016 [BZ #16823]
23017 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23018 Always divide by positive zero when computing -Inf result.
23019 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23020 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23021
23022 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23023
23024 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23025 FPSCR if value do not change.
23026 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23027 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23028 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23029 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23030 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23031 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23032 function.
23033
23034 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
23035
23036 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23037 * sysdeps/unix/sysv/linux/hppa: Move directory from
23038 ports/systeps/unix/sysv/linux/hppa.
23039 * README: Update listing for hppa-*-linux-gnu.
23040
23041 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
23042
23043 [BZ #16754]
23044 * manual/stdio.texi (Hook functions): Fix types of stream hook
23045 functions.
23046 [BZ #16854]
23047 * socket/sys/socket.h: Fix typo in comment.
23048
23049 2014-04-28 Wilco <wdijkstr@arm.com>
23050
23051 * sysdeps/arm/fenv_private.h: New file.
23052 * sysdeps/arm/math_private.h: New file.
23053 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23054
23055 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
23056
23057 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23058 with __int128_t.
23059 (La_x86_64_retval): Likewise.
23060
23061 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23062
23063 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23064 fpsr if value didn't change.
23065 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23066 to fpcr if value didn't change.
23067 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23068 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23069 fpsr or fpcr if value didn't change.
23070 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23071 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23072 fpcr if value didn't change.
23073 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23074 to fpsr if value didn't change.
23075
23076 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23077
23078 * nptl/tst-sem3.c: Use test-skeleton.c
23079 (main): Rename to do_test. Use return instead of
23080 exit.
23081 * nptl/tst-sem4.c: Use test-skeleton.c
23082 (main): Rename to do_test.
23083
23084 2014-04-22 David S. Miller <davem@davemloft.net>
23085
23086 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23087 (struct sigaction): New struct member __glibc_reserved0, change
23088 type of sa_flags to int.
23089
23090 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
23091
23092 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23093 (COUNT_LEADING_ZEROS_0): Define for AArch64.
23094
23095 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23096
23097 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23098 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23099
23100 2014-04-22 Will Newton <will.newton@linaro.org>
23101 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
23102
23103 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23104 (__longjmp): Add longjmp and longjmp_target SystemTap
23105 probes.
23106 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23107 (__sigsetjmp): Add setjmp SystemTap probe.
23108
23109 2014-04-17 Carlos O'Donell <carlos@redhat.com>
23110
23111 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23112 match manual order.
23113
23114 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23115
23116 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23117
23118 * sysdeps/powerpc/fpu/fenv_private.h
23119 (libc_feholdexcept_setroundl_ctx): Define to
23120 libc_feholdexcept_setround_ppc_ctx.
23121 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23122 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23123 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23124 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23125
23126 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23127
23128 * sysdeps/aarch64/math-tests.h: New file.
23129
23130 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
23131
23132 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23133 New.
23134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23135 Check and set bit_AVX2_Usable.
23136 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23137 macro.
23138 (bit_AVX2): Likewise.
23139 (index_AVX2_Usable): Likewise.
23140 (CPUID_AVX2): Likewise.
23141 (HAS_AVX2): Likewise.
23142
23143 2014-04-17 Will Newton <will.newton@linaro.org>
23144
23145 * manual/setjmp.texi (System V contexts): Add note that
23146 calling setcontext on a context created by a call to a
23147 signal handler is undefined. Update text to note that
23148 setcontext from a signal handler is possible but not
23149 recommended.
23150
23151 [BZ #16629]
23152 * stdlib/tst-setcontext.c: Include signal.h.
23153 (main): Check that the signal stack before and
23154 after swapcontext is the same.
23155
23156 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23157 Re-implement to restore registers in user code and avoid
23158 rt_sigreturn system call.
23159
23160 2014-04-17 Wilco <wdijkstr@arm.com>
23161
23162 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23163 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23164 * math/test-fenv.c: Skip exception trap tests on targets which only
23165 support non-stop mode.
23166
23167 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23168 Wilco Dijkstra <wilco.dijkstra@arm.com>
23169
23170 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23171 (libc_feholdsetround_aarch64_ctx)
23172 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23173 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23174 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23175 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23176 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23177 (libc_feresetround_noexl_ctx): Define.
23178
23179 2014-04-16 Richard Henderson <rth@redhat.com>
23180
23181 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23182
23183 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23184 unwind tables.
23185
23186 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23187 const from the non-libc, non-ldso copy.
23188
23189 * sysdeps/alpha/libm-test-ulps: Regenerate.
23190
23191 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23192 Wilco Dijkstra <wilco.dijkstra@arm.com>
23193
23194 * sysdeps/aarch64/fpu/math_private.h: New file.
23195
23196 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23197
23198 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23199
23200 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23201
23202 [BZ #16275]
23203 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23204 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23205 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23206 Intel MPX bound registers before _dl_profile_fixup.
23207 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23208 registers after _dl_profile_fixup. Save and restore bound
23209 registers bnd0/bnd1 when calling _dl_call_pltexit.
23210 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23211 (LR_BND_OFFSET): Likewise.
23212 (LRV_BND0_OFFSET): Likewise.
23213 (LRV_BND1_OFFSET): Likewise.
23214
23215 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23216
23217 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23218 to...
23219 * sysdeps/mach/hurd/i386/tls.h: ... here.
23220 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23221 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23222 fields.
23223
23224 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23225
23226 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23227
23228 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23229
23230 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23231
23232 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23233
23234 [BZ #14770]
23235 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23236 * sysdeps/s390/configure: Regenerate.
23237
23238 [BZ #16824]
23239 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23240 Set round-to-nearest internally to reduce error accumulation.
23241
23242 2014-04-16 Alan Modra <amodra@gmail.com>
23243
23244 [BZ #16740]
23245 [BZ #16619]
23246 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23247 * math/libm-test.inc (frexp_test_data): Add tests.
23248 * NEWS: Update fixed bug list.
23249
23250 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23251
23252 * benchtests/Makefile: Depend on libraries in build directory.
23253 (bench-math): Separate out math tests.
23254 (bench-pthread): Separate out pthread tests.
23255 (bench): Include math and pthread tests.
23256
23257 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23258
23259 [BZ #16831]
23260 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23261 _dl_debug_initialize.
23262
23263 * configure.ac: Remove SELinux header check.
23264 * configure: Regenerate.
23265 * nscd/selinux.c (perms): Array of const char* to permission names.
23266 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23267 default policy. Call string_to_security_class and string_to_av_perm to
23268 translate strings. Enforce default policy and call avs_has_perm with
23269 results of translated strings.
23270
23271 2014-04-13 David S. Miller <davem@davemloft.net>
23272
23273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23274
23275 2014-04-12 Allan McRae <allan@archlinux.org>
23276
23277 [BZ #16838]
23278 * manual/string.texi (Collation Functions): Fix qsort argument
23279 order in example.
23280 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23281
23282 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23283
23284 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23285 Make the test a no-op if there are no exceptions defined.
23286
23287 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23288
23289 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23290 enable-hardcoded-path-in-tests
23291
23292 2014-04-11 Will Newton <will.newton@linaro.org>
23293
23294 * benchtests/Makefile (extra-objs): Add json-lib.o.
23295 (bench-func): Tidy up JSON output.
23296 * benchtests/bench-skeleton.c: Include json-lib.h.
23297 (main): Use JSON library functions to do output of
23298 benchmark results.
23299 * benchtests/bench-timing-type.c (main): Output the
23300 timing type simply, leaving formatting to the user.
23301 * benchtests/json-lib.c: New file.
23302 * benchtests/json-lib.h: Likewise.
23303
23304 2014-04-11 Torvald Riegel <triegel@redhat.com>
23305
23306 [BZ #15215]
23307 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23308 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23309 memory barriers. Add comments.
23310 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23311 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23312 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23313 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23314 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23315 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23316
23317 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23318
23319 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23320 * sysdeps/s390/s390-64/configure.ac: ... this ...
23321 * sysdeps/s390/configure.ac: ... to here.
23322 * sysdeps/s390/s390-32/configure: Delete file.
23323 * sysdeps/s390/s390-64/configure: Delete file.
23324 * sysdeps/s390/configure: Regenerate.
23325
23326 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23327
23328 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23329
23330 2014-04-11 Will Newton <will.newton@linaro.org>
23331
23332 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23333 to zero if it is not defined elsewhere. (mtrim): Test
23334 the value of MALLOC_DEBUG with #if rather than #ifdef.
23335
23336 2014-04-10 Torvald Riegel <triegel@redhat.com>
23337
23338 * benchtests/pthread_once-inputs: New file.
23339 * benchtests/pthread_once-source.c: New file.
23340 * benchtests/README: Update documentation.
23341
23342 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23343 H.J. Lu <hongjiu.lu@intel.com>
23344
23345 [BZ #16275]
23346 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23347 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23348 * sysdeps/x86_64/configure: Regenerated.
23349 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23350 macro.
23351 (REGISTER_SAVE_RAX): Likewise.
23352 (REGISTER_SAVE_RCX): Likewise.
23353 (REGISTER_SAVE_RDX): Likewise.
23354 (REGISTER_SAVE_RSI): Likewise.
23355 (REGISTER_SAVE_RDI): Likewise.
23356 (REGISTER_SAVE_R8): Likewise.
23357 (REGISTER_SAVE_R9): Likewise.
23358 (REGISTER_SAVE_BND0): Likewise.
23359 (REGISTER_SAVE_BND1): Likewise.
23360 (REGISTER_SAVE_BND2): Likewise.
23361 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23362 bound registers when calling _dl_fixup.
23363
23364 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23365
23366 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23367 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23368 of its definition.
23369 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23370 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23371 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23372 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23373 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23374 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23375 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23376
23377 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23378
23379 [BZ #15514]
23380 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23381 pathconf(_PC_NAME_MAX).
23382
23383 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23384
23385 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23386 Remove macro usage.
23387 (__PTHREAD_SPINS): Move definition to ...
23388 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23389 (__PTHREAD_SPINS): ... here.
23390 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23391 (__PTHREAD_SPIN): Likewise.
23392 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23393 (__PTHREAD_SPIN): Likewise.
23394 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23395 (__PTHREAD_SPIN): Likewise.
23396 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23397 (__PTHREAD_SPIN): Likewise.
23398 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23399 (__PTHREAD_SPIN): Likewise.
23400 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23401 (__PTHREAD_SPIN): Likewise.
23402 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23403 (__PTHREAD_SPIN): Likewise.
23404 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23405 (__PTHREAD_SPIN): Likewise.
23406 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23407 (__PTHREAD_SPIN): Likewise.
23408 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23409 (__PTHREAD_SPIN): Likewise.
23410 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23411 (__PTHREAD_SPIN): Likewise.
23412 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23413 (__PTHREAD_SPIN): Likewise.
23414
23415 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23416 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23417 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23418 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23419 imply folder.
23420 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23421 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23422 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23423 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23424 correct imply path.
23425 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23426 strlen symbol for non multi-arch builds.
23427 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23428 missing hidden_def and weak_alias.
23429
23430 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23431
23432 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23433
23434 2014-04-07 Will Newton <will.newton@linaro.org>
23435
23436 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23437 and contents. [!_LIBC] Remove #ifndef and contents.
23438 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23439 * string/memccpy.c (__memccpy): Use ANSI prototype.
23440 * string/memfrob.c (memfrob): Likewise.
23441 * string/strcoll.c (STRCOLL): Likewise.
23442 * string/strlen.c (strlen): Likewise.
23443 * string/strtok.c (STRTOK): Likewise.
23444 * string/strcat.c: Remove unused #include of memcopy.h.
23445 (strcat): Use ANSI prototype.
23446 * string/strchr.c: Remove unused #include of memcopy.h.
23447 (strchr): Use ANSI prototype.
23448 * string/strcmp.c: Remove unused #include of memcopy.h.
23449 (strcmp): Use ANSI prototype.
23450 * string/strcpy.c: Remove unused #include of memcopy.h.
23451 (strcpy): Use ANSI prototype.
23452
23453 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23454
23455 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23456 * config.make.in (config-extra-cppflags): Set it from
23457 libc_extra_cppflags.
23458 * configure.ac (libc_extra_cflags): Make it accumulate over
23459 configure fragments.
23460 (libc_extra_cppflags): New flag.
23461 * configure. Regenerate.
23462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23463 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23464 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23466
23467 [BZ #16815]
23468 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23469 result for FE_DOWNWARD rounding mode.
23470 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23471 Likewise.
23472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23473
23474 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23475
23476 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23477 in function argument name.
23478
23479 2014-04-03 David Svoboda <svoboda@cert.org>
23480
23481 [BZ #5666]
23482 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23483 explicitly.
23484
23485 2014-04-03 Roland McGrath <roland@hack.frob.com>
23486
23487 * elf/dl-unmap-segments.h: New file.
23488 * sysdeps/generic/ldsodefs.h
23489 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23490 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23491 * elf/dl-fptr.c: Likewise.
23492 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23493 * sysdeps/aarch64/tlsdesc.c: Likewise.
23494 * sysdeps/arm/tlsdesc.c: Likewise.
23495 * sysdeps/i386/tlsdesc.c: Likewise.
23496 * sysdeps/tile/dl-runtime.c: Likewise.
23497 * sysdeps/x86_64/tlsdesc.c: Likewise.
23498 * elf/dl-load.h: New file.
23499 * elf/dl-load.c: Include it.
23500 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23501 Macros moved to dl-load.h.
23502 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23503 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23504 Use _dl_unmap_segments in place of __munmap.
23505 Break out segment-mapping loop into ...
23506 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23507
23508 2014-04-03 Will Newton <will.newton@linaro.org>
23509
23510 * elf/dl-lookup.c (do_lookup_x): Remove comment
23511 referring to nested function and move variable
23512 declarations down to before first use.
23513
23514 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23515
23516 [BZ #16799]
23517 [BZ #16800]
23518 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23519 with 0 numerator.
23520 * math/s_catanf.c (__catanf): Likewise.
23521 * math/s_catanh.c (__catanh): Likewise.
23522 * math/s_catanhf.c (__catanhf): Likewise.
23523 * math/s_catanhl.c (__catanhl): Likewise.
23524 * math/s_catanl.c (__catanl): Likewise.
23525 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23526 by positive zero when computing -Inf result.
23527 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23528 (catanh_test): Likewise.
23529 * sysdeps/i386/fpu/libm-test-ulps: Update.
23530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23531
23532 [BZ #16789]
23533 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23534 instead of using underflowing value in computing result.
23535 * math/s_clog10.c (__clog10): Likewise.
23536 * math/s_clog10f.c (__clog10f): Likewise.
23537 * math/s_clog10l.c (__clog10l): Likewise.
23538 * math/s_clogf.c (__clogf): Likewise.
23539 * math/s_clogl.c (__clogl): Likewise.
23540 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23541 (clog10_test): Likewise.
23542 * sysdeps/i386/fpu/libm-test-ulps: Update.
23543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23544
23545 2014-04-02 Alan Modra <amodra@gmail.com>
23546
23547 [BZ #16739]
23548 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23549 output when value is near a power of two. Use int64_t for lx and
23550 remove casts. Use decimal rather than hex exponent constants.
23551 Don't use long double multiplication when double will suffice.
23552 * math/libm-test.inc (nextafter_test_data): Add tests.
23553 * NEWS: Add 16739 and 16786 to bug list.
23554
23555 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23556
23557 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23558
23559 2014-04-01 Will Newton <will.newton@linaro.org>
23560
23561 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23562 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23563
23564 2014-04-01 Florian Weimer <fweimer@redhat.com>
23565
23566 [BZ #13347]
23567 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23568 * nptl/tst-setuid2.c: New file.
23569 * nptl/Makefile (xtests): Add tst-setuid2.
23570
23571 2014-04-01 Alan Modra <amodra@gmail.com>
23572
23573 [BZ #16786]
23574 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23575
23576 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23577
23578 [BZ #6803]
23579 [BZ #6804]
23580 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23581 set errno as appropriate.
23582 * math/w_scalbf.c (__scalbf): Likewise.
23583 * math/w_scalbl.c (__scalbl): Likewise.
23584 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23585 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23586 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23587 Add more NaN tests.
23588
23589 [BZ #16349]
23590 * math/w_atan2.c: Include <errno.h>.
23591 (__atan2): Set errno for result underflowing to zero.
23592 * math/w_atan2f.c: Include <errno.h>.
23593 (__atan2f): Set errno for result underflowing to zero.
23594 * math/w_atan2l.c: Include <errno.h>.
23595 (__atan2l): Set errno for result underflowing to zero.
23596 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23597 tests.
23598 * math/auto-libm-test-out: Regenerated.
23599
23600 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23601
23602 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23603 Encode instruction correctly in little endian.
23604 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23605 Likewise.
23606 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23607 Likewise.
23608 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23609 Likewise.
23610 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23611 Likewise.
23612
23613 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23614
23615 [BZ #9894]
23616 * sysdeps/unix/sysv/linux/kernel-features.h
23617 [__sparc__ && !__arch64__ && !__sparc_v9__]
23618 (__ASSUME_SET_ROBUST_LIST): Do not define.
23619 [__sparc__ && !__arch64__ && !__sparc_v9__]
23620 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23621 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23622 Likewise.
23623 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23624 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23625 (__ASSUME_REQUEUE_PI): Likewise.
23626 (__ASSUME_SET_ROBUST_LIST): Likewise.
23627 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23628 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23629 Undefine.
23630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23631 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23632 Likewise.
23633 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23634 Likewise.
23635 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23636 Likewise.
23637 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23638 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23639 Undefine.
23640 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23641 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23642 Likewise.
23643
23644 [BZ #16648]
23645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23646 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23647 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23648
23649 2014-03-31 Will Newton <will.newton@linaro.org>
23650
23651 * benchtests/Makefile (bench): Add ffs and ffsll to list
23652 of tests.
23653 * benchtests/ffs-inputs: New file.
23654 * benchtests/ffsll-inputs: Likewise.
23655
23656 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23657
23658 [BZ #16770]
23659 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23660 too large before casting to int.
23661 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23662 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23663 * math/libm-test.inc (scalb_test_data): Add more tests.
23664
23665 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23666
23667 * benchtests/Makefile (DETAILED_OPT): New make option.
23668 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23669 set.
23670 * benchtests/bench-skeleton.c: Include stdbool.h.
23671 (main): Store and print timings per input.
23672 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23673 member to each argument value.
23674 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23675 (_print_arg_data): Initialize per-input timing to 0.
23676
23677 * benchtests/Makefile (timing-type): New binary.
23678 (bench-clean): Also remove bench-timing-type.
23679 (bench): New target for timing-type.
23680 (bench-func): Print output in JSON format.
23681 * benchtests/bench-skeleton.c (main): Print output in JSON
23682 format.
23683 * benchtests/bench-timing-type.c: New file.
23684 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23685 (TIMING_PRINT_STATS): Remove.
23686 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23687 name separately.
23688
23689 * benchtests/bench-modf.c: Remove.
23690 * benchtests/modf-inputs: New inputs file.
23691
23692 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23693
23694 [BZ #16362]
23695 * math/s_clog10.c (M_PI_LOG10E): New macro.
23696 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23697 imaginary parts are 0.
23698 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23699 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23700 imaginary parts are 0.
23701 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23702 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23703 imaginary parts are 0.
23704 * math/libm-test.inc (clog10_test_data): Update expected results
23705 for when real and imaginary parts are 0.
23706
23707 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23708
23709 * elf/dl-load.c: Finish conversion of __builtin_expect into
23710 __glibc_{un}likely.
23711
23712 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23713
23714 [BZ #16348]
23715 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23716 1+x for argument with exponent below -67.
23717 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23718 Likewise.
23719 * math/auto-libm-test-in: Add more tests of exp.
23720 * math/auto-libm-test-out: Regenerated.
23721
23722 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23723
23724 [BZ #16759]
23725 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23726 (nscd_getnetgrent): Use it.
23727
23728 [BZ #16760]
23729 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23730 of stpcpy.
23731
23732 2014-03-27 Andi Kleen <ak@linux.intel.com>
23733
23734 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23735 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23736 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23737 (lll_robust_unlock): Remove out of line section. Use cfi
23738 intrinsics.
23739 (LLL_STUB_UNWIND_INFO*): Remove.
23740 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23741 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23742 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23743 (lll_robust_unlock): Remove out of line section. Use cfi
23744 intrinsics.
23745 (LLL_STUB_UNWIND_INFO*): Remove.
23746
23747 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23748
23749 [BZ #16758]
23750 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23751 blank values.
23752
23753 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23754
23755 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23756
23757 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23758
23759 [BZ #16198]
23760 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23761 fnstenv.
23762 * math/test-fenv-preserve.c: New file.
23763 * math/Makefile (tests): Add test-fenv-preserve.
23764
23765 2014-03-26 Will Newton <will.newton@linaro.org>
23766
23767 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23768
23769 2014-03-25 Roland McGrath <roland@hack.frob.com>
23770
23771 * scripts/versionlist.awk: Partition the version sets and emit all
23772 GLIBC_* (sorted) before all others (sorted).
23773
23774 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23775
23776 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23777 GLIBC_2.2.5 version.
23778
23779 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23780
23781 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23782 calls.
23783
23784 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23785 previous change.
23786
23787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23788
23789 2014-03-25 Andreas Schwab <schwab@suse.de>
23790
23791 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23792 label to be used after in6ailist is initialized.
23793
23794 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23795
23796 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23797 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23798
23799 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23800
23801 [BZ #16357]
23802 [BZ #16599]
23803 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23804 min_plus_half.
23805 (fp_formats): Update initializers.
23806 (init_fp_formats): Initialize new field.
23807 (output_for_one_input_case): Allow underflow for results up to
23808 min_plus_half.
23809 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23810 * math/auto-libm-test-in: Don't mark some underflows from asin and
23811 atanh as spurious.
23812 * math/auto-libm-test-out: Regenerated.
23813 * sysdeps/i386/fpu/libm-test-ulps: Update.
23814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23815
23816 2014-03-25 Andreas Schwab <schwab@suse.de>
23817
23818 * libio/Makefile (tst-ftell-partial-wide-ENV)
23819 (tst-ftell-active-handler-ENV): Define.
23820
23821 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23822
23823 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23824
23825 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23826
23827 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23828
23829 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23830
23831 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23832 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23833 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23834
23835 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23836
23837 [BZ #16634]
23838 * elf/dl-load.c (open_verify): Add mode parameter.
23839 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23840 (open_path): Change from boolean 'secure' to complete flag 'mode'
23841 (_dl_map_object): Adjust.
23842 * elf/Makefile (tests): Add tst-dlopen-aout.
23843 * elf/tst-dlopen-aout.c: New test.
23844
23845 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23846
23847 [BZ #16714]
23848 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23849 (struct stat): Rename member pad0 to __glibc_reserved0.
23850
23851 [BZ #16712]
23852 * sysdeps/s390/s390-32/bits/wordsize.h
23853 (__WORDSIZE32_SIZE_ULONG): New define.
23854 * sysdeps/s390/s390-64/bits/wordsize.h
23855 (__WORDSIZE32_SIZE_ULONG): Likewise.
23856 * sysdeps/generic/stdint.h (SIZE_MAX):
23857 Define as UL if __WORDSIZE32_SIZE_ULONG.
23858
23859 [BZ #16713]
23860 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23861 (__glibc_reserved0): New variable.
23862 (sa_flags): Change type to int.
23863
23864 * posix/Makefile (before-compile): Use += before-compile instead
23865 of a :=.
23866
23867 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23868 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23869
23870 2014-03-20 Andreas Schwab <schwab@suse.de>
23871
23872 [BZ #16743]
23873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23874 non-matching result from nscd.
23875
23876 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23877
23878 * scripts/bench.py: Moved to ...
23879 * benchtests/scripts/bench.py: ... here.
23880 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23881
23882 2014-03-24 Andreas Schwab <schwab@suse.de>
23883
23884 [BZ #16002]
23885 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23886 alloca_account and account alloca use for struct in6ailist.
23887
23888 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23889
23890 [BZ #16284]
23891 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23892 rounding mode to recompute results that overflow to infinity or
23893 underflow to zero.
23894 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23895 bug 16284.
23896 * math/auto-libm-test-out: Regenerated.
23897 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23898 (ccosh_test): Likewise.
23899 (csin_test_data): Use plus_oflow.
23900 (csin_test): Use ALL_RM_TEST.
23901 (csinh_test_data): Use plus_oflow.
23902 (csinh_test): Use ALL_RM_TEST.
23903 * sysdeps/i386/fpu/libm-test-ulps: Update.
23904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23905
23906 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23907
23908 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23909 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23910 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23911
23912 [BZ #16731]
23913 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23914 when x - 1 is zero.
23915 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23916 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23917 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23919 argument is 1.
23920 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23921 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23922 zero.
23923 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23924 * sysdeps/i386/fpu/libm-test-ulps: Update.
23925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23926
23927 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23928
23929 * scripts/bench.pl: Remove file.
23930 * scripts/bench.py: New benchmark script.
23931 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23932 * benchtests/README: Mention python dependency.
23933 * scripts/pylintrc: New file.
23934 * scripts/pylint: New file.
23935
23936 * bits/mathdef.h: Use #ifdef instead of #if.
23937 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23938 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23939 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23940 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23941 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23942 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23943
23944 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23945 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23946
23947 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23949 and strpbrk-ppc64 objects.
23950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23951 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23952 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23953 multiarch strpbrk for POWER7.
23954 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23955 multiarch strpbrk for PPC64.
23956 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23957 ifunc selector.
23958 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23959 strpbrk for POWER7.
23960
23961 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23962
23963 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23964 (atan_test): Likewise.
23965 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23966 (atanh_test): Use ALL_RM_TEST.
23967 (atan2_test_data): Likewise.
23968 (cabs_test): Likewise.
23969 (cacosh_test): Likewise.
23970 (carg_test): Likewise.
23971 (casin_test): Likewise.
23972 (casinh_test): Likewise.
23973 (cbrt_test): Likewise.
23974 (csqrt_test): Likewise.
23975 (erf_test): Likewise.
23976 (erfc_test): Likewise.
23977 (pow10_test): Likewise.
23978 (exp2_test): Likewise.
23979 (hypot_test): Likewise.
23980 (j0_test): Likewise.
23981 (j1_test): Likewise.
23982 (lgamma_test): Likewise.
23983 (gamma_test): Likewise.
23984 (sincos_test): Likewise.
23985 (tanh_test): Likewise.
23986 (y0_test): Likewise.
23987 (y1_test): Likewise.
23988 * sysdeps/i386/fpu/libm-test-ulps: Update.
23989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23990
23991 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23992
23993 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23994 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23995 and strcspn-ppc64 objects.
23996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23997 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23998 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23999 multiarch strcspn for POWER7.
24000 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24001 multiarch strcspn for PPC64.
24002 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24003 ifunc selector.
24004 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24005 strcspn for POWER7.
24006
24007 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24008
24009 * math/gen-libm-test.pl (generate_testfile): Expect only function
24010 name as argument to AUTO_TESTS_* and pass results for all rounding
24011 modes to parse_args.
24012 (parse_auto_input): Separate inputs of automatic tests from
24013 outputs before storing in %auto_tests.
24014 * math/libm-test.inc (acos_test_data): Update call to
24015 AUTO_TESTS_f_f.
24016 (acos_test): Use ALL_RM_TEST.
24017 (acos_tonearest_test_data): Remove.
24018 (acos_test_tonearest): Likewise.
24019 (acos_towardzero_test_data): Likewise.
24020 (acos_test_towardzero): Likewise.
24021 (acos_downward_test_data): Likewise.
24022 (acos_test_downward): Likewise.
24023 (acos_upward_test_data): Likewise.
24024 (acos_test_upward): Likewise.
24025 (acosh_test_data): Update call to AUTO_TESTS_f_f.
24026 (asin_test_data): Likewise.
24027 (asin_test): Use ALL_RM_TEST.
24028 (asin_tonearest_test_data): Remove.
24029 (asin_test_tonearest): Likewise.
24030 (asin_towardzero_test_data): Likewise.
24031 (asin_test_towardzero): Likewise.
24032 (asin_downward_test_data): Likewise.
24033 (asin_test_downward): Likewise.
24034 (asin_upward_test_data): Likewise.
24035 (asin_test_upward): Likewise.
24036 (asinh_test_data): Update call to AUTO_TESTS_f_f.
24037 (atan_test_data): Likewise.
24038 (atanh_test_data): Likewise.
24039 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24040 (cabs_test_data): Update call to AUTO_TESTS_c_f.
24041 (carg_test_data): Likewise.
24042 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24043 (ccos_test_data): Update call to AUTO_TESTS_c_c.
24044 (ccosh_test_data): Likewise.
24045 (cexp_test_data): Likewise.
24046 (clog_test_data): Likewise.
24047 (clog10_test_data): Likewise.
24048 (cos_test_data): Update call to AUTO_TESTS_f_f.
24049 (cos_test): Use ALL_RM_TEST.
24050 (cos_tonearest_test_data): Remove.
24051 (cos_test_tonearest): Likewise.
24052 (cos_towardzero_test_data): Likewise.
24053 (cos_test_towardzero): Likewise.
24054 (cos_downward_test_data): Likewise.
24055 (cos_test_downward): Likewise.
24056 (cos_upward_test_data): Likewise.
24057 (cos_test_upward): Likewise.
24058 (cosh_test_data): Update call to AUTO_TESTS_f_f.
24059 (cosh_test): Use ALL_RM_TEST.
24060 (cosh_tonearest_test_data): Remove.
24061 (cosh_test_tonearest): Likewise.
24062 (cosh_towardzero_test_data): Likewise.
24063 (cosh_test_towardzero): Likewise.
24064 (cosh_downward_test_data): Likewise.
24065 (cosh_test_downward): Likewise.
24066 (cosh_upward_test_data): Likewise.
24067 (cosh_test_upward): Likewise.
24068 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24069 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24070 (ctan_test_data): Likewise.
24071 (ctan_test): Use ALL_RM_TEST.
24072 (ctan_tonearest_test_data): Remove.
24073 (ctan_test_tonearest): Likewise.
24074 (ctan_towardzero_test_data): Likewise.
24075 (ctan_test_towardzero): Likewise.
24076 (ctan_downward_test_data): Likewise.
24077 (ctan_test_downward): Likewise.
24078 (ctan_upward_test_data): Likewise.
24079 (ctan_test_upward): Likewise.
24080 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24081 (ctanh_test): Use ALL_RM_TEST.
24082 (ctanh_tonearest_test_data): Remove.
24083 (ctanh_test_tonearest): Likewise.
24084 (ctanh_towardzero_test_data): Likewise.
24085 (ctanh_test_towardzero): Likewise.
24086 (ctanh_downward_test_data): Likewise.
24087 (ctanh_test_downward): Likewise.
24088 (ctanh_upward_test_data): Likewise.
24089 (ctanh_test_upward): Likewise.
24090 (erf_test_data): Update call to AUTO_TESTS_f_f.
24091 (erfc_test_data): Likewise.
24092 (exp_test_data): Likewise.
24093 (exp_test): Use ALL_RM_TEST.
24094 (exp_tonearest_test_data): Remove.
24095 (exp_test_tonearest): Likewise.
24096 (exp_towardzero_test_data): Likewise.
24097 (exp_test_towardzero): Likewise.
24098 (exp_downward_test_data): Likewise.
24099 (exp_test_downward): Likewise.
24100 (exp_upward_test_data): Likewise.
24101 (exp_test_upward): Likewise.
24102 (exp10_test_data): Update call to AUTO_TESTS_f_f.
24103 (exp10_test): Use ALL_RM_TEST.
24104 (exp10_tonearest_test_data): Remove.
24105 (exp10_test_tonearest): Likewise.
24106 (exp10_towardzero_test_data): Likewise.
24107 (exp10_test_towardzero): Likewise.
24108 (exp10_downward_test_data): Likewise.
24109 (exp10_test_downward): Likewise.
24110 (exp10_upward_test_data): Likewise.
24111 (exp10_test_upward): Likewise.
24112 (exp2_test_data): Update call to AUTO_TESTS_f_f.
24113 (expm1_test_data): Likewise.
24114 (expm1_test): Use ALL_RM_TEST.
24115 (expm1_tonearest_test_data): Remove.
24116 (expm1_test_tonearest): Likewise.
24117 (expm1_towardzero_test_data): Likewise.
24118 (expm1_test_towardzero): Likewise.
24119 (expm1_downward_test_data): Likewise.
24120 (expm1_test_downward): Likewise.
24121 (expm1_upward_test_data): Likewise.
24122 (expm1_test_upward): Likewise.
24123 (fma_test_data): Update call to AUTO_TESTS_fff_f.
24124 (fma_test): Use ALL_RM_TEST.
24125 (fma_towardzero_test_data): Remove.
24126 (fma_test_towardzero): Likewise.
24127 (fma_downward_test_data): Likewise.
24128 (fma_test_downward): Likewise.
24129 (fma_upward_test_data): Likewise.
24130 (fma_test_upward): Likewise.
24131 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24132 (j0_test_data): Update call to AUTO_TESTS_f_f.
24133 (j1_test_data): Likewise.
24134 (jn_test_data): Update call to AUTO_TESTS_if_f.
24135 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24136 (log_test_data): Update call to AUTO_TESTS_f_f.
24137 (log10_test_data): Likewise.
24138 (log1p_test_data): Likewise.
24139 (log2_test_data): Likewise.
24140 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24141 (pow_tonearest_test_data): Likewise.
24142 (sin_test_data): Update call to AUTO_TESTS_f_f.
24143 (sin_test): Use ALL_RM_TEST.
24144 (sin_tonearest_test_data): Remove.
24145 (sin_test_tonearest): Likewise.
24146 (sin_towardzero_test_data): Likewise.
24147 (sin_test_towardzero): Likewise.
24148 (sin_downward_test_data): Likewise.
24149 (sin_test_downward): Likewise.
24150 (sin_upward_test_data): Likewise.
24151 (sin_test_upward): Likewise.
24152 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24153 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24154 (sinh_test): Use ALL_RM_TEST.
24155 (sinh_tonearest_test_data): Remove.
24156 (sinh_test_tonearest): Likewise.
24157 (sinh_towardzero_test_data): Likewise.
24158 (sinh_test_towardzero): Likewise.
24159 (sinh_downward_test_data): Likewise.
24160 (sinh_test_downward): Likewise.
24161 (sinh_upward_test_data): Likewise.
24162 (sinh_test_upward): Likewise.
24163 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24164 (sqrt_test): Use ALL_RM_TEST.
24165 (sqrt_tonearest_test_data): Remove.
24166 (sqrt_test_tonearest): Likewise.
24167 (sqrt_towardzero_test_data): Likewise.
24168 (sqrt_test_towardzero): Likewise.
24169 (sqrt_downward_test_data): Likewise.
24170 (sqrt_test_downward): Likewise.
24171 (sqrt_upward_test_data): Likewise.
24172 (sqrt_test_upward): Likewise.
24173 (tan_test_data): Update call to AUTO_TESTS_f_f.
24174 (tan_test): Use ALL_RM_TEST.
24175 (tan_tonearest_test_data): Remove.
24176 (tan_test_tonearest): Likewise.
24177 (tan_towardzero_test_data): Likewise.
24178 (tan_test_towardzero): Likewise.
24179 (tan_downward_test_data): Likewise.
24180 (tan_test_downward): Likewise.
24181 (tan_upward_test_data): Likewise.
24182 (tan_test_upward): Likewise.
24183 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24184 (tgamma_test_data): Likewise.
24185 (y0_test_data): Likewise.
24186 (y1_test_data): Likewise.
24187 (yn_test_data): Update call to AUTO_TESTS_if_f.
24188 (main): Do not call removed functions.
24189
24190 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24191
24192 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24193 (ldexp_test_data): Remove.
24194 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24195 scalbn_test_data.
24196 (scalb_test): Use ALL_RM_TEST.
24197
24198 2014-03-19 Andreas Schwab <schwab@suse.de>
24199
24200 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24201
24202 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24203
24204 [BZ #16649]
24205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24206 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24207 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24208 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24209 (__ASSUME_PREADV): Undefine.
24210 (__ASSUME_PWRITEV): Likewise.
24211
24212 2014-03-18 Roland McGrath <roland@hack.frob.com>
24213
24214 * bits/mman-linux.h: Add comment about non-Linux use.
24215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24216 bits/mman-linux.h resting place.
24217
24218 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24219 * bits/mman-linux.h: ... here.
24220
24221 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24222
24223 * conform/conformtest.pl: Add standard definition when calling C
24224 preprocessor on data files.
24225 (checknamespace): Remove unused variable.
24226
24227 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24228
24229 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24230 minus_oflow, plus_uflow and minus_uflow in expected results.
24231 * math/libm-test.inc (scalbn_test_data): Add more tests of
24232 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
24233 minus_uflow.
24234 (scalbn_test): Use ALL_RM_TEST.
24235 (scalbln_test_data): Add more tests of negative arguments. Use
24236 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24237 (scalbln_test): Use ALL_RM_TEST.
24238
24239 2014-03-18 Roland McGrath <roland@hack.frob.com>
24240
24241 * scripts/abilist.awk: Ignore symbols marked with .hidden.
24242
24243 2014-03-18 Will Newton <will.newton@linaro.org>
24244
24245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24246 inaccurate comment.
24247
24248 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24249
24250 * Makerules [!subdir] (check-abi): Exit with error status if a
24251 test failed.
24252
24253 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24254
24255 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24256 for rint. Include results for all rounding modes.
24257 (nearbyint_test): Use ALL_RM_TEST.
24258 (rint_test_data): Include all tests used for nearbyint.
24259
24260 2014-03-17 Will Newton <will.newton@linaro.org>
24261
24262 * nptl/sysdeps/pthread/pthread.h: Revert previous
24263 change.
24264
24265 * sysdeps/generic/ldsodefs.h: Revert previous
24266 change.
24267
24268 * libio/genops.c: Revert previous change.
24269 * libio/libioP.h: Likewise.
24270 * stdio-common/vfprintf.c: Likewise.
24271
24272 * sysdeps/generic/math_private.h: Revert previous
24273 change.
24274
24275 * sysdeps/generic/math_private.h: Check whether
24276 HAVE_RM_CTX is defined with #ifdef rather
24277 than #if.
24278
24279 * argp/argp-fmtstream.h: Check whether
24280 __STRICT_ANSI__ is defined with #ifdef rather
24281 than #if.
24282 * argp/argp.h: Likewise.
24283
24284 * libio/genops.c: Check whether
24285 _IO_JUMPS_OFFSET is defined with #ifdef rather
24286 than #if.
24287 * libio/libioP.h: Likewise.
24288 * stdio-common/vfprintf.c: Likewise.
24289
24290 * sysdeps/generic/ldsodefs.h: Check whether
24291 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24292 than #if.
24293
24294 * nptl/sysdeps/pthread/pthread.h: Check
24295 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24296 its value.
24297
24298 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24299
24300 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24301 setting O_APPEND.
24302 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24303 test case.
24304
24305 [BZ #16680]
24306 * libio/fileops.c (_IO_file_open): Seek to end of file but
24307 don't cache the offset.
24308 (get_file_offset): Remove function.
24309 (do_ftell): Use cached offset when available.
24310 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24311 don't cache the offset.
24312 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24313 case.
24314 (do_one_test): Call it.
24315 (do_ftell_test): Fix up expected old offset for a+ mode.
24316 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24317 available.
24318
24319 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24320 up test status with function return status.
24321 (do_write_test): Likewise.
24322 (do_append_test): Likewise.
24323
24324 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24325 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24326 Remove.
24327
24328 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24329
24330 * math/gen-libm-test.pl (parse_args): Handle results specified for
24331 each rounding mode separately.
24332 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24333 tests and results from lrint_tonearest_test_data,
24334 lrint_towardzero_test_data, lrint_downward_test_data and
24335 lrint_upward_test_data.
24336 (lrint_test): Use ALL_RM_TEST.
24337 (lrint_tonearest_test_data): Remove.
24338 (lrint_test_tonearest): Likewise.
24339 (lrint_towardzero_test_data): Likewise.
24340 (lrint_test_towardzero): Likewise.
24341 (lrint_downward_test_data): Likewise.
24342 (lrint_test_downward): Likewise.
24343 (lrint_upward_test_data): Likewise.
24344 (lrint_test_upward): Likewise.
24345 (llrint_test_data): Merge in per-rounding-mode tests and results
24346 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24347 llrint_downward_test_data and llrint_upward_test_data.
24348 (llrint_test): Use ALL_RM_TEST.
24349 (llrint_tonearest_test_data): Remove.
24350 (llrint_test_tonearest): Likewise.
24351 (llrint_towardzero_test_data): Likewise.
24352 (llrint_test_towardzero): Likewise.
24353 (llrint_downward_test_data): Likewise.
24354 (llrint_test_downward): Likewise.
24355 (llrint_upward_test_data): Likewise.
24356 (llrint_test_upward): Likewise.
24357 (rint_test_data): Merge in per-rounding-mode tests and results
24358 from rint_tonearest_test_data, rint_towardzero_test_data,
24359 rint_downward_test_data and rint_upward_test_data. Add
24360 per-rounding-mode results for tests not in those arrays.
24361 (rint_test): Use ALL_RM_TEST.
24362 (rint_tonearest_test_data): Remove.
24363 (rint_test_tonearest): Likewise.
24364 (rint_towardzero_test_data): Likewise.
24365 (rint_test_towardzero): Likewise.
24366 (rint_downward_test_data): Likewise.
24367 (rint_test_downward): Likewise.
24368 (rint_upward_test_data): Likewise.
24369 (rint_test_upward): Likewise.
24370 (main): Don't call removed functions.
24371
24372 2014-03-14 Roland McGrath <roland@hack.frob.com>
24373
24374 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24375 "Compiled on ..." crapola. It is anti-useful.
24376
24377 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24378
24379 * scripts/evaluate-test.sh: Handle fourth argument to determine
24380 whether test run should stop on failure.
24381 * Makeconfig (stop-on-test-failure): New variable.
24382 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24383 $(stop-on-test-failure).
24384 * Makefile (tests): Give a summary of results from testing and
24385 exit with failure status if they include an ERROR or FAIL.
24386 (xtests): Likewise.
24387 * manual/install.texi (Configuring and compiling): Mention
24388 stop-on-test-failure=y.
24389 * INSTALL: Regenerated.
24390
24391 2014-03-14 Roland McGrath <roland@hack.frob.com>
24392
24393 * scripts/versionlist.awk: New file.
24394 * Makerules [$(build-shared) = yes]
24395 (postclean-generated): Add Versions.def, not Versions.def.v and
24396 Versions.def.v.i.
24397 ($(common-objpfx)Versions.def.v.i): Target removed.
24398 ($(common-objpfx)Versions.def): New target.
24399 ($(common-objpfx)Versions.all): Depend on that rather that
24400 $(common-objpfx)Versions.def.v.
24401 * Versions.def: File removed.
24402
24403 * Makeconfig (+gccwarn): Add -Wundef.
24404 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24405 a dl-sysdep.h breaking its contract.
24406 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24407 * include/stackinfo.h: New file.
24408 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24409 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24410 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24411 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24412 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24413 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24414 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24415 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24416 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24417 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24418 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24419 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24420 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24421 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24422 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24423
24424 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24425
24426 [BZ #16707]
24427 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24428 implementation.
24429 * math/libm-test.inc (round_test_data): Add more tests.
24430
24431 [BZ #16706]
24432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24433 implementation.
24434 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24435
24436 [BZ #16701]
24437 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24438 implementation.
24439 * math/libm-test.inc (ceil_test_data): Add more tests.
24440
24441 * math/libm-test.inc (trunc_test_data): Add more tests related to
24442 BZ#16414.
24443
24444 2014-03-14 Roland McGrath <roland@hack.frob.com>
24445
24446 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24447 with #if rather than #ifdef.
24448 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24449
24450 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24451
24452 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24453 first. Disable AVX-512 GCC support if assembler doesn't support
24454 it.
24455 * sysdeps/x86_64/configure: Regenerated.
24456
24457 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24458
24459 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24460 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24461 (__old_pthread_attr_setstack): Likewise.
24462 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24463 [!_STACK_GROWS_DOWN]: Likewise.
24464
24465 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24466
24467 * config.make.in (have-bash2): Delete.
24468 * configure.ac (libc_cv_have_bash2): Delete.
24469 * configure: Regenerate.
24470 * elf/Makefile (common-ldd-rewrite): Rename to ...
24471 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24472 (sh-ldd-rewrite): Delete.
24473 (bash-ldd-rewrite): Delete.
24474 (have-bash2): Delete checks.
24475 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24476 ldd-rewrite.
24477
24478 * config.make.in (have-ksh): Delete.
24479 (KSH): Delete.
24480 * configure.ac (libc_cv_have_ksh): Delete.
24481 * configure: Regenerate.
24482
24483 * elf/Makefile: Delete $(have-ksh) check.
24484 ($(objpfx)sotruss): Change KSH to BASH.
24485 * elf/sotruss.ksh: Rename to ...
24486 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24487 function style to match POSIX. Drop ksh vim mode setting.
24488
24489 * manual/time.texi (Specifying the Time Zone with TZ): Change
24490 Tuesday to Thursday.
24491
24492 * debug/tst-longjmp_chk2.c: Update header comment.
24493 (stackoverflow_handler): Add comment. Call assert on pass value.
24494
24495 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24496
24497 [BZ #16194]
24498 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24499 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24500 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24501 (La_x86_64_vector): Add zmm.
24502 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24503 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24504 ($(objpfx)tst-audit10): New target.
24505 ($(objpfx)tst-audit10.out): Likewise.
24506 (tst-audit10-ENV): New.
24507 (AVX512-CFLAGS): Likewise.
24508 (CFLAGS-tst-audit10.c): Likewise.
24509 (CFLAGS-tst-auditmod10a.c): Likewise.
24510 (CFLAGS-tst-auditmod10b.c): Likewise.
24511 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24512 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24513 * sysdeps/x86_64/configure: Regenerated.
24514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24515 AVX-512 zmm register support.
24516 (_dl_x86_64_save_sse): Likewise.
24517 (_dl_x86_64_restore_sse): Likewise.
24518 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24519 size vector registers.
24520 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24521 (ZMM_SIZE): Likewise.
24522 * sysdeps/x86_64/tst-audit10.c: New file.
24523 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24524 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24525
24526 2014-03-13 Roland McGrath <roland@hack.frob.com>
24527
24528 * configure.ac (HAVE_EHDR_START): New check.
24529 * configure: Regenerated.
24530 * config.h.in (HAVE_EHDR_START): New #undef.
24531 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24532 assuming the lowest-addressed segment maps the start of the file.
24533
24534 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24535
24536 * INSTALL: Regenerated.
24537
24538 2014-03-13 Will Newton <will.newton@linaro.org>
24539
24540 * manual/setjmp.texi (System V contexts): Improve
24541 clarity and grammar of documentation.
24542
24543 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24544
24545 [BZ #16381]
24546 * elf/Makefile (tests): Add tst-pie2.
24547 (tests-pie): Add tst-pie2.
24548 * elf/tst-pie2.c: New file.
24549 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24550 for ET_EXEC.
24551 * elf/rtld.c (map_doit): Load executable as lt_executable.
24552 (dl_main): Likewise.
24553
24554 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24555
24556 [BZ #16642]
24557 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24558 (__ASSUME_PSELECT): Undefine.
24559
24560 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24561
24562 [BZ #16689]
24563 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24564 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24565 static build.
24566 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24567 selector for static builds.
24568
24569 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24570
24571 [BZ #16695]
24572 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24573 key in the buffer.
24574
24575 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24576
24577 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24578 IFUNC selector for static builds.
24579
24580 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24581
24582 * sysdeps/mips/math_private.h [__mips_hard_float]
24583 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24584 libc_feresetround_mips_ctx.
24585 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24586 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24587 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24588
24589 [BZ #16677]
24590 * math/s_nextafter.c (__nextafter): Do not return value from
24591 overflowing computation.
24592 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24593 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24594 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24595 Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24597 Likewise.
24598 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24599 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24600
24601 2014-03-11 Roland McGrath <roland@hack.frob.com>
24602
24603 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24604 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24605 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24606 the new mov targetting sp.
24607
24608 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24609
24610 [BZ #16683]
24611 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24612 Define it for static builds as well.
24613 (NO_BZERO_IMPL): Likewise.
24614
24615 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24616
24617 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24618 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24619 multiarch strspn for PPC64.
24620 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24621 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24623 (__libc_ifunc_impl_list): Likewise.
24624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24625 multiarch optimizations
24626 * string/strspn.c (strspn): Using macro to redefine symbol name.
24627
24628 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24629 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24630
24631 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24632 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24633 multiarch strncat for PPC64.
24634 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24635 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24637 (__libc_ifunc_impl_list): Likewise.
24638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24639 multiarch optimizations
24640
24641 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24642
24643 [BZ #16639]
24644 * nscd/nscd.service: Make service type forking.
24645
24646 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24647
24648 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24649 sign in non default rounding modes.
24650 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24651
24652 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24653
24654 * math/libm-test.inc (ALL_RM_TEST): New macro.
24655 (ceil_test): Use ALL_RM_TEST.
24656 (cimag_test): Likewise.
24657 (conj_test): Likewise.
24658 (copysign_test): Likewise.
24659 (cproj_test): Likewise.
24660 (creal_test): Likewise.
24661 (fabs_test): Likewise.
24662 (floor_test): Likewise.
24663 (fmax_test): Likewise.
24664 (fmin_test): Likewise.
24665 (fmod_test): Likewise.
24666 (fpclassify_test): Likewise.
24667 (frexp_test): Likewise.
24668 (ilogb_test): Likewise.
24669 (isfinite_test): Likewise.
24670 (finite_test): Likewise.
24671 (isgreater_test): Likewise.
24672 (isgreaterequal_test): Likewise.
24673 (isinf_test): Likewise.
24674 (isless_test): Likewise.
24675 (islessequal_test): Likewise.
24676 (islessgreater_test): Likewise.
24677 (isnan_test): Likewise.
24678 (isnormal_test): Likewise.
24679 (issignaling_test): Likewise.
24680 (isunordered_test): Likewise.
24681 (logb_test): Likewise.
24682 (logb_downward_test_data): Remove.
24683 (logb_test_downward): Likewise.
24684 (lround_test): Use ALL_RM_TEST.
24685 (llround_test): Likewise.
24686 (modf_test): Likewise.
24687 (nexttoward_test): Likewise.
24688 (remainder_test): Likewise.
24689 (drem_test): Likewise.
24690 (remainder_tonearest_test_data): Likewise.
24691 (remainder_test_tonearest): Likewise.
24692 (drem_test_tonearest): Likewise.
24693 (remainder_towardzero_test_data): Likewise.
24694 (remainder_test_towardzero): Likewise.
24695 (drem_test_towardzero): Likewise.
24696 (remainder_downward_test_data): Likewise.
24697 (remainder_test_downward): Likewise.
24698 (drem_test_downward): Likewise.
24699 (remainder_upward_test_data): Likewise.
24700 (remainder_test_upward): Likewise.
24701 (drem_test_upward): Likewise.
24702 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24703 (round_test): Use ALL_RM_TEST.
24704 (signbit_test): Likewise.
24705 (trunc_test): Likewise.
24706 (significand_test): Likewise.
24707 (main): Don't call removed functions.
24708
24709 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24710
24711 [BZ #16674]
24712 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24713 || __USE_XOPEN2K8].
24714 (ILL_ILLOPN): Likewise.
24715 (ILL_ILLADR): Likewise.
24716 (ILL_ILLTRP): Likewise.
24717 (ILL_PRVOPC): Likewise.
24718 (ILL_PRVREG): Likewise.
24719 (ILL_COPROC): Likewise.
24720 (ILL_BADSTK): Likewise.
24721 (FPE_INTDIV): Likewise.
24722 (FPE_INTOVF): Likewise.
24723 (FPE_FLTDIV): Likewise.
24724 (FPE_FLTOVF): Likewise.
24725 (FPE_FLTUND): Likewise.
24726 (FPE_FLTRES): Likewise.
24727 (FPE_FLTINV): Likewise.
24728 (FPE_FLTSUB): Likewise.
24729 (SEGV_MAPERR): Likewise.
24730 (SEGV_ACCERR): Likewise.
24731 (BUS_ADRALN): Likewise.
24732 (BUS_ADRERR): Likewise.
24733 (BUS_OBJERR): Likewise.
24734 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24735 (TRAP_TRACE): Likewise.
24736 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24737 __USE_XOPEN2K8].
24738 (CLD_KILLED): Likewise.
24739 (CLD_DUMPED): Likewise.
24740 (CLD_TRAPPED): Likewise.
24741 (CLD_STOPPED): Likewise.
24742 (CLD_CONTINUED): Likewise.
24743 (POLL_IN): Likewise.
24744 (POLL_OUT): Likewise.
24745 (POLL_MSG): Likewise.
24746 (POLL_ERR): Likewise.
24747 (POLL_PRI): Likewise.
24748 (POLL_HUP): Likewise.
24749 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24750 Likewise.
24751 (ILL_ILLOPN): Likewise.
24752 (ILL_ILLADR): Likewise.
24753 (ILL_ILLTRP): Likewise.
24754 (ILL_PRVOPC): Likewise.
24755 (ILL_PRVREG): Likewise.
24756 (ILL_COPROC): Likewise.
24757 (ILL_BADSTK): Likewise.
24758 (FPE_INTDIV): Likewise.
24759 (FPE_INTOVF): Likewise.
24760 (FPE_FLTDIV): Likewise.
24761 (FPE_FLTOVF): Likewise.
24762 (FPE_FLTUND): Likewise.
24763 (FPE_FLTRES): Likewise.
24764 (FPE_FLTINV): Likewise.
24765 (FPE_FLTSUB): Likewise.
24766 (SEGV_MAPERR): Likewise.
24767 (SEGV_ACCERR): Likewise.
24768 (BUS_ADRALN): Likewise.
24769 (BUS_ADRERR): Likewise.
24770 (BUS_OBJERR): Likewise.
24771 (BUS_MCEERR_AR): Likewise.
24772 (BUS_MCEERR_AO): Likewise.
24773 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24774 (TRAP_TRACE): Likewise.
24775 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24776 __USE_XOPEN2K8].
24777 (CLD_KILLED): Likewise.
24778 (CLD_DUMPED): Likewise.
24779 (CLD_TRAPPED): Likewise.
24780 (CLD_STOPPED): Likewise.
24781 (CLD_CONTINUED): Likewise.
24782 (POLL_IN): Likewise.
24783 (POLL_OUT): Likewise.
24784 (POLL_MSG): Likewise.
24785 (POLL_ERR): Likewise.
24786 (POLL_PRI): Likewise.
24787 (POLL_HUP): Likewise.
24788 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24789 (ILL_ILLOPN): Likewise.
24790 (ILL_ILLADR): Likewise.
24791 (ILL_ILLTRP): Likewise.
24792 (ILL_PRVOPC): Likewise.
24793 (ILL_PRVREG): Likewise.
24794 (ILL_COPROC): Likewise.
24795 (ILL_BADSTK): Likewise.
24796 (FPE_INTDIV): Likewise.
24797 (FPE_INTOVF): Likewise.
24798 (FPE_FLTDIV): Likewise.
24799 (FPE_FLTOVF): Likewise.
24800 (FPE_FLTUND): Likewise.
24801 (FPE_FLTRES): Likewise.
24802 (FPE_FLTINV): Likewise.
24803 (FPE_FLTSUB): Likewise.
24804 (SEGV_MAPERR): Likewise.
24805 (SEGV_ACCERR): Likewise.
24806 (BUS_ADRALN): Likewise.
24807 (BUS_ADRERR): Likewise.
24808 (BUS_OBJERR): Likewise.
24809 (BUS_MCEERR_AR): Likewise.
24810 (BUS_MCEERR_AO): Likewise.
24811 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24812 (TRAP_TRACE): Likewise.
24813 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24814 __USE_XOPEN2K8].
24815 (CLD_KILLED): Likewise.
24816 (CLD_DUMPED): Likewise.
24817 (CLD_TRAPPED): Likewise.
24818 (CLD_STOPPED): Likewise.
24819 (CLD_CONTINUED): Likewise.
24820 (POLL_IN): Likewise.
24821 (POLL_OUT): Likewise.
24822 (POLL_MSG): Likewise.
24823 (POLL_ERR): Likewise.
24824 (POLL_PRI): Likewise.
24825 (POLL_HUP): Likewise.
24826 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24827 Likewise.
24828 (ILL_ILLOPN): Likewise.
24829 (ILL_ILLADR): Likewise.
24830 (ILL_ILLTRP): Likewise.
24831 (ILL_PRVOPC): Likewise.
24832 (ILL_PRVREG): Likewise.
24833 (ILL_COPROC): Likewise.
24834 (ILL_BADSTK): Likewise.
24835 (ILL_BADIADDR): Likewise.
24836 (ILL_BREAK): Likewise.
24837 (FPE_INTDIV): Likewise.
24838 (FPE_INTOVF): Likewise.
24839 (FPE_FLTDIV): Likewise.
24840 (FPE_FLTOVF): Likewise.
24841 (FPE_FLTUND): Likewise.
24842 (FPE_FLTRES): Likewise.
24843 (FPE_FLTINV): Likewise.
24844 (FPE_FLTSUB): Likewise.
24845 (FPE_DECOVF): Likewise.
24846 (FPE_DECDIV): Likewise.
24847 (FPE_DECERR): Likewise.
24848 (FPE_INVASC): Likewise.
24849 (FPE_INVDEC): Likewise.
24850 (SEGV_MAPERR): Likewise.
24851 (SEGV_ACCERR): Likewise.
24852 (SEGV_PSTKOVF): Likewise.
24853 (BUS_ADRALN): Likewise.
24854 (BUS_ADRERR): Likewise.
24855 (BUS_OBJERR): Likewise.
24856 (BUS_MCEERR_AR): Likewise.
24857 (BUS_MCEERR_AO): Likewise.
24858 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24859 (TRAP_TRACE): Likewise.
24860 (TRAP_BRANCH): Likewise.
24861 (TRAP_HWBKPT): Likewise.
24862 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24863 __USE_XOPEN2K8].
24864 (CLD_KILLED): Likewise.
24865 (CLD_DUMPED): Likewise.
24866 (CLD_TRAPPED): Likewise.
24867 (CLD_STOPPED): Likewise.
24868 (CLD_CONTINUED): Likewise.
24869 (POLL_IN): Likewise.
24870 (POLL_OUT): Likewise.
24871 (POLL_MSG): Likewise.
24872 (POLL_ERR): Likewise.
24873 (POLL_PRI): Likewise.
24874 (POLL_HUP): Likewise.
24875 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24876 (ILL_ILLOPN): Likewise.
24877 (ILL_ILLADR): Likewise.
24878 (ILL_ILLTRP): Likewise.
24879 (ILL_PRVOPC): Likewise.
24880 (ILL_PRVREG): Likewise.
24881 (ILL_COPROC): Likewise.
24882 (ILL_BADSTK): Likewise.
24883 (FPE_INTDIV): Likewise.
24884 (FPE_INTOVF): Likewise.
24885 (FPE_FLTDIV): Likewise.
24886 (FPE_FLTOVF): Likewise.
24887 (FPE_FLTUND): Likewise.
24888 (FPE_FLTRES): Likewise.
24889 (FPE_FLTINV): Likewise.
24890 (FPE_FLTSUB): Likewise.
24891 (SEGV_MAPERR): Likewise.
24892 (SEGV_ACCERR): Likewise.
24893 (BUS_ADRALN): Likewise.
24894 (BUS_ADRERR): Likewise.
24895 (BUS_OBJERR): Likewise.
24896 (BUS_MCEERR_AR): Likewise.
24897 (BUS_MCEERR_AO): Likewise.
24898 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24899 (TRAP_TRACE): Likewise.
24900 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24901 __USE_XOPEN2K8].
24902 (CLD_KILLED): Likewise.
24903 (CLD_DUMPED): Likewise.
24904 (CLD_TRAPPED): Likewise.
24905 (CLD_STOPPED): Likewise.
24906 (CLD_CONTINUED): Likewise.
24907 (POLL_IN): Likewise.
24908 (POLL_OUT): Likewise.
24909 (POLL_MSG): Likewise.
24910 (POLL_ERR): Likewise.
24911 (POLL_PRI): Likewise.
24912 (POLL_HUP): Likewise.
24913 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24914 (ILL_ILLOPN): Likewise.
24915 (ILL_ILLADR): Likewise.
24916 (ILL_ILLTRP): Likewise.
24917 (ILL_PRVOPC): Likewise.
24918 (ILL_PRVREG): Likewise.
24919 (ILL_COPROC): Likewise.
24920 (ILL_BADSTK): Likewise.
24921 (FPE_INTDIV): Likewise.
24922 (FPE_INTOVF): Likewise.
24923 (FPE_FLTDIV): Likewise.
24924 (FPE_FLTOVF): Likewise.
24925 (FPE_FLTUND): Likewise.
24926 (FPE_FLTRES): Likewise.
24927 (FPE_FLTINV): Likewise.
24928 (FPE_FLTSUB): Likewise.
24929 (SEGV_MAPERR): Likewise.
24930 (SEGV_ACCERR): Likewise.
24931 (BUS_ADRALN): Likewise.
24932 (BUS_ADRERR): Likewise.
24933 (BUS_OBJERR): Likewise.
24934 (BUS_MCEERR_AR): Likewise.
24935 (BUS_MCEERR_AO): Likewise.
24936 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24937 (TRAP_TRACE): Likewise.
24938 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24939 __USE_XOPEN2K8].
24940 (CLD_KILLED): Likewise.
24941 (CLD_DUMPED): Likewise.
24942 (CLD_TRAPPED): Likewise.
24943 (CLD_STOPPED): Likewise.
24944 (CLD_CONTINUED): Likewise.
24945 (POLL_IN): Likewise.
24946 (POLL_OUT): Likewise.
24947 (POLL_MSG): Likewise.
24948 (POLL_ERR): Likewise.
24949 (POLL_PRI): Likewise.
24950 (POLL_HUP): Likewise.
24951 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24952 (ILL_ILLOPN): Likewise.
24953 (ILL_ILLADR): Likewise.
24954 (ILL_ILLTRP): Likewise.
24955 (ILL_PRVOPC): Likewise.
24956 (ILL_PRVREG): Likewise.
24957 (ILL_COPROC): Likewise.
24958 (ILL_BADSTK): Likewise.
24959 (FPE_INTDIV): Likewise.
24960 (FPE_INTOVF): Likewise.
24961 (FPE_FLTDIV): Likewise.
24962 (FPE_FLTOVF): Likewise.
24963 (FPE_FLTUND): Likewise.
24964 (FPE_FLTRES): Likewise.
24965 (FPE_FLTINV): Likewise.
24966 (FPE_FLTSUB): Likewise.
24967 (SEGV_MAPERR): Likewise.
24968 (SEGV_ACCERR): Likewise.
24969 (BUS_ADRALN): Likewise.
24970 (BUS_ADRERR): Likewise.
24971 (BUS_OBJERR): Likewise.
24972 (BUS_MCEERR_AR): Likewise.
24973 (BUS_MCEERR_AO): Likewise.
24974 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24975 (TRAP_TRACE): Likewise.
24976 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24977 __USE_XOPEN2K8].
24978 (CLD_KILLED): Likewise.
24979 (CLD_DUMPED): Likewise.
24980 (CLD_TRAPPED): Likewise.
24981 (CLD_STOPPED): Likewise.
24982 (CLD_CONTINUED): Likewise.
24983 (POLL_IN): Likewise.
24984 (POLL_OUT): Likewise.
24985 (POLL_MSG): Likewise.
24986 (POLL_ERR): Likewise.
24987 (POLL_PRI): Likewise.
24988 (POLL_HUP): Likewise.
24989 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24990 (ILL_ILLOPN): Likewise.
24991 (ILL_ILLADR): Likewise.
24992 (ILL_ILLTRP): Likewise.
24993 (ILL_PRVOPC): Likewise.
24994 (ILL_PRVREG): Likewise.
24995 (ILL_COPROC): Likewise.
24996 (ILL_BADSTK): Likewise.
24997 (ILL_DBLFLT): Likewise.
24998 (ILL_HARDWALL): Likewise.
24999 (FPE_INTDIV): Likewise.
25000 (FPE_INTOVF): Likewise.
25001 (FPE_FLTDIV): Likewise.
25002 (FPE_FLTOVF): Likewise.
25003 (FPE_FLTUND): Likewise.
25004 (FPE_FLTRES): Likewise.
25005 (FPE_FLTINV): Likewise.
25006 (FPE_FLTSUB): Likewise.
25007 (SEGV_MAPERR): Likewise.
25008 (SEGV_ACCERR): Likewise.
25009 (BUS_ADRALN): Likewise.
25010 (BUS_ADRERR): Likewise.
25011 (BUS_OBJERR): Likewise.
25012 (BUS_MCEERR_AR): Likewise.
25013 (BUS_MCEERR_AO): Likewise.
25014 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25015 (TRAP_TRACE): Likewise.
25016 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25017 __USE_XOPEN2K8].
25018 (CLD_KILLED): Likewise.
25019 (CLD_DUMPED): Likewise.
25020 (CLD_TRAPPED): Likewise.
25021 (CLD_STOPPED): Likewise.
25022 (CLD_CONTINUED): Likewise.
25023 (POLL_IN): Likewise.
25024 (POLL_OUT): Likewise.
25025 (POLL_MSG): Likewise.
25026 (POLL_ERR): Likewise.
25027 (POLL_PRI): Likewise.
25028 (POLL_HUP): Likewise.
25029 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25030 (ILL_ILLOPN): Likewise.
25031 (ILL_ILLADR): Likewise.
25032 (ILL_ILLTRP): Likewise.
25033 (ILL_PRVOPC): Likewise.
25034 (ILL_PRVREG): Likewise.
25035 (ILL_COPROC): Likewise.
25036 (ILL_BADSTK): Likewise.
25037 (FPE_INTDIV): Likewise.
25038 (FPE_INTOVF): Likewise.
25039 (FPE_FLTDIV): Likewise.
25040 (FPE_FLTOVF): Likewise.
25041 (FPE_FLTUND): Likewise.
25042 (FPE_FLTRES): Likewise.
25043 (FPE_FLTINV): Likewise.
25044 (FPE_FLTSUB): Likewise.
25045 (SEGV_MAPERR): Likewise.
25046 (SEGV_ACCERR): Likewise.
25047 (BUS_ADRALN): Likewise.
25048 (BUS_ADRERR): Likewise.
25049 (BUS_OBJERR): Likewise.
25050 (BUS_MCEERR_AR): Likewise.
25051 (BUS_MCEERR_AO): Likewise.
25052 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25053 (TRAP_TRACE): Likewise.
25054 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25055 __USE_XOPEN2K8].
25056 (CLD_KILLED): Likewise.
25057 (CLD_DUMPED): Likewise.
25058 (CLD_TRAPPED): Likewise.
25059 (CLD_STOPPED): Likewise.
25060 (CLD_CONTINUED): Likewise.
25061 (POLL_IN): Likewise.
25062 (POLL_OUT): Likewise.
25063 (POLL_MSG): Likewise.
25064 (POLL_ERR): Likewise.
25065 (POLL_PRI): Likewise.
25066 (POLL_HUP): Likewise.
25067 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25068 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25069
25070 [BZ #16670]
25071 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25072 before #include of <time.h>.
25073 [!__USE_XOPEN2K] (__need_timespec): Likewise.
25074 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25075 (test-xfail-UNIX98/sched.h/conform): Likewise.
25076
25077 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
25078
25079 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25080 error absence of trapping exception support.
25081 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25082
25083 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25084
25085 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25086 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25087 * timezone/Makefile (testdata): Move definition above include of
25088 Rules.
25089 (test-zones): New variable.
25090 (tests-special): Add zone files.
25091 (build-testdata): Use $(evaluate-test).
25092
25093 * elf/Makefile (tests-special): Rename tests to end with .out.
25094 ($(objpfx)noload-mem): Likewise.
25095 ($(objpfx)tst-leaks1-mem): Likewise.
25096 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25097 * iconv/Makefile (xtests-special): Change test-iconvconfig to
25098 $(objpfx)test-iconvconfig.out.
25099 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
25100 set -e inside subshell and redirect output to file.
25101 * iconvdata/Makefile (generated): Rename tests to end with .out.
25102 Correct type.
25103 (tests-special): Rename tests to end with .out.
25104 ($(objpfx)mtrace-tst-loading): Likewise.
25105 * intl/Makefile (generated): Likewise.
25106 (tests-special): Likewise.
25107 ($(objpfx)mtrace-tst-gettext): Likewise.
25108 * misc/Makefile (generated): Likewise.
25109 (tests-special): Likewise.
25110 ($(objpfx)tst-error1-mem): Likewise.
25111 * nptl/Makefile (tests-special): Likewise.
25112 ($(objpfx)tst-stack3-mem): Likewise.
25113 (generated): Likewise.
25114 * posix/Makefile (generated): Likewise.
25115 (tests-special): Likewise.
25116 (xtests-special): Likewise.
25117 ($(objpfx)tst-fnmatch-mem): Likewise.
25118 ($(objpfx)bug-regex2-mem): Likewise.
25119 ($(objpfx)bug-regex14-mem): Likewise.
25120 ($(objpfx)bug-regex21-mem): Likewise.
25121 ($(objpfx)bug-regex31-mem): Likewise.
25122 ($(objpfx)tst-vfork3-mem): Likewise.
25123 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25124 ($(objpfx)tst-pcre-mem): Likewise.
25125 ($(objpfx)tst-boost-mem): Likewise.
25126 ($(objpfx)bug-ga2-mem): Likewise.
25127 ($(objpfx)bug-glob2-mem): Likewise.
25128 * resolv/Makefile (generate): Likewise.
25129 (tests-special): Likewise.
25130 (xtests-special): Likewise.
25131 (generated): Likewise.
25132 ($(objpfx)mtrace-tst-leaks): Likewise.
25133 ($(objpfx)mtrace-tst-leaks2): Likewise.
25134
25135 * scripts/merge-test-results.sh: New file.
25136 * Makefile (tests-special-notdir): New variable.
25137 (tests): Run merge-test-results.sh.
25138 (xtests): Likewise.
25139 * Rules (tests-special-notdir): New variable.
25140 (xtests-special-notdir): Likewise.
25141 (tests): Run merge-test-results.sh
25142 (xtests): Likewise.
25143
25144 * Makeconfig (test-xfail-name): New variable.
25145 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25146 compute variable name for expected failures.
25147 * conform/Makefile (conformtest-headers-data): New variable.
25148 (conformtest-standards): Likewise.
25149 (conformtest-headers-ISO): Likewise.
25150 (conformtest-headers-ISO99): Likewise.
25151 (conformtest-headers-ISO11): Likewise.
25152 (conformtest-headers-POSIX): Likewise.
25153 (conformtest-headers-XPG3): Likewise.
25154 (conformtest-headers-XPG4): Likewise.
25155 (conformtest-headers-UNIX98): Likewise.
25156 (conformtest-headers-XOPEN2K): Likewise.
25157 (conformtest-headers-POSIX2008): Likewise.
25158 (conformtest-headers-XOPEN2K8): Likewise.
25159 (conformtest-header-list-base): Likewise.
25160 (conformtest-header-list-tests): Likewise.
25161 (conformtest-header-base): Likewise.
25162 (conformtest-header-tests): Likewise.
25163 (tests-special): Add $(conformtest-header-list-tests). If
25164 [$(fast-check) && !$(cross-compiling)], add
25165 $(conformtest-header-tests) instead of
25166 $(objpfx)run-conformtest.out.
25167 (generated): Add $(conformtest-header-list-base). If
25168 [$(fast-check) && !$(cross-compiling)], add
25169 $(conformtest-header-base). Remove previous setting.
25170 ($(conformtest-header-list-tests)): New target.
25171 (test-xfail-run-conformtest): Remove variable.
25172 ($(objpfx)run-conformtest.out): Remove target.
25173 (test-xfail-ISO11/complex.h/conform): New variable.
25174 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25175 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25176 (test-xfail-XPG3/varargs.h/conform): Likewise.
25177 (test-xfail-XPG4/varargs.h/conform): Likewise.
25178 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25179 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25180 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25181 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25182 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25183 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25184 (test-xfail-XPG3/ftw.h/conform): Likewise.
25185 (test-xfail-XPG3/grp.h/conform): Likewise.
25186 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25187 (test-xfail-XPG3/limits.h/conform): Likewise.
25188 (test-xfail-XPG3/pwd.h/conform): Likewise.
25189 (test-xfail-XPG3/search.h/conform): Likewise.
25190 (test-xfail-XPG3/signal.h/conform): Likewise.
25191 (test-xfail-XPG3/stdio.h/conform): Likewise.
25192 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25193 (test-xfail-XPG3/string.h/conform): Likewise.
25194 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25195 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25196 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25197 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25198 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25199 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25200 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25201 (test-xfail-XPG3/termios.h/conform): Likewise.
25202 (test-xfail-XPG3/time.h/conform): Likewise.
25203 (test-xfail-XPG3/unistd.h/conform): Likewise.
25204 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25205 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25206 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25207 (test-xfail-XPG4/netdb.h/conform): Likewise.
25208 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25209 (test-xfail-XPG4/signal.h/conform): Likewise.
25210 (test-xfail-XPG4/stdio.h/conform): Likewise.
25211 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25212 (test-xfail-XPG4/stropts.h/conform): Likewise.
25213 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25214 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25215 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25216 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25217 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25218 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25219 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25220 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25221 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25222 (test-xfail-XPG4/termios.h/conform): Likewise.
25223 (test-xfail-XPG4/ucontext.h/conform): Likewise.
25224 (test-xfail-XPG4/unistd.h/conform): Likewise.
25225 (test-xfail-XPG4/utmpx.h/conform): Likewise.
25226 (test-xfail-POSIX/sched.h/conform): Likewise.
25227 (test-xfail-POSIX/signal.h/conform): Likewise.
25228 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25229 (test-xfail-POSIX/tar.h/conform): Likewise.
25230 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25231 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25232 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25233 (test-xfail-UNIX98/netdb.h/conform): Likewise.
25234 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25235 (test-xfail-UNIX98/sched.h/conform): Likewise.
25236 (test-xfail-UNIX98/signal.h/conform): Likewise.
25237 (test-xfail-UNIX98/stdio.h/conform): Likewise.
25238 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25239 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25240 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25241 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25242 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25243 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25244 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25245 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25246 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25247 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25248 (test-xfail-UNIX98/unistd.h/conform): Likewise.
25249 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25250 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25251 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25252 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25253 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25254 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25255 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25256 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25257 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25258 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25259 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25260 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25261 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25262 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25263 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25264 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25265 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25266 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25267 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25268 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25269 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25270 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25271 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25272 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25273 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25274 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25275 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25276 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25277 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25278 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25279 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25280 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25281 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25282 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25283 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25284 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25285 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25286 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25287 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25288 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25289 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25290 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25291 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25292 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25293 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25294 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25295 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25296 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25297 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25298 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25299 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25300 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25301 (conformtest-cc-flags): Likewise.
25302 ($(conformtest-header-tests): New target.
25303 * conform/check-header-lists.sh: New file.
25304 * conform/run-conformtest.sh: Remove.
25305
25306 * conform/conformtest.pl: Allow ' and \ in values given for
25307 constants.
25308 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25309 inclusion.
25310 [POSIX] (sys/types.h): Likewise.
25311 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25312 inclusion.
25313 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25314 inclusion.
25315 * conform/data/signal.h-data (SIGIO): Remove expectation.
25316 [XPG3] (SIGBUS): Do not expect.
25317 [POSIX || XPG3] (SIGPOLL): Likewise.
25318 [POSIX || XPG3] (SIGPROF): Likewise.
25319 [POSIX || XPG3] (SIGSYS): Likewise.
25320 [XPG3] (SIGTRAP): Likewise.
25321 [POSIX || XPG3] (SIGURG): Likewise.
25322 [POSIX || XPG3] (SIGVTALRM): Likewise.
25323 [POSIX || XPG3] (SIGXCPU): Likewise.
25324 [POSIX || XPG3] (SIGXFSZ): Likewise.
25325 [POSIX] (SA_SIGINFO): Expect.
25326 [XPG3] (siginfo_t): Do not expect type or contents.
25327 [POSIX] (si_pid): Do not expect element.
25328 [POSIX] (si_uid): Likewise.
25329 [POSIX] (si_addr): Likewise.
25330 [POSIX] (si_status): Likewise.
25331 [POSIX] (si_band): Likewise.
25332 [XPG4] (si_value): Likewise.
25333 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25334 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25335 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25336 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25337 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25338 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25339 [POSIX || XPG3] (ILL_COPROC): Likewise.
25340 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25341 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25342 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25343 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25344 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25345 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25346 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25347 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25348 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25349 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25350 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25351 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25352 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25353 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25354 [POSIX || XPG3] (CLD_EXITED): Likewise.
25355 [POSIX || XPG3] (CLD_KILLED): Likewise.
25356 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25357 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25358 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25359 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25360 [POSIX || XPG3] (POLL_IN): Likewise.
25361 [POSIX || XPG3] (POLL_OUT): Likewise.
25362 [POSIX || XPG3] (POLL_MSG): Likewise.
25363 [POSIX || XPG3] (POLL_ERR): Likewise.
25364 [POSIX || XPG3] (POLL_PRI): Likewise.
25365 [POSIX || XPG3] (POLL_HUP): Likewise.
25366 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25367 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25368 (SIG*): Do not allow.
25369 [XPG3] (si_*): Likewise.
25370 [XPG3] (SI_*): Likewise.
25371 [XPG3 || XPG4] (sigev_*): Likewise.
25372 [XPG3 || XPG4] (SIGEV_*): Likewise.
25373 [XPG3 || XPG4] (sival_*): Likewise.
25374 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25375 [POSIX || XPG3] (BUS_*): Likewise.
25376 [POSIX || XPG3] (CLD_*): Likewise.
25377 [POSIX || XPG3] (FPE_*): Likewise.
25378 [POSIX || XPG3] (ILL_*): Likewise.
25379 [POSIX || XPG3] (POLL_*): Likewise.
25380 [POSIX || XPG3] (SEGV_*): Likewise.
25381 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25382 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25383 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25384 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25385 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25386 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25387 Specify type and value.
25388 (TVERSLEN): Likewise.
25389 (REGTYPE): Likewise.
25390 (AREGTYPE): Likewise.
25391 (LNKTYPE): Likewise.
25392 (SYMTYPE): Likewise.
25393 (CHRTYPE): Likewise.
25394 (BLKTYPE): Likewise.
25395 (DIRTYPE): Likewise.
25396 (FIFOTYPE): Likewise.
25397 (CONTTYPE): Likewise.
25398 (TSUID): Likewise.
25399 (TSGID): Likewise.
25400 (TSVTX): Likewise.
25401 (TUREAD): Likewise.
25402 (TUWRITE): Likewise.
25403 (TUEXEC): Likewise.
25404 (TGREAD): Likewise.
25405 (TGWRITE): Likewise.
25406 (TGEXEC): Likewise.
25407 (TOREAD): Likewise.
25408 (TOWRITE): Likewise.
25409 (TOEXEC): Likewise.
25410 [POSIX] (TSVTX): Expect constant.
25411
25412 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25413
25414 * Makefile (tests): Change dependencies to ....
25415 (tests-special): ... additions to this variable.
25416 (tests): Depend on $(tests-special).
25417 * Makerules (check-abi-list): New variable.
25418 (check-abi): Depend on $(check-abi-list).
25419 [$(subdir) = elf] (tests-special): Add
25420 $(objpfx)check-abi-libc.out.
25421 [$(build-shared) = yes && subdir] (tests-special): Add
25422 $(check-abi-list).
25423 [$(build-shared) = yes && subdir] (tests): Do not depend on
25424 check-abi.
25425 * Rules (tests): Depend on $(tests-special).
25426 (xtests): Depend on $(xtests-special).
25427 * catgets/Makefile (tests): Change dependencies to ....
25428 (tests-special): ... additions to this variable.
25429 * conform/Makefile (tests): Change dependencies to ....
25430 (tests-special): ... additions to this variable.
25431 * elf/Makefile (tests): Change dependencies to ....
25432 (tests-special): ... additions to this variable.
25433 * grp/Makefile (tests): Change dependencies to ....
25434 (tests-special): ... additions to this variable.
25435 * iconv/Makefile (xtests): Change dependencies to ....
25436 (xtests-special): ... additions to this variable.
25437 * iconvdata/Makefile (tests): Change dependencies to ....
25438 (tests-special): ... additions to this variable.
25439 * intl/Makefile (tests): Change dependencies to ....
25440 (tests-special): ... additions to this variable. Also add
25441 $(objpfx)tst-gettext.out.
25442 * io/Makefile (tests): Change dependencies to ....
25443 (tests-special): ... additions to this variable.
25444 * libio/Makefile (tests): Change dependencies to ....
25445 (tests-special): ... additions to this variable.
25446 * malloc/Makefile (tests): Change dependencies to ....
25447 (tests-special): ... additions to this variable.
25448 * misc/Makefile (tests): Change dependencies to ....
25449 (tests-special): ... additions to this variable.
25450 * nptl/Makefile (tests): Change dependencies to ....
25451 (tests-special): ... additions to this variable.
25452 * nptl_db/Makefile (tests): Change dependencies to ....
25453 (tests-special): ... additions to this variable.
25454 * posix/Makefile (tests): Change dependencies to ....
25455 (tests-special): ... additions to this variable.
25456 (xtests): Change dependencies to ....
25457 (xtests-special): ... additions to this variable.
25458 * resolv/Makefile (tests): Change dependencies to ....
25459 (tests-special): ... additions to this variable.
25460 (xtests): Change dependencies to ....
25461 (xtests-special): ... additions to this variable.
25462 * stdio-common/Makefile (tests): Change dependencies to ....
25463 (tests-special): ... additions to this variable.
25464 (do-tst-unbputc): Remove target.
25465 (do-tst-printf): Likewise.
25466 * stdlib/Makefile (tests): Change dependencies to ....
25467 (tests-special): ... additions to this variable.
25468 * string/Makefile (tests): Change dependencies to ....
25469 (tests-special): ... additions to this variable.
25470 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25471 (tests-special): ... additions to this variable.
25472
25473 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25474 whole file.
25475 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25476 whole file.
25477 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25478 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25479
25480 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25481 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25482 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25483 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25484 * conform/data/libgen.h-data [XPG3]: Likewise.
25485 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25486 * conform/data/ndbm.h-data [XPG3]: Likewise.
25487 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25488 * conform/data/netdb.h-data [XPG3]: Likewise.
25489 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25490 * conform/data/poll.h-data [XPG3]: Likewise.
25491 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25492 * conform/data/strings.h-data [XPG3]: Likewise.
25493 * conform/data/stropts.h-data [XPG3]: Likewise.
25494 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25495 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25496 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25497 Likewise.
25498 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25499 * conform/data/sys/time.h-data [XPG3]: Likewise.
25500 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25501 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25502 * conform/data/sys/un.h-data [XPG3]: Likewise.
25503 * conform/data/syslog.h-data [XPG3]: Likewise.
25504 * conform/data/ucontext.h-data [XPG3]: Likewise.
25505 * conform/data/utmpx.h-data [XPG3]: Likewise.
25506 * conform/data/varargs.h-data [UNIX98]: Enable file.
25507
25508 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25509
25510 * math/libm-test.inc (struct test_f_f_data): Move expected results
25511 into structure for each rounding mode.
25512 (struct test_ff_f_data): Likewise.
25513 (struct test_ff_f_data_nexttoward): Likewise.
25514 (struct test_fi_f_data): Likewise.
25515 (struct test_fl_f_data): Likewise.
25516 (struct test_if_f_data): Likewise.
25517 (struct test_fff_f_data): Likewise.
25518 (struct test_c_f_data): Likewise.
25519 (struct test_f_f1_data): Likewise.
25520 (struct test_fF_f1_data): Likewise.
25521 (struct test_ffI_f1_data): Likewise.
25522 (struct test_c_c_data): Likewise.
25523 (struct test_cc_c_data): Likewise.
25524 (struct test_f_i_data): Likewise.
25525 (struct test_ff_i_data): Likewise.
25526 (struct test_f_l_data): Likewise.
25527 (struct test_f_L_data): Likewise.
25528 (struct test_fFF_11_data): Likewise.
25529 (RM_): New macro.
25530 (RM_FE_DOWNWARD): Likewise.
25531 (RM_FE_TONEAREST): Likewise.
25532 (RM_FE_TOWARDZERO): Likewise.
25533 (RM_FE_UPWARD): Likewise.
25534 (RUN_TEST_LOOP_f_f): Update references to expected results.
25535 (RUN_TEST_LOOP_2_f): Likewise.
25536 (RUN_TEST_LOOP_fff_f): Likewise.
25537 (RUN_TEST_LOOP_c_f): Likewise.
25538 (RUN_TEST_LOOP_f_f1): Likewise.
25539 (RUN_TEST_LOOP_fF_f1): Likewise.
25540 (RUN_TEST_LOOP_fI_f1): Likewise.
25541 (RUN_TEST_LOOP_ffI_f1): Likewise.
25542 (RUN_TEST_LOOP_c_c): Likewise.
25543 (RUN_TEST_LOOP_cc_c): Likewise.
25544 (RUN_TEST_LOOP_f_i): Likewise.
25545 (RUN_TEST_LOOP_f_i_tg): Likewise.
25546 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25547 (RUN_TEST_LOOP_f_b): Likewise.
25548 (RUN_TEST_LOOP_f_b_tg): Likewise.
25549 (RUN_TEST_LOOP_f_l): Likewise.
25550 (RUN_TEST_LOOP_f_L): Likewise.
25551 (RUN_TEST_LOOP_fFF_11): Likewise.
25552 * math/gen-libm-test.pl (parse_args): Output four copies of
25553 expected results for each test.
25554
25555 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25556 (__ASSUME_UTIMES): Remove.
25557 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25558 (__ASSUME_UTIMES): Likewise.
25559
25560 * math/gen-auto-libm-tests.c: Update comment on output format.
25561 (output_for_one_input_case): Generate before-rounding and
25562 after-rounding information as conditions on output flags not
25563 floating-point format.
25564 * math/auto-libm-test-out: Regenerated.
25565 * math/gen-libm-test.pl (cond_value): New function.
25566 (or_cond_value): Use cond_value.
25567 (generate_testfile): Handle conditional exceptions.
25568
25569 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25570
25571 * math/libm-test.inc (max_valid_error): New variable.
25572 (init_max_error): Take new argument specifying whether function
25573 results are exactly determined. Set max_valid_error and bound
25574 other variables for errors based on this argument.
25575 (set_max_error): Do not record results above max_valid_error.
25576 (check_float_internal): Only accept errors of up to 0.5ulps if
25577 also at most max_valid_error.
25578 (START): Take new argument EXACT and pass it to init_max_error.
25579 (acos_test): Update call to START.
25580 (acos_test_tonearest): Likewise.
25581 (acos_test_towardzero): Likewise.
25582 (acos_test_downward): Likewise.
25583 (acos_test_upward): Likewise.
25584 (acosh_test): Likewise.
25585 (asin_test): Likewise.
25586 (asin_test_tonearest): Likewise.
25587 (asin_test_towardzero): Likewise.
25588 (asin_test_downward): Likewise.
25589 (asin_test_upward): Likewise.
25590 (asinh_test): Likewise.
25591 (atan_test): Likewise.
25592 (atanh_test): Likewise.
25593 (atan2_test): Likewise.
25594 (cabs_test): Likewise.
25595 (cacos_test): Likewise.
25596 (cacosh_test): Likewise.
25597 (carg_test): Likewise.
25598 (casin_test): Likewise.
25599 (casinh_test): Likewise.
25600 (catan_test): Likewise.
25601 (catanh_test): Likewise.
25602 (cbrt_test): Likewise.
25603 (ccos_test): Likewise.
25604 (ccosh_test): Likewise.
25605 (ceil_test): Likewise.
25606 (cexp_test): Likewise.
25607 (cimag_test): Likewise.
25608 (clog_test): Likewise.
25609 (clog10_test): Likewise.
25610 (conj_test): Likewise.
25611 (copysign_test): Likewise.
25612 (cos_test): Likewise.
25613 (cos_test_tonearest): Likewise.
25614 (cos_test_towardzero): Likewise.
25615 (cos_test_downward): Likewise.
25616 (cos_test_upward): Likewise.
25617 (cosh_test): Likewise.
25618 (cosh_test_tonearest): Likewise.
25619 (cosh_test_towardzero): Likewise.
25620 (cosh_test_downward): Likewise.
25621 (cosh_test_upward): Likewise.
25622 (cpow_test): Likewise.
25623 (cproj_test): Likewise.
25624 (creal_test): Likewise.
25625 (csin_test): Likewise.
25626 (csinh_test): Likewise.
25627 (csqrt_test): Likewise.
25628 (ctan_test): Likewise.
25629 (ctan_test_tonearest): Likewise.
25630 (ctan_test_towardzero): Likewise.
25631 (ctan_test_downward): Likewise.
25632 (ctan_test_upward): Likewise.
25633 (ctanh_test): Likewise.
25634 (ctanh_test_tonearest): Likewise.
25635 (ctanh_test_towardzero): Likewise.
25636 (ctanh_test_downward): Likewise.
25637 (ctanh_test_upward): Likewise.
25638 (erf_test): Likewise.
25639 (erfc_test): Likewise.
25640 (exp_test): Likewise.
25641 (exp_test_tonearest): Likewise.
25642 (exp_test_towardzero): Likewise.
25643 (exp_test_downward): Likewise.
25644 (exp_test_upward): Likewise.
25645 (exp10_test): Likewise.
25646 (exp10_test_tonearest): Likewise.
25647 (exp10_test_towardzero): Likewise.
25648 (exp10_test_downward): Likewise.
25649 (exp10_test_upward): Likewise.
25650 (pow10_test): Likewise.
25651 (exp2_test): Likewise.
25652 (expm1_test): Likewise.
25653 (expm1_test_tonearest): Likewise.
25654 (expm1_test_towardzero): Likewise.
25655 (expm1_test_downward): Likewise.
25656 (expm1_test_upward): Likewise.
25657 (fabs_test): Likewise.
25658 (fdim_test): Likewise.
25659 (floor_test): Likewise.
25660 (fma_test): Likewise.
25661 (fma_test_towardzero): Likewise.
25662 (fma_test_downward): Likewise.
25663 (fma_test_upward): Likewise.
25664 (fmax_test): Likewise.
25665 (fmin_test): Likewise.
25666 (fmod_test): Likewise.
25667 (fpclassify_test): Likewise.
25668 (frexp_test): Likewise.
25669 (hypot_test): Likewise.
25670 (ilogb_test): Likewise.
25671 (isfinite_test): Likewise.
25672 (finite_test): Likewise.
25673 (isgreater_test): Likewise.
25674 (isgreaterequal_test): Likewise.
25675 (isinf_test): Likewise.
25676 (isless_test): Likewise.
25677 (islessequal_test): Likewise.
25678 (islessgreater_test): Likewise.
25679 (isnan_test): Likewise.
25680 (isnormal_test): Likewise.
25681 (issignaling_test): Likewise.
25682 (isunordered_test): Likewise.
25683 (j0_test): Likewise.
25684 (j1_test): Likewise.
25685 (jn_test): Likewise.
25686 (ldexp_test): Likewise.
25687 (lgamma_test): Likewise.
25688 (gamma_test): Likewise.
25689 (lrint_test): Likewise.
25690 (lrint_test_tonearest): Likewise.
25691 (lrint_test_towardzero): Likewise.
25692 (lrint_test_downward): Likewise.
25693 (lrint_test_upward): Likewise.
25694 (llrint_test): Likewise.
25695 (llrint_test_tonearest): Likewise.
25696 (llrint_test_towardzero): Likewise.
25697 (llrint_test_downward): Likewise.
25698 (llrint_test_upward): Likewise.
25699 (log_test): Likewise.
25700 (log10_test): Likewise.
25701 (log1p_test): Likewise.
25702 (log2_test): Likewise.
25703 (logb_test): Likewise.
25704 (logb_test_downward): Likewise.
25705 (lround_test): Likewise.
25706 (llround_test): Likewise.
25707 (modf_test): Likewise.
25708 (nearbyint_test): Likewise.
25709 (nextafter_test): Likewise.
25710 (nexttoward_test): Likewise.
25711 (pow_test): Likewise.
25712 (pow_test_tonearest): Likewise.
25713 (pow_test_towardzero): Likewise.
25714 (pow_test_downward): Likewise.
25715 (pow_test_upward): Likewise.
25716 (remainder_test): Likewise.
25717 (drem_test): Likewise.
25718 (remainder_test_tonearest): Likewise.
25719 (drem_test_tonearest): Likewise.
25720 (remainder_test_towardzero): Likewise.
25721 (drem_test_towardzero): Likewise.
25722 (remainder_test_downward): Likewise.
25723 (drem_test_downward): Likewise.
25724 (remainder_test_upward): Likewise.
25725 (drem_test_upward): Likewise.
25726 (remquo_test): Likewise.
25727 (rint_test): Likewise.
25728 (rint_test_tonearest): Likewise.
25729 (rint_test_towardzero): Likewise.
25730 (rint_test_downward): Likewise.
25731 (rint_test_upward): Likewise.
25732 (round_test): Likewise.
25733 (scalb_test): Likewise.
25734 (scalbn_test): Likewise.
25735 (scalbln_test): Likewise.
25736 (signbit_test): Likewise.
25737 (sin_test): Likewise.
25738 (sin_test_tonearest): Likewise.
25739 (sin_test_towardzero): Likewise.
25740 (sin_test_downward): Likewise.
25741 (sin_test_upward): Likewise.
25742 (sincos_test): Likewise.
25743 (sinh_test): Likewise.
25744 (sinh_test_tonearest): Likewise.
25745 (sinh_test_towardzero): Likewise.
25746 (sinh_test_downward): Likewise.
25747 (sinh_test_upward): Likewise.
25748 (sqrt_test): Likewise.
25749 (sqrt_test_tonearest): Likewise.
25750 (sqrt_test_towardzero): Likewise.
25751 (sqrt_test_downward): Likewise.
25752 (sqrt_test_upward): Likewise.
25753 (tan_test): Likewise.
25754 (tan_test_tonearest): Likewise.
25755 (tan_test_towardzero): Likewise.
25756 (tan_test_downward): Likewise.
25757 (tan_test_upward): Likewise.
25758 (tanh_test): Likewise.
25759 (tgamma_test): Likewise.
25760 (trunc_test): Likewise.
25761 (y0_test): Likewise.
25762 (y1_test): Likewise.
25763 (yn_test): Likewise.
25764 (significand_test): Likewise.
25765
25766 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25767 individual tests in comment.
25768 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25769 (prev_max_error): New variable.
25770 (prev_real_max_error): Likewise.
25771 (prev_imag_max_error): Likewise.
25772 (compare_ulp_data): Don't refer to test names in comment.
25773 (find_test_ulps): Remove function.
25774 (find_function_ulps): Likewise.
25775 (find_complex_function_ulps): Likewise.
25776 (init_max_error): Take function name as argument. Look up ulps
25777 for that function.
25778 (print_ulps): Remove function.
25779 (print_max_error): Use prev_max_error instead of calling
25780 find_function_ulps.
25781 (print_complex_max_error): Use prev_real_max_error and
25782 prev_imag_max_error instead of calling find_complex_function_ulps.
25783 (check_float_internal): Take max_ulp parameter instead of calling
25784 find_test_ulps. Don't call print_ulps.
25785 (check_float): Update call to check_float_internal.
25786 (check_complex): Update calls to check_float_internal.
25787 (START): Pass argument to init_max_error.
25788 * math/gen-libm-test.pl (%results): Don't include "kind"
25789 information.
25790 (parse_ulps): Don't handle ulps of individual tests.
25791 (print_ulps_file): Likewise.
25792 (output_ulps): Likewise.
25793 * math/README.libm-test: Update.
25794 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25795 individual tests.
25796 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25797 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25798 * sysdeps/arm/libm-test-ulps: Likewise.
25799 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25800 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25801 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25802 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25803 * sysdeps/microblaze/libm-test-ulps: Likewise.
25804 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25805 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25807 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25808 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25809 * sysdeps/sh/libm-test-ulps: Likewise.
25810 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25811 * sysdeps/tile/libm-test-ulps: Likewise.
25812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25813
25814 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25815
25816 * math/libm-test.inc (print_complex_max_error): Check separately
25817 whether real and imaginary errors are within allowed range and
25818 pass 0 to print_complex_function_ulps instead of value within
25819 allowed range.
25820
25821 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25822
25823 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25824 formatting.
25825 (get_handles_fopen): Likewise.
25826 (do_write_test): Likewise.
25827
25828 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25829
25830 * libio/fileops.c (do_ftell): Use cached offset when
25831 available.
25832 * libio/iofwide.c (do_ftell_wide): Likewise.
25833 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25834 _IO_file_attach.
25835 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25836
25837 [BZ #16532]
25838 * libio/libioP.h (get_file_offset): New function.
25839 * libio/fileops.c (get_file_offset): Likewise.
25840 (do_ftell): Likewise.
25841 (_IO_new_file_seekoff): Split out ftell logic.
25842 * libio/wfileops.c (do_ftell_wide): Likewise.
25843 (_IO_wfile_seekoff): Split out ftell logic.
25844 * libio/tst-ftell-active-handler.c: New test case.
25845 * libio/Makefile (tests): Add it.
25846
25847 2014-03-03 Roland McGrath <roland@hack.frob.com>
25848
25849 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25850 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25851
25852 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25853
25854 [BZ #16639]
25855 * nscd/connections.c (nscd_init): Call do_exit.
25856 (start_threads): Call do_exit and notify_parent.
25857 (begin_drop_privileges): Call do_exit.
25858 (finish_drop_privileges): Likewise.
25859 * nscd/selinux.c (preserve_capabilities): Likewise.
25860 (install_real_capabilities): Likewise.
25861 (nscd_selinux_enabled): Likewise.
25862 (avc_create_thread): Likewise.
25863 (avc_alloc_lock): Likewise.
25864 (nscd_avc_init): Likewise.
25865 * nscd/nscd.c (parent_fd): New static variable.
25866 (main): Create a pipe between parent and child processes.
25867 Skip closing parent_fd.
25868 (monitor_child): New function.
25869 (do_exit): Likewise.
25870 (notify_parent): Likewise.
25871 * nscd/nscd.h (notify_parent): Likewise.
25872 (do_exit): Likewise.
25873
25874 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25875
25876 * malloc/malloc.c (__libc_calloc): Revert last change.
25877
25878 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25879
25880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25881
25882 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25883
25884 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25886 implementation.
25887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25888 (__libc_ifunc_impl_list): Likewise.
25889 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25890 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25891 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25892 * string/strrchr.c: Define STRRCHR.
25893
25894 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25895
25896 * benchtest/bench-strtok.c (simple_strtok): Delete.
25897 (strtok_string): Use as benchmark.
25898 * string/strtok (STRTOK): New macro.
25899
25900 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25901
25902 * manual/threads.texi: Add header and standard comments to all
25903 functions.
25904
25905 * elf/dl-lookup.c (check_match): New function.
25906 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25907 (do_lookup_x): Remove nested function check_match. Use non-nested
25908 function check_match.
25909
25910 2014-02-28 Roland McGrath <roland@hack.frob.com>
25911
25912 * csu/Makefile (generated, before-compile): Use += rather than =.
25913 * catgets/Makefile (generated, generated-dirs): Likewise.
25914 * debug/Makefile (generated): Likewise.
25915 * dlfcn/Makefile (generated): Likewise.
25916 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25917 * iconvdata/Makefile (before-compile, generated): Likewise.
25918 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25919 * libio/Makefile (generated): Likewise.
25920 * malloc/Makefile (generated): Likewise.
25921 * manual/Makefile (generated, generated-dirs): Likewise.
25922 * misc/Makefile (generated): Likewise.
25923 * posix/Makefile (generated): Likewise.
25924 * resolv/Makefile (generated): Likewise.
25925 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25926 * timezone/Makefile (generated, generated-dirs): Likewise.
25927
25928 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25929
25930 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25931
25932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25933 power8 implementation.
25934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25935 file: POWER8 llround ifunc implementation.
25936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25937 (__lllround): Add POWER8 implementation.
25938 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25939 POWER8 llround implementation.
25940
25941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25942 power8 implementation.
25943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25944 file: POWER8 llrint ifunc implementation.
25945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25946 Add POWER8 implementation.
25947 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25948 POWER8 llrint implementation.
25949
25950 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25951 power8 implementation.
25952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25953 file: POWER8 finite ifunc implementation.
25954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25955 Add POWER8 implementation.
25956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25957 Likewise.
25958 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25959 POWER8 finite implementation.
25960 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25961
25962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25963 power8 implementation.
25964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25965 file: POWER8 isinf ifunc implementation.
25966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25967 POWER8 implementation.
25968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25969 Likewise.
25970 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25971 isinf implementation.
25972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25973
25974 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25975 (INIT_ARCH): Add hwcap2 initialization.
25976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25977 power8 implementation.
25978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25979 file: POWER8 isnan ifunc implementation.
25980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25981 POWER8 implementation.
25982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25983 Likewise.
25984 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25985 isnan implementation.
25986 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25987
25988 2014-02-27 Joey Ye <joey.ye@arm.com>
25989
25990 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25991 (_FP_NANFRAC_Q): Set to zero.
25992
25993 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25994
25995 [BZ #16623]
25996 * math/auto-libm-test-in: New test inputs.
25997 * math/auto-libm-test-out: Regenerate.
25998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25999 and DA.
26000 (__cos): Likewise.
26001 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26002
26003 2014-02-27 Joseph Myers <joseph@codesourcery.com>
26004
26005 * scripts/evaluate-test.sh: Take new argument indicating whether
26006 failure is expected.
26007 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26008 indicating whether failure is expected.
26009 * conform/Makefile (test-xfail-run-conformtest): New variable.
26010 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26011 level.
26012 * posix/Makefile (test-xfail-annexc): New variable.
26013 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26014
26015 2014-02-26 Joseph Myers <joseph@codesourcery.com>
26016
26017 * argp/Makefile: Include Makeconfig immediately after defining
26018 subdir.
26019 * assert/Makefile: Likewise.
26020 * benchtests/Makefile: Likewise.
26021 * catgets/Makefile: Likewise.
26022 * conform/Makefile: Likewise.
26023 * crypt/Makefile: Likewise.
26024 * csu/Makefile: Likewise.
26025 (all): Remove target.
26026 * ctype/Makefile: Include Makeconfig immediately after defining
26027 subdir.
26028 * debug/Makefile: Likewise.
26029 * dirent/Makefile: Likewise.
26030 * dlfcn/Makefile: Likewise.
26031 * gmon/Makefile: Likewise.
26032 * gnulib/Makefile: Likewise.
26033 * grp/Makefile: Likewise.
26034 * gshadow/Makefile: Likewise.
26035 * hesiod/Makefile: Likewise.
26036 * hurd/Makefile: Likewise.
26037 (all): Remove target.
26038 * iconvdata/Makefile: Include Makeconfig immediately after
26039 defining subdir.
26040 * inet/Makefile: Likewise.
26041 * intl/Makefile: Likewise.
26042 * io/Makefile: Likewise.
26043 * libio/Makefile: Likewise.
26044 (all): Remove target.
26045 * locale/Makefile: Include Makeconfig immediately after defining
26046 subdir.
26047 * login/Makefile: Likewise.
26048 * mach/Makefile: Likewise.
26049 (all): Remove target.
26050 * malloc/Makefile: Include Makeconfig immediately after defining
26051 subdir.
26052 (all): Remove target.
26053 * manual/Makefile: Include Makeconfig immediately after defining
26054 subdir.
26055 * math/Makefile: Likewise.
26056 * misc/Makefile: Likewise.
26057 * nis/Makefile: Likewise.
26058 * nss/Makefile: Likewise.
26059 * po/Makefile: Likewise.
26060 (all): Remove target.
26061 * posix/Makefile: Include Makeconfig immediately after defining
26062 subdir.
26063 * pwd/Makefile: Likewise.
26064 * resolv/Makefile: Likewise.
26065 * resource/Makefile: Likewise.
26066 * rt/Makefile: Likewise.
26067 * setjmp/Makefile: Likewise.
26068 * shadow/Makefile: Likewise.
26069 * signal/Makefile: Likewise.
26070 * socket/Makefile: Likewise.
26071 * soft-fp/Makefile: Likewise.
26072 * stdio-common/Makefile: Likewise.
26073 * stdlib/Makefile: Likewise.
26074 * streams/Makefile: Likewise.
26075 * string/Makefile: Likewise.
26076 * sunrpc/Makefile: Likewise.
26077 (all): Remove target.
26078 * sysvipc/Makefile: Include Makeconfig immediately after defining
26079 subdir.
26080 * termios/Makefile: Likewise.
26081 * time/Makefile: Likewise.
26082 * timezone/Makefile: Likewise.
26083 (all): Remove target.
26084 * wcsmbs/Makefile: Include Makeconfig immediately after defining
26085 subdir.
26086 * wctype/Makefile: Likewise.
26087
26088 2014-02-26 Steve Ellcey <sellcey@mips.com>
26089
26090 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26091 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26092 (libc_feholdexcept_setround_mips): Ditto.
26093 (libc_feholdsetround): New.
26094 (libc_feholdsetroundf): New.
26095 (libc_feholdsetroundl): New.
26096 (libc_feupdateenv_test_mips): New.
26097 (libc_feupdateenv_test): New.
26098 (libc_feupdateenv_testf): New.
26099 (libc_feupdateenv_testl): New.
26100 (libc_feresetround): New.
26101 (libc_feresetroundf): New.
26102 (libc_feresetroundl): New.
26103 (libc_fetestexcept_mips): New.
26104 (libc_fetestexcept): New.
26105 (libc_fetestexceptf): New.
26106 (libc_fetestexceptl): New.
26107 (HAVE_RM_CTX): New.
26108 (libc_feholdexcept_setround_mips_ctx): New.
26109 (libc_feholdexcept_setround_ctx): New.
26110 (libc_feholdexcept_setroundf_ctx): New.
26111 (libc_feholdexcept_setroundl_ctx): New.
26112 (libc_fesetenv_mips_ctx): New.
26113 (libc_fesetenv_ctx): New.
26114 (libc_fesetenv_ctxf): New.
26115 (libc_fesetenv_ctxl): New.
26116 (libc_feupdateenv_mips_ctx): New.
26117 (libc_feupdateenv_ctx): New.
26118 (libc_feupdateenvf_ctx): New.
26119 (libc_feupdateenvl_ctx): New.
26120 (libc_feholdsetround_mips_ctx): New.
26121 (libc_feholdsetround_ctx): New.
26122 (libc_feholdsetroundf_ctx): New.
26123 (libc_feholdsetroundl_ctx): New.
26124 (libc_feresetround_mips_ctx): New.
26125 (libc_feresetround_ctx): New.
26126 (libc_feresetroundf_ctx): New.
26127 (libc_feresetroundl_ctx): New.
26128
26129 2014-02-26 Carlos O'Donell <carlos@redhat.com>
26130
26131 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26132
26133 * manual/ipc.texi: New file.
26134 * manual/Makefile (chapters): Add ipc.
26135 * manual/job.texi: Add "Inter-Process Communication" to next.
26136 * manual/process.texi: Add "Inter-Process Communication" to prev.
26137
26138 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26139
26140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26141
26142 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26143
26144 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26145
26146 * manual/arith.texi: Fix spaces after sentences.
26147 * manual/charset.texi: Likewise.
26148 * manual/errno.texi: Likewise.
26149 * manual/install.texi: Likewise.
26150 * manual/llio.texi: Likewise.
26151 * manual/locale.texi: Likewise.
26152 * manual/maint.texi: Likewise.
26153 * manual/math.texi: Likewise.
26154 * manual/memory.texi: Likewise.
26155 * manual/message.texi: Likewise.
26156 * manual/probes.texi: Likewise.
26157 * manual/resource.texi: Likewise.
26158 * manual/signal.texi: Likewise.
26159 * manual/socket.texi: Likewise.
26160 * manual/stdio.texi: Likewise.
26161 * manual/string.texi: Likewise.
26162 * manual/time.texi: Likewise.
26163 * manual/users.texi: Likewise.
26164
26165 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26166
26167 [BZ #16632]
26168 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26169 _DEFAULT_SOURCE is defined.
26170
26171 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26172 Carlos O'Donell <carlos@redhat.com>
26173
26174 [BZ #16613]
26175 * elf/dl-tls.c (_dl_count_modids): New function.
26176 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26177 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26178 audit library and increment generation counter.
26179 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26180 * elf/tst-audit9.c: New file.
26181 * elf/tst-auditmod9a.c: New file.
26182 * elf/tst-auditmod9b.c: New file.
26183 * elf/Makefile: Add rules to build and run tst-audit9.
26184
26185 2014-02-25 Florian Weimer <fweimer@redhat.com>
26186
26187 [BZ #15347]
26188 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26189
26190 2014-02-25 Will Newton <will.newton@linaro.org>
26191
26192 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26193 (__longjmp): Restore sp and lr before restoring callee
26194 saved registers. Add longjmp and longjmp_target
26195 SystemTap probe point.
26196 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26197 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26198 Define to zero to match jmpbuf layout.
26199 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26200 (__sigsetjmp): Save sp and lr before saving callee
26201 saved registers. Add setjmp SystemTap probe point.
26202
26203 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26204
26205 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26206
26207 2014-02-24 Andreas Schwab <schwab@suse.de>
26208
26209 [BZ #15804]
26210 * elf/pldd.c (wait_for_ptrace_stop): New function.
26211 (main): Call it after attaching.
26212
26213 2014-02-22 Roland McGrath <roland@hack.frob.com>
26214
26215 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26216 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26217 Versions files is now verboten.
26218 * hurd/Versions (libc: GLIBC_2.0):
26219 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26220 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26221 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26222 * mach/Versions: Likewise.
26223
26224 * csu/Versions: Remove unused %include.
26225 * resolv/Versions: Likewise.
26226
26227 2014-02-21 Joseph Myers <joseph@codesourcery.com>
26228
26229 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26230 ($(objpfx)check-local-headers.out): Likewise.
26231 ($(objpfx)begin-end-check.out): Likewise.
26232 * Makerules (check-abi-%.out): Likewise.
26233 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26234 ($(objpfx)test2.cat): Likewise.
26235 ($(objpfx)de/libc.cat): Likewise.
26236 ($(objpfx)test-gencat.out): Likewise.
26237 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26238 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26239 ($(objpfx)noload-mem): Likewise.
26240 ($(objpfx)tst-pathopt.out): Likewise.
26241 ($(objpfx)tst-rtld-load-self.out): Likewise.
26242 ($(objpfx)tst-array1-cmp.out): Likewise.
26243 ($(objpfx)tst-array1-static-cmp.out): Likewise.
26244 ($(objpfx)tst-array2-cmp.out): Likewise.
26245 ($(objpfx)tst-array3-cmp.out): Likewise.
26246 ($(objpfx)tst-array4-cmp.out): Likewise.
26247 ($(objpfx)tst-array5-cmp.out): Likewise.
26248 ($(objpfx)tst-array5-static-cmp.out): Likewise.
26249 ($(objpfx)check-textrel.out): Likewise.
26250 ($(objpfx)check-execstack.out): Likewise.
26251 ($(objpfx)check-localplt.out): Likewise.
26252 ($(objpfx)order2-cmp.out): Likewise.
26253 ($(objpfx)tst-leaks1-mem): Likewise.
26254 ($(objpfx)tst-leaks1-static-mem): Likewise.
26255 ($(objpfx)tst-initorder-cmp.out): Likewise.
26256 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26257 ($(objpfx)tst-unused-dep.out): Likewise.
26258 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26259 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26260 * iconv/Makefile (test-iconvconfig): Likewise.
26261 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26262 ($(objpfx)iconv-test.out): Likewise.
26263 ($(objpfx)tst-tables.out): Likewise.
26264 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26265 ($(objpfx)tst-gettext.out): Likewise.
26266 ($(objpfx)tst-translit.out): Likewise.
26267 ($(objpfx)tst-gettext2.out): Likewise.
26268 ($(objpfx)tst-gettext4.out): Likewise.
26269 ($(objpfx)tst-gettext6.out): Likewise.
26270 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26271 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26272 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26273 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26274 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26275 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26276 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26277 ($(objpfx)wordexp-tst.out): Likewise.
26278 ($(objpfx)annexc.out): Likewise.
26279 ($(objpfx)tst-fnmatch-mem): Likewise.
26280 ($(objpfx)bug-regex2-mem): Likewise.
26281 ($(objpfx)bug-regex14-mem): Likewise.
26282 ($(objpfx)bug-regex21-mem): Likewise.
26283 ($(objpfx)bug-regex31-mem): Likewise.
26284 ($(objpfx)tst-vfork3-mem): Likewise.
26285 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26286 ($(objpfx)tst-pcre-mem): Likewise.
26287 ($(objpfx)tst-boost-mem): Likewise.
26288 ($(objpfx)tst-getconf.out): Likewise.
26289 ($(objpfx)bug-ga2-mem): Likewise.
26290 ($(objpfx)bug-glob2-mem): Likewise.
26291 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26292 ($(objpfx)mtrace-tst-leaks2): Likewise.
26293 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26294 ($(objpfx)tst-printf.out): Likewise.
26295 ($(objpfx)tst-setvbuf1.out): Likewise.
26296 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26297 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26298 ($(objpfx)tst-fmtmsg.out): Likewise.
26299 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26300 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26301
26302 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26303 * bits/sigaction.h [__USE_MISC]: Likewise.
26304 * bits/waitstatus.h: Update #endif comments.
26305 * ctype/ctype.h: Likewise.
26306 * dirent/dirent.h: Likewise.
26307 [__USE_MISC]: Remove redundant conditionals.
26308 * grp/grp.h: Update #endif comments.
26309 [__USE_GNU]: Remove redundant conditionals.
26310 [__USE_MISC]: Likewise.
26311 * inet/netinet/in.h [__USE_GNU]: Likewise.
26312 * io/sys/stat.h [__USE_MISC]: Likewise.
26313 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26314 * libio/bits/stdio.h: Update #endif comments.
26315 [__USE_MISC]: Remove redundant conditionals.
26316 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26317 * libio/stdio.h: Update #endif comments.
26318 [__USE_MISC]: Remove redundant conditionals.
26319 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26320 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26321 * math/math.h: Update #else and #endif comments.
26322 [__USE_MISC]: Remove redundant conditionals.
26323 * misc/sys/uio.h: Update #endif comments.
26324 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26325 * posix/glob.h [__USE_MISC]: Likewise.
26326 * posix/sys/types.h: Update #endif comments.
26327 [__USE_MISC]: Remove redundant conditionals.
26328 * posix/sys/wait.h: Update #endif comments.
26329 [__USE_MISC]: Remove redundant conditionals.
26330 * posix/unistd.h: Update #endif comments.
26331 [__USE_MISC]: Remove redundant conditionals.
26332 * pwd/pwd.h [__USE_GNU]: Likewise.
26333 [__USE_MISC]: Likewise.
26334 * resolv/netdb.h [__USE_GNU]: Likewise.
26335 * signal/signal.h: Update #endif comments.
26336 [__USE_MISC]: Remove redundant conditionals.
26337 * stdlib/stdlib.h: Update #else and #endif comments.
26338 [__USE_MISC]: Remove redundant conditionals.
26339 [__USE_GNU]: Likewise.
26340 * string/bits/string2.h [__USE_MISC]: Likewise.
26341 * string/string.h: Update #endif comments.
26342 [__USE_MISC]: Remove redundant conditionals.
26343 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26344 Likewise.
26345 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26346 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26347 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26348 Likewise.
26349 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26350 Likewise.
26351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26352 comments.
26353 [__USE_MISC]: Remove redundant conditionals.
26354 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26355 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26356 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26357 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26358 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26359 Likewise.
26360 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26361 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26362 Likewise.
26363 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26364 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26365 Likewise.
26366 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26367 Likewise.
26368 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26369 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26370 Likewise.
26371 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26372 Likewise.
26373 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26374 * sysdeps/x86/bits/string.h: Update #endif comments.
26375 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26376 conditionals.
26377 * time/sys/time.h: Update #endif comments.
26378 * time/time.h: Likewise.
26379 [__USE_MISC]: Remove redundant conditionals.
26380
26381 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26382
26383 [BZ #16600]
26384 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26385
26386 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26387
26388 * Versions.def (librt): Add GLIBC_2.17.
26389
26390 2014-02-21 Adam Conrad <adconrad@0c3.net>
26391
26392 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26393 synonym for _SYS_AUXV_H to allow direct inclusion.
26394 * sysdeps/sparc/bits/hwcap.h: Likewise.
26395 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26396 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26397 * sysdeps/sparc/sysdep.h: Likewise.
26398
26399 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26400
26401 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26402
26403 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26404
26405 * benchtests/bench-strrchr.c: Print length instead of position.
26406
26407 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26408
26409 [BZ #16611]
26410 * sysdeps/unix/sysv/linux/kernel-features.h
26411 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26412 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26413 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26414 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26415 Likewise.
26416 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26417 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26418 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26419 (__ASSUME_SENDMMSG): Define instead of using previous
26420 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26421 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26422 (__ASSUME_SENDMMSG_SYSCALL): Define.
26423 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26424 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26425 Likewise.
26426 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26427 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26428 Likewise.
26429 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26430 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26431 Likewise.
26432 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26433 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26434 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26435 [__ASSUME_SENDMMSG]: Change conditionals to
26436 [__ASSUME_SENDMMSG_SOCKETCALL].
26437 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26438 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26439 Define.
26440 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26441 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26442 Likewise.
26443 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26444 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26445 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26446 [!__ASSUME_SENDMMSG]: Change conditional to
26447 [!__ASSUME_SENDMMSG_SOCKETCALL].
26448 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26449 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26450 Define.
26451
26452 [BZ #16610]
26453 * sysdeps/unix/sysv/linux/kernel-features.h
26454 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26455 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26456 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26457 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26458 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26459 [__i386__ || __sparc__]
26460 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26461 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26462 (__ASSUME_RECVMMSG): Define instead of using previous
26463 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26464 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26465 (__ASSUME_RECVMMSG_SYSCALL): Define.
26466 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26467 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26468 Likewise.
26469 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26470 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26471 Likewise.
26472 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26473 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26474 Likewise.
26475 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26476 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26477 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26478 [__ASSUME_RECVMMSG]: Change condition to
26479 [__ASSUME_RECVMMSG_SOCKETCALL].
26480 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26481 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26482 Define.
26483 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26484 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26485 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26486 Likewise.
26487 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26488 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26489 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26490 [!__ASSUME_RECVMMSG]: Change condition to
26491 [!__ASSUME_RECVMMSG_SOCKETCALL].
26492 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26493 (__ASSUME_RECVMMSG_SYSCALL): Define.
26494
26495 [BZ #16609]
26496 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26497 __powerpc__ || __s390__ || __sh__ || __sparc__]
26498 (__ASSUME_SOCKETCALL): Define.
26499 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26500 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26501 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26502 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26503 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26504 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26505 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26506 (__ASSUME_ACCEPT4): Define instead of using previous
26507 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26508 __powerpc__ || __sparc__ || __s390__)] condition.
26509 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26510 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26511 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26512 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26513 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26514 [!__ASSUME_ACCEPT4]: Change condition to
26515 [!__ASSUME_ACCEPT4_SOCKETCALL].
26516 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26517 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26518 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26519 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26520 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26521 __ASSUME_ACCEPT4_SYSCALL.
26522 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26523 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26524 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26525 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26526 __ASSUME_ACCEPT4_SYSCALL.
26527 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26528 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26529 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26530 [__ASSUME_ACCEPT4]: Change condition to
26531 [__ASSUME_ACCEPT4_SOCKETCALL].
26532 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26533 (__ASSUME_SOCKETCALL): Define.
26534 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26535 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26536 (__ASSUME_SOCKETCALL): Define.
26537 (__ASSUME_ACCEPT4): Remove.
26538 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26539 Define.
26540 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26541 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26542 Likewise.
26543 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26544 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26545
26546 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26547 macro.
26548 (HWCAP_ARM_LPAE): Likewise.
26549 (HWCAP_ARM_EVTSTRM): Likewise.
26550 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26551 Add vpfd32, lpae and evtstrm.
26552 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26553 Increase to 22.
26554
26555 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26556
26557 * math/auto-libm-test-in: Add tests of clog10.
26558 * math/auto-libm-test-out: Regenerated.
26559 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26560 * sysdeps/i386/fpu/libm-test-ulps: Update.
26561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26562
26563 2014-02-18 Andreas Schwab <schwab@suse.de>
26564
26565 [BZ #16574]
26566 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26567 Store non-zero if the second buffer was newly allocated.
26568 (send_dg): Likewise.
26569 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26570 to send_vc and send_dg.
26571 (res_nsend): Pass NULL for ansp2_malloced.
26572 * resolv/res_query.c (__libc_res_nquery): Add parameter
26573 answerp2_malloced and pass it down to __libc_res_nsend.
26574 (res_nquery): Pass additional NULL to __libc_res_nquery.
26575 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26576 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26577 second answer buffer if answerp2_malloced was set.
26578 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26579 (__libc_res_nquerydomain): Add parameter
26580 answerp2_malloced and pass it down to __libc_res_nquery.
26581 (res_nquerydomain): Pass additional NULL to
26582 __libc_res_nquerydomain.
26583 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26584 additional NULL to __libc_res_nsend and __libc_res_nquery.
26585 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26586 additional NULL to __libc_res_nsearch.
26587 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26588 parameter of __libc_res_nsearch to check for separately allocated
26589 second buffer.
26590 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26591 __libc_res_nquery.
26592 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26593 additional NULL to __libc_res_nquery.
26594 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26595 __libc_res_nsearch.
26596 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26597 * include/resolv.h: Update prototypes of __libc_res_nquery,
26598 __libc_res_nsearch, __libc_res_nsend.
26599
26600 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26601
26602 * math/auto-libm-test-in: Add tests of fma.
26603 * math/auto-libm-test-out: Regenerated.
26604 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26605 (fma_towardzero_test_data): Likewise.
26606 (fma_downward_test_data): Likewise.
26607 (fma_upward_test_data): Likewise.
26608 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26609 mpc_mode.
26610 (rounding_modes): Add values for new field.
26611 (func_calc_method): Add value mpfr_fff_f.
26612 (func_calc_desc): Add mpfr_fff_f union field.
26613 (test_function): Add field exact_args.
26614 (FUNC): Add macro argument EXACT_ARGS.
26615 (FUNC_mpfr_f_f): Update call to FUNC.
26616 (FUNC_mpfr_f_f): Likewise.
26617 (FUNC_mpfr_ff_f): Likewise.
26618 (FUNC_mpfr_if_f): Likewise.
26619 (FUNC_mpc_c_f): Likewise.
26620 (FUNC_mpc_c_c): Likewise.
26621 (test_functions): Add fma. Update calls to FUNC.
26622 (handle_input_arg): Add argument exact_args.
26623 (add_test): Update call to handle_input_arg.
26624 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26625 (output_for_one_input_case): Update call to calc_generic_results.
26626 Recalculate exact zero results in each rounding mode.
26627
26628 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26629 non-negative before setting low bit.
26630 * math/auto-libm-test-in: Mark one asin test possibly having
26631 spurious underflow.
26632 * math/auto-libm-test-out: Regenerated.
26633 * sysdeps/i386/fpu/libm-test-ulps: Update.
26634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26635
26636 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26637
26638 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26639 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26640 ports/sysdeps/unix/sysv/linux/microblaze.
26641 * README: Add missing listing for microblaze*-*-linux-gnu.
26642
26643 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26644
26645 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26646 duplicate code
26647
26648 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26649
26650 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26651 * sysdeps/unix/sysv/linux/ia64: Move directory from
26652 ports/sysdeps/unix/sysv/linux/ia64.
26653 * README: Update listing for ia64-*-linux-gnu.
26654
26655 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26656 Joseph Myers <joseph@codesourcery.com>
26657
26658 * Makeconfig (test-name): New variable.
26659 (evaluate-test): Likewise.
26660 * Makerules (do-test-clean): Remove .test-result files.
26661 (common-mostlyclean): Likewise.
26662 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26663 * scripts/evaluate-test.sh: New file.
26664
26665 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26666
26667 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26668 separate $(objpfx)tst-fopenloc-cmp.out and
26669 $(objpfx)tst-fopenloc-mem.out targets.
26670 (tests): Update dependencies.
26671 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26672 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26673 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26674 (tst-rxspencer-no-utf8-ARGS): New variable.
26675 (tst-rxspencer-no-utf8-ENV): Likewise.
26676 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26677 instead of $(objpfx)tst-rxspencer-mem.
26678 ($(objpfx)tst-rxspencer-mem): Change target to
26679 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26680 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26681 * posix/tst-rxspencer-no-utf8.c: New file.
26682
26683 * elf/Makefile ($(objpfx)order.out): Remove rule.
26684 [$(run-built-tests) = yes] (tests): Depend on
26685 $(objpfx)order-cmp.out.
26686 ($(objpfx)order-cmp.out): New rule.
26687 [$(run-built-tests) = yes] (tests): Depend on
26688 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26689 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26690 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26691 $(objpfx)tst-array5-static-cmp.out.
26692 ($(objpfx)tst-array1.out): Remove rule.
26693 ($(objpfx)tst-array1-cmp.out): New rule.
26694 ($(objpfx)tst-array1-static.out): Remove rule.
26695 ($(objpfx)tst-array1-static-cmp.out): New rule.
26696 ($(objpfx)tst-array2.out): Remove rule.
26697 ($(objpfx)tst-array2-cmp.out): New rule.
26698 ($(objpfx)tst-array3.out): Remove rule.
26699 ($(objpfx)tst-array3-cmp.out): New rule.
26700 ($(objpfx)tst-array4.out): Remove rule.
26701 ($(objpfx)tst-array4-cmp.out): New rule.
26702 ($(objpfx)tst-array5.out): Remove rule.
26703 ($(objpfx)tst-array5-cmp.out): New rule.
26704 ($(objpfx)tst-array5-static.out): Remove rule.
26705 ($(objpfx)tst-array5-static-cmp.out): New rule.
26706 [$(run-built-tests) = yes] (tests): Depend on
26707 $(objpfx)order2-cmp.out.
26708 ($(objpfx)order2.out): Remove rule.
26709 ($(objpfx)order2-cmp.out): New rule.
26710 ($(objpfx)tst-initorder.out): Remove rule.
26711 [$(run-built-tests) = yes] (tests): Depend on
26712 $(objpfx)tst-initorder-cmp.out.
26713 ($(objpfx)tst-initorder-cmp.out): New rule.
26714 ($(objpfx)tst-initorder2.out): Remove rule.
26715 [$(run-built-tests) = yes] (tests): Depend on
26716 $(objpfx)tst-initorder2-cmp.out.
26717 ($(objpfx)tst-initorder2-cmp.out): New rule.
26718 [$(run-built-tests) = yes] (tests): Depend on
26719 $(objpfx)tst-unused-dep-cmp.out.
26720 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26721 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26722 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26723 on $(objpfx)tst-setvbuf1-cmp.out.
26724 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26725 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26726 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26727 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26728 ($(objpfx)tst-svc.out): Remove rule.
26729 ($(objpfx)tst-svc-cmp.out): New rule.
26730
26731 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26732
26733 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26734 * ctype/ctype.h [__USE_MISC]: Likewise.
26735 * dirent/dirent.h [__USE_MISC]: Likewise.
26736 * grp/grp.h [__USE_MISC]: Likewise.
26737 * io/fcntl.h [__USE_MISC]: Likewise.
26738 * io/sys/stat.h [__USE_MISC]: Likewise.
26739 * libio/stdio.h [__USE_MISC]: Likewise.
26740 * posix/unistd.h [__USE_MISC]: Likewise.
26741 * pwd/pwd.h [__USE_MISC]: Likewise.
26742 * stdlib.h [__USE_MISC]: Likewise.
26743 * string/bits/string2.h [__USE_MISC]: Likewise.
26744 * string/string.h [__USE_MISC]: Likewise.
26745 * time/time.h [__USE_MISC]: Likewise.
26746
26747 2014-02-13 Andreas Schwab <schwab@suse.de>
26748
26749 [BZ #16574]
26750 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26751 second answer buffer if it was separately allocated.
26752
26753 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26754
26755 * sysdeps/mips/math-tests.h: Include <features.h>.
26756 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26757 (ROUNDING_TESTS_long_double): Do not define.
26758 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26759 (EXCEPTION_TESTS_long_double): Likewise.
26760 * sysdeps/mips/mips64/libm-test-ulps: Update.
26761
26762 * include/features.h (__USE_BSD): Remove macro definitions.
26763 (__USE_SVID): Likewise.
26764 (_BSD_SOURCE): Likewise.
26765 (_SVID_SOURCE): Likewise.
26766 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26767 from definition of _DEFAULT_SOURCE.
26768 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26769 [_DEFAULT_SOURCE].
26770 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26771 * bits/mman.h [__USE_BSD]: Likewise.
26772 * bits/termios.h [__USE_BSD]: Likewise.
26773 * bits/waitstatus.h [__USE_BSD]: Likewise.
26774 * ctype/ctype.h [__USE_SVID]: Likewise.
26775 * dirent/dirent.h [__USE_BSD]: Likewise.
26776 * grp/grp.h [__USE_SVID]: Likewise.
26777 [__USE_BSD]: Likewise.
26778 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26779 * io/fcntl.h [__USE_BSD]: Likewise.
26780 * io/ftw.h [__USE_BSD]: Likewise.
26781 * io/sys/stat.h [__USE_BSD]: Likewise.
26782 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26783 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26784 * libio/stdio.h [__USE_SVID]: Likewise.
26785 [__USE_BSD]: Likewise.
26786 * math/math.h [__USE_SVID]: Likewise.
26787 [__USE_BSD]: Likewise.
26788 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26789 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26790 * misc/search.h [__USE_SVID]: Likewise.
26791 * misc/sys/mman.h [__USE_BSD]: Likewise.
26792 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26793 * misc/sys/uio.h [__USE_BSD]: Likewise.
26794 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26795 * posix/glob.h [__USE_BSD]: Likewise.
26796 * posix/regex.h [__USE_BSD]: Likewise.
26797 * posix/sys/types.h [__USE_BSD]: Likewise.
26798 [__USE_SVID]: Likewise.
26799 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26800 * posix/sys/wait.h [__USE_BSD]: Likewise.
26801 [__USE_SVID]: Likewise.
26802 * posix/unistd.h [__USE_BSD]: Likewise.
26803 [__USE_SVID]: Likewise.
26804 * pwd/pwd.h [__USE_SVID]: Likewise.
26805 * resolv/netdb.h [__USE_BSD]: Likewise.
26806 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26807 * signal/signal.h [__USE_BSD]: Likewise.
26808 [__USE_SVID]: Likewise.
26809 * socket/sys/socket.h [__USE_BSD]: Likewise.
26810 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26811 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26812 [__USE_SVID]: Likewise.
26813 * string/bits/string2.h [__USE_BSD]: Likewise.
26814 [__USE_SVID]: Likewise.
26815 * string/bits/string3.h [__USE_BSD]: Likewise.
26816 * string/endian.h [__USE_BSD]: Likewise.
26817 * string/string.h [__USE_SVID]: Likewise.
26818 [__USE_BSD]: Likewise.
26819 * string/strings.h [__USE_BSD]: Likewise.
26820 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26821 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26822 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26823 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26824 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26825 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26826 Likewise.
26827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26828 Likewise.
26829 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26830 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26831 Likewise.
26832 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26833 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26834 Likewise.
26835 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26836 Likewise.
26837 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26838 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26839 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26840 Likewise.
26841 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26842 Likewise.
26843 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26844 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26845 * termios/termios.h [__USE_BSD]: Likewise.
26846 * time/sys/time.h [__USE_BSD]: Likewise.
26847 * time/time.h [__USE_BSD]: Likewise.
26848 [__USE_SVID]: Likewise.
26849
26850 * Makefile (subdir_targets): Remove subdir_lint.out.
26851
26852 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26853 (do-tst-printf): Likewise.
26854 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26855 $(objpfx)tst-printf.out.
26856
26857 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26858
26859 * Makerules (check-abi-%): Change target to
26860 $(objpfx)check-abi-%.out.
26861 (check-abi target): Update dependencies.
26862 (check-abi-pattern variable): Redirect output of diff to $@.
26863 (check-abi variable): Likewise.
26864 * elf/Makefile (check-abi): Update dependencies.
26865
26866 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26867 unused.
26868 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26869 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26870 subnormal range.
26871 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26872 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26873 value has largest subnormal exponent.
26874 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26875 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26876 * sysdeps/aarch64/soft-fp/sfp-machine.h
26877 (_FP_TININESS_AFTER_ROUNDING): New macro.
26878 * sysdeps/alpha/soft-fp/sfp-machine.h
26879 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26880 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26881 Likewise.
26882 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26883 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26884 * sysdeps/mips/soft-fp/sfp-machine.h
26885 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26886 * sysdeps/powerpc/soft-fp/sfp-machine.h
26887 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26888 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26889 Likewise.
26890 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26891 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26892 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26893 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26894 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26895 Likewise.
26896
26897 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26898
26899 [BZ #16545]
26900 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26901 model 1.
26902
26903 2014-02-12 Richard Henderson <rth@redhat.com>
26904
26905 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26906 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26907 * sysdeps/unix/sysv/linux/alpha: Move directory from
26908 ports/sysdeps/unix/sysv/linux/alpha.
26909 * README: Update listing for alpha-*-linux-gnu.
26910
26911 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26912
26913 * include/features.h: Update comment documenting feature test
26914 macros.
26915 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26916 _DEFAULT_SOURCE.
26917 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26918 (_SVID_SOURCE): Likewise.
26919 (_DEFAULT_SOURCE): Update description of default features.
26920 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26921 with _GNU_SOURCE.
26922 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26923 (S_ISVTX): Likewise.
26924 * manual/math.texi (Mathematical Constants): Likewise.
26925 * manual/signal.texi (Interrupted Primitives): Likewise.
26926 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26927 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26928 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26929 Don't refer to _SVID_SOURCE in warning text.
26930
26931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26932
26933 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26934 already defined.
26935 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26936 * sysdeps/mips/dl-lookup.c: Remove.
26937 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26938
26939 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26940
26941 [BZ #16447]
26942 * math/auto-libm-test-in: Add testcase for expl.
26943 * math/auto-libm-test-out: Regenerate.
26944 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26945 calculation of unsafe.
26946 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26947
26948 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26949
26950 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26951 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26952 ports/sysdeps/unix/sysv/linux/aarch64.
26953 * README: Update listing for aarch64*-*-linux-gnu.
26954
26955 2014-02-11 Will Newton <will.newton@linaro.org>
26956
26957 * manual/probes.texi (Mathematical Function Probes): Use
26958 "triggered" instead of "hit".
26959
26960 * manual/probes.texi (Internal Probes): Add documentation
26961 of setjmp, longjmp and longjmp_target probes.
26962
26963 * include/stap-probe.h: Add comment about probe argument
26964 format.
26965
26966 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26967 definition. (tr_where, tr_freehook, tr_mallochook,
26968 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26969
26970 2014-02-11 David S. Miller <davem@davemloft.net>
26971
26972 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26973 processing int_tests.
26974
26975 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26976
26977 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26978 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26979 * sysdeps/unix/sysv/linux/mips: Move directory from
26980 ports/sysdeps/unix/sysv/linux/mips.
26981 * README: Update listing for mips-*-linux-gnu and
26982 mips64-*-linux-gnu.
26983
26984 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26985
26986 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26987 * sysdeps/unix/sysv/linux/m68k: Move directory from
26988 ports/sysdeps/unix/sysv/linux/m68k.
26989 * README: Update listing for m68k-*-linux-gnu.
26990
26991 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26992
26993 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26994 * sysdeps/unix/sysv/linux/generic: Move directory from
26995 ports/sysdeps/unix/sysv/linux/generic.
26996 * sysdeps/unix/sysv/linux/tile: Move directory from
26997 ports/sysdeps/unix/sysv/linux/tile.
26998 * README: Update listing for tile*-*-linux-gnu.
26999
27000 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
27001
27002 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27003 __builtin_expect.
27004 * benchtests/bench-memmem.c (simple_memmem): Likewise.
27005 * catgets/open_catalog.c (__open_catalog): Likewise.
27006 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27007 * debug/confstr_chk.c: Likewise.
27008 * debug/fread_chk.c (__fread_chk): Likewise.
27009 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27010 * debug/getgroups_chk.c: Likewise.
27011 * debug/mbsnrtowcs_chk.c: Likewise.
27012 * debug/mbsrtowcs_chk.c: Likewise.
27013 * debug/mbstowcs_chk.c: Likewise.
27014 * debug/memcpy_chk.c: Likewise.
27015 * debug/memmove_chk.c: Likewise.
27016 * debug/mempcpy_chk.c: Likewise.
27017 * debug/memset_chk.c: Likewise.
27018 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27019 * debug/strcat_chk.c (__strcat_chk): Likewise.
27020 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27021 * debug/strncat_chk.c (__strncat_chk): Likewise.
27022 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27023 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27024 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27025 * debug/wcpncpy_chk.c: Likewise.
27026 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27027 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27028 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27029 * debug/wcsncpy_chk.c: Likewise.
27030 * debug/wcsnrtombs_chk.c: Likewise.
27031 * debug/wcsrtombs_chk.c: Likewise.
27032 * debug/wcstombs_chk.c: Likewise.
27033 * debug/wmemcpy_chk.c: Likewise.
27034 * debug/wmemmove_chk.c: Likewise.
27035 * debug/wmempcpy_chk.c: Likewise.
27036 * debug/wmemset_chk.c: Likewise.
27037 * dirent/scandirat.c (SCANDIRAT): Likewise.
27038 * dlfcn/dladdr1.c (dladdr1): Likewise.
27039 * dlfcn/dladdr.c (dladdr): Likewise.
27040 * dlfcn/dlclose.c (dlclose_doit): Likewise.
27041 * dlfcn/dlerror.c (__dlerror): Likewise.
27042 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27043 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27044 * dlfcn/dlopen.c (dlopen_doit): Likewise.
27045 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27046 * dlfcn/dlsym.c (dlsym_doit): Likewise.
27047 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27048 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27049 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27050 Likewise.
27051 * elf/dl-conflict.c: Likewise.
27052 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27053 * elf/dl-dst.h: Likewise.
27054 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27055 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27056 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27057 * elf/dl-init.c (call_init, _dl_init): Likewise.
27058 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27059 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27060 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27061 Likewise.
27062 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27063 Likewise.
27064 * elf/dl-minimal.c (__libc_memalign): Likewise.
27065 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27066 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27067 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27068 * elf/dl-sym.c (do_sym): Likewise.
27069 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27070 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27071 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27072 * elf/dl-writev.h (_dl_writev): Likewise.
27073 * elf/ldconfig.c (search_dir): Likewise.
27074 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27075 (dl_main): Likewise.
27076 * elf/setup-vdso.h (setup_vdso): Likewise.
27077 * grp/compat-initgroups.c (compat_call): Likewise.
27078 * grp/fgetgrent.c (fgetgrent): Likewise.
27079 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27080 * grp/putgrent.c (putgrent): Likewise.
27081 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27082 Likewise.
27083 * hurd/hurdinit.c: Likewise.
27084 * iconvdata/8bit-gap.c (struct): Likewise.
27085 * iconvdata/ansi_x3.110.c : Likewise.
27086 * iconvdata/big5.c : Likewise.
27087 * iconvdata/big5hkscs.c : Likewise.
27088 * iconvdata/cp1255.c: Likewise.
27089 * iconvdata/cp1258.c : Likewise.
27090 * iconvdata/cp932.c : Likewise.
27091 * iconvdata/euc-cn.c: Likewise.
27092 * iconvdata/euc-jisx0213.c : Likewise.
27093 * iconvdata/euc-jp.c: Likewise.
27094 * iconvdata/euc-jp-ms.c : Likewise.
27095 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27096 * iconvdata/gb18030.c : Likewise.
27097 * iconvdata/gbbig5.c (const): Likewise.
27098 * iconvdata/gbgbk.c: Likewise.
27099 * iconvdata/gbk.c : Likewise.
27100 * iconvdata/ibm1364.c : Likewise.
27101 * iconvdata/ibm930.c : Likewise.
27102 * iconvdata/ibm932.c: Likewise.
27103 * iconvdata/ibm933.c : Likewise.
27104 * iconvdata/ibm935.c : Likewise.
27105 * iconvdata/ibm937.c : Likewise.
27106 * iconvdata/ibm939.c : Likewise.
27107 * iconvdata/ibm943.c: Likewise.
27108 * iconvdata/iso_11548-1.c: Likewise.
27109 * iconvdata/iso-2022-cn.c : Likewise.
27110 * iconvdata/iso-2022-cn-ext.c : Likewise.
27111 * iconvdata/iso-2022-jp-3.c: Likewise.
27112 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27113 * iconvdata/iso-2022-kr.c : Likewise.
27114 * iconvdata/iso646.c (gconv_end): Likewise.
27115 * iconvdata/iso_6937-2.c : Likewise.
27116 * iconvdata/iso_6937.c : Likewise.
27117 * iconvdata/iso8859-1.c: Likewise.
27118 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27119 * iconvdata/shift_jisx0213.c : Likewise.
27120 * iconvdata/sjis.c : Likewise.
27121 * iconvdata/t.61.c : Likewise.
27122 * iconvdata/tcvn5712-1.c : Likewise.
27123 * iconvdata/tscii.c: Likewise.
27124 * iconvdata/uhc.c : Likewise.
27125 * iconvdata/unicode.c (gconv_end): Likewise.
27126 * iconvdata/utf-16.c (gconv_end): Likewise.
27127 * iconvdata/utf-32.c (gconv_end): Likewise.
27128 * iconvdata/utf-7.c (base64): Likewise.
27129 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27130 * iconv/gconv_close.c (__gconv_close): Likewise.
27131 * iconv/gconv_open.c (__gconv_open): Likewise.
27132 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27133 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27134 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27135 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27136 (ucs4le_internal_loop_single): Likewise.
27137 * iconv/iconv.c (iconv): Likewise.
27138 * iconv/iconv_close.c: Likewise.
27139 * iconv/loop.c (SINGLE): Likewise.
27140 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27141 * include/atomic.h: Likewise.
27142 * inet/inet6_option.c (option_alloc): Likewise.
27143 * intl/bindtextdom.c (set_binding_values): Likewise.
27144 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27145 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27146 * intl/localealias.c (read_alias_file): Likewise.
27147 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27148 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27149 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27150 * libio/fmemopen.c (fmemopen): Likewise.
27151 * libio/iofgets.c (_IO_fgets): Likewise.
27152 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27153 * libio/iofgetws.c (fgetws): Likewise.
27154 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27155 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27156 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27157 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27158 * locale/findlocale.c (_nl_find_locale): Likewise.
27159 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27160 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27161 Likewise.
27162 * locale/setlocale.c (setlocale): Likewise.
27163 * login/programs/pt_chown.c (main): Likewise.
27164 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27165 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27166 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27167 (mmap, mmap64, mremap, munmap): Likewise.
27168 * math/e_exp2l.c: Likewise.
27169 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27170 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27171 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27172 * math/s_catan.c (__catan): Likewise.
27173 * math/s_catanf.c (__catanf): Likewise.
27174 * math/s_catanh.c (__catanh): Likewise.
27175 * math/s_catanhf.c (__catanhf): Likewise.
27176 * math/s_catanhl.c (__catanhl): Likewise.
27177 * math/s_catanl.c (__catanl): Likewise.
27178 * math/s_ccosh.c (__ccosh): Likewise.
27179 * math/s_ccoshf.c (__ccoshf): Likewise.
27180 * math/s_ccoshl.c (__ccoshl): Likewise.
27181 * math/s_cexp.c (__cexp): Likewise.
27182 * math/s_cexpf.c (__cexpf): Likewise.
27183 * math/s_cexpl.c (__cexpl): Likewise.
27184 * math/s_clog10.c (__clog10): Likewise.
27185 * math/s_clog10f.c (__clog10f): Likewise.
27186 * math/s_clog10l.c (__clog10l): Likewise.
27187 * math/s_clog.c (__clog): Likewise.
27188 * math/s_clogf.c (__clogf): Likewise.
27189 * math/s_clogl.c (__clogl): Likewise.
27190 * math/s_csin.c (__csin): Likewise.
27191 * math/s_csinf.c (__csinf): Likewise.
27192 * math/s_csinh.c (__csinh): Likewise.
27193 * math/s_csinhf.c (__csinhf): Likewise.
27194 * math/s_csinhl.c (__csinhl): Likewise.
27195 * math/s_csinl.c (__csinl): Likewise.
27196 * math/s_csqrt.c (__csqrt): Likewise.
27197 * math/s_csqrtf.c (__csqrtf): Likewise.
27198 * math/s_csqrtl.c (__csqrtl): Likewise.
27199 * math/s_ctan.c (__ctan): Likewise.
27200 * math/s_ctanf.c (__ctanf): Likewise.
27201 * math/s_ctanh.c (__ctanh): Likewise.
27202 * math/s_ctanhf.c (__ctanhf): Likewise.
27203 * math/s_ctanhl.c (__ctanhl): Likewise.
27204 * math/s_ctanl.c (__ctanl): Likewise.
27205 * math/w_pow.c: Likewise.
27206 * math/w_powf.c: Likewise.
27207 * math/w_powl.c: Likewise.
27208 * math/w_scalb.c (sysv_scalb): Likewise.
27209 * math/w_scalbf.c (sysv_scalbf): Likewise.
27210 * math/w_scalbl.c (sysv_scalbl): Likewise.
27211 * misc/error.c (error_tail): Likewise.
27212 * misc/pselect.c (__pselect): Likewise.
27213 * nis/nis_callback.c (__nis_create_callback): Likewise.
27214 * nis/nis_call.c (__nisfind_server): Likewise.
27215 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27216 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27217 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27218 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27219 * nis/nis_lookup.c (nis_lookup): Likewise.
27220 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27221 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27222 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27223 * nis/nis_xdr.c (xdr_endpoint): Likewise.
27224 * nis/nss_compat/compat-grp.c (getgrent_next_file)
27225 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27226 * nis/nss_compat/compat-initgroups.c (add_group)
27227 (internal_getgrent_r): Likewise.
27228 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27229 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27230 * nis/nss_compat/compat-spwd.c (getspent_next_file)
27231 (internal_getspnam_r): Likewise.
27232 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27233 (_nss_nis_getaliasbyname_r): Likewise.
27234 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27235 (_nss_nis_getntohost_r): Likewise.
27236 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27237 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27238 (_nss_nis_getgrgid_r): Likewise.
27239 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27240 (internal_nis_gethostent_r, internal_gethostbyname2_r)
27241 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27242 (_nss_nis_gethostbyname4_r): Likewise.
27243 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27244 (initgroups_netid): Likewise.
27245 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27246 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27247 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27248 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27249 (_nss_nis_getprotobynumber_r): Likewise.
27250 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27251 (_nss_nis_getsecretkey): Likewise.
27252 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27253 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27254 (_nss_nis_getpwuid_r): Likewise.
27255 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27256 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27257 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27258 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27259 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27260 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27261 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27262 Likewise.
27263 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27264 (_nss_nisplus_getntohost_r): Likewise.
27265 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27266 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27267 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27268 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27269 Likewise.
27270 * nis/nss_nisplus/nisplus-initgroups.c
27271 (_nss_nisplus_initgroups_dyn): Likewise.
27272 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27273 (_nss_nisplus_getnetbyaddr_r): Likewise.
27274 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27275 (_nss_nisplus_getprotobynumber_r): Likewise.
27276 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27277 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27278 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27279 Likewise.
27280 * nis/nss_nisplus/nisplus-service.c
27281 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27282 (_nss_nisplus_getservbyport_r): Likewise.
27283 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27284 (_nss_nisplus_getspnam_r): Likewise.
27285 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27286 Likewise.
27287 * nscd/aicache.c (addhstaiX): Likewise.
27288 * nscd/cache.c (cache_search, prune_cache): Likewise.
27289 * nscd/connections.c (register_traced_file, send_ro_fd)
27290 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27291 (main_loop_epoll): Likewise.
27292 * nscd/grpcache.c (addgrbyX): Likewise.
27293 * nscd/hstcache.c (addhstbyX): Likewise.
27294 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27295 * nscd/mem.c (gc, mempool_alloc): Likewise.
27296 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27297 (addinnetgrX): Likewise.
27298 * nscd/nscd-client.h (__nscd_acquire_maplock)
27299 (__nscd_drop_map_ref): Likewise.
27300 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27301 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27302 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27303 Likewise.
27304 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27305 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27306 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27307 (__nscd_get_map_ref): Likewise.
27308 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27309 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27310 Likewise.
27311 * nscd/pwdcache.c (addpwbyX): Likewise.
27312 * nscd/selinux.c (preserve_capabilities): Likewise.
27313 * nscd/servicescache.c (addservbyX): Likewise.
27314 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27315 * posix/fnmatch.c (fnmatch): Likewise.
27316 * posix/getopt.c (_getopt_internal_r): Likewise.
27317 * posix/glob.c (glob, glob_in_dir): Likewise.
27318 * posix/wordexp.c (exec_comm_child): Likewise.
27319 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27320 (getanswer_r, gaih_getanswer_slice): Likewise.
27321 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27322 * resolv/res_init.c: Likewise.
27323 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27324 * resolv/res_query.c (__libc_res_nquery): Likewise.
27325 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27326 Likewise.
27327 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27328 * stdio-common/perror.c (perror): Likewise.
27329 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27330 * stdio-common/tmpnam.c (tmpnam): Likewise.
27331 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27332 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27333 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27334 Likewise.
27335 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27336 * stdlib/putenv.c (putenv): Likewise.
27337 * stdlib/setenv.c (__add_to_environ): Likewise.
27338 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27339 * stdlib/strtol_l.c (INTERNAL): Likewise.
27340 * string/memmem.c (memmem): Likewise.
27341 * string/strerror.c (strerror): Likewise.
27342 * string/strnlen.c (__strnlen): Likewise.
27343 * string/test-memmem.c (simple_memmem): Likewise.
27344 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27345 * sunrpc/pm_getport.c (__get_socket): Likewise.
27346 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27347 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27348 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27349 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27350 Likewise.
27351 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27352 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27353 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27354 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27355 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27356 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27357 Likewise.
27358 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27359 Likewise.
27360 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27361 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27362 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27363 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27364 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27366 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27367 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27368 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27369 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27370 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27371 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27372 Likewise.
27373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27374 Likewise.
27375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27376 Likewise.
27377 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27381 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27382 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27383 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27386 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27387 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27388 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27389 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27390 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27391 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27392 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27393 Likewise.
27394 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27395 Likewise.
27396 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27397 Likewise.
27398 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27399 Likewise.
27400 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27401 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27402 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27403 Likewise.
27404 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27405 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27406 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27407 * sysdeps/posix/sleep.c: Likewise.
27408 * sysdeps/posix/tempname.c: Likewise.
27409 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27410 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27411 Likewise.
27412 * sysdeps/powerpc/powerpc32/dl-machine.h
27413 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27414 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27416 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27417 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27418 Likewise.
27419 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27420 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27421 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27422 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27423 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27424 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27425 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27426 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27427 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27428 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27430 (elf_machine_lazy_rel): Likewise.
27431 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27433 (elf_machine_lazy_rel): Likewise.
27434 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27435 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27436 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27437 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27438 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27439 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27440 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27441 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27442 Likewise.
27443 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27444 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27445 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27446 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27447 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27448 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27449 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27450 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27451 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27452 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27453 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27454 Likewise.
27455 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27456 (__posix_fallocate64_l64): Likewise.
27457 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27458 (posix_fallocate): Likewise.
27459 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27460 Likewise.
27461 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27462 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27463 (getifaddrs_internal): Likewise.
27464 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27465 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27466 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27467 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27468 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27469 (__posix_fallocate64_l64): Likewise.
27470 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27471 Likewise.
27472 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27473 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27474 (__get_clockfreq): Likewise.
27475 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27476 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27477 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27480 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27481 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27482 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27483 Likewise.
27484 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27485 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27486 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27487 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27488 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27489 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27490 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27491 Likewise.
27492 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27493 (posix_fallocate): Likewise.
27494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27495 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27496 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27497 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27498 (elf_machine_rela, elf_machine_rela_relative)
27499 (elf_machine_lazy_rel): Likewise.
27500 * time/asctime.c (asctime_internal): Likewise.
27501 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27502 * time/tzset.c (__tzset_parse_tz): Likewise.
27503 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27504 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27505 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27506 * wcsmbs/wcsmbsload.h: Likewise.
27507
27508 [BZ #15894]
27509 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27510
27511 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27512 (arena_get2): Remove THREAD_STATS conditionals.
27513 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27514 (__malloc_stats, int): Likewise.
27515
27516 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27517
27518 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27519 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27520
27521 * manual/setjmp.texi: Fix typos/grammar errors.
27522
27523 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27524 Only return early when n is <= 0. Delete unused return statement.
27525
27526 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27527 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27528 * debug/tst-longjmp_chk3.c: New file.
27529
27530 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27531 (test_main): Replace code with set_fortify_handler call.
27532 * debug/test-strcpy_chk.c: Likewise.
27533 * debug/tst-chk1.c: Likewise.
27534 * debug/tst-longjmp_chk.c: Likewise.
27535 * test-skeleton.c: Include fcntl.h & paths.h
27536 (set_fortify_handler): Define.
27537
27538 * debug/tst-longjmp_chk.c: Add header comment and include
27539 ../test-skeleton.c.
27540 (do_test): Mark static.
27541 (TEST_FUNCTION): Define.
27542
27543 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27544 (IP_PMTUDISC_INTERFACE): Likewise.
27545 (IP_MULTICAST_IF): Likewise.
27546 (IP_MULTICAST_TTL): Likewise.
27547 (IP_MULTICAST_LOOP): Likewise.
27548 (IP_ADD_MEMBERSHIP): Likewise.
27549 (IP_DROP_MEMBERSHIP): Likewise.
27550 (IP_UNBLOCK_SOURCE): Likewise.
27551 (IP_BLOCK_SOURCE): Likewise.
27552 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27553 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27554 (IP_MSFILTER): Likewise.
27555 (MCAST_JOIN_GROUP): Likewise.
27556 (MCAST_BLOCK_SOURCE): Likewise.
27557 (MCAST_UNBLOCK_SOURCE): Likewise.
27558 (MCAST_LEAVE_GROUP): Likewise.
27559 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27560 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27561 (MCAST_MSFILTER): Likewise.
27562 (IP_MULTICAST_ALL): Likewise.
27563 (IP_UNICAST_IF): Likewise.
27564
27565 * timezone/Makefile: Delete $(have-ksh) check.
27566 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27567 * timezone/tzselect.ksh: Add +x mode bits.
27568
27569 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27570 (ANON_INODE_FS_MAGIC): Likewise.
27571 (BDEVFS_MAGIC): Likewise.
27572 (BINFMTFS_MAGIC): Likewise.
27573 (BTRFS_TEST_MAGIC): Likewise.
27574 (CRAMFS_MAGIC_WEND): Likewise.
27575 (DEBUGFS_MAGIC): Likewise.
27576 (ECRYPTFS_SUPER_MAGIC): Likewise.
27577 (EXT3_SUPER_MAGIC): Likewise.
27578 (EXT4_SUPER_MAGIC): Likewise.
27579 (FUTEXFS_SUPER_MAGIC): Likewise.
27580 (HOSTFS_SUPER_MAGIC): Likewise.
27581 (HUGETLBFS_MAGIC): Likewise.
27582 (MINIX3_SUPER_MAGIC): Likewise.
27583 (MTD_INODE_FS_MAGIC): Likewise.
27584 (NILFS_SUPER_MAGIC): Likewise.
27585 (OPENPROM_SUPER_MAGIC): Likewise.
27586 (PIPEFS_MAGIC): Likewise.
27587 (PSTOREFS_MAGIC): Likewise.
27588 (QNX6_SUPER_MAGIC): Likewise.
27589 (RAMFS_MAGIC): Likewise.
27590 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27591 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27592 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27593 (SECURITYFS_MAGIC): Likewise.
27594 (SELINUX_MAGIC): Likewise.
27595 (SMACK_MAGIC): Likewise.
27596 (SOCKFS_MAGIC): Likewise.
27597 (SQUASHFS_MAGIC): Likewise.
27598 (STACK_END_MAGIC): Likewise.
27599 (TMPFS_MAGIC): Likewise.
27600 (USBDEVICE_SUPER_MAGIC): Likewise.
27601 (V9FS_MAGIC): Likewise.
27602 (XENFS_SUPER_MAGIC): Likewise.
27603 (CRAMFS_MAGIC): Fix typo in comment.
27604 (EXT2_SUPER_MAGIC): Update comment.
27605 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27606
27607 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27608
27609 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27610 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27611 * sysdeps/unix/sysv/linux/arm: Move directory from
27612 ports/sysdeps/unix/sysv/linux/arm.
27613 * README: Update listing for arm-*-linux-gnueabi.
27614
27615 * README: Remove mention of am33.
27616
27617 2014-02-07 Roland McGrath <roland@hack.frob.com>
27618
27619 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27620 than the comma operator, to avoid "rhs of comma has no effect"
27621 compiler warnings.
27622 (__sigfillset, __sigandset, __sigorset): Likewise.
27623 * include/signal.h (__sigemptyset): Likewise.
27624 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27625
27626 2014-02-07 Allan McRae <allan@archlinux.org>
27627
27628 * version.h (RELEASE): Set to "development".
27629 (VERSION): Set to "2.19.90"
27630 * NEWS: Add 2.20 section.
27631
27632 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27633
27634 [BZ #16529]
27635 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27636
27637 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27638
27639 * manual/contrib.texi: Update entry for Carlos O'Donell,
27640 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27641
27642 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27643
27644 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27645
27646 * sysdeps/unix/sysv/linux/kernel-features.h
27647 [__LINUX_KERNEL_VERSION >= 0x020621]
27648 (__ASSUME_PROC_PID_TASK_COMM): Define.
27649
27650 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27651
27652 [BZ #16398]
27653 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27654 conversion when destination buffer does not have enough space.
27655 * libio/tst-ftell-partial-wide.c: New test case.
27656 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27657
27658 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27659 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27660 Leonard and Allan McRae.
27661
27662 2014-02-04 David S. Miller <davem@davemloft.net>
27663
27664 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27665 32-bit.
27666
27667 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27668
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27670 New file
27671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27672 New file
27673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27674 New file.
27675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27676 New file.
27677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27678 New file.
27679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27680 New file.
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27682 New file.
27683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27684 New file.
27685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27686 New file.
27687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27688 New file.
27689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27690 New file.
27691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27692 New file.
27693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27694 New file.
27695
27696 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27697
27698 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27699 * shlib-versions: Likewise.
27700
27701 2014-02-04 Roland McGrath <roland@hack.frob.com>
27702 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27703
27704 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27705 (abilist-pattern): New variable, set to %-le.abilist.
27706
27707 * Makerules (abilist-pattern): New variable.
27708 (vpath): Use $(abilist-pattern) in place of %.abilist.
27709 (check-abi-% pattern rule): Likewise.
27710 (check-abi, update-abi): Likewise.
27711
27712 2014-02-04 Eric Wong <normalperson@yhbt.net>
27713
27714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27715
27716 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27717
27718 * manual/startup.texi: Add next, previous, and top entries for
27719 the `Program Arguments' and `Environment Variables' nodes.
27720
27721 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27722
27723 * manual/macros.texi: Add comments before MTASC-safety macros.
27724
27725 * manual/users.texi: Document MTASC-safety properties.
27726
27727 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27728 (pthread_getspecific, pthread_setspecific): Format with
27729 @deftypefun, and add @safety note.
27730 * manual/signal.texi: Move comments that analyze the above
27731 functions to their home place.
27732
27733 2014-02-03 Allan McRae <allan@archlinux.org>
27734
27735 * po/sl.po: Update Slovenian translation from translation project.
27736
27737 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27738
27739 * manual/time.texi (timegm): Add missing blank after @c.
27740 Reported by Joseph Myers <joseph@codesourcery.com>.
27741
27742 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27743
27744 * manual/check-safety.sh: New.
27745 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27746
27747 * manual/terminal.texi: Document MTASC-safety properties.
27748
27749 * manual/filesys.texi: Document MTASC-safety properties.
27750
27751 * manual/errno.texi: Document MTASC-safety properties.
27752
27753 * manual/intro.texi: Document safety identifiers and
27754 conditionals.
27755
27756 * manual/string.texi (wcstok): Fix prototype.
27757 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27758
27759 * manual/time.texi: Document MTASC-safety properties.
27760
27761 * manual/string.texi: Document MTASC-safety properties.
27762
27763 * manual/threads.texi: Document MTASC-safety properties.
27764
27765 * manual/stdio.texi: Document MTASC-safety properties.
27766
27767 * manual/syslog.texi: Document MTASC-safety properties.
27768
27769 * manual/sysinfo.texi: Document MTASC-safety properties.
27770
27771 * manual/startup.texi: Document MTASC-safety properties.
27772
27773 * manual/socket.texi: Document MTASC-safety properties.
27774
27775 * manual/signal.texi: Document MTASC-safety properties.
27776
27777 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27778
27779 * manual/setjmp.texi: Document MTASC-safety properties.
27780
27781 * manual/search.texi: Document MTASC-safety properties.
27782
27783 * manual/resource.texi: Document MTASC-safety properties.
27784
27785 * manual/process.texi: Document MTASC-safety properties.
27786
27787 * manual/platform.texi: Document MTASC-safety properties.
27788
27789 * manual/pipe.texi: Document MTASC-safety properties.
27790
27791 * manual/pattern.texi: Document MTASC-safety properties.
27792
27793 * manual/message.texi: Document MTASC-safety properties.
27794
27795 [BZ #12751]
27796 * manual/memory.texi: Document MTASC-safety properties.
27797
27798 * manual/math.texi: Document MTASC-safety properties.
27799
27800 * manual/locale.texi: Document MTASC-safety properties.
27801
27802 * manual/llio.texi: Document MTASC-safety properties.
27803
27804 * manual/libdl.texi: New.
27805
27806 * manual/lang.texi: Document MTASC-safety properties.
27807
27808 * manual/job.texi: Document MTASC-safety properties.
27809
27810 * manual/getopt.texi: Document MTASC-safety properties.
27811
27812 * manual/ctype.texi: Document MTASC-safety properties.
27813
27814 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27815
27816 [BZ #16046]
27817 * csu/libc-tls.c (static_map): Remove variable.
27818 (__libc_setup_tls): Use main executable's link map for TLS data.
27819 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27820 casing for LM_ID_BASE and GL(dl_nns).
27821 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27822 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27823 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27824 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27825 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27826 member.
27827 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27828 l_phnum members.
27829
27830 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27831
27832 * manual/debug.texi: Document MTASC-safety properties.
27833
27834 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27835
27836 [BZ #16510]
27837 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27838 of __x86_64__ when disabling x87 inline functions.
27839
27840 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27841
27842 * manual/charset.texi: Document MTASC-safety properties.
27843
27844 * manual/crypt.texi: Document MTASC-safety properties.
27845
27846 * manual/conf.texi: Document MTASC-safety properties.
27847
27848 * manual/arith.texi: Document MTASC-safety properties.
27849
27850 * manual/argp.texi: Document MTASC-safety properties.
27851
27852 * manual/macros.texi: Introduce macros to document multi
27853 thread, asynchronous signal and asynchronous cancellation
27854 safety properties.
27855 * manual/intro.texi: Introduce the properties themselves.
27856
27857 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27858
27859 * sysdeps/sh/sh4/Makefile: New file.
27860
27861 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27862
27863 * math/gen-libm-test.pl ($srcdir): New variable.
27864 ($auto_input): Use it.
27865
27866 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27867
27868 [BZ #16506]
27869 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27870 access beyond array bounds when parsing netgroups file.
27871
27872 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27873 the old buffer before realloc.
27874
27875 2014-01-27 Allan McRae <allan@archlinux.org>
27876
27877 * po/fr.po: Update French translation from translation project.
27878
27879 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27880
27881 * sysdeps/sh/libm-test-ulps: Regenerate.
27882
27883 2014-01-24 David S. Miller <davem@davemloft.net>
27884
27885 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27886
27887 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27888
27889 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27890 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27891
27892 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27893
27894 [BZ #16474]
27895 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27896 string pointers after reallocation.
27897
27898 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27899
27900 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27901 __SH4A__ instead of __SH_FPU_ANY__.
27902
27903 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27904
27905 * sysdeps/sh/fpu_control.h: New file.
27906 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27907 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27908 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27909 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27910 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27911 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27912 * sysdeps/sh/sys/ucontext.h: Remove.
27913 * sysdeps/sh/sys: Remove directory.
27914
27915 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27916
27917 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27918 s390/sys/ucontext.h.
27919 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27920 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27921
27922 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27923
27924 [BZ #15605]
27925 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27926
27927 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27928
27929 [BZ#16431]
27930 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27931 Adjust the vDSO correctly for internal calls.
27932 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27933
27934 2014-01-20 Allan McRae <allan@archlinux.org>
27935
27936 * po/ca.po: Update Catalan translation from translation project.
27937
27938 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27939
27940 * sysdeps/s390/sotruss-lib.c: New file.
27941
27942 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27943
27944 [BZ#16430]
27945 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27946 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27947 local calls issues by not having a PLT stub required for IFUNC calls.
27948 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27949
27950 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27951
27952 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27953 * math/test-fpucw-static.c: Likewise.
27954
27955 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27956
27957 [BZ #16453]
27958 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27959
27960 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27961
27962 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27963 implementation for powerpc.
27964
27965 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27966
27967 [BZ #14782]
27968 * sysdeps/posix/system.c (__libc_system): Do not enable
27969 asynchronous cancellation.
27970
27971 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27972
27973 [BZ #16427]
27974 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27975 handling only for numbers special also in the IEEE case.
27976
27977 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27978
27979 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27980
27981 2014-01-11 Allan McRae <allan@archlinux.org>
27982
27983 * po/bg.po: Update Bulgarian translation from translation project.
27984
27985 * po/de.po: Update German translation from translation project.
27986
27987 2014-01-10 Roland McGrath <roland@hack.frob.com>
27988
27989 * sysdeps/generic/gcc-compat.h: New file.
27990
27991 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27992
27993 * benchtests/asin-inputs: Correct slow inputs.
27994 * benchtests/acos-inputs: Likewise.
27995
27996 2014-01-10 Allan McRae <allan@archlinux.org>
27997
27998 * po:sv.po: Update Swedish translation from translation project.
27999
28000 * po/vi.po: Update Vietnamese translation from translation project.
28001
28002 * po/eo.po: Update Esperanto translation from translation project.
28003
28004 * po/cs.po: Update Czech translation from translation project.
28005
28006 * po/nl.po: Update Dutch translation from translation project.
28007
28008 * po/pl.po: Update Polish translation from translation project.
28009
28010 * po/ru.po: Update Russian translation from translation project.
28011
28012 * po/uk.po: Update Ukrainian translation from translation project.
28013
28014 2014-01-08 Brooks Moses <bmoses@google.com>
28015
28016 * elf/dl-load.c: Fix comment typo.
28017
28018 2014-01-08 Carlos O'Donell <carlos@redhat.com>
28019
28020 * po/header.pot: Rename to...
28021 * po/pot.header: ... this.
28022 * po/Makefile: Use pot.header.
28023
28024 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28025 Maxim Kuvyrkov <maxim@kugelworks.com>
28026
28027 [BZ #16394]
28028 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28029 SRC and DEST against LEN.
28030
28031 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28032
28033 [BZ #16414]
28034 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28035 implementation.
28036 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28037
28038 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28039
28040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28041
28042 2014-01-08 Joseph Myers <joseph@codesourcery.com>
28043
28044 [BZ #16408]
28045 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28046 for large positive arguments.
28047
28048 2014-01-07 Joseph Myers <joseph@codesourcery.com>
28049
28050 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28051
28052 * math/auto-libm-test-in: Mark various tests with
28053 xfail-rounding:ldbl-128ibm.
28054 * math/auto-libm-test-out: Regenerated.
28055
28056 [BZ #16407]
28057 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28058 Increase overflow threshold.
28059
28060 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
28061
28062 [BZ #14286]
28063 * stdio-common/vfprintf.c: Check for integer overflow.
28064
28065 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28066
28067 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28068 the first argument and return value of __tls_get_addr_internal.
28069
28070 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28071
28072 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28073 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28074
28075 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28076
28077 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28078 * sysdeps/s390/rtld-global-offsets.sym: New file.
28079 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28080 GLIBC_2.19 symbol.
28081 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28082 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28083 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28084 ... this.
28085 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28086 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28087 ... this.
28088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28089 Regenerate.
28090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28091 Regenerate.
28092 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28093 halfs of GPRs for high_gprs contexts.
28094 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28095 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
28096 field.
28097 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28098 uc_flags field.
28099 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28100 64 bit versions:
28101 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28102 for high GPRs (uc_high_gprs) and for future extensions
28103 (__reserved).
28104 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28105 for future extensions (__reserved).
28106 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28107 64 bit versions:
28108 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28109 SC_HIGHGPRS offset definition.
28110 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28111 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28112
28113 * Versions.def: Add GLIBC_2.19 for libpthread.
28114 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28115 siglongjmp for libpthread with GLIBC_2.19 symver.
28116 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28117 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28118 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28119 * sysdeps/s390/__longjmp.c: New file.
28120 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28121 * sysdeps/s390/longjmp.c: New file.
28122 * sysdeps/s390/setjmp.S: New file.
28123 * sysdeps/s390/sigjmp.S: New file.
28124 * sysdeps/s390/v1-longjmp.c: New file.
28125 * sysdeps/s390/v1-setjmp.h: New file.
28126 * sysdeps/s390/v1-sigjmp.c: New file.
28127 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28128 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28129 GLIBC_2.19 version.
28130 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28131 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28132 versioned symbols for ____longjmp_chk.
28133 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28134 Likewise.
28135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28136 Regenerate.
28137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28138 Regenerate.
28139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28140 Regenerate.
28141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28142 Regenerate.
28143 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28144 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28145 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28146 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28147 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28148 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28149 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28150 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28151 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28152 * sysdeps/s390/rtld-__longjmp.c: New file.
28153 * sysdeps/s390/rtld-setjmp.S: New file.
28154
28155 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28156
28157 [BZ #16400]
28158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28159 Return -__logl (x) for small positive arguments without evaluating
28160 a polynomial.
28161
28162 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28163
28164 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28165 Rename to ...
28166 (__ptrace_peeksiginfo_args): ... this.
28167 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28169 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28170
28171 2014-01-06 Allan McRae <allan@archlinux.org>
28172
28173 * inet/netinet/in.h: Fix typo in comment.
28174
28175 2014-01-05 Andreas Jaeger <aj@suse.de>
28176
28177 * sysdeps/i386/fpu/libm-test-ulps: Update.
28178
28179 2014-01-05 Allan McRae <allan@archlinux.org>
28180
28181 * po/libc.pot: Regenerated.
28182
28183 * malloc/memusagestat.c: Fix gettext call formatting.
28184
28185 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28186
28187 * nscd/nscd.c: Improve usage() output.
28188
28189 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28190
28191 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28192 * sysdeps/unix/sysv/linux/configure: Regenerated.
28193 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28194 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28195
28196 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28197
28198 [BZ #16390]
28199 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28200 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28201
28202 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28203
28204 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28205 extra tokens at end of #undef directive.
28206 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28207 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28208 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28209
28210 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28211
28212 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28213
28214 * math/auto-libm-test-in: Mark various tests with
28215 xfail-rounding:ldbl-128ibm.
28216 * math/auto-libm-test-out: Regenerated.
28217
28218 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28219
28220 [BZ #16386]
28221 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28222 numbers with subnormal high part when calculating exponent.
28223
28224 [BZ #16385]
28225 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28226 fabs.
28227
28228 [BZ #16384]
28229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28230 M_LN2l.
28231 (__ieee754_acoshl): Use __log1pl not __log1p.
28232
28233 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
28234
28235 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28236 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28237 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28238 (grow_heap, heap_trim, _int_new_arena, get_free_list)
28239 (reused_arena, arena_get2): Convert to GNU style.
28240 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28241 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28242 (memalign_check, __malloc_set_state): Likewise.
28243 * malloc/mallocbug.c (main): Likewise.
28244 * malloc/malloc.c (__malloc_assert, malloc_init_state)
28245 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28246 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28247 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28248 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28249 (__posix_memalign, malloc_info): Likewise.
28250 * malloc/malloc.h: Likewise.
28251 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28252 (mallochook, memalignhook, reallochook, mabort): Likewise.
28253 * malloc/mcheck.h: Likewise.
28254 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28255 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28256 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28257 * malloc/morecore.c (__default_morecore): Likewise.
28258 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28259 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28260 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28261 (print_and_abort): Likewise.
28262 * malloc/obstack.h: Likewise.
28263 * malloc/set-freeres.c (__libc_freeres): Likewise.
28264 * malloc/tst-mallocstate.c (main): Likewise.
28265 * malloc/tst-mtrace.c (main): Likewise.
28266 * malloc/tst-realloc.c (do_test): Likewise.
28267
28268 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28269
28270 [BZ #16366]
28271 * nscd/netgroupcache.c (do_notfound): New function.
28272 (addgetnetgrentX): Use it.
28273
28274 [BZ # 16365]
28275 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28276 NSS_STATUS_NOTFOUND.
28277
28278 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28279
28280 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28282
28283 2014-01-01 Allan McRae <allan@archlinux.org>
28284
28285 * scripts/update-copyrights: Update configure input file suffix.
28286
28287 * NEWS: Update copyright year.
28288 * catgets/gencat.c: Likewise.
28289 * csu/version.c: Likewise.
28290 * debug/catchsegv.sh: Likewise.
28291 * debug/pcprofiledump.c: Likewise.
28292 * debug/xtrace.sh: Likewise.
28293 * elf/ldconfig.c: Likewise.
28294 * elf/ldd.bash.in: Likewise.
28295 * elf/pldd.c: Likewise.
28296 * elf/sotruss.ksh: Likewise.
28297 * elf/sprof.c: Likewise.
28298 * iconv/iconv_prog.c: Likewise.
28299 * iconv/iconvconfig.c: Likewise.
28300 * locale/programs/locale.c: Likewise.
28301 * locale/programs/localedef.c: Likewise.
28302 * login/programs/pt_chown.c: Likewise.
28303 * malloc/memusage.sh: Likewise.
28304 * malloc/memusagestat.c: Likewise.
28305 * malloc/mtrace.pl: Likewise.
28306 * manual/libc.texinfo: Likewise.
28307 * nscd/nscd.c: Likewise.
28308 * nss/getent.c: Likewise.
28309 * nss/makedb.c: Likewise.
28310 * posix/getconf.c: Likewise.
28311 * scripts/test-installation.pl: Likewise.
28312
28313 * All files with FSF copyright notices: Update copyright dates
28314 using scripts/update-copyrights.
28315 * intl/plural.c: Regenerated.
28316 * locale/programs/charmap-kw.h: Likewise.
28317 * locale/programs/locfile-kw.h: Likewise.
28318
28319 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28320
28321 * sysdeps/unix/sysv/linux/configure: Regenerated.
28322 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28323 the linux/fanotify.h header.
28324 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28325 HAVE_LINUX_FANOTIFY_H is defined.
28326
28327 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28328
28329 * benchtests/cos-inputs: New inputs.
28330 * benchtests/sin-inputs: Likewise.
28331
28332 * benchtests/atan-inputs: New inputs. Fix name of multiple
28333 precision fallback inputs.
28334
28335 * benchtests/atanh-inputs: New inputs.
28336 * benchtests/tanh-inputs: Likewise.
28337
28338 * benchtests/acosh-inputs: New inputs.
28339 * benchtests/asinh-inputs: Likewise.
28340
28341 * benchtests/cosh-inputs: New inputs.
28342 * benchtests/sinh-inputs: Likewise.
28343
28344 * benchtests/acos-inputs: Add more inputs.
28345 * benchtests/asin-inputs: Likewise.
28346
28347 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28348
28349 [BZ #16375]
28350 * manual/arith.texi: Fix spelling.
28351 * manual/charset.texi: Likewise.
28352 * manual/errno.texi: Likewise.
28353 * manual/filesys.texi: Likewise.
28354 * manual/lang.texi: Likewise.
28355 * manual/llio.texi: Likewise.
28356 * manual/locale.texi: Likewise.
28357 * manual/message.texi: Likewise.
28358 * manual/resource.texi: Likewise.
28359 * manual/search.texi: Likewise.
28360 * manual/setjmp.texi: Likewise.
28361 * manual/stdio.texi: Likewise.
28362 * manual/string.texi: Likewise.
28363 * manual/sysinfo.texi: Likewise.
28364 * manual/time.texi: Likewise.
28365
28366 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28367
28368 * po/sl.po: New file.
28369
28370 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28371
28372 * .gitignore: Add core/.gdbinit/.gdb_history.
28373
28374 2013-12-27 Allan McRae <allan@archlinux.org>
28375
28376 [BZ #16369]
28377 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28378 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28379
28380 2013-12-24 Brooks Moses <bmoses@google.com>
28381
28382 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28383 all compilers that claim C++98 compliance, not just GCC.
28384 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28385 Likewise.
28386
28387 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28388
28389 * NEWS: Restore accidentally deleted bug-fix entries.
28390
28391 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28392 Ondřej Bílka <neleai@seznam.cz>
28393
28394 [BZ #15073]
28395 * malloc/malloc.c (_int_free): Perform sanity check only if we
28396 have_lock.
28397
28398 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28399
28400 [BZ #12986]
28401 * manual/stdio.texi (String Input Conversions): Clarify that character
28402 classes are not supported.
28403
28404 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28405
28406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28407
28408 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28409
28410 [BZ #16337]
28411 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28412 Calculate results for small negative arguments directly rather
28413 than using reflection formula with special underflow handling.
28414
28415 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28416 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28417 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28418 (fchflags): Likewise.
28419 (revoke): Likewise.
28420 (setlogin): Likewise.
28421 (sigaltstack): Likewise.
28422 (wait4): Likewise.
28423 (sigblock): Remove.
28424 (sigsetmask): Likewise.
28425 (wait3): Likewise.
28426 (waitpid): Likewise.
28427 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28428 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28429 file.
28430 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28431 * sysdeps/unix/bsd/Makefile: ... here.
28432 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28433 * sysdeps/unix/bsd/Versions: ... here.
28434 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28435 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28436 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28437 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28438 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28439 * sysdeps/unix/bsd/sigblock.c: ... here.
28440 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28441 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28442 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28443 * sysdeps/unix/bsd/sigvec.c: ... here.
28444 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28445 * sysdeps/unix/bsd/tcdrain.c: ... here.
28446 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28447 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28448 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28449 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28450 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28451 * sysdeps/unix/bsd/wait.c: ... here.
28452 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28453 * sysdeps/unix/bsd/wait3.c: ... here.
28454 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28455 * sysdeps/unix/bsd/waitpid.c: ... here.
28456
28457 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28458
28459 [BZ #16356]
28460 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28461 round-to-nearest for [!USE_AS_EXPM1L].
28462 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28463 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28464 more tests of exp and exp10. Expect some exp10 tests to miss
28465 exceptions or fail in directed rounding modes.
28466 * math/auto-libm-test-out: Regenerated.
28467 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28468 (exp10_test_tonearest): New function.
28469 (exp10_towardzero_test_data): New array.
28470 (exp10_test_towardzero): New function.
28471 (exp10_downward_test_data): New array.
28472 (exp10_test_downward): New function.
28473 (exp10_upward_test_data): New array.
28474 (exp10_test_upward): New function.
28475 (main): Call the new functions.
28476 * sysdeps/i386/fpu/libm-test-ulps: Update.
28477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28478
28479 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28480
28481 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28482 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28483 * math/auto-libm-test-out: Regenerated.
28484 * math/libm-test.inc (acosh_test_data): Add more tests.
28485 (atanh_test_data): Likewise.
28486 (ceil_test_data): Likewise.
28487 (copysign_test_data): Likewise.
28488 * sysdeps/i386/fpu/libm-test-ulps: Update.
28489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28490
28491 * timezone/checktab.awk: Update from tzcode 2013i.
28492 * timezone/private.h: Likewise.
28493 * timezone/scheck.c: Likewise.
28494 * timezone/tzfile.h: Likewise.
28495 * timezone/tzselect.ksh: Likewise.
28496 * timezone/zdump.c: Likewise.
28497 * timezone/zic.c: Likewise.
28498
28499 * math/auto-libm-test-in: Add tests of cpow.
28500 * math/auto-libm-test-out: Regenerated.
28501 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28502 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28503 mpc_cc_c.
28504 (func_calc_desc): Add mpc_cc_c union field.
28505 (test_functions): Add cpow.
28506 (special_fill_2pi): New function.
28507 (special_real_inputs): Add 2pi.
28508 (calc_generic_results): Handle mpc_cc_c.
28509 * sysdeps/i386/fpu/libm-test-ulps: Update.
28510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28511
28512 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28513 csqrt, ctan and ctanh.
28514 * math/auto-libm-test-out: Regenerated.
28515 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28516 (TEST_COND_x86): Likewise.
28517 (ccos_test_data): Use AUTO_TESTS_c_c.
28518 (ccosh_test_data): Likewise.
28519 (cexp_test_data): Likewise.
28520 (clog_test_data): Likewise.
28521 (csqrt_test_data): Likewise.
28522 (ctan_test_data): Likewise.
28523 (ctan_tonearest_test_data): Likewise.
28524 (ctan_towardzero_test_data): Likewise.
28525 (ctan_downward_test_data): Likewise.
28526 (ctan_upward_test_data): Likewise.
28527 (ctanh_test_data): Likewise.
28528 (ctanh_tonearest_test_data): Likewise.
28529 (ctanh_towardzero_test_data): Likewise.
28530 (ctanh_downward_test_data): Likewise.
28531 (ctanh_upward_test_data): Likewise.
28532 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28533 mpc_c_c.
28534 (func_calc_desc): Add mpc_c_c union field.
28535 (FUNC_mpc_c_c): New macro.
28536 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28537 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28538 ctanh.
28539 (special_fill_min_subnorm_p120): New function.
28540 (special_real_inputs): Add min_subnorm_p120.
28541 (calc_generic_results): Handle mpc_c_c.
28542 * sysdeps/i386/fpu/libm-test-ulps: Update.
28543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28544
28545 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28546
28547 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28548 (do_sin_slow): New functions.
28549 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28550 (cslow2, csloww1, csloww2): Use the new functions.
28551
28552 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28553 Use M to change sign of result instead of X. Assume X is
28554 positive.
28555 (csloww1): Likewise.
28556 (__sin): Adjust.
28557 (__cos): Adjust.
28558
28559 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28560 arguments A and DA.
28561 (__sin): Adjust.
28562 (__cos): Likewise.
28563
28564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28565 (__cos): Likewise.
28566 (sloww1): Don't adjust sign of DX.
28567 (csloww1): Likewise.
28568 (sloww2): Use X directly and don't adjust sign of DX.
28569 (csloww2): Likewise.
28570
28571 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28572
28573 * math/auto-libm-test-in: Add tests of cabs and carg.
28574 * math/auto-libm-test-out: Regenerated.
28575 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28576 (carg_test_data): Likewise.
28577 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28578 mpc_c_f.
28579 (func_calc_desc): Add mpc_c_f union field.
28580 (test_functions): Add cabs and carg.
28581 (calc_generic_results): Handle mpc_c_f.
28582
28583 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28584 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28585 as a macro and a compat symbol.
28586 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28587 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28588 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28589 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28590 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28591 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28592 not use .hidden.
28593 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28594 Likewise.
28595 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28596 Likewise.
28597 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28598 Likewise.
28599 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28600 Likewise.
28601 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28602 Likewise.
28603 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28604 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28605 from GLIBC_2.3.2.
28606
28607 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28608
28609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28610
28611 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28612
28613 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28614 trailing whitespace removed.
28615 * scripts/config.guess: Update to version 2013-11-29.
28616 * scripts/config.sub: Update to version 2013-10-01.
28617
28618 * math/auto-libm-test-in: Add tests of sincos.
28619 * math/auto-libm-test-out: Regenerated.
28620 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28621 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28622 mpfr_f_11.
28623 (func_calc_desc): Add mpfr_f_11 union field.
28624 (test_functions): Add sincos.
28625 (calc_generic_results): Handle mpfr_f_11.
28626 * sysdeps/i386/fpu/libm-test-ulps: Update.
28627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28628
28629 2013-12-19 Andreas Schwab <schwab@suse.de>
28630
28631 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28632 CALL_MCOUNT.
28633 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28634 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28635 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28636
28637 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28638
28639 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28640 * sysdeps/i386/fpu/libm-test-ulps: Update.
28641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28642
28643 [BZ #16293]
28644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28645 round-to-nearest mode when using frndint.
28646 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28647 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28648 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28649 Likewise.
28650 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28651 sinh test to fail.
28652 * math/auto-libm-test-out: Regenerated.
28653 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28654 (TEST_COND_x86): Likewise.
28655 (expm1_tonearest_test_data): New array.
28656 (expm1_test_tonearest): New function.
28657 (expm1_towardzero_test_data): New array.
28658 (expm1_test_towardzero): New function.
28659 (expm1_downward_test_data): New array.
28660 (expm1_test_downward): New function.
28661 (expm1_upward_test_data): New array.
28662 (expm1_test_upward): New function.
28663 (main): Run the new test functions.
28664 * sysdeps/i386/fpu/libm-test-ulps: Update.
28665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28666
28667 * include/features.h: Update comment documenting feature test
28668 macros. Mention _DEFAULT_SOURCE in comment.
28669 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28670 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28671 _BSD_SOURCE and _SVID_SOURCE.
28672 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28673 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28674 !_SVID_SOURCE]: Likewise.
28675 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28676 (__USE_POSIX_IMPLICITLY): Define.
28677 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28678 (_POSIX_SOURCE): Undefine and redefine.
28679 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28680 (_POSIX_C_SOURCE): Likewise.
28681 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28682 (Feature Test Macros): Update documentation of default features.
28683
28684 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28685
28686 * benchtests/Makefile: Add bench-strtok.
28687 * benchtests/bench-strtok.c: New file: strtok benchtest.
28688
28689 2013-12-19 Allan McRae <allan@archlinux.org>
28690
28691 * manual/install.texi: Suppress menu for plain text output.
28692 * INSTALL: Regenerated.
28693
28694 2013-12-18 Brooks Moses <bmoses@google.com>
28695
28696 [BZ #15846]
28697 * misc/getauxval.c: Include errno.h.
28698 (__getauxval): Set errno to ENOENT if the requested type is not
28699 found.
28700 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28701 don't declare with __attribute_const__.
28702 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28703 * manual/startup.texi: Document that getauxval sets errno.
28704
28705 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28706
28707 * math/auto-libm-test-in: Add tests of jn and yn.
28708 * math/auto-libm-test-out: Regenerated.
28709 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28710 (yn_test_data): Likewise.
28711 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28712 mpfr_if_f.
28713 (func_calc_desc): Add mpfr_if_f union field.
28714 (FUNC_mpfr_if_f): New macro.
28715 (test_functions): Add jn and yn.
28716 (calc_generic_results): Assert type of second input for
28717 mpfr_ff_f. Handle mpfr_if_f.
28718 (output_for_one_input_case): Disable all checking for arguments
28719 fitting floating-point types in case of an integer argument.
28720 * sysdeps/i386/fpu/libm-test-ulps: Update.
28721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28722
28723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28724 Don't expect fegetround reference in libm.so.
28725
28726 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28727
28728 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28729 $(config-cflags-nofma).
28730
28731 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28732
28733 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28734 * math/auto-libm-test-out: Regenerated.
28735
28736 [BZ #16338]
28737 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28738 to determine exponent and adjust argument to have exponent of -1.
28739 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28740 log2.
28741 * math/auto-libm-test-out: Regenerated.
28742 * sysdeps/i386/fpu/libm-test-ulps: Update.
28743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28744
28745 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28746
28747 * manual/probes.texi: Remove cases when per-thread arenas are
28748 disabled.
28749
28750 2013-12-18 Andreas Schwab <schwab@suse.de>
28751
28752 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28753 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28754 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28755 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28756 * sysdeps/i386/i686/multiarch/Makefile: Update.
28757 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28758
28759 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28760
28761 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28762 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28763
28764 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28765
28766 [BZ #15968]
28767 Support TZ transition times < 00:00:00.
28768 This is needed for version-3 tz-format files; it supports time
28769 stamps past 2037 for America/Godthab (the only entry in the tz
28770 database for which this change is relevant).
28771 * manual/time.texi (TZ Variable): Document transition times
28772 from -167:59:59 through -00:00:01.
28773 * time/tzset.c (tz_rule): Time of day is now signed.
28774 (__tzset_parse_tz): Parse negative time of day.
28775
28776 Document TZ transition times >= 25:00:00.
28777 * manual/time.texi (TZ Variable): Document transition times from
28778 25:00:00 through 167:59:59. These are already supported, and this
28779 support will help with version-3 tz-format files.
28780
28781 * manual/time.texi (TZ Variable): Modernize North America example
28782 to reflect current (i.e., 2007-and-later) daylight saving rules.
28783
28784 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28785
28786 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28787
28788 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28789 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28792 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28793 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28794 * sysdeps/unix/bsd/clock.c: Likewise.
28795 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28796 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28797 * sysdeps/unix/bsd/init-posix.c: Likewise.
28798 * sysdeps/unix/bsd/poll.c: Likewise.
28799 * sysdeps/unix/bsd/ptsname.c: Likewise.
28800 * sysdeps/unix/bsd/seekdir.c: Likewise.
28801 * sysdeps/unix/bsd/setegid.c: Likewise.
28802 * sysdeps/unix/bsd/seteuid.c: Likewise.
28803 * sysdeps/unix/bsd/setgid.c: Likewise.
28804 * sysdeps/unix/bsd/setrgid.c: Likewise.
28805 * sysdeps/unix/bsd/setruid.c: Likewise.
28806 * sysdeps/unix/bsd/setsid.c: Likewise.
28807 * sysdeps/unix/bsd/setuid.c: Likewise.
28808 * sysdeps/unix/bsd/sigaction.c: Likewise.
28809 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28810 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28811 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28812 * sysdeps/unix/bsd/telldir.c: Likewise.
28813 * sysdeps/unix/bsd/times.c: Likewise.
28814 * sysdeps/unix/bsd/usleep.c: Likewise.
28815
28816 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28817 ($(objpfx)libbsd-compat.a): Remove rule.
28818
28819 * include/features.h (__FAVOR_BSD): Do not define.
28820 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28821 features conflicting with POSIX.
28822 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28823 (_BSD_SOURCE): Remove description of not being a subset of other
28824 feature test macros.
28825 * manual/job.texi (getpgrp): Do not document BSD version.
28826 (getpgid): Do not document by reference to BSD getpgrp.
28827 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28828 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28829 * signal/signal.h [__FAVOR_BSD]: Likewise.
28830 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28831 instead of making contents conditional on [__FAVOR_BSD].
28832 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28833
28834 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28835
28836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28837
28838 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28839
28840 [BZ #16314]
28841 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28842 values below 2**-450, not 2**-500.
28843 * math/auto-libm-test-in: Don't allow spurious underflow from
28844 hypot.
28845 * math/auto-libm-test-out: Regenerated.
28846
28847 [BZ #16316]
28848 [BZ #16330]
28849 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28850 values of ha and hb and sort them after adjusting subnormal
28851 arguments.
28852 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28853 Likewise.
28854 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28855 values of ea and eb and sort them after adjusting subnormal
28856 arguments.
28857 * math/auto-libm-test-in: Do not expect some hypot tests of
28858 subnormals to fail. Add more hypot tests.
28859 * math/auto-libm-test-out: Regenerated.
28860
28861 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28862
28863 [BZ #13304]
28864 * sysdeps/sh/s_fma.c: New file.
28865 * sysdeps/sh/s_fmaf.c: New file.
28866 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28867 version.
28868 * sysdeps/sh/Implies: Add sh/soft-fp.
28869
28870 2013-12-16 Roland McGrath <roland@hack.frob.com>
28871
28872 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28873 level of indirection to members `objname', `errstring', `malloced'.
28874 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28875 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28876 it as the __longjmp argument (just pass 1 instead).
28877 (_dl_catch_error): Initialize C with argument pointers and address of
28878 volatile local ERRCODE rather than copying values out of C at return.
28879
28880 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28881
28882 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28883 * math/auto-libm-test-out: Regenerated.
28884 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28885 (hypot_test_data): Likewise.
28886 (pow_test_data): Likewise.
28887 (pow_tonearest_test_data): Likewise.
28888 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28889 mpfr_ff_f.
28890 (func_calc_desc): Add mpfr_ff_f union field.
28891 (FUNC_mpfr_ff_f): New macro.
28892 (test_functions): Add atan2, hypot and pow.
28893 (special_fill_min): New function.
28894 (special_fill_minus_min): Likewise.
28895 (special_fill_min_subnorm): Likewise.
28896 (special_fill_minus_min_subnorm): Likewise.
28897 (special_real_inputs): Add min, -min, min_subnorm and
28898 -min_subnorm.
28899 (calc_generic_results): Handle mpfr_ff_f.
28900 * sysdeps/i386/fpu/libm-test-ulps: Update.
28901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28902
28903 2013-12-16 Will Newton <will.newton@linaro.org>
28904
28905 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28906 (Aligned Memory Blocks): Add documentation for aligned_alloc
28907 and suggest it as an alternative to posix_memalign.
28908 (Hooks for Malloc): Document __memalign_hook is also called
28909 for aligned_alloc. (Summary of Malloc): Add summary for
28910 aligned alloc. Document __memalign_hook is also called
28911 for aligned_alloc.
28912
28913 2013-12-16 Will Newton <will.newton@linaro.org>
28914
28915 * manual/memory.texi (Malloc Examples): Clarify default
28916 alignment documentation. Suggest posix_memalign rather
28917 than memalign or valloc.
28918 (Aligned Memory Blocks): Remove suggestion to use memalign
28919 or valloc. Remove obsolete comment about BSD.
28920 Document memalign errno values and mark the function obsolete.
28921 Document posix_memalign returned error codes. Mark valloc
28922 as obsolete. (Hooks for Malloc): __memalign_hook is also
28923 called for posix_memalign and valloc.
28924 (Summary of Malloc): Add posix_memalign to function summary.
28925 __memalign_hook is also called for posix_memalign and valloc.
28926
28927 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28928
28929 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28930 TAYLOR_SIN.
28931 (__sin): Adjust.
28932 (__cos): Likewise.
28933 (sloww): Use mynumber union. Expand ternary operator into
28934 if-else statements.
28935 (cslow): use mynumber union.
28936
28937 2013-12-16 Allan McRae <allan@archlinux.org>
28938
28939 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28940 * configure: Regenerated.
28941
28942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28943
28944 [BZ #14120]
28945 * configure.ac: Added --enable-maintainer-mode. Check for
28946 autoconf when enabled.
28947 * configure: Regenerated.
28948
28949 * nscd/nscd.service: New file.
28950 * nscd/nscd.tmpfiles: New file.
28951
28952 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28953
28954 [BZ #12100]
28955 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28956 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28957 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28958 (strstr): Add __strstr_sse2_unaligned ifunc.
28959 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28960 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28961 (strcasestr): Remove __strcasestr_sse42 ifunc.
28962 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28965
28966 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28967
28968 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28969 * sysdeps/sh/bits/fenv.h: ... here.
28970 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28971
28972 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28973
28974 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28975
28976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28977 hypotf multiarch implementations.
28978 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28979 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28980 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28981 multiarch hypot for PPC64.
28982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28984 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28985 multiarch hypotf for PPC64.
28986
28987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28988 modff multiarch implementations.
28989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28992 multiarch modf for PPC64.
28993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28996 multiarch modff for PPC64.
28997
28998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28999 and logl multiarch implementations.
29000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29003 multiarch logb for PPC64.
29004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29007 multiarch logb for PPC64.
29008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29011 multiarch logb for PPC64.
29012
29013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29014 isinff multiarch implementation.
29015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29016 file.
29017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29019 multiarch isinf for PPC64.
29020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29021 file.
29022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29023 multiarch isinff for PPC64.
29024
29025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29026 finitef multiarch implementation.
29027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29028 file.
29029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29031 multiarch finite for PPC64.
29032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29033 file.
29034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29035 multiarch finitef for PPC64.
29036
29037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29038 lrint multiarch implementation.
29039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29040 file.
29041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29043 multiarch llrint for PPC64.
29044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29045 multiarch lrint for PPC64.
29046
29047 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29048 copysignf multiarch implementation.
29049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29050 file.
29051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29052 file.
29053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29054 multiarch copysign for PPC64.
29055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29056 multiarch copysignf for PPC64.
29057
29058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29059 multiarch implementation.
29060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29061 file.
29062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29063 file.
29064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29065 file.
29066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29067 file.
29068 multiarch llround for PPC64.
29069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29070 multiarch trunc for PPC64.
29071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29072 multiarch truncf for PPC64.
29073
29074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29075 multiarch implementation.
29076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29077 file.
29078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29079 file.
29080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29081 file.
29082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29083 file.
29084 multiarch llround for PPC64.
29085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29086 multiarch round for PPC64.
29087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29088 multiarch roundf for PPC64.
29089
29090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29091 multiarch implementation.
29092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29093 file.
29094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29095 file.
29096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29097 file.
29098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29099 file.
29100 multiarch llround for PPC64.
29101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29102 multiarch floor for PPC64.
29103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29104 multiarch floorf for PPC64.
29105
29106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29107 multiarch implementation.
29108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29109 file.
29110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29111 file.
29112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29113 file.
29114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29115 file.
29116 multiarch llround for PPC64.
29117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29118 multiarch ceil for PPC64.
29119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29120 multiarch ceilf for PPC64.
29121
29122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29123 multiarch implementation.
29124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29125 file.
29126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29127 file.
29128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29129 file.
29130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29131 multiarch llround for PPC64.
29132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29133 multiarch lround for PPC64.
29134
29135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29136 multiarch implementation.
29137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29140 file.
29141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29144 multiarch isnan for PPC64.
29145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29146 multiarch isnanf for PPC64.
29147
29148 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29149 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29150 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29151 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29152 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29154
29155 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29156 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29157 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29158 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29159
29160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29161 multiarch implementations.
29162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29163 (__libc_ifunc_impl_list): Likewise.
29164 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29165 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29166 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29167 multiarch stpcpy for PPC64.
29168
29169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29170 multiarch implementations.
29171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29172 (__libc_ifunc_impl_list): Likewise.
29173 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29174 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29175 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29176 multiarch strcpy for PPC64.
29177
29178 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29179 redefine function name.
29180 (_wordcopy_fwd_dest_aligned): Likewise.
29181 (_wordcopy_bwd_aligned): Likewise.
29182 (_wordcopy_bwd_dest_aligned): Likewise.
29183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29184 multiarch implementations.
29185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29186 (__libc_ifunc_impl_list): Likewise.
29187 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29188 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29189 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29190 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29191 multiarch wcscpy for PPC64.
29192
29193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29194 multiarch implementations.
29195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29196 (__libc_ifunc_impl_list): Likewise.
29197 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29198 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29199 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29200 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29201 multiarch wcscpy for PPC64.
29202
29203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29204 multiarch implementations.
29205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29206 (__libc_ifunc_impl_list): Likewise.
29207 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29208 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29209 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29210 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29211 multiarch wcsrchr for PPC64.
29212
29213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29214 multiarch implementations.
29215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29216 (__libc_ifunc_impl_list): Likewise.
29217 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29218 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29219 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29220 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29221 multiarch wcschr for PPC64.
29222
29223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29224 multiarch implementations.
29225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29226 (__libc_ifunc_impl_list): Likewise.
29227 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29228 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29229 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29230 multiarch strchrnul for PPC64.
29231
29232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29233 implementations.
29234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29235 (__libc_ifunc_impl_list): Likewise.
29236 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29237 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29238 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29239 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29240 strchr for PPC64.
29241
29242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29243 implementations.
29244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29245 (__libc_ifunc_impl_list): Likewise.
29246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29247 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29248 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29249 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29250 strncmp for PPC64.
29251
29252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29253 multiarch implementations.
29254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29255 (__libc_ifunc_impl_list): Likewise.
29256 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29257 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29258 strncasecmp for PPC64.
29259 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29260 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29261 multiarch strncasecmp_l for PPC64.
29262
29263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29264 multiarch implementations.
29265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29266 (__libc_ifunc_impl_list): Likewise.
29267 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29268 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29269 multiarch strcasecmp for PPC64.
29270 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29271 file.
29272 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29273 multiarch strcasecmp_l for PPC64.
29274
29275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29276 implementations.
29277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29278 (__libc_ifunc_impl_list): Likewise.
29279 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29280 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29281 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29282 strnlen for PPC64.
29283
29284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29285 implementations.
29286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29287 (__libc_ifunc_impl_list): Likewise.
29288 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29289 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29290 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29291 strlen for PPC64.
29292
29293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29294 implementations.
29295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29296 (__libc_ifunc_impl_list): Likewise.
29297 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29298 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29299 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29300 rawmemrchr for PPC64.
29301
29302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29303 implementation.
29304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29305 (__libc_ifunc_impl_list): Likewise.
29306 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29307 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29308 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29309 memrchr for PPC64.
29310
29311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29312 implementation.
29313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29314 (__libc_ifunc_impl_list): Likewise.
29315 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29316 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29317 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29318 memchr for PPC64.
29319
29320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29321 implementation.
29322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29323 (__libc_ifunc_impl_list): Likewise.
29324 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29325 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29326 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29327 mempcpy for PPC64.
29328
29329 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29330 avoid cretion of __bzero symbol.
29331 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29332 Likewise.
29333 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29334 Likewise.
29335 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29336 Likewise.
29337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29338 multiarch implementations.
29339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29340 (__libc_ifunc_impl_list): Likewise.
29341 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29342 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29343 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29344 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29345 bzero for PPC32.
29346 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29347 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29348 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29349 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29350 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29351 memset for PPC64.
29352 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29353
29354 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29356 implementations.
29357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29358 (__libc_ifunc_impl_list): Likewise.
29359 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29360 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29361 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29362 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29363 memcmp for PPC64.
29364
29365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29366 multiarch for POWER/PPC64.
29367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29368 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29369 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29370 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29371 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29372 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29373 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29374 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29375 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29376 memcpy for PPC64.
29377
29378 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29379 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29380 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29381 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29382 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29383 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29384 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29385 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29386 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29387 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29388 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29389 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29390 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29391 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29392 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29400
29401 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29402
29403 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29404
29405 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29406
29407 * benchtests/Makefile (bench): Add exp2 and log2.
29408 (LDLIBS-bench-exp2): Add -lm.
29409 (LDLIBS-bench-log2): Likewise.
29410 * benchtests/exp2-inputs: New inputs file.
29411 * benchtests/log2-inputs: New inputs file.
29412 * benchtests/log-inputs: Add new inputs.
29413 * benchtests/tan-inputs: Likewise.
29414
29415 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29416
29417 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29418 definition...
29419 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29420 (csloww2): ... from here.
29421
29422 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29423 instead of structures.
29424 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29425 (POLYNOMIAL): Likewise.
29426 (TAYLOR_SLOW): Likewise.
29427 (__sin): Likewise.
29428 (__cos): Likewise.
29429 (slow1): Likewise.
29430 (slow2): Likewise.
29431 (sloww): Likewise.
29432 (sloww1); Likewise.
29433 (sloww2): Likewise.
29434 (bsloww1): Likewise.
29435 (bsloww2): Likewise.
29436 (cslow2): Likewise.
29437 (csloww): Likewise.
29438 (csloww1): Likewise.
29439 (csloww2): Likewise.
29440
29441 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29442
29443 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29444 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29445 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29446 * malloc/hooks.c (realloc_check): Likewise.
29447
29448 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29449 * malloc/arena.c: Remove PER_THREAD conditional.
29450 [!PER_THREAD]: Remove code.
29451 (ptmalloc_unlock_all2): Likewise.
29452 (ptmalloc_init): Likewise.
29453 (_int_new_arena): Likewise.
29454 (arena_get2): Likewise.
29455 * malloc/hooks.c (__malloc_get_state): Likewise.
29456 (__malloc_set_state): Likewise.
29457 * malloc/malloc.c: Likewise.
29458 (struct malloc_state): Likewise.
29459 (struct malloc_par): Likewise.
29460 (__libc_realloc): Likewise.
29461 (__libc_mallopt): Likewise.
29462
29463 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29464
29465 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29466
29467 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29468
29469 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29470 macro to a function. Check for zero perturb_byte.
29471 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29472
29473 * malloc/malloc.c: (force_reg): Remove.
29474 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29475 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29476 force_reg by atomic_forced_read.
29477 * malloc/arena.c (ptmalloc_init): Likewise.
29478 * malloc/hooks.c (top_check): Likewise.
29479
29480 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29481
29482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29483
29484 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29485
29486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29487
29488 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29489
29490 * math/auto-libm-test-in: Add tests of lgamma.
29491 * math/auto-libm-test-out: Regenerated.
29492 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29493 (M_LOG_2_SQRT_PIl): Likewise.
29494 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29495 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29496 mpfr_f_f1.
29497 (func_calc_desc): Add mpfr_f_f1 union field.
29498 (ARGS1): New macro.
29499 (ARGS2): Likewise.
29500 (ARGS3): Likewise.
29501 (ARGS4): Likewise.
29502 (RET1): Likewise.
29503 (RET2): Likewise.
29504 (CALC): Likewise.
29505 (FUNC): Likewise.
29506 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29507 (test_functions): Add lgamma.
29508 (calc_generic_results): Handle mpfr_f_f1.
29509 * sysdeps/i386/fpu/libm-test-ulps: Update.
29510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29511
29512 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29513
29514 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29515 __mpn_add_n for PowerPC64/POWER7.
29516 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29517 __mpn_sub_n for PowerPC64/POWER7.
29518
29519 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29520 __mpn_addmul_1 for PowerPC64.
29521 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29522 __mpn_submul_1 for PowerPC64.
29523 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29524 for PowerPC64.
29525 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29526 for PowerPC64.
29527
29528 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29529
29530 [BZ #15089]
29531 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29532
29533 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29534
29535 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29536
29537 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29538 add multiarch folders.
29539 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29540 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29541 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29542 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29543 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29544 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29545 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29546 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29547 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29548 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29549 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29556
29557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29558 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29560 New file.
29561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29562 New file.
29563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29564 multiarch __ieee754_hypot for PowerPC32.
29565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29566 New file.
29567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29568 New file.
29569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29570 multiarch __ieee754_hypotf for PowerPC32.
29571
29572 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29573 long_double_symbol only if __logbl is defined.
29574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29575 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29577 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29579 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29580 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29581 path for implementation.
29582 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29583 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29585 logb, and logbl multiarch implementations for PowerPC32.
29586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29587 file.
29588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29589 file.
29590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29591 multiarch logb for PowerPC32.
29592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29593 file.
29594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29595 file.
29596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29597 multiarch logbf for PowerPC32.
29598 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29600 file.
29601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29602 multiarch logbl implementation for PowerPC32.
29603
29604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29605 and modff multiarch implementations.
29606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29607 New file.
29608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29609 New file.
29610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29611 multiarch modf for PowerPC32.
29612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29613 New file.
29614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29615 New file.
29616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29617 multiarch modff for PowerPC32.
29618
29619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29620 and lrintf multiarch implementations.
29621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29622 New file.
29623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29624 New file.
29625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29626 multiarch lrint for PowerPC32.
29627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29628 file: multiarch lrintf for PowerPC32.
29629
29630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29631 and lroundf multiarch implementations.
29632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29633 New file.
29634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29635 New file.
29636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29637 New file.
29638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29639 multiarch lround for PowerPC32.
29640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29641 file: multiarch lroundf for PowerPC32.
29642
29643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29644 copysign and copysignf multiarch implementations.
29645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29646 New file.
29647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29648 New file.
29649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29650 file: multiarch copysign for PowerPC32.
29651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29652 file: multiarch copysignf for PowerPC32.
29653
29654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29655 and truncf multiarch implementations.
29656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29657 New file.
29658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29659 file.
29660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29661 multiarch trunc for PowerPC32.
29662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29663 New file.
29664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29665 New file.
29666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29667 multiarch truncf for PowerPC32.
29668
29669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29670 and roundf multiarch implementations.
29671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29672 New file.
29673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29674 file.
29675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29676 multiarch round for PowerPC32.
29677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29678 New file.
29679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29680 New file.
29681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29682 multiarch roundf for PowerPC32.
29683
29684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29685 and floorf multiarch implementations.
29686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29687 New file.
29688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29689 file.
29690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29691 multiarch floor for PowerPC32.
29692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29693 New file.
29694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29695 New file.
29696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29697 multiarch floorf for PowerPC32.
29698
29699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29700 and ceilf multiarch implementations.
29701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29702 New file.
29703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29704 file.
29705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29706 multiarch ceil for PowerPC32.
29707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29708 New file.
29709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29710 file.
29711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29712 multiarch ceilf for PowerPC32.
29713
29714 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29715 is defined.
29716 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29717 FINITEF is defined.
29718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29719 and finitef multiarch implementations.
29720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29721 New file.
29722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29723 file.
29724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29725 multiarch finite for PowerPC32.
29726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29727 New file.
29728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29729 file: multiarch finitef for PowerPC32.
29730
29731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29732 and isinff multiarch implementations.
29733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29734 file.
29735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29736 file.
29737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29738 multiarch isinf for PowerPC32.
29739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29740 New file.
29741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29742 multiarch isinff for PowerPC32.
29743
29744 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29745 alias when __isnan is defined.
29746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29747 and isnanf multiarch implementations.
29748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29749 file.
29750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29751 file.
29752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29753 file.
29754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29755 file.
29756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29757 multiarch isnan for PowerPC32.
29758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29759 New file.
29760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29761 New file.
29762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29763 multiarch isnanf for PowerPC32.
29764
29765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29766 and sqrtf multiarch implementations.
29767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29768 file.
29769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29770 file.
29771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29772 multiarch sqrt for PowerPC32.
29773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29774 file.
29775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29776 file.
29777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29778 multiarch sqrtf for PowerPC32.
29779
29780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29781 and llroundf multiarch implementations.
29782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29783 New file.
29784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29785 New file.
29786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29787 New file.
29788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29789 file: multiarch llround for PowerPC32.
29790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29791 file: multiarch llroundf for PowerPC32.
29792
29793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29794 multiarch PowerPC32 fpu implementations.
29795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29796 New file.
29797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29798 New file.
29799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29800 multiarch llrint for PowerPC32.
29801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29802 New file.
29803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29804 New file.
29805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29806 file.
29807
29808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29809
29810 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29811 file.
29812 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29813 file.
29814 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29815 file.
29816 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29817 multiarch wordcopy for PPC32.
29818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29819 wordcopy objects.
29820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29821 (__libc_ifunc_impl_list): Likewise.
29822 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29823 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29824 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29825 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29826 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29827 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29828
29829 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29831 file.
29832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29833 file.
29834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29835 file.
29836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29837 multiarch wcscpy for PPC32.
29838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29839 multiarch objects.
29840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29841 (__libc_ifunc_impl_list): Likewise.
29842 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29843 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29844 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29845 sysdeps/powerpc/power6/wcscpy.c.
29846
29847 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29849 file.
29850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29851 file.
29852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29853 file.
29854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29855 multiarch wcsrchr for PPC32.
29856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29857 multiarch objects.
29858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29859 (__libc_ifunc_impl_list): Likewise.
29860 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29861 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29862 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29863 sysdeps/powerpc/power6/wcsrchr.c.
29864
29865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29866 file.
29867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29868 file.
29869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29870 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29871 multiarch wcschr for PPc32.
29872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29873 multiarch objects.
29874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29875 (__libc_ifunc_impl_list): Likewise.
29876 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29877 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29878 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29879 sysdeps/powerpc/power6/wcschr.c.
29880
29881 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29882 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29883 file.
29884 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29885 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29886 file: multiarch strchr for PPC32.
29887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29888 multiarch objects.
29889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29890 (__libc_ifunc_impl_list): Likewise.
29891
29892 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29893 name.
29894 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29895 file.
29896 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29897 file.
29898 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29899 multiarch strchrnul for PPC32.
29900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29901 multiarch objects.
29902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29903 (__libc_ifunc_impl_list): Likewise.
29904
29905 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29906 file.
29907 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29908 multiarch strncasecmp for PPC32.
29909 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29910 file.
29911 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29912 multiarch strncasecmp_l for PPC32.
29913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29914 strncasecmp multiarch objects.
29915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29916 (__libc_ifunc_impl_list): Likewise.
29917
29918 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29919 file.
29920 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29921 multiarch strncasecmp for PPC32.
29922 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29923 New file.
29924 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29925 multiarch strcasecmp_l for PPC32.
29926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29927 multiarch objects.
29928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29929 (__libc_ifunc_impl_list): Likewise.
29930
29931 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29932 file.
29933 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29934 file.
29935 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29936 multiarch strncmp for PPC32.
29937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29938 multiarch objects.
29939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29940 (__libc_ifunc_impl_list): Likewise.
29941
29942 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29943 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29944 file.
29945 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29946 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29948 multiarch objects.
29949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29950 (__libc_ifunc_impl_list): Likewise.
29951
29952 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29953 file.
29954 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29955 file.
29956 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29958 multiarch objects.
29959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29960 (__libc_ifunc_impl_list): Likewise.
29961
29962 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29963 file.
29964 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29965 file.
29966 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29967 multiarch rawmemchr for PPC32.
29968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29969 multiarch objects.
29970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29971 (__libc_ifunc_impl_list): Likewise.
29972
29973 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29974 file.
29975 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29976 file.
29977 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29978 file: memrchr multiarch for PPC32.
29979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29980 multiarch objects.
29981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29982 (__libc_ifunc_impl_list): Likewise.
29983
29984 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29985 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29986 file.
29987 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29988 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29989 multiarch memchr for PPC32.
29990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29991 multiarch objects.
29992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29993 (__libc_ifunc_impl_list): Likewise.
29994
29995 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29996 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29997 file.
29998 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29999 file.
30000 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30001 file: multiarch mempcpy for PPC32.
30002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30003 multiarch objects.
30004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30005 (__libc_ifunc_impl_list): Likewise.
30006
30007 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30009 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30010 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30011 multiarch bzero for PPC32.
30012 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30013 file.
30014 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30015 file.
30016 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30017 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30018 file: multiarch memset for PPC32.
30019 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30021 memset multiarch objects.
30022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30023 (__libc_ifunc_impl_list): Likewise.
30024
30025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30026 file.
30027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30029 memcmp for PPC32.
30030 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30032 multiarch objects.
30033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30034 (__libc_ifunc_impl_list): Likewise.
30035
30036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30037 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30038 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30039 file.
30040 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30041 file.
30042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30043 file.
30044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30045 multiarch memcpy for PPC32.
30046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30047 multiarch objects.
30048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30049 (__libc_ifunc_impl_list): Likewise.
30050
30051 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30052 support multiarch for POWER/PPC32.
30053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30054 Likewise.
30055 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30057 Implies file to make multiarch folder appers before the fpu and
30058 default folder for power4 configuration.
30059
30060 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30061
30062 * scripts/bench.pl: Append volatile keyword to type.
30063
30064 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30065
30066 * sysdeps/sh/sotruss-lib.c: New file.
30067 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30068
30069 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30070
30071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30072
30073 2013-12-05 Joseph Myers <joseph@codesourcery.com>
30074
30075 [BZ #6810]
30076 * math/w_tgamma.c: Include <errno.h>.
30077 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
30078 * math/w_tgammaf.c: Include <errno.h>.
30079 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
30080 * math/w_tgammal.c: Include <errno.h>.
30081 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
30082 * math/auto-libm-test-in: Do not allow missing errno on tgamma
30083 underflow. Add more tgamma tests.
30084 * math/auto-libm-test-out: Regenerated.
30085 * sysdeps/i386/fpu/libm-test-ulps: Update.
30086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30087
30088 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30089 sin, sinh, tan, tanh, tgamma, y0 and y1.
30090 * math/auto-libm-test-out: Regenerated.
30091 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30092 (TEST_COND_x86): Likewise.
30093 (M_E2l): Remove macro.
30094 (M_E3l): Likewise.
30095 (M_2_SQRT_PIl): Likewise.
30096 (M_SQRT_PIl): Likewise.
30097 (M_1_DIV_El): Likewise.
30098 (log_test_data): Use AUTO_TESTS_f_f.
30099 (log10_test_data): Likewise.
30100 (log1p_test_data): Likewise.
30101 (log2_test_data): Likewise.
30102 (sin_test_data): Likewise.
30103 (sin_tonearest_test_data): Likewise.
30104 (sin_towardzero_test_data): Likewise.
30105 (sin_downward_test_data): Likewise.
30106 (sin_upward_test_data): Likewise.
30107 (sinh_test_data): Likewise.
30108 (sinh_tonearest_test_data): Likewise.
30109 (sinh_towardzero_test_data): Likewise.
30110 (sinh_downward_test_data): Likewise.
30111 (sinh_upward_test_data): Likewise.
30112 (tan_test_data): Likewise.
30113 (tan_tonearest_test_data): Likewise.
30114 (tan_towardzero_test_data): Likewise.
30115 (tan_downward_test_data): Likewise.
30116 (tan_upward_test_data): Likewise.
30117 (tanh_test_data): Likewise.
30118 (tgamma_test_data): Likewise.
30119 (y0_test_data): Likewise.
30120 (y1_test_data): Likewise.
30121 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30122 (special_real_inputs): Add pi/4.
30123 * sysdeps/i386/fpu/libm-test-ulps: Update.
30124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30125
30126 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30127
30128 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30129 "longjmp_target" static probes.
30130 (__longjmp): Rename to __longjmp_symbol.
30131 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30132 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30133 on which longjmp to generate.
30134 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30135 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30136 probe.
30137 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30138 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30139 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30140 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30141 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30142 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30144 __longjmp_symbol based on which __longjmp to generate.
30145 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30146 probe.
30147 (setjmp): Rename to setjmp_symbol.
30148 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30149 (_setjmp): Rename to _setjmp_symbol.
30150 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30151 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30152 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30153 which setjmp to generate.
30154 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30155 "longjmp_target" static probes.
30156
30157 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30158
30159 * benchtests/README: Add note about output arguments.
30160 * benchtests/bench-sincos.c: Remove file.
30161 * benchtests/sincos-inputs: New file.
30162 * scripts/bench.pl: Identify output arguments and define
30163 static variables for them.
30164
30165 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30166
30167 [BZ #15941]
30168 * Makefile (INSTALL): Add install-plain.texi as the primary
30169 dependency.
30170 * manual/install-plain.texi: New file.
30171 * manual/install.texi: Include node directive only for
30172 non-plaintext output.
30173
30174 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30175
30176 * stdlib/longlong.h: Update from GCC.
30177
30178 [BZ #6807]
30179 [BZ #15901]
30180 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30181 * math/w_j0f.c (y0f): Likewise.
30182 * math/w_j0l.c (__y0l): Likewise.
30183 * math/w_j1.c (y1): Likewise.
30184 * math/w_j1f.c (y1f): Likewise.
30185 * math/w_j1l.c (__y1l): Likewise
30186 * math/w_jn.c (yn): Likewise.
30187 * math/w_jnf.c (ynf): Likewise.
30188 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30189 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30190 value for Bessel function domain errors outside _SVID_ mode.
30191 Adjust sign of return value for yn (negative integer, 0).
30192 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30193 by zero in return for negative x and set sign appropriately for
30194 negative n.
30195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30196 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30197 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30198 expectations in error cases.
30199 (y1_test_data): Likewise.
30200 (yn_test_data): Likewise.
30201 * sysdeps/i386/fpu/libm-test-ulps: Update.
30202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30203
30204 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30205
30206 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30207 "64" to "64-v1". Add "64-v2".
30208 (abi-64-options): Rename to ...
30209 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30210 (abi-64-condition): Rename to ...
30211 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30212 (abi-64-ld-soname): Rename to ...
30213 (abi-64-v1-ld-soname): ... this.
30214 (abi-64-v2-options): Define.
30215 (abi-64-v2-condition): Likewise.
30216 (abi-64-v2-ld-soname): Likewise.
30217 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30218 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30222
30223 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30224 Alan Modra <amodra@gmail.com>
30225
30226 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30227 New versions for use with the ELFv2 ABI.
30228 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30229 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30230 declaration.
30231 (struct La_ppc64v2_retval): Likewise.
30232 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30233 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30234 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30235 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30236 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30237 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30238 Do not save or restore CR.
30239 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30240 (_dl_profile_resolve): Do no save or restore CR. Support extended
30241 return values for ELFv2 ABI. Fix location of FPR return registers.
30242 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30243 updated values for _CALL_ELF == 2.
30244 (La_regs, La_retval, int_retval): Likewise.
30245
30246 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30247
30248 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30249 (FRAME_MIN_SIZE_PARM): Likewise.
30250 (FRAME_BACKCHAIN): Likewise.
30251 (FRAME_CR_SAVE): Likewise.
30252 (FRAME_LR_SAVE): Likewise.
30253 (FRAME_TOC_SAVE): Likewise.
30254 (FRAME_PARM_SAVE): Likewise.
30255 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30256 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30257 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30258 (call_mcount_parm_offset): New macro.
30259 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30260 (PROF): Use symbolic stack frame offsets.
30261 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30262 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30263 Redefine in terms of FRAME_MIN_SIZE.
30264 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30265 (_dl_profile_resolve): Likewise. Update comment.
30266 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30267 symbols stack frame offsets.
30268 (__sigsetjmp): Likewise.
30269 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30270 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30271 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30272 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30273
30274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30275 (FRAME_BACKCHAIN): Remove.
30276 (FRAME_CR_SAVE): Likewise.
30277 (FRAME_LR_SAVE): Likewise.
30278 (FRAME_COMPILER_DW): Likewise.
30279 (FRAME_LINKER_DW): Likewise.
30280 (FRAME_TOC_SAVE): Likewise.
30281 (FRAME_PARM_SAVE): Likewise.
30282 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30283 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30284 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30286 (CHECK_SP): Use symbolic stack frame offsets.
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30288 zone" instead of caller's parameter save area for temp storage.
30289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30290 Likewise. Also, use symbolic stack frame offsets.
30291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30292 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30293 our own stack frame instead of the caller's.
30294 (__socket): Use symbolic stack frame offsets.
30295
30296 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30297 Alan Modra <amodra@gmail.com>
30298
30299 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30300 Define.
30301 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30302 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30303 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30304 New function.
30305 (elf_machine_fixup_plt): Call it.
30306 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30307 reloc arguments.
30308 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30309 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30310 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30311 r2 before calling target.
30312
30313 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30314 Alan Modra <amodra@gmail.com>
30315
30316 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30317 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30318 versions of macros to support ELFv2 ABI.
30319 (LOCALENTRY): New macro.
30320 (ENTRY, EALIGN): Use it.
30321 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30322 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30323 fall through into ENTRY entry point.
30324 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30325 Only define if _CALL_ELF != 2.
30326
30327 (elf_machine_matches_host): Verify ABI version matches.
30328 (RTLD_START): Use LOCALENTRY.
30329 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30330 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30331 (PLT_ENTRY_WORDS): New macro.
30332 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30333 (elf_machine_runtime_setup): Support ELFv2 ABI.
30334 (elf_machine_fixup_plt): Likewise.
30335 (elf_machine_plt_conflict): Likewise.
30336 (resolve_ifunc): Likewise.
30337 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30339 Likewise.
30340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30341 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30343 (makecontext): Support ELFv2 ABI.
30344 * elf/elf.h (EF_PPC64_ABI): Define.
30345
30346 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30347
30348 * sysdeps/powerpc/powerpc64/sysdep.h
30349 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30350 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30351 (ENTRY) [ASSEMBLER]: ... but instead here ...
30352 (EALIGN) [ASSEMBLER]: ... and here.
30353 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30354 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30355 (ENTRY_2) [!ASSEMBLER]: Use it.
30356 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30357 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30358 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30359 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30360 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30362 Use PPC64_LOAD_FUNCPTR.
30363
30364 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30365
30366 2013-12-04 Alan Modra <amodra@gmail.com>
30367
30368 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30369 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30370 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30371 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30372
30373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30374 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30375 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30376 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30377 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30378 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30379
30380 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30381
30382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30383 (__makecontext): Fix incorrect CFI when backtracing out of
30384 context created via makecontext.
30385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30386 (__setcontext): Fix incorrect CFI during switch to new context.
30387 (__novec_setcontext): Likewise.
30388
30389 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30390
30391 [BZ #4772]
30392 * time/strptime_l.c (__strptime_internal): Allow modifiers
30393 in strptime.
30394 * time/tst-strptime.c (day_tests): Add testcase.
30395
30396 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30397
30398 * scripts/bench.pl: Skip over blank lines.
30399
30400 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30401
30402 [BZ #926]
30403 * manual/time.texi (Calendar Time): Clarify what timezone functions
30404 use.
30405
30406 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30407
30408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30409
30410 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30411
30412 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30413 implementation.
30414 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30415 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30416 * debug/memset_chk.c (__memset_chk): Likewise.
30417 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30418 * debug/strncpy_chk.c: Likewise.
30419
30420 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30421
30422 [BZ #15268]
30423 [BZ #15425]
30424 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30425 (__ieee754_exp): For possibly underflowing results, check size of
30426 result and force underflow exception if required.
30427 * math/auto-libm-test-in: Add more tests of exp.
30428 * math/auto-libm-test-out: Regenerated.
30429 * sysdeps/i386/fpu/libm-test-ulps: Update.
30430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30431
30432 [BZ #16283]
30433 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30434 * math/w_exp2f.c (__exp2f): Likewise.
30435 * math/w_exp2l.c (__exp2l): Likewise.
30436 * math/auto-libm-test-in: Do not allow missing errno on exp2
30437 underflow.
30438 * math/auto-libm-test-out: Regenerated.
30439
30440 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30441
30442 [BZ #16274]
30443 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30444 handle filename validation.
30445 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30446 (do_open): Delete.
30447
30448 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30449
30450 [BZ #6786]
30451 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30452 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30453 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30454 <float.h>.
30455 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30457 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30458 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30459 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30460 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30461 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30462 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30463 Add more erfc tests.
30464 * math/auto-libm-test-out: Regenerated.
30465 * sysdeps/i386/fpu/libm-test-ulps: Update.
30466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30467
30468 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30469 exp2, expm1, j0 and j1.
30470 * math/auto-libm-test-out: Regenerated.
30471 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30472 (erfc_test_data): Likewise.
30473 (exp_test_data): Likewise.
30474 (exp_tonearest_test_data): Likewise.
30475 (exp_towardzero_test_data): Likewise.
30476 (exp_downward_test_data): Likewise.
30477 (exp_upward_test_data): Likewise.
30478 (exp10_test_data): Likewise.
30479 (exp2_test_data): Likewise.
30480 (expm1_test_data): Likewise.
30481 (j0_test_data): Likewise.
30482 (j1_test_data): Likewise.
30483 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30484 (input_flag_type): Add flag_xfail_rounding.
30485 (input_flags): Add xfail-rounding.
30486 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30487 (output_for_one_input_case): Handle flag_xfail_rounding.
30488 * sysdeps/i386/fpu/libm-test-ulps: Update.
30489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30490
30491 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30492
30493 [BZ #16289]
30494 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30495 division by 0.
30496
30497 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30498
30499 [BZ #16195]
30500 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30501 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30502 (STAP_PROBE0): New macro.
30503 (STAP_PROBE1): Likewise.
30504 (STAP_PROBE2): Likewise.
30505 (STAP_PROBE3): Likewise.
30506 (STAP_PROBE4): Likewise.
30507
30508 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30509
30510 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30511
30512 2013-12-02 Steve Ellcey <sellcey@mips.com>
30513
30514 * benchtests/Makefile (bench): Add sqrt.
30515 (LDLIBS-bench-sqrt): New.
30516 * benchtests/sqrt-input: New.
30517
30518 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30519
30520 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30521 (GAIH_EAI): Likewise.
30522 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30523 (gaih_inet): Likewise.
30524 (getaddrinfo): Don't use GAIH_EAI.
30525
30526 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30527 (struct gaih): Remove definition.
30528
30529 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30530
30531 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30532 Use HERRNOP directly.
30533
30534 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30535
30536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30537
30538 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30539
30540 * math/gen-auto-libm-tests.c (test_functions): Add more
30541 single-argument functions.
30542 (special_fill_pi_2): New function.
30543 (special_fill_minus_pi_2): Likewise.
30544 (special_fill_pi_6): Likewise.
30545 (special_fill_minus_pi_6): Likewise.
30546 (special_fill_pi_3): Likewise.
30547 (special_fill_2pi_3): Likewise.
30548 (special_fill_e): Likewise.
30549 (special_fill_1_e): Likewise.
30550 (special_fill_e_minus_1): Likewise.
30551 (special_real_inputs): Add more special inputs.
30552 (output_for_one_input_case): Do not require ERANGE on underflow to
30553 zero if round-to-nearest result does not underflow to zero, unless
30554 exact results required.
30555 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30556 atan, atanh, cbrt, cos and cosh.
30557 * math/auto-libm-test-out: Regenerated.
30558 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30559 (acos_tonearest_test_data): Likewise.
30560 (acos_towardzero_test_data): Likewise.
30561 (acos_downward_test_data): Likewise.
30562 (acos_upward_test_data): Likewise.
30563 (acosh_test_data): Likewise.
30564 (asin_test_data): Likewise.
30565 (asin_tonearest_test_data): Likewise.
30566 (asin_towardzero_test_data): Likewise.
30567 (asin_upward_test_data): Likewise.
30568 (asinh_test_data): Likewise.
30569 (atan_test_data): Likewise.
30570 (atanh_test_data): Likewise.
30571 (cbrt_test_data): Likewise.
30572 (cos_test_data): Likewise.
30573 (cos_tonearest_test_data): Likewise.
30574 (cos_towardzero_test_data): Likewise.
30575 (cos_downward_test_data): Likewise.
30576 (cos_upward_test_data): Likewise.
30577 (cosh_test_data): Likewise.
30578 (cosh_tonearest_test_data): Likewise.
30579 (cosh_towardzero_test_data): Likewise.
30580 (cosh_downward_test_data): Likewise.
30581 (cosh_upward_test_data): Likewise.
30582 * sysdeps/i386/fpu/libm-test-ulps: Update.
30583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30584
30585 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30586
30587 [BZ #6787]
30588 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30589 * math/w_exp10f.c (__exp10f): Likewise.
30590 * math/w_exp10l.c (__exp10l): Likewise.
30591 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30592 errno settings in existing tests.
30593
30594 [BZ #14032]
30595 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30596 precision control set to double precision.
30597 * sysdeps/i386/fpu/w_sqrt.c: New file.
30598 * math/auto-libm-test-in: Add more tests.
30599 * math/auto-libm-test-out: Update.
30600
30601 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30602 (sqrt_test_tonearest): New function.
30603 (sqrt_towardzero_test_data): New variable.
30604 (sqrt_test_towardzero): New function.
30605 (sqrt_downward_test_data): New variable.
30606 (sqrt_test_downward): New function.
30607 (sqrt_upward_test_data): New variable.
30608 (sqrt_test_upward): New function.
30609 (main): Call the new functions.
30610
30611 * math/gen-auto-libm-tests.c: New file.
30612 * math/auto-libm-test-in: Likewise.
30613 * math/auto-libm-test-out: New generated file.
30614 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30615 variables.
30616 (%beautify): Add generated representations of zero.
30617 (top level): Set $auto_input and call parse_auto_input.
30618 (beautify): Remove trailing "f" from hex float constants.
30619 (parse_args): Handle XFAIL_TEST.
30620 (convert_condition): New function.
30621 (or_value): Likewise.
30622 (or_cond_value): Likewise.
30623 (generate_testfile): Handle AUTO_TESTS_* lines.
30624 (parse_auto_input): New function.
30625 * math/libm-test.inc (XFAIL_TEST): New macro.
30626 (ERRNO_UNCHANGED): Update value.
30627 (ERRNO_EDOM): Likewise.
30628 (ERRNO_ERANGE): Likewise.
30629 (IGNORE_RESULT): Likewise.
30630 (TEST_COND_flt_32): New macro.
30631 (TEST_COND_dbl_64): Likewise.
30632 (TEST_COND_ldbl_96_intel): Likewise.
30633 (TEST_COND_ldbl_96_m68k): Likewise.
30634 (TEST_COND_ldbl_128): Likewise.
30635 (TEST_COND_ldbl_128ibm): Likewise.
30636 (TEST_COND_long32): Likewise.
30637 (TEST_COND_long64): Likewise.
30638 (TEST_COND_before_rounding): Likewise.
30639 (TEST_COND_after_rounding): Likewise.
30640 (enable_test): Handle XFAIL_TEST flag.
30641 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30642 with finite results.
30643 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30644 auto-libm-test-out.
30645
30646 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30647 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30648
30649 [BZ #16214]
30650 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30651 __tls_get_addr_internal instead of __tls_get_offset in order to
30652 avoid GOT pointer dependency. Make rtld export
30653 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30654 __tls_get_addr since we are a __tls_get_offset platform.
30655 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30656 GOT pointer being set up before.
30657 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30658
30659 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30660
30661 * manual/math.texi (Errors in Math Functions): Document accuracy
30662 goals.
30663
30664 [BZ #15004]
30665 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30666 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30669 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30671 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30672 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30681
30682 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30683 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30684 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30685 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30686 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30687 Likewise.
30688 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30689 Likewise.
30690 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30691 Likewise.
30692 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30693 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30694 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30695 atomic-feupdateenv and flt-rounds.
30696 * sysdeps/powerpc/nofpu/Versions (libc): Add
30697 __atomic_feholdexcept, __atomic_feclearexcept,
30698 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30699 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30700 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30701 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30702 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30703 here.
30704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30705 Update.
30706
30707 * manual/arith.texi (FP Exceptions): Document that exceptions may
30708 not be raised when matherr is used.
30709 (Math Error Reporting): Document overflow in directed rounding
30710 modes. Document that errno may not be set when finite values are
30711 returned on overflow. Document intent to set errno on underflow
30712 only for underflow to zero.
30713
30714 [BZ #16271]
30715 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30716 round-to-nearest then adjust result for other rounding modes.
30717 * include/fenv.h (fegetround): Use libm_hidden_proto.
30718 * math/fegetround.c (fegetround): Use libm_hidden_def.
30719 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30720 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30721 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30722 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30723 Likewise.
30724 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30725 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30726 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30727 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30728
30729 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30730
30731 [BZ #16077]
30732 * nss/Versions (libnss_files): Add
30733 _nss_files_gethostbyname3_r.
30734 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30735 New function.
30736 (HOST_DB_LOOKUP): Remove macro.
30737 (_nss_files_gethostbyname_r): Implement function without the
30738 HOST_DB_LOOKUP macro.
30739 (_nss_files_gethostbyname2_r): Likewise.
30740
30741 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30742
30743 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30744
30745 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30746
30747 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30748 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30749 warning.
30750
30751 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30752
30753 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30754 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30755 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30756 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30757 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30758 __fe_nomask_env_priv and attribute_hidden.
30759 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30760 (libc_feupdateenv_test_ppc): Likewise.
30761 (libc_feresetround_ppc): Likewise.
30762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30763 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30764 compat_symbol macro.
30765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30766 (__fe_nomask_env): Likewise.
30767 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30768
30769 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30770
30771 * string/Makefile: Remove ifunc tests.
30772 * string/test-string.h: Define TEST_IFUNC.
30773 * string/test-bcopy-ifunc.c: Remove.
30774 * string/test-bzero-ifunc.c: Likewise.
30775 * string/test-memccpy-ifunc.c: Likewise.
30776 * string/test-memchr-ifunc.c: Likewise.
30777 * string/test-memcmp-ifunc.c: Likewise.
30778 * string/test-memcpy-ifunc.c: Likewise.
30779 * string/test-memmem-ifunc.c: Likewise.
30780 * string/test-memmove-ifunc.c: Likewise.
30781 * string/test-mempcpy-ifunc.c: Likewise.
30782 * string/test-memrchr-ifunc.c: Likewise.
30783 * string/test-memset-ifunc.c: Likewise.
30784 * string/test-rawmemchr-ifunc.c: Likewise.
30785 * string/test-stpcpy-ifunc.c: Likewise.
30786 * string/test-stpncpy-ifunc.c: Likewise.
30787 * string/test-strcasecmp-ifunc.c: Likewise.
30788 * string/test-strcasestr-ifunc.c: Likewise.
30789 * string/test-strcat-ifunc.c: Likewise.
30790 * string/test-strchr-ifunc.c: Likewise.
30791 * string/test-strchrnul-ifunc.c: Likewise.
30792 * string/test-strcmp-ifunc.c: Likewise.
30793 * string/test-strcpy-ifunc.c: Likewise.
30794 * string/test-strcspn-ifunc.c: Likewise.
30795 * string/test-strlen-ifunc.c: Likewise.
30796 * string/test-strncasecmp-ifunc.c: Likewise.
30797 * string/test-strncat-ifunc.c: Likewise.
30798 * string/test-strncmp-ifunc.c: Likewise.
30799 * string/test-strncpy-ifunc.c: Likewise.
30800 * string/test-strnlen-ifunc.c: Likewise.
30801 * string/test-strpbrk-ifunc.c: Likewise.
30802 * string/test-strrchr-ifunc.c: Likewise.
30803 * string/test-strspn-ifunc.c: Likewise.
30804 * string/test-strstr-ifunc.c: Likewise.
30805
30806 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30807
30808 * benchtests/Makefile: Remove ifunc tests.
30809 * benchtests/bench-string.h: Define TEST_IFUNC.
30810 * benchtests/bench-bcopy-ifunc.c: Remove.
30811 * benchtests/bench-bzero-ifunc.c: Likewise.
30812 * benchtests/bench-memccpy-ifunc.c: Likewise.
30813 * benchtests/bench-memchr-ifunc.c: Likewise.
30814 * benchtests/bench-memcmp-ifunc.c: Likewise.
30815 * benchtests/bench-memcpy-ifunc.c: Likewise.
30816 * benchtests/bench-memmem-ifunc.c: Likewise.
30817 * benchtests/bench-memmove-ifunc.c: Likewise.
30818 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30819 * benchtests/bench-memrchr-ifunc.c: Likewise.
30820 * benchtests/bench-memset-ifunc.c: Likewise.
30821 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30822 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30823 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30824 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30825 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30826 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30827 * benchtests/bench-strcat-ifunc.c: Likewise.
30828 * benchtests/bench-strchr-ifunc.c: Likewise.
30829 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30830 * benchtests/bench-strcmp-ifunc.c: Likewise.
30831 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30832 * benchtests/bench-strcpy-ifunc.c: Likewise.
30833 * benchtests/bench-strcspn-ifunc.c: Likewise.
30834 * benchtests/bench-strlen-ifunc.c: Likewise.
30835 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30836 * benchtests/bench-strncat-ifunc.c: Likewise.
30837 * benchtests/bench-strncmp-ifunc.c: Likewise.
30838 * benchtests/bench-strncpy-ifunc.c: Likewise.
30839 * benchtests/bench-strnlen-ifunc.c: Likewise.
30840 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30841 * benchtests/bench-strrchr-ifunc.c: Likewise.
30842 * benchtests/bench-strsep-ifunc.c: Likewise.
30843 * benchtests/bench-strspn-ifunc.c: Likewise.
30844 * benchtests/bench-strstr-ifunc.c: Likewise.
30845
30846 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30847
30848 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30849
30850 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30851
30852 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30853 * rt/aio.h: Likewise.
30854 * sysdeps/gnu/bits/utmp.h: Likewise.
30855 * sysdeps/gnu/bits/utmpx.h: Likewise.
30856 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30857 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30858 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30859 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30860 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30861 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30862 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30863 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30864 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30865 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30866 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30867 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30868 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30870 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30871 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30872 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30873 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30874 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30875 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30876 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30877 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30878 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30879 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30880 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30881 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30882 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30883 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30884 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30885 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30886 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30887 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30888 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30889 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30890 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30891 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30892 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30893 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30894 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30895 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30896 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30897 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30898
30899 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30900
30901 [BZ #16245]
30902 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30903 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30904
30905 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30906
30907 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30908 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30909 Likewise.
30910
30911 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30912
30913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30914 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30915 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30916 (__fesetround): Remove define.
30917 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30918 rounding and exceptions handling.
30919 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30920 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30921 (__fe_nomask_env): Likewise.
30922 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30923 __fegetround instead of fegetround.
30924 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30925 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30926
30927 2013-11-21 Roland McGrath <roland@hack.frob.com>
30928
30929 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30930 it's there.
30931
30932 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30933
30934 2013-11-21 Meador Inge <meadori@codesourcery.com>
30935
30936 [BZ #11157]
30937 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30938 (encrypt_r): Likewise.
30939 * malloc/obstack.h (obstack_free): Likewise.
30940 * posix/unistd.h (encrypt): Likewise.
30941
30942 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30943
30944 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30945 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30946 DL_CALL_DT_FINI() that call the functions directly.
30947 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30948 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30949 * elf/dl-fini.c: Likewise.
30950
30951 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30952
30953 * malloc/hooks.c (memalign_check): Add alignment rounding.
30954 * malloc/malloc.c (_mid_memalign): New function.
30955 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30956 Implement by calling _mid_memalign.
30957 * manual/probes.texi (Memory Allocation Probes): Remove
30958 memory_valloc_retry and memory_pvalloc_retry.
30959
30960 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30961
30962 * locale/programs/locarchive.c (open_archive): Add const
30963 qualifier to ARCHIVEFNAME and copy default fname to
30964 DEFAULT_FNAME.
30965
30966 [BZ #15601]
30967 * libio/tst-widetext.input: Rename Oriya to Odia.
30968 * locale/iso-639.def: Likewise.
30969
30970 * manual/probes.texi (Mathematical Function Probes): Add
30971 documentation for sin, cos, asin and acos probes.
30972 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30973 (__sin32): Add slowasin probe.
30974 (__cos32): Add slowacos probe.
30975 (__mpsin): Add slowsin probe.
30976 (__mpcos): Add slowcos probe.
30977
30978 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30979
30980 [BZ #15483]
30981 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30982 thread-local __sim_exceptions_thread and global
30983 __sim_exceptions_global.
30984 (__sim_disabled_exceptions): Change to thread-local
30985 __sim_disabled_exceptions_thread and global
30986 __sim_disabled_exceptions_global.
30987 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30988 and global __sim_round_mode_global.
30989 (__simulate_exceptions): Use thread-local floating-point state and
30990 set global state from it as needed.
30991 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30992 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30993 __sim_round_mode_thread.
30994 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30995 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30996 and global __sim_exceptions_global.
30997 (__sim_disabled_exceptions): Change to thread-local
30998 __sim_disabled_exceptions_thread and global
30999 __sim_disabled_exceptions_global.
31000 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31001 and global __sim_round_mode_global.
31002 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31003 (SIM_SET_GLOBAL): Likewise.
31004 * sysdeps/powerpc/soft-fp/sfp-machine.h
31005 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31006 __sim_round_mode_thread.
31007 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31008 __sim_disabled_exceptions_thread.
31009 (__sim_exceptions): Change to __sim_exceptions_thread.
31010 (__sim_disabled_exceptions): Change to
31011 __sim_disabled_exceptions_thread.
31012 (__sim_round_mode): Change to __sim_round_mode_thread.
31013 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31014 thread-local floating-point state and set global state from it as
31015 needed.
31016 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31017 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31018 (__sim_disabled_exceptions): Remove extern declaration.
31019 (feenableexcept): Use thread-local floating-point state and set
31020 global state from it as needed.
31021 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31022 extern declaration.
31023 (__sim_disabled_exceptions): Likewise.
31024 (__sim_round_mode): Likewise.
31025 (__fegetenv): Use thread-local floating-point state.
31026 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31027 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31028 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31029 floating-point state and set global state from it as needed.
31030 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31031 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31032 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31033 Likewise.
31034 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31035 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31036 Likewise.
31037 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31038 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31039 Use __sim_round_mode_thread.
31040 * math/test-fenv-tls.c: New file.
31041 * math/Makefile (tests): Add test-fenv-tls.
31042 ($(objpfx)test-fenv-tls): Depend on
31043 $(common-objpfx)nptl/libpthread.so.
31044
31045 2013-11-19 Andreas Schwab <schwab@suse.de>
31046
31047 * locale/programs/locale.c (show_info): Decode wordarray elements.
31048 * locale/categories.def (LC_MONETARY): Add element for
31049 _NL_MONETARY_CRNCYSTR.
31050 * locale/C-monetary.c (conversion_rate): New variable.
31051 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31052 element.
31053
31054 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
31055
31056 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31057 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31058
31059 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31060
31061 * elf/Makefile (tst-auxv): New test.
31062 * elf/tst-auxv.c: New
31063 * elf/rtld.c (dl_main): Adjust AT_EXECFN
31064
31065 2013-11-18 Joseph Myers <joseph@codesourcery.com>
31066
31067 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31068 (hidden_proto): Caller changed.
31069 (hidden_tls_proto): New macro.
31070 (libc_hidden_tls_proto): Likewise.
31071 (rtld_hidden_tls_proto): Likewise.
31072 (libm_hidden_tls_proto): Likewise.
31073 (libresolv_hidden_tls_proto): Likewise.
31074 (librt_hidden_tls_proto): Likewise.
31075 (libdl_hidden_tls_proto): Likewise.
31076 (libnss_files_hidden_tls_proto): Likewise.
31077 (libnsl_hidden_tls_proto): Likewise.
31078 (libnss_nisplus_hidden_tls_proto): Likewise.
31079 (libutil_hidden_tls_proto): Likewise.
31080
31081 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
31082
31083 [BZ #10253]
31084 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31085 (decompose_rpath): Defer expansion to fillin_rpath.
31086 (_dl_init_paths): Pass linkmap to fillin_rpath.
31087
31088 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31089
31090 * benchtests/Makefile: Add strsep.
31091 * benchtests/bench-strsep.c: New file: strsep benchtest.
31092 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31093
31094 2013-11-18 Andreas Schwab <schwab@suse.de>
31095
31096 * locale/programs/locale.c (show_info) [case byte]: Check for
31097 '\377' instead of '\177'.
31098 * locale/C-monetary.c (not_available): Always use "\377".
31099 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31100 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
31101 detect unavailable sign_posn locale elements.
31102 * locale/localeconv.c (__localeconv): For grouping and
31103 mon_grouping handle "\177" and "\377" like no grouping.
31104 (INT_ELEM): New macro. Use it to set all numeric members.
31105 * locale/programs/ld-monetary.c (monetary_read)
31106 <tok_mon_grouping>: Normalize single -1 to the empty string.
31107 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31108 Likewise.
31109
31110 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31111
31112 [BZ #16055]
31113 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31114 when we match (nil).
31115 * stdio-common/tst-sscanf.c (struct test): Add testcase.
31116
31117 2013-11-16 Joseph Myers <joseph@codesourcery.com>
31118
31119 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31120 (NO_TEST_INLINE): Update value.
31121 (ERRNO_UNCHANGED): Likewise.
31122 (ERRNO_EDOM): Likewise.
31123 (ERRNO_ERANGE): Likewise.
31124 (IGNORE_RESULT): Likewise.
31125 (check_float_internal): Check signs of NaN results if
31126 TEST_NAN_SIGN used.
31127 (check_complex): Pass TEST_NAN_SIGN flag through to second
31128 check_float_internal call.
31129 (copysign_test_data): Add tests with quiet NaNs as second
31130 argument. Use TEST_NAN_SIGN.
31131 (fabs_test_data): Add test of negative quiet NaN argument. Use
31132 TEST_NAN_SIGN.
31133 (signbit_test_data): Add tests of quiet NaN argument.
31134 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31135
31136 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31137 $ignore_result.
31138 (parse_args): Handle function results specified as IGNORE.
31139 * math/libm-test.inc (IGNORE_RESULT): New macro.
31140 (check_float_internal): Do not check numerical result if flag
31141 IGNORE_RESULT set.
31142 (check_complex): Pass through IGNORE_RESULT to second
31143 check_float_internal call.
31144 (check_int): Do not check numerical result if flag IGNORE_RESULT
31145 set.
31146 (check_long): Likewise.
31147 (check_bool): Likewise.
31148 (check_longlong): Likewise.
31149 (lrint_test_data): Add tests of infinite and NaN arguments.
31150 (lrint_tonearest_test_data): Likewise.
31151 (lrint_towardzero_test_data): Likewise.
31152 (lrint_downward_test_data): Likewise.
31153 (lrint_upward_test_data): Likewise.
31154 (llrint_test_data): Likewise.
31155 (llrint_tonearest_test_data): Likewise.
31156 (llrint_towardzero_test_data): Likewise.
31157 (llrint_downward_test_data): Likewise.
31158 (llrint_upward_test_data): Likewise.
31159 (lround_test_data): Likewise.
31160 (llround_test_data): Likewise.
31161
31162 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31163 (ERRNO_UNCHANGED): Update value.
31164 (ERRNO_EDOM): Likewise.
31165 (ERRNO_ERANGE): Likewise.
31166 (NO_TEST_INLINE_FLOAT): New macro.
31167 (NO_TEST_INLINE_DOUBLE): Likewise.
31168 (enable_test): New function.
31169 (RUN_TEST_f_f): Check enable_test before running test.
31170 (RUN_TEST_2_f): Likewise.
31171 (RUN_TEST_fff_f): Likewise.
31172 (RUN_TEST_c_f): Likewise.
31173 (RUN_TEST_f_f1): Likewise.
31174 (RUN_TEST_fF_f1): Likewise.
31175 (RUN_TEST_fI_f1): Likewise.
31176 (RUN_TEST_ffI_f1): Likewise.
31177 (RUN_TEST_c_c): Likewise.
31178 (RUN_TEST_cc_c): Likewise.
31179 (RUN_TEST_f_i): Likewise.
31180 (RUN_TEST_f_i_tg): Likewise.
31181 (RUN_TEST_ff_i_tg): Likewise.
31182 (RUN_TEST_f_b): Likewise.
31183 (RUN_TEST_f_b_tg): Likewise.
31184 (RUN_TEST_f_l): Likewise.
31185 (RUN_TEST_f_L): Likewise.
31186 (RUN_TEST_fFF_11): Likewise.
31187 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31188 conditionals.
31189 (cosh_test_data): Likewise.
31190 (exp_test_data): Likewise.
31191 (expm1_test_data): Likewise.
31192 (hypot_test_data): Likewise.
31193 (pow_test_data): Likewise.
31194 (sinh_test_data): Likewise.
31195 (tanh_test_data): Likewise.
31196 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31197 flags argument.
31198
31199 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31200 tests with quiet NaN input and output.
31201 (acosh_test_data): Likewise.
31202 (asin_test_data): Likewise.
31203 (asinh_test_data): Likewise.
31204 (atan_test_data): Likewise.
31205 (atanh_test_data): Likewise.
31206 (atan2_test_data): Likewise.
31207 (cbrt_test_data): Likewise.
31208 (cos_test_data): Likewise.
31209 (cosh_test_data): Likewise.
31210 (erf_test_data): Likewise.
31211 (erfc_test_data): Likewise.
31212 (exp_test_data): Likewise.
31213 (exp10_test_data): Likewise.
31214 (exp2_test_data): Likewise.
31215 (expm1_test_data): Likewise.
31216 (hypot_test_data): Likewise.
31217 (j0_test_data): Likewise.
31218 (j1_test_data): Likewise.
31219 (jn_test_data): Likewise.
31220 (lgamma_test_data): Likewise.
31221 (log_test_data): Likewise.
31222 (log10_test_data): Likewise.
31223 (log1p_test_data): Likewise.
31224 (log2_test_data): Likewise.
31225 (pow_test_data): Likewise.
31226 (scalb_test_data): Likewise.
31227 (sin_test_data): Likewise.
31228 (sincos_test_data): Likewise.
31229 (sinh_test_data): Likewise.
31230 (tan_test_data): Likewise.
31231 (tanh_test_data): Likewise.
31232 (tgamma_test_data): Likewise.
31233 (y0_test_data): Likewise.
31234 (y1_test_data): Likewise.
31235 (yn_test_data): Likewise.
31236
31237 [BZ #16167]
31238 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31239 argument being NaN and avoid computations with second argument in
31240 that case.
31241 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31242 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31243 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31244
31245 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
31246
31247 * locale/iso-639.def: Add Chitwani Tharu (the).
31248
31249 2013-11-14 Andreas Schwab <schwab@suse.de>
31250
31251 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31252 word instead of empty string.
31253
31254 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31255
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31257 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31259 (__fe_nomask_env): Likewise.
31260
31261 2013-11-13 Steve Ellcey <sellcey@mips.com>
31262
31263 * benchtests/bench-timing.h: Include time.h.
31264
31265 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31266
31267 [BZ #15997]
31268 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31269 to 3.4.0 for x32.
31270 * sysdeps/unix/sysv/linux/configure: Regenerated.
31271
31272 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31273
31274 [BZ #16151]
31275 * stdlib/strtod_l.c (round_and_return): Do not consider
31276 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31277 exponent one less than half the least subnormal exponent.
31278 * stdlib/test-strtod-round-data: Add more tests.
31279 * stdlib/tst-strtod-round.c (tests): Regenerated.
31280
31281 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31282
31283 [BZ #14143]
31284 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31285 (__fe_mask_env): Likewise.
31286 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31287 libm_hidden_proto and add function prototype.
31288 (__fe_mask_env): Add function prototype.
31289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31290 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31292 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31294 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31295
31296 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31297
31298 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31299 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31300
31301 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31302
31303 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31304 of htab_find_slot().
31305
31306 2013-11-11 David S. Miller <davem@davemloft.net>
31307
31308 [BZ #16150]
31309 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31310 symbol in the non-vis3 case in static builds.
31311 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31312 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31313 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31314 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31315
31316 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31317
31318 [BZ #387]
31319 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31320 it is empty.
31321
31322 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31323
31324 * benchtests/Makefile: Add bench-strtod.
31325 * benchtests/bench-strtod.c: New file: strtod benchtest
31326
31327 2013-11-11 Andreas Schwab <schwab@suse.de>
31328
31329 [BZ #16153]
31330 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31331 terminating NUL in key length.
31332
31333 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31334
31335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31336 Add artificial ODP entry for vDSO symbol for PPC64.
31337 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31338 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31339
31340 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31341
31342 [BZ #15374]
31343 * nss/getent.c (services_keys): Recognize services starting with digit.
31344
31345 2013-11-06 David S. Miller <davem@davemloft.net>
31346
31347 [BZ #15985]
31348 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31349 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31350
31351 2013-11-06 Will Newton <will.newton@linaro.org>
31352
31353 * manual/memory.texi (Malloc Examples): Remove register
31354 keyword from examples.
31355
31356 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31357
31358 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31359
31360 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31361
31362 [BZ #6981]
31363 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31364 depending on [__GCC_IEC_559 > 0].
31365 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31366 depending on [__GCC_IEC_559_COMPLEX > 0].
31367
31368 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31369
31370 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31371 to iso-639.def.
31372
31373 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31374
31375 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31376
31377 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31378
31379 [BZ #16112]
31380 * malloc/malloc (malloc_info): Do not handle first bin as
31381 special case.
31382
31383 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31384
31385 * locale/iso-639.def: Add Central Nahuatl (nhn).
31386
31387 2013-11-01 Bruno Haible <bruno@clisp.org>
31388
31389 [BZ #7003]
31390 * manual/math.texi (BSD Random): Specify range upper bound as
31391 in POSIX.
31392
31393 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31394
31395 * locale/iso-639.def: Add Meadow Mari (mhr).
31396
31397 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31398
31399 [BZ #14752], [BZ #15763]
31400 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31401 Validate name.
31402 * rt/tst_shm.c: Add test for escaping directory.
31403
31404 2013-10-31 Andreas Schwab <schwab@suse.de>
31405
31406 [BZ #15917]
31407 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31408 followed by 'x' as part of digit sequence.
31409 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31410
31411 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31412
31413 [BZ #16037]
31414 * configure.ac: allow GNU Make 4.0 and greater.
31415 * configure: Regenerated.
31416
31417 2013-10-30 Will Newton <will.newton@linaro.org>
31418
31419 [BZ #16038]
31420 * malloc/hooks.c (memalign_check): Limit alignment to the
31421 maximum representable power of two.
31422 * malloc/malloc.c (__libc_memalign): Likewise.
31423 * malloc/tst-memalign.c (do_test): Add test for very
31424 large alignment values.
31425 * malloc/tst-posix_memalign.c (do_test): Likewise.
31426
31427 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31428
31429 [BZ #11087]
31430 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31431 (munmap_chunk): Likewise.
31432 (mremap_chunk): Likewise.
31433
31434 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31435
31436 [BZ #15799]
31437 * stdlib/div.c (div): Remove obsolete code.
31438 * stdlib/ldiv.c (ldiv): Likewise.
31439 * stdlib/lldiv.c (lldiv): Likewise.
31440
31441 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31442
31443 [BZ #16071]
31444 * nss/nss_files/files-XXX.c (get_contents_ret): New
31445 enumerator.
31446 (get_contents): New function.
31447 (internal_getent): Use it. Expand size of LINEBUFLEN.
31448
31449 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31450
31451 * configure.in: Moved to ...
31452 * configure.ac: ... here. Change reference to configure.in
31453 to configure.ac.
31454 * sysdeps/arm/preconfigure.ac: ... here.
31455 configure.in to configure.ac.
31456 * sysdeps/gnu/configure.in: Moved to ...
31457 * sysdeps/gnu/configure.ac: ... here.
31458 * sysdeps/i386/configure.in: Moved to ...
31459 * sysdeps/i386/configure.ac: ... here.
31460 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31461 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31462 * sysdeps/mach/configure.in: Moved to ...
31463 * sysdeps/mach/configure.ac: ... here.
31464 * sysdeps/mach/hurd/configure.in: Moved to ...
31465 * sysdeps/mach/hurd/configure.ac: ... here.
31466 * sysdeps/powerpc/configure.in: Moved to ...
31467 * sysdeps/powerpc/configure.ac: ... here.
31468 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31469 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31470 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31471 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31472 * sysdeps/s390/s390-32/configure.in: Moved to ...
31473 * sysdeps/s390/s390-32/configure.ac: ... here.
31474 * sysdeps/s390/s390-64/configure.in: Moved to ...
31475 * sysdeps/s390/s390-64/configure.ac: ... here.
31476 * sysdeps/sh/configure.in: Moved to ...
31477 * sysdeps/sh/configure.ac: ... here.
31478 * sysdeps/sparc/configure.in: Moved to ...
31479 * sysdeps/sparc/configure.ac: ... here.
31480 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31481 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31482 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31483 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31484 * sysdeps/x86_64/configure.in: Moved to ...
31485 * sysdeps/x86_64/configure.ac: ... here.
31486 * sysdeps/x86_64/preconfigure.in: Moved to ...
31487 * sysdeps/x86_64/preconfigure.ac: ... here.
31488 * aclocal.m4: Change reference to configure.in to configure.ac.
31489 * config.h.in: Likewise.
31490 * manual/install.texi: Likewise.
31491 * manual/maint.texi: Likewise.
31492 * Makefile: Likewise.
31493 * malloc/Makefile: Likewise.
31494 * nscd/Makefile: Likewise.
31495 * Makeconfig: Change reference to configure.in and
31496 preconfigure.in to configure.ac and preconfigure.ac
31497 respectively.
31498 * INSTALL: Regenerated.
31499 * configure: Likewise.
31500 * sysdeps/gnu/configure: Likewise.
31501 * sysdeps/i386/configure: Likewise.
31502 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31503 * sysdeps/mach/configure: Likewise.
31504 * sysdeps/mach/hurd/configure: Likewise.
31505 * sysdeps/powerpc/configure: Likewise.
31506 * sysdeps/powerpc/powerpc32/configure: Likewise.
31507 * sysdeps/powerpc/powerpc64/configure: Likewise.
31508 * sysdeps/s390/s390-32/configure: Likewise.
31509 * sysdeps/s390/s390-64/configure: Likewise.
31510 * sysdeps/sh/configure: Likewise.
31511 * sysdeps/sparc/configure: Likewise.
31512 * sysdeps/unix/sysv/linux/configure: Likewise.
31513 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31514 * sysdeps/x86_64/configure: Likewise.
31515 * sysdeps/x86_64/preconfigure: Likewise.
31516
31517 2013-10-29 Andreas Schwab <schwab@suse.de>
31518
31519 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31520
31521 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31522
31523 * benchtests/pow-inputs: Add new inputs.
31524
31525 * benchtests/exp-inputs: Add new inputs.
31526
31527 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31528 conditional check for return value.
31529 (__cos32): Likewise.
31530
31531 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31532
31533 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31534 to provide a boost for large inputs with word alignment.
31535 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31536 implementation based on optimized PPC64 strcpy.
31537 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31538 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31539 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31540 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31541
31542 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31543
31544 [BZ #2801]
31545 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31546
31547 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31548
31549 [BZ #14876]
31550 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31551 * time/tst-strptime.c (day_tests): Add testcase.
31552
31553 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31554
31555 [BZ #14029]
31556 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31557
31558 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31559
31560 [BZ #16074]
31561 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31562 MAP_FAILED on error.
31563
31564 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31565
31566 [BZ #16072]
31567 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31568 heap for large requests.
31569
31570 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31571
31572 [BZ #9954]
31573 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31574 result if the result has no associated interface.
31575 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31576 interface for all 127.X.Y.Z addresses.
31577
31578 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31579
31580 * locale/iso-639.def: Add Ligurian (lij)
31581
31582 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31583
31584 [BZ #15825]
31585 * sunrpc/rpc_main.c: Document rpcgen -5.
31586
31587 2013-10-19 Michael Stahl <mstahl@redhat.com>
31588
31589 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31590
31591 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31592
31593 [BZ #10278]
31594 * posix/glob.c: Match only directories when trailing slash is present.
31595 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31596 (main): Add testcase.
31597
31598 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31599
31600 [BZ #15670]
31601 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31602
31603 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31604
31605 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31606 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31607 AUTH_DES and cindex for FIPS 140-2.
31608 (DES Encryption): Add cindex FIPS 46-3.
31609
31610 * locale/locarchive.h (struct locarhandle): Add fname.
31611 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31612 if an optional argument was specified to --list-archive,
31613 otherwise NULL.
31614 * locale/programs/locarchive.c (show_archive_content): Take new
31615 argument fname and pass it via ah.fname to open_archive.
31616 * locale/programs/localedef.h: Update decl.
31617 (open_archive): If AH->fname is non-null, open that file
31618 rather than the default file name, and don't ignore ENOENT.
31619 (create_archive): Set AH.fname to NULL.
31620 (delete_locales_from_archive): Likewise.
31621 (add_locales_to_archive): Likewise.
31622 * locale/programs/locfile.c (write_all_categories): Likewise.
31623
31624 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31625 Aldy Hernandez <aldyh@redhat.com>
31626
31627 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31628 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31629 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31630 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31631 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31632 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31633 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31634 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31635 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31636 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31637 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31638 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31639 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31640 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31641 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31642 Likewise.
31643 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31644 Likewise.
31645 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31646 Likewise.
31647 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31648 Likewise.
31649 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31650 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31651 Likewise.
31652 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31653 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31654 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31655 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31656 Likewise.
31657 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31658 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31659 * sysdeps/powerpc/preconfigure: Likewise.
31660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31661 Likewise.
31662 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31663 Replace contents of file by #include of <fenv_libc.h>.
31664 * sysdeps/powerpc/soft-fp/sfp-machine.h
31665 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31666 and <sys/prctl.h>.
31667 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31670 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31671 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31677 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31678 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31680 Allow copysignl PLT reference to be missing.
31681
31682 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31683 Joseph Myers <joseph@codesourcery.com
31684
31685 [BZ #15948]
31686 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31687 single character.
31688 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31689
31690 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31691
31692 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31693 * elf/tst-tls1.c: Likewise.
31694 * elf/tst-tls10.h: Likewise.
31695 * elf/tst-tls14.c: Likewise.
31696 * elf/tst-tls2.c: Likewise.
31697 * elf/tst-tls3.c: Likewise.
31698 * elf/tst-tls4.c: Likewise.
31699 * elf/tst-tls5.c: Likewise.
31700 * elf/tst-tls6.c: Likewise.
31701 * elf/tst-tls7.c: Likewise.
31702 * elf/tst-tls8.c: Likewise.
31703 * elf/tst-tls9.c: Likewise.
31704 * elf/tst-tlsmod1.c: Likewise.
31705 * elf/tst-tlsmod13.c: Likewise.
31706 * elf/tst-tlsmod13a.c: Likewise.
31707 * elf/tst-tlsmod14a.c: Likewise.
31708 * elf/tst-tlsmod16a.c: Likewise.
31709 * elf/tst-tlsmod16b.c: Likewise.
31710 * elf/tst-tlsmod2.c: Likewise.
31711 * elf/tst-tlsmod3.c: Likewise.
31712 * elf/tst-tlsmod4.c: Likewise.
31713 * elf/tst-tlsmod5.c: Likewise.
31714 * elf/tst-tlsmod6.c: Likewise.
31715
31716 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31717
31718 [BZ #12486]
31719 * malloc/malloc.c: remove checks for statistics.
31720
31721 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31722
31723 [BZ #15277]
31724 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31725 * inet/tst-network.c: Add testcase.
31726
31727 2013-10-17 Andreas Schwab <schwab@suse.de>
31728
31729 [BZ #15218]
31730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31731 to determine canonical name.
31732
31733 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31734
31735 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31736 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31737 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31738 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31740 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31741 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31742 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31743 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31744 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31745 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31746 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31747 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31748 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31749 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31750 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31752 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31753 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31754 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31755 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31756 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31757 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31758 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31759 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31760 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31761 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31762 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31763 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31764 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31765 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31766 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31767 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31768 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31769 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31770 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31771 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31772 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31774 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31775 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31776 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31777 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31778 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31779 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31781 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31782 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31783 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31784 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31785 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31786 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31787 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31788 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31789 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31790 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31791 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31792 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31793
31794 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31795
31796 [BZ #16041]
31797 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31798 make result into a quiet NaN.
31799
31800 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31801
31802 * soft-fp/adddf3.c: Fix horizontal whitespace.
31803 * soft-fp/addsf3.c: Likewise.
31804 * soft-fp/addtf3.c: Likewise.
31805 * soft-fp/divdf3.c: Likewise.
31806 * soft-fp/divsf3.c: Likewise.
31807 * soft-fp/divtf3.c: Likewise.
31808 * soft-fp/double.h: Likewise.
31809 * soft-fp/eqdf2.c: Likewise.
31810 * soft-fp/eqsf2.c: Likewise.
31811 * soft-fp/eqtf2.c: Likewise.
31812 * soft-fp/extenddftf2.c: Likewise.
31813 * soft-fp/extended.h: Likewise.
31814 * soft-fp/extendsfdf2.c: Likewise.
31815 * soft-fp/extendsftf2.c: Likewise.
31816 * soft-fp/extendxftf2.c: Likewise.
31817 * soft-fp/fixdfdi.c: Likewise.
31818 * soft-fp/fixdfsi.c: Likewise.
31819 * soft-fp/fixdfti.c: Likewise.
31820 * soft-fp/fixsfdi.c: Likewise.
31821 * soft-fp/fixsfsi.c: Likewise.
31822 * soft-fp/fixsfti.c: Likewise.
31823 * soft-fp/fixtfdi.c: Likewise.
31824 * soft-fp/fixtfsi.c: Likewise.
31825 * soft-fp/fixtfti.c: Likewise.
31826 * soft-fp/fixunsdfdi.c: Likewise.
31827 * soft-fp/fixunsdfsi.c: Likewise.
31828 * soft-fp/fixunsdfti.c: Likewise.
31829 * soft-fp/fixunssfdi.c: Likewise.
31830 * soft-fp/fixunssfsi.c: Likewise.
31831 * soft-fp/fixunssfti.c: Likewise.
31832 * soft-fp/fixunstfdi.c: Likewise.
31833 * soft-fp/fixunstfsi.c: Likewise.
31834 * soft-fp/fixunstfti.c: Likewise.
31835 * soft-fp/floatdidf.c: Likewise.
31836 * soft-fp/floatdisf.c: Likewise.
31837 * soft-fp/floatditf.c: Likewise.
31838 * soft-fp/floatsidf.c: Likewise.
31839 * soft-fp/floatsisf.c: Likewise.
31840 * soft-fp/floatsitf.c: Likewise.
31841 * soft-fp/floattidf.c: Likewise.
31842 * soft-fp/floattisf.c: Likewise.
31843 * soft-fp/floattitf.c: Likewise.
31844 * soft-fp/floatundidf.c: Likewise.
31845 * soft-fp/floatundisf.c: Likewise.
31846 * soft-fp/floatunditf.c: Likewise.
31847 * soft-fp/floatunsidf.c: Likewise.
31848 * soft-fp/floatunsisf.c: Likewise.
31849 * soft-fp/floatunsitf.c: Likewise.
31850 * soft-fp/floatuntidf.c: Likewise.
31851 * soft-fp/floatuntisf.c: Likewise.
31852 * soft-fp/floatuntitf.c: Likewise.
31853 * soft-fp/fmadf4.c: Likewise.
31854 * soft-fp/fmasf4.c: Likewise.
31855 * soft-fp/fmatf4.c: Likewise.
31856 * soft-fp/gedf2.c: Likewise.
31857 * soft-fp/gesf2.c: Likewise.
31858 * soft-fp/getf2.c: Likewise.
31859 * soft-fp/ledf2.c: Likewise.
31860 * soft-fp/lesf2.c: Likewise.
31861 * soft-fp/letf2.c: Likewise.
31862 * soft-fp/muldf3.c: Likewise.
31863 * soft-fp/mulsf3.c: Likewise.
31864 * soft-fp/multf3.c: Likewise.
31865 * soft-fp/negdf2.c: Likewise.
31866 * soft-fp/negsf2.c: Likewise.
31867 * soft-fp/negtf2.c: Likewise.
31868 * soft-fp/op-1.h: Likewise.
31869 * soft-fp/op-2.h: Likewise.
31870 * soft-fp/op-4.h: Likewise.
31871 * soft-fp/op-8.h: Likewise.
31872 * soft-fp/op-common.h: Likewise.
31873 * soft-fp/quad.h: Likewise.
31874 * soft-fp/single.h: Likewise.
31875 * soft-fp/soft-fp.h: Likewise.
31876 * soft-fp/sqrtdf2.c: Likewise.
31877 * soft-fp/sqrtsf2.c: Likewise.
31878 * soft-fp/sqrttf2.c: Likewise.
31879 * soft-fp/subdf3.c: Likewise.
31880 * soft-fp/subsf3.c: Likewise.
31881 * soft-fp/subtf3.c: Likewise.
31882 * soft-fp/truncdfsf2.c: Likewise.
31883 * soft-fp/trunctfdf2.c: Likewise.
31884 * soft-fp/trunctfsf2.c: Likewise.
31885 * soft-fp/trunctfxf2.c: Likewise.
31886 * soft-fp/unorddf2.c: Likewise.
31887 * soft-fp/unordsf2.c: Likewise.
31888 * soft-fp/unordtf2.c: Likewise.
31889
31890 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31891
31892 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31893 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31894
31895 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31896
31897 * elf/dl-libc.c: Clear initfini list after freeing.
31898
31899 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31900
31901 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31902 * soft-fp/addsf3.c: Likewise.
31903 * soft-fp/addtf3.c: Likewise.
31904 * soft-fp/divdf3.c: Likewise.
31905 * soft-fp/divsf3.c: Likewise.
31906 * soft-fp/divtf3.c: Likewise.
31907 * soft-fp/double.h: Likewise.
31908 * soft-fp/eqdf2.c: Likewise.
31909 * soft-fp/eqsf2.c: Likewise.
31910 * soft-fp/eqtf2.c: Likewise.
31911 * soft-fp/extenddftf2.c: Likewise.
31912 * soft-fp/extended.h: Likewise.
31913 * soft-fp/extendsfdf2.c: Likewise.
31914 * soft-fp/extendsftf2.c: Likewise.
31915 * soft-fp/extendxftf2.c: Likewise.
31916 * soft-fp/fixdfdi.c: Likewise.
31917 * soft-fp/fixdfsi.c: Likewise.
31918 * soft-fp/fixdfti.c: Likewise.
31919 * soft-fp/fixsfdi.c: Likewise.
31920 * soft-fp/fixsfsi.c: Likewise.
31921 * soft-fp/fixsfti.c: Likewise.
31922 * soft-fp/fixtfdi.c: Likewise.
31923 * soft-fp/fixtfsi.c: Likewise.
31924 * soft-fp/fixtfti.c: Likewise.
31925 * soft-fp/fixunsdfdi.c: Likewise.
31926 * soft-fp/fixunsdfsi.c: Likewise.
31927 * soft-fp/fixunsdfti.c: Likewise.
31928 * soft-fp/fixunssfdi.c: Likewise.
31929 * soft-fp/fixunssfsi.c: Likewise.
31930 * soft-fp/fixunssfti.c: Likewise.
31931 * soft-fp/fixunstfdi.c: Likewise.
31932 * soft-fp/fixunstfsi.c: Likewise.
31933 * soft-fp/fixunstfti.c: Likewise.
31934 * soft-fp/floatdidf.c: Likewise.
31935 * soft-fp/floatdisf.c: Likewise.
31936 * soft-fp/floatditf.c: Likewise.
31937 * soft-fp/floatsidf.c: Likewise.
31938 * soft-fp/floatsisf.c: Likewise.
31939 * soft-fp/floatsitf.c: Likewise.
31940 * soft-fp/floattidf.c: Likewise.
31941 * soft-fp/floattisf.c: Likewise.
31942 * soft-fp/floattitf.c: Likewise.
31943 * soft-fp/floatundidf.c: Likewise.
31944 * soft-fp/floatundisf.c: Likewise.
31945 * soft-fp/floatunsidf.c: Likewise.
31946 * soft-fp/floatunsisf.c: Likewise.
31947 * soft-fp/floatuntidf.c: Likewise.
31948 * soft-fp/floatuntisf.c: Likewise.
31949 * soft-fp/floatuntitf.c: Likewise.
31950 * soft-fp/fmadf4.c: Likewise.
31951 * soft-fp/fmasf4.c: Likewise.
31952 * soft-fp/fmatf4.c: Likewise.
31953 * soft-fp/gedf2.c: Likewise.
31954 * soft-fp/gesf2.c: Likewise.
31955 * soft-fp/getf2.c: Likewise.
31956 * soft-fp/ledf2.c: Likewise.
31957 * soft-fp/lesf2.c: Likewise.
31958 * soft-fp/letf2.c: Likewise.
31959 * soft-fp/muldf3.c: Likewise.
31960 * soft-fp/mulsf3.c: Likewise.
31961 * soft-fp/multf3.c: Likewise.
31962 * soft-fp/negdf2.c: Likewise.
31963 * soft-fp/negsf2.c: Likewise.
31964 * soft-fp/negtf2.c: Likewise.
31965 * soft-fp/op-1.h: Likewise.
31966 * soft-fp/op-2.h: Likewise.
31967 * soft-fp/op-4.h: Likewise.
31968 * soft-fp/op-8.h: Likewise.
31969 * soft-fp/op-common.h: Likewise.
31970 * soft-fp/quad.h: Likewise.
31971 * soft-fp/single.h: Likewise.
31972 * soft-fp/soft-fp.h: Likewise.
31973 * soft-fp/sqrtdf2.c: Likewise.
31974 * soft-fp/sqrtsf2.c: Likewise.
31975 * soft-fp/sqrttf2.c: Likewise.
31976 * soft-fp/subdf3.c: Likewise.
31977 * soft-fp/subsf3.c: Likewise.
31978 * soft-fp/subtf3.c: Likewise.
31979 * soft-fp/truncdfsf2.c: Likewise.
31980 * soft-fp/trunctfdf2.c: Likewise.
31981 * soft-fp/trunctfsf2.c: Likewise.
31982 * soft-fp/trunctfxf2.c: Likewise.
31983 * soft-fp/unorddf2.c: Likewise.
31984 * soft-fp/unordsf2.c: Likewise.
31985 * soft-fp/unordtf2.c: Likewise.
31986
31987 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31988
31989 [BZ #15672]
31990 * misc/error.c (error_tail): Fix possible buffer overflow.
31991
31992 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31993
31994 [BZ #13028]
31995 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31996 address.
31997
31998 2013-10-14 P. J. McDermott <pj@pehjota.net>
31999
32000 [BZ #832]
32001 * elf/ldd.bash.in (try_trace): New function. Delete previous code
32002 testing pipefail option.
32003
32004 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32005
32006 * soft-fp/double.h: Indent preprocessor directives inside #if.
32007 * soft-fp/extended.h: Likewise.
32008 * soft-fp/op-2.h: Likewise.
32009 * soft-fp/op-4.h: Likewise.
32010 * soft-fp/op-common.h: Likewise.
32011 * soft-fp/quad.h: Likewise.
32012 * soft-fp/single.h: Likewise.
32013 * soft-fp/soft-fp.h: Likewise.
32014
32015 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
32016
32017 * iconv/iconv_prog.c: Fix typos.
32018 * stdio-common/psiginfo-data.h: Likewise.
32019
32020 2013-10-12 Reuben Thomas <rrt@sc3d.org>
32021
32022 [BZ #15764]
32023 * locale/setlocale.c: Fix typo.
32024
32025 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32026
32027 [BZ #16036]
32028 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32029 signaling NaN arguments.
32030 * soft-fp/unordsf2.c (__unordsf2): Likewise.
32031 * soft-fp/unordtf2.c (__unordtf2): Likewise.
32032
32033 [BZ #14910]
32034 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32035 unordered operands.
32036 * soft-fp/gesf2.c (__gesf2): Likewise.
32037 * soft-fp/getf2.c (__getf2): Likewise.
32038 * soft-fp/ledf2.c (__ledf2): Likewise.
32039 * soft-fp/lesf2.c (__lesf2): Likewise.
32040 * soft-fp/letf2.c (__letf2): Likewise.
32041
32042 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32043 * soft-fp/eqsf2.c (__eqsf2): Likewise.
32044 * soft-fp/eqtf2.c (__eqtf2): Likewise.
32045 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32046 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32047 * soft-fp/fixdfti.c (__fixdfti): Likewise.
32048 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32049 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32050 * soft-fp/fixsfti.c (__fixsfti): Likewise.
32051 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32052 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32053 * soft-fp/fixtfti.c (__fixtfti): Likewise.
32054 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32055 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32056 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32057 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32058 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32059 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32060 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32061 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32062 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32063 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32064 * soft-fp/floatdisf.c (__floatdisf): Likewise.
32065 * soft-fp/floatsisf.c (__floatsisf): Likewise.
32066 * soft-fp/floattidf.c (__floattidf): Likewise.
32067 * soft-fp/floattisf.c (__floattisf): Likewise.
32068 * soft-fp/floattitf.c (__floattitf): Likewise.
32069 * soft-fp/floatundidf.c (__floatundidf): Likewise.
32070 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32071 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32072 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32073 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32074 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32075 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32076 * soft-fp/gesf2.c (__gesf2): Likewise.
32077 * soft-fp/getf2.c (__getf2): Likewise.
32078 * soft-fp/ledf2.c (__ledf2): Likewise.
32079 * soft-fp/lesf2.c (__lesf2): Likewise.
32080 * soft-fp/letf2.c (__letf2): Likewise.
32081
32082 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32083 Undefine and redefine.
32084 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32085 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32086 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32087 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32088 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32089 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32090 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32091 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32092 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32093 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32094 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32095 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32096 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32097 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32098 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32099
32100 [BZ #16032]
32101 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32102 without decrementing exponent if mantissa >= that for the
32103 denominator, not >.
32104 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32105 denominator, not >. Decrement exponent in < case instead of
32106 incrementing in >= case.
32107 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32108 without decrementing exponent if mantissa >= that for the
32109 denominator, not >.
32110
32111 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32112 computing saturated result for unsigned overflow.
32113
32114 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32115 Jeff Law <law@redhat.com>
32116
32117 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32118 (atan2Mp): Add systemtap probe marker.
32119 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32120 (__ieee754_log): Add systemtap probe marker.
32121 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32122 (atanMp): Add systemtap probe marker.
32123 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32124 (tanMp): Add systemtap probe marker.
32125 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32126 (__slowexp): Add systemtap probe marker.
32127 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32128 (__slowpow): Add systemtap probe marker.
32129 * manual/probes.texi: Document probes.
32130
32131 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
32132
32133 [BZ #15362]
32134 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32135 written.
32136 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32137 written.
32138 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32139 written to buffer but not flushed.
32140 * libio/iofwrite_u.c: Likewise.
32141 * libio/iopadn.c: Return bytes returned even if EOF was
32142 encountered.
32143 * libio/iowpadn.c: Likewise.
32144 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32145 if _IO_padn does not write the whole buffer.
32146 [!COMPILE_WPRINTF] (PAD): Likewise.
32147
32148 2013-10-10 David S. Miller <davem@davemloft.net>
32149
32150 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32151 directory block.
32152
32153 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32154
32155 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32156 instead of FSF address.
32157 * soft-fp/fixdfti.c: Likewise.
32158 * soft-fp/fixsfti.c: Likewise.
32159 * soft-fp/fixtfti.c: Likewise.
32160 * soft-fp/fixunsdfti.c: Likewise.
32161 * soft-fp/fixunssfti.c: Likewise.
32162 * soft-fp/fixunstfti.c: Likewise.
32163 * soft-fp/floattidf.c: Likewise.
32164 * soft-fp/floattisf.c: Likewise.
32165 * soft-fp/floattitf.c: Likewise.
32166 * soft-fp/floatuntidf.c: Likewise.
32167 * soft-fp/floatuntisf.c: Likewise.
32168 * soft-fp/floatuntitf.c: Likewise.
32169 * soft-fp/trunctfxf2.c: Likewise.
32170
32171 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32172 * soft-fp/fixdfti.c: Likewise.
32173 * soft-fp/fixsfti.c: Likewise.
32174 * soft-fp/fixtfti.c: Likewise.
32175 * soft-fp/fixunsdfti.c: Likewise.
32176 * soft-fp/fixunssfti.c: Likewise.
32177 * soft-fp/fixunstfti.c: Likewise.
32178 * soft-fp/floattidf.c: Likewise.
32179 * soft-fp/floattisf.c: Likewise.
32180 * soft-fp/floattitf.c: Likewise.
32181 * soft-fp/floatuntidf.c: Likewise.
32182 * soft-fp/floatuntisf.c: Likewise.
32183 * soft-fp/floatuntitf.c: Likewise.
32184 * soft-fp/trunctfxf2.c: Likewise.
32185
32186 2013-10-10 David S. Miller <davem@davemloft.net>
32187
32188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32189
32190 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32191
32192 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32193 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32194 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32195 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32196 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32197 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32198 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32199
32200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32201 for NaNs before doing comparisons on argument.
32202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32203 Likewise.
32204
32205 2013-10-10 Will Newton <will.newton@linaro.org>
32206
32207 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32208 passed to _int_memalign does not overflow.
32209
32210 2013-10-10 Torvald Riegel <triegel@redhat.com>
32211
32212 * scripts/bench.pl: Add include-sources directive.
32213 * benchtests/README: Update documentation.
32214
32215 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32216
32217 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32218 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32219 instead of FP_INIT_ROUNDMODE.
32220 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32221 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32222
32223 [BZ #16034]
32224 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
32225 copy class of input value.
32226 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
32227 not handle exceptions.
32228 * soft-fp/negsf2.c (__negsf2): Likewise.
32229 * soft-fp/negtf2.c (__negtf2): Likewise.
32230 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32231
32232 2013-10-09 Joseph Myers <joseph@codesourcery.com>
32233
32234 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32235 semicolon. From Linux kernel.
32236
32237 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
32238
32239 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32240
32241 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
32242
32243 [BZ #156]
32244 * manual/socket.texi: Added statement about buffer
32245 for gethostbyname2_r.
32246
32247 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
32248
32249 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32250 Use .p2align directive instead, throughout.
32251 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32252 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32253 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32254 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32255 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32256 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32257 * sysdeps/x86_64/strchr.S: Likewise.
32258 * sysdeps/x86_64/strrchr.S: Likewise.
32259
32260 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32261
32262 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32263
32264 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32265
32266 * sysdeps/generic/math_private.h (__mpsin1): Remove
32267 declaration.
32268 (__mpcos1): Likewise.
32269 (__mpsin): New argument __range_reduce.
32270 (__mpcos): Likewise.
32271 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32272 (slow): Use __mpsin and __mpcos.
32273 (slow1): Likewise.
32274 (slow2): Likewise.
32275 (sloww): Likewise.
32276 (sloww1): Likewise.
32277 (sloww2): Likewise.
32278 (bsloww): Likewise.
32279 (bsloww1): Likewise.
32280 (bsloww2): Likewise.
32281 (cslow2): Likewise.
32282 (csloww): Likewise.
32283 (csloww1): Likewise.
32284 (csloww2): Likewise.
32285 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32286 range_reduce. Merge in __mpsin1.
32287 (__mpcos): Likewise.
32288 (__mpsin1): Remove.
32289 (__mpcos1): Likewise.
32290
32291 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32292
32293 * locale/loadlocale.c (_nl_intern_locale_data): Use
32294 LOCFILE_ALIGNED_P.
32295 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32296 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32297 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32298 obstack data is appropriately aligned.
32299 (obstack_int32_grow_fast): Likewise.
32300 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32301 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32302 (add_locale_uint32_array): Likewise.
32303
32304 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32305
32306 * benchtests/Makefile: Remove ARGLIST and RET variables.
32307 ($(objpfx)bench-%.c): Pass only function name to the script.
32308 * benchtests/README: Update documentation.
32309 * benchtests/acos-inputs: Add new directives.
32310 * benchtests/acosh-inputs: Likewise.
32311 * benchtests/asin-inputs: Likewise.
32312 * benchtests/asinh-inputs: Likewise.
32313 * benchtests/atan-inputs: Likewise.
32314 * benchtests/atanh-inputs: Likewise.
32315 * benchtests/cos-inputs: Likewise.
32316 * benchtests/cosh-inputs: Likewise.
32317 * benchtests/exp-inputs: Likewise.
32318 * benchtests/log-inputs: Likewise.
32319 * benchtests/pow-inputs: Likewise.
32320 * benchtests/rint-inputs: Likewise.
32321 * benchtests/sin-inputs: Likewise.
32322 * benchtests/sinh-inputs: Likewise.
32323 * benchtests/tan-inputs: Likewise.
32324 * benchtests/tanh-inputs: Likewise.
32325 * scripts/bench.pl: Add support for new directives.
32326
32327 2013-10-07 Alan Modra <amodra@gmail.com>
32328
32329 * README: Fix careless merge.
32330
32331 2013-10-05 Alan Modra <amodra@gmail.com>
32332
32333 * NEWS: Mention powerpc64le support and bugs fixed.
32334 * README: Both big-endian and little-endian powerpc64 supported.
32335
32336 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32337
32338 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32339 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32340 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32341 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32342
32343 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32344
32345 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32346 match prototype.
32347
32348 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32349
32350 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32351 Move -mhard-float appending from
32352 ports/sysdeps/powerpc/powerpc32/Makefile.
32353 [$(with-fp) = yes] (ASFLAGS): Likewise.
32354 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32355 * sysdeps/powerpc/nofpu: Move directory from
32356 ports/sysdeps/powerpc/nofpu.
32357 * sysdeps/powerpc/soft-fp: Move directory from
32358 ports/sysdeps/powerpc/soft-fp.
32359 * sysdeps/powerpc/powerpc32/405: Move directory from
32360 ports/sysdeps/powerpc/powerpc32/405.
32361 * sysdeps/powerpc/powerpc32/440: Move directory from
32362 ports/sysdeps/powerpc/powerpc32/440.
32363 * sysdeps/powerpc/powerpc32/464: Move directory from
32364 ports/sysdeps/powerpc/powerpc32/464.
32365 * sysdeps/powerpc/powerpc32/476: Move directory from
32366 ports/sysdeps/powerpc/powerpc32/476.
32367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32368 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32370 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32372 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32374 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32376 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32377 * README: Update for powerpc-*-linux-gnu software floating point
32378 support in libc.
32379
32380 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32381 case to powerpc/powerpc32*.
32382 * sysdeps/unix/sysv/linux/configure: Regenerated.
32383
32384 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32385 (_FPU_MASK_OM): Define as 0x04.
32386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32388 0x00c10080.
32389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32390 0x0000003c.
32391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32392
32393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32394 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32395 getcontext_e500.
32396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32397 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32398 setcontext_e500.
32399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32400 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32401 and setcontext_e500.
32402
32403 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32404
32405 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32406
32407 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32408
32409 * manual/threads.texi (Default Thread Attributes): Fix typo.
32410
32411 2013-10-04 Will Newton <will.newton@linaro.org>
32412
32413 * malloc/Makefile: Add tst-memalign.
32414 * malloc/tst-memalign.c: New file.
32415
32416 * malloc/tst-posix_memalign.c: Add comments.
32417 (do_test): Add comments and call free on all potentially
32418 allocated pointers. Add space after cast.
32419
32420 * malloc/tst-pvalloc.c: Add comments.
32421 (do_test): Add comments and call free on all potentially
32422 allocated pointers. Remove duplicate check for NULL pointer.
32423 Add space after cast.
32424
32425 * malloc/tst-valloc.c: Add comments.
32426 (do_test): Add comments and call free on all potentially
32427 allocated pointers. Remove duplicate check for NULL pointer.
32428 Add space after cast.
32429
32430 2013-10-04 Alan Modra <amodra@gmail.com>
32431
32432 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32433 Use stdint types in rather than __attribute__((mode())).
32434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32435
32436 2013-10-04 Alan Modra <amodra@gmail.com>
32437
32438 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32439 Correct handling of unaligned relocs for little-endian.
32440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32441
32442 2013-10-04 Alan Modra <amodra@gmail.com>
32443
32444 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32445 * configure: Regenerate.
32446 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32447 * shlib-versions: Likewise.
32448
32449 2013-10-04 Alan Modra <amodra@gmail.com>
32450
32451 * string/tester.c (test_memrchr): Increment reported test cycle.
32452
32453 2013-10-04 Alan Modra <amodra@gmail.com>
32454
32455 * string/test-memcpy.c (do_one_test): When reporting errors, print
32456 string address and don't overrun end of string.
32457
32458 2013-10-04 Alan Modra <amodra@gmail.com>
32459
32460 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32461 insrdi. Make better use of reg selection to speed exit slightly.
32462 Schedule entry path a little better. Remove useless "are we done"
32463 checks on entry to main loop. Handle wrapping around zero address.
32464 Correct main loop count. Handle single left-over word from main
32465 loop inline rather than by using loop_small. Remove extra word
32466 case in loop_small caused by wrong loop count. Add little-endian
32467 support.
32468 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32469 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32470 cache hint.
32471 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32472 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32473 support. Avoid rlwimi.
32474 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32475
32476 2013-10-04 Alan Modra <amodra@gmail.com>
32477
32478 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32479 insrdi. Formatting.
32480 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32481 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32482 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32483 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32484 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32485 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32486
32487 2013-10-04 Alan Modra <amodra@gmail.com>
32488
32489 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32490 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32491 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32492 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32493 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32494 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32495 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32496 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32497 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32498 use of regs. Use power7 mtocrf. Tidy function tails.
32499
32500 2013-10-04 Alan Modra <amodra@gmail.com>
32501
32502 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32503 Formatting. Consistently use rXXX register defines or rN defines.
32504 Use early exit labels that avoid restoring unused non-volatile regs.
32505 Make cr field use more consistent with rWORDn compares. Rename
32506 regs used as shift registers for unaligned loop, using rN defines
32507 for short lifetime/multiple use regs.
32508 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32509 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32510 addi 1,1,64 to pop stack frame. Simplify return value code.
32511 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32512
32513 2013-10-04 Alan Modra <amodra@gmail.com>
32514
32515 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32516 support. Correct typos, formatting. Optimize tail. Use insrdi
32517 rather than rlwimi.
32518 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32519 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32520 little-endian support. Correct typos.
32521 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32522 rather than rlwimi.
32523 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32524 in loop and entry code to keep "and." results.
32525 (strchr): Add little-endian support. Comment. Move cntlzd
32526 earlier in tail.
32527 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32528
32529 2013-10-04 Alan Modra <amodra@gmail.com>
32530
32531 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32532 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32533 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32534 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32535
32536 2013-10-04 Alan Modra <amodra@gmail.com>
32537
32538 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32539 (rTMP): Define as r11.
32540 (strcmp): Add little-endian support. Optimise tail.
32541 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32542 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32543 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32544 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32545 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32548
32549 2013-10-04 Alan Modra <amodra@gmail.com>
32550
32551 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32552 little-endian support. Remove unnecessary "are we done" tests.
32553 Handle "s" wrapping around zero and extremely large "size".
32554 Correct main loop count. Handle single left-over word from main
32555 loop inline rather than by using small_loop. Correct comments.
32556 Delete "zero" tail, use "end_max" instead.
32557 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32558
32559 2013-10-04 Alan Modra <amodra@gmail.com>
32560
32561 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32562 support. Don't branch over align.
32563 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32564 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32565 support. Rearrange tmp reg use to suit. Comment.
32566 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32567
32568 2013-10-04 Alan Modra <amodra@gmail.com>
32569
32570 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32571
32572 2013-10-04 Alan Modra <amodra@gmail.com>
32573
32574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32575 conditional form of branch and link when obtaining pc.
32576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32577
32578 2013-10-04 Alan Modra <amodra@gmail.com>
32579
32580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32581 HIWORD/LOWORD.
32582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32584
32585 2013-10-04 Alan Modra <amodra@gmail.com>
32586
32587 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32588 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32589 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32590 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32591 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32592 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32593 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32594 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32595 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32596 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32597
32598 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32599 Alistair Popple <alistair@ozlabs.au.ibm.com>
32600 Alan Modra <amodra@gmail.com>
32601
32602 [BZ #15723]
32603 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32604 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32605 _dl_hwcap access for little-endian.
32606 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32607 destroy vmx regs when saving unaligned.
32608 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32609 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32610 destroy vmx regs when saving unaligned.
32611
32612 2013-10-04 Alan Modra <amodra@gmail.com>
32613
32614 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32615 Don't use a union to pack hi/low value.
32616
32617 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32618
32619 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32620 for little-endian.
32621 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32623 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32624 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32625 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32626
32627 2013-10-04 Alan Modra <amodra@gmail.com>
32628
32629 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32630 constants to usual value for .cst8 section, and remove redundant
32631 high address load.
32632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32633 constant for 0x1p52. Load little-endian words of double from
32634 correct stack offsets.
32635
32636 2013-10-04 Alan Modra <amodra@gmail.com>
32637
32638 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32639 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32640 words of double from correct stack offsets.
32641 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32642 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32643 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32644 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32645 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32646 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32647 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32648 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32649 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32651 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32652 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32653 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32654 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32655 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32656 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32657 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32658
32659 2013-10-04 Alan Modra <amodra@gmail.com>
32660
32661 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32662 64-bit int/double union.
32663 (_FPU_SETCW): Likewise.
32664 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32665 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32666
32667 2013-10-04 Alan Modra <amodra@gmail.com>
32668
32669 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32670 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32671
32672 2013-10-04 Alan Modra <amodra@gmail.com>
32673
32674 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32675 use vector int constants.
32676 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32677
32678 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32679
32680 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32681 array with long long.
32682 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32683 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32684 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32685 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32686 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32687 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32688 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32689 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32690 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32691 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32692 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32693 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32694 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32695
32696 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32697
32698 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32699 (__signbit): Likewise. Correct for little-endian.
32700 (__signbitl): Call __signbit.
32701 (lrint): Correct for little-endian.
32702 (lrintf): Call lrint.
32703
32704 2013-10-04 Alan Modra <amodra@gmail.com>
32705
32706 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32707 union 32-bit int array member with 64-bit int array.
32708 (t515, tm256): Double rather than long double.
32709 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32710
32711 2013-10-04 Alan Modra <amodra@gmail.com>
32712
32713 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32714 Delete.
32715 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32716 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32717 version of math_ldbl.h.
32718
32719 2013-10-04 Alan Modra <amodra@gmail.com>
32720
32721 [BZ #15734], [BZ #15735]
32722 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32723 all uses of ieee875 long double macros and unions. Simplify test
32724 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32725 ldbl_extract_mantissa value for ix,iy exponents. Properly
32726 normalize after ldbl_extract_mantissa, and don't add hidden bit
32727 already handled. Don't treat low word of ieee854 mantissa like
32728 low word of IBM long double and mask off bit when testing for
32729 zero.
32730 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32731 all uses of ieee875 long double macros and unions. Simplify tests
32732 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32733 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32734 two1022, instead use their values. Recognise that tests for large
32735 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32736 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32737 Rewrite all uses of ieee875 long double macros and unions. Simplify
32738 test for 0.0L and nan. Correct negation.
32739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32740 ieee875 long double macros and unions. Correct output for large
32741 magnitude x. Correct absolute value calculation.
32742 (__erfcl): Likewise.
32743 * math/libm-test.inc: Add tests for errors discovered in IBM long
32744 double versions of fmodl, remainderl, erfl and erfcl.
32745
32746 2013-10-04 Alan Modra <amodra@gmail.com>
32747
32748 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32749 all uses of ieee854 long double macros and unions. Simplify tests
32750 for long doubles that are fully specified by the high double.
32751 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32752 Likewise.
32753 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32754 Remove dead code too.
32755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32756 (__ieee754_ynl): Likewise.
32757 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32760 Remove dead code too.
32761 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32762 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32763 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32764 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32765 Simplify.
32766 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32767 Simplify.
32768 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32769 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32770 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32771 Comment on variable precision.
32772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32773 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32774 Likewise.
32775 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32776 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32777 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32778 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32779 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32780
32781 2013-10-04 Alan Modra <amodra@gmail.com>
32782
32783 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32784 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32785 all uses of ieee854 long double macros and unions.
32786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32788 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32790 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32791 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32792 Likewise.
32793 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32797 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32798 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32799 Simplify sign and nan test too.
32800 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32801 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32802 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32803 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32804 Likewise.
32805 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32806 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32807 Likewise.
32808 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32809 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32810 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32811 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32812 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32814
32815 2013-10-04 Alan Modra <amodra@gmail.com>
32816
32817 * stdio-common/printf_size.c (__printf_size): Don't use
32818 union ieee854_long_double in fpnum union.
32819 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32820 signbit macro to retrieve sign from long double.
32821 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32822 retrieve sign from long double.
32823 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32824 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32825 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32826 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32827 * math/test-misc.c (main): Don't use union ieee854_long_double.
32828
32829 2013-10-04 Alan Modra <amodra@gmail.com>
32830
32831 [BZ #15680]
32832 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32833 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32834 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32835 calculation. Remove unnecessary test for denormal exponent.
32836 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32837 Correct handling of denormals. Avoid undefined shift behaviour.
32838 Correct normalisation of low mantissa when low double is denormal.
32839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32840 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32841 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32842 Correct normalisation of low mantissa. Test for overflow of high
32843 mantissa and normalise.
32844 (ldbl_nearbyint): Use more readable constant for two52.
32845 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32846 (__mpn_construct_long_double): Fix test for overflow of high
32847 mantissa and correct normalisation. Avoid undefined shift.
32848
32849 2013-10-04 Alan Modra <amodra@gmail.com>
32850
32851 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32852 (union ibm_extended_long_double): Define as an array of ieee754_double.
32853 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32854 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32855 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32856 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32858 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32860 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32861 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32862 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32863 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32864
32865 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32866
32867 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32868 page size instead of calling getpagesize.
32869
32870 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32871 (LOCFILE_ALIGN_MASK): Likewise.
32872 (LOCFILE_ALIGN_UP): Likewise.
32873 (LOCFILE_ALIGNED_P): Likewise.
32874 * locale/programs/ld-collate.c (collate_output): Use the new
32875 macros instead of __alignof__ (int32_t).
32876 * locale/weight.h (findidx): Likewise.
32877
32878 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32879
32880 [BZ #431]
32881 * manual/string.texi: Fix strncat and wcsncat.
32882
32883 2013-10-03 Brooks Moses <bmoses@google.com>
32884
32885 [BZ #15915]
32886 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32887 * Makerules: ...here, and adjust associated comments.
32888
32889 2013-10-02 Will Newton <will.newton@linaro.org>
32890
32891 * malloc/Makefile: Add tst-pvalloc.
32892 * malloc/tst-pvalloc.c: New file.
32893
32894 2013-10-02 Will Newton <will.newton@linaro.org>
32895
32896 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32897 improve test coverage.
32898
32899 2013-10-02 Will Newton <will.newton@linaro.org>
32900
32901 * malloc/Makefile: Add tst-posix_memalign.
32902 * malloc/tst-posix_memalign.c: New file.
32903
32904 2013-10-01 Eric Blake <eblake@redhat.com>
32905
32906 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32907 Use __THROWNL rather than __THROW on static functions.
32908
32909 2013-09-30 Petr Machata <pmachata@redhat.com>
32910
32911 * elf/elf.h (R_AARCH64_ABS16): New macro.
32912 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32913 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32914 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32915 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32916 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32917 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32918 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32919 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32920 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32921 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32922 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32923 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32924 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32925 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32926 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32927 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32928 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32929 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32930 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32931 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32932 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32933 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32934 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32935 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32936 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32937 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32938 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32939 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32940 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32941 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32942 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32943 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32944 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32945 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32946 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32947 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32948 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32949 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32950 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32951 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32952 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32953 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32954 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32955 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32956 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32957 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32958 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32959 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32960 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32961 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32962 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32963 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32964 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32965 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32966 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32967 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32968 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32969 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32970 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32971 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32972 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32973 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32974 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32975 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32976 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32977 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32978 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32979 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32980 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32981 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32982 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32983 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32984 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32985 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32986 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32987 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32988 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32989 (R_AARCH64_TLSDESC_LDR): Likewise.
32990 (R_AARCH64_TLSDESC_ADD): Likewise.
32991 (R_AARCH64_TLSDESC_CALL): Likewise.
32992
32993 2013-09-30 Andreas Schwab <schwab@suse.de>
32994
32995 [BZ #15048]
32996 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32997 the nss database lookup.
32998 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33000
33001 2013-09-28 Mike Frysinger <vapier@gentoo.org>
33002
33003 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33004
33005 2013-09-28 P. J. McDermott <pj@pehjota.net>
33006
33007 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33008 ${Bash-specific parameter/pattern/string} parameter expansion.
33009 * sysdeps/unix/make-syscalls.sh: Likewise.
33010
33011 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33012
33013 * sysdeps/sh/stackguard-macros.h: New file.
33014
33015 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
33016
33017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33019 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33020 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33021 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33022 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33023
33024 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33025
33026 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33027 Fix thread ID register.
33028
33029 2013-09-25 Joseph Myers <joseph@codesourcery.com>
33030
33031 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33032 [POSIX || UNIX98]: Require rather than permitting all symbols from
33033 <time.h>.
33034 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33035 element of struct sched_param.
33036 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33037 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33038 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33039 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33040 constant.
33041
33042 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
33043
33044 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33045 argument calculation.
33046
33047 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33048
33049 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33050 Expect macro.
33051 [POSIX] (pthread_attr_t): Do not require type.
33052 [POSIX] (pthread_cond_t): Likewise.
33053 [POSIX] (pthread_condattr_t): Likewise.
33054 [POSIX] (pthread_key_t): Likewise.
33055 [POSIX] (pthread_mutex_t): Likewise.
33056 [POSIX] (pthread_mutexattr_t): Likewise.
33057 [POSIX] (pthread_once_t): Likewise.
33058 [POSIX] (pthread_t): Likewise.
33059 [POSIX-based standards] (pthread_atfork): Expect function.
33060
33061 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33062 Richard Sandiford <richard@codesourcery.com>
33063
33064 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33065 (swap_endianness_p): New extern variable.
33066 (set_big_endian): New inline function.
33067 (maybe_swap_uint32): Likewise.
33068 (maybe_swap_uint32_array): Likewise.
33069 (maybe_swap_uint32_obstack): Likewise.
33070 * locale/programs/locfile.c: Include <stdbool.h>.
33071 (swap_endianness_p): New variable.
33072 (add_locale_uint32): Call maybe_swap_uint32.
33073 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33074 (write_locale_data): Call maybe_swap_uint32_array.
33075 * locale/programs/ld-collate.c (obstack_int32_grow): Call
33076 maybe_swap_uint32.
33077 (obstack_int32_grow_fast): Likewise.
33078 (output_weightwc): Call maybe_swap_uint32_obstack.
33079 (collate_output): Likewise.
33080 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33081 (OPT_LITTLE_ENDIAN): Likewise.
33082 (options): Add --little-endian and --big-endian options.
33083 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33084 * locale/programs/locarchive.c: Include "locfile.h".
33085 (GET): New macro.
33086 (SET): Likewise.
33087 (INC): Likewise.
33088 (create_archive): Use the new macros to access fields of
33089 structures directly mapped from or written to locale archives.
33090 (oldlocrecentcmp): Likewise.
33091 (enlarge_archive): Likewise.
33092 (insert_name): Likewise.
33093 (add_alias): Likewise.
33094 (add_locale): Likewise.
33095 (delete_locales_from_archive): Likewise.
33096 (show_archive_content): Likewise.
33097 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
33098 locale data.
33099
33100 2013-09-24 Roland McGrath <roland@hack.frob.com>
33101
33102 * manual/freemanuals.texi: Updated from (newly) canonical copy at
33103 http://www.gnu.org/doc/freemanuals.texi.
33104 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33105
33106 2013-09-24 Will Newton <will.newton@linaro.org>
33107
33108 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33109 macro.
33110
33111 2013-09-23 Joseph Myers <joseph@codesourcery.com>
33112
33113 * locale/hashval.h (compute_hashval): Interpret bytes of key as
33114 unsigned char.
33115
33116 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
33117
33118 * manual/threads.texi (POSIX Threads): Fix a typo.
33119
33120 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33121
33122 [BZ #14547]
33123 * string/tst-strcoll-overflow.c: New test case.
33124 * string/Makefile (xtests): Add tst-strcoll-overflow.
33125 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33126 cache if string sizes may cause integer overflow.
33127
33128 [BZ #14547]
33129 * string/strcoll_l.c (coll_seq): New members rule, idx,
33130 save_idx and back_us.
33131 (get_next_seq_nocache): New function.
33132 (do_compare_nocache): New function.
33133 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33134 when malloc fails.
33135
33136 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33137
33138 [BZ #15754]
33139 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33140 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33141 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33142
33143 [BZ #15754]
33144 * elf/Makefile (tests): Add tst-ptrguard1.
33145 (tests-static): Add tst-ptrguard1-static.
33146 (tst-ptrguard1-ARGS): Define.
33147 (tst-ptrguard1-static-ARGS): Define.
33148 * elf/tst-ptrguard1.c: New file.
33149 * elf/tst-ptrguard1-static.c: New file.
33150 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33151 * sysdeps/i386/stackguard-macros.h: Likewise.
33152 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33153 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33154 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33155 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33156 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33157 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33158
33159 2013-09-23 Hector Marco <hecmargi@upv.es>
33160 Ismael Ripoll <iripoll@disca.upv.es>
33161 Carlos O'Donell <carlos@redhat.com>
33162
33163 [BZ #15754]
33164 * sysdeps/generic/stackguard-macros.h: Define
33165 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33166 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33167 Define __pointer_chk_guard_local.
33168 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33169 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33170
33171 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33172
33173 [BZ #15859]
33174 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33175
33176 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33177
33178 * include/string.h (__ffs): Declare as hidden.
33179 * string/ffs.c (__ffs): Define as hidden.
33180 * sysdeps/i386/ffs.c (__ffs): Likewise.
33181 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33182 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33183 * sysdeps/s390/ffs.c (__ffs): Likewise.
33184 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33185
33186 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33187
33188 * NEWS: Mention malloc probes.
33189
33190 * malloc/arena.c (new_heap): New memory_heap_new probe.
33191 (grow_heap): New memory_heap_more probe.
33192 (shrink_heap): New memory_heap_less probe.
33193 (heap_trim): New memory_heap_free probe.
33194 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33195 (systrim): New memory_sbrk_less probe.
33196 * manual/probes.texi: Document them.
33197
33198 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33199 * manual/probes.texi: Document it.
33200
33201 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33202 (__libc_realloc): Add memory_realloc_retry probe.
33203 (__libc_memalign): Add memory_memalign_retry probe.
33204 (__libc_valloc): Add memory_valloc_retry probe.
33205 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33206 (__libc_calloc): Add memory_calloc_retry probe.
33207 * manual/probes.texi: Document them.
33208
33209 * malloc/arena.c (get_free_list): Add probe
33210 memory_arena_reuse_free_list.
33211 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33212 and memory_arena_reuse.
33213 (arena_get2) [!PER_THREAD]: Likewise.
33214 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33215 memory_arena_reuse_realloc.
33216 * manual/probes.texi: Document them.
33217
33218 * malloc/malloc.c (__libc_free): Add
33219 memory_mallopt_free_dyn_thresholds probe.
33220 (__libc_mallopt): Add multiple memory_mallopt probes.
33221 * manual/probes.texi: Document them.
33222
33223 * malloc/malloc.c: Include stap-probe.h.
33224 (__libc_mallopt): Add memory_mallopt probe.
33225 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33226 * manual/probes.texi: New.
33227 * manual/Makefile (chapters): Add probes.
33228 * manual/threads.texi: Set next node.
33229
33230 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
33231
33232 [BZ #15963, #13985]
33233 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33234 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33235 Add `Chinese' to `nan' entry name.
33236
33237 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33238
33239 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33240 (POLYNOMIAL): Likewise.
33241 (TAYLOR_SINCOS): Likewise.
33242 (TAYLOR_SLOW): Likewise.
33243 (__sin): Use TAYLOR_SINCOS.
33244 (__cos): Likewise.
33245 (slow): Use TAYLOR_SLOW.
33246 (sloww): Likewise.
33247 (bsloww): Likewise.
33248 (csloww): Likewise.
33249
33250 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33251
33252 * stdlib/strtod_l.c: Fix buffer overrun.
33253
33254 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33255
33256 * benchtests/Makefile (bench): Add sincos.
33257 * benchtests/bench-sincos.c: New file.
33258
33259 * math/libm-test.inc (cos_test_data): New test inputs.
33260 (sin_test_data): Likewise.
33261
33262 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33263 macro.
33264 (__sin): Use it.
33265 (__cos): Likewise.
33266 (slow1): Likewise.
33267 (slow2): Likewise.
33268 (sloww1): Likewise.
33269 (sloww2): Likewise.
33270 (bsloww1): Likewise.
33271 (bsloww2): Likewise.
33272 (cslow2): Likewise.
33273 (csloww1): Likewise.
33274 (csloww2): Likewise.
33275
33276 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33277 function.
33278 (__sin): Use it.
33279 (__cos): Likewise.
33280
33281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33282 gotos.
33283 (__cos): Likewise.
33284
33285 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33286
33287 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33288 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33289 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33290 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33291 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33292 * elf/cache.c (print_entry): Handle the new cache flags.
33293
33294 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33295 Aldy Hernandez <aldyh@redhat.com>
33296
33297 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33298 Change condition to [_SOFT_FLOAT].
33299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33311 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33314 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33315 declaration.
33316
33317 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33318
33319 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33320 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33321 (__longjmp): Use LOAD_GP to load saved GPRs.
33322 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33323 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33324 (__sigsetjmp): Use SAVE_GP to save GPRs.
33325
33326 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33327 Do not append -msoft-float.
33328 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33329
33330 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33331
33332 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33333
33334 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33335
33336 [BZ #15966]
33337 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33338 (_FPU_GETCW): Use initial "__" on variable and field names but not
33339 on macro parameter name.
33340 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33341 parentheses around reference to macro parameter.
33342
33343 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33344
33345 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33346 prototype.
33347 (ctype_startup): Use uint32_t in cast and sizeof for
33348 ctype->charnames.
33349
33350 2013-09-11 Jia Liu <proljc@gmail.com>
33351
33352 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33353 __daddr_t_defined.
33354 [__FreeBSD__]: Likewise.
33355
33356 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33357
33358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33359 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33360 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33361 (strchr): Remove __strchr_sse42 ifunc selection.
33362 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33363 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33364
33365 2013-09-11 Will Newton <will.newton@linaro.org>
33366
33367 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33368 parameter to RES. Remove hardcoded 1000 value.
33369 * benchtests/bench-skeleton.c (main): Pass RES parameter
33370 to TIMING_INIT and multiply result by 1000.
33371
33372 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33373
33374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33375
33376 2013-09-11 Andreas Schwab <schwab@suse.de>
33377
33378 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33379 if not defined.
33380 (O_TMPFILE) [__USE_GNU]: Define.
33381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33382 Define.
33383
33384 2013-09-11 Will Newton <will.newton@linaro.org>
33385
33386 [BZ #15857]
33387 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33388 does not overflow.
33389
33390 2013-09-11 Will Newton <will.newton@linaro.org>
33391
33392 [BZ #15856]
33393 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33394 does not overflow.
33395
33396 2013-09-11 Will Newton <will.newton@linaro.org>
33397
33398 [BZ #15855]
33399 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33400 does not overflow.
33401
33402 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33403
33404 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33405 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33406 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33407 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33408 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33409
33410 2013-09-10 Allan McRae <allan@archlinux.org>
33411
33412 [BZ #15748]
33413 * manual/arith.texi (Parsing of Floats): Clarify
33414 cross-reference.
33415
33416 [BZ #15849]
33417 * manual/install.texi (Running make install): Mention
33418 --enable-pt-chown.
33419 * INSTALL: Regenerated.
33420
33421 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33422
33423 * csu/init-first.c (_init): Remove the !SHARED condition around
33424 FPU control word initialization.
33425 * elf/dl-support.c (_dl_fpu_control): New variable.
33426 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33427 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33428 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33429 * math/test-fpucw-static.c: New file.
33430 * math/test-fpucw-ieee.c: New file.
33431 * math/test-fpucw-ieee-static.c: New file.
33432 * math/Makefile (tests): Add `test-fpucw-ieee' and
33433 `$(tests-static)'.
33434 (tests-static): New variable.
33435 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33436 dependency to...
33437 [($(build-shared),yes)]
33438 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33439 ... this.
33440 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33441 New dependency.
33442
33443 2013-09-09 Allan McRae <allan@archlinux.org>
33444
33445 [BZ #15939]
33446 * manual/string.texi (Collation Functions): Fix typo in
33447 strcoll example.
33448 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33449
33450 [BZ #15893]
33451 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33452
33453 [BZ #15892]
33454 * libio/memstream.c (open_memstream): Fix memory leak.
33455 * libio/wmemstream.c (open_wmemstream): Likewise.
33456
33457 [BZ #15895]
33458 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33459
33460 2013-09-09 Will Newton <will.newton@linaro.org>
33461
33462 * malloc/Makefile: Add tst-realloc to tests.
33463 * malloc/tst-realloc.c: New file.
33464
33465 2013-09-09 Allan McRae <allan@archlinux.org>
33466
33467 [BZ #15844]
33468 * COPYING: Update from GNU website to fix FSF address.
33469 * COPYING.LIB: Likewise.
33470
33471 2013-09-06 David S. Miller <davem@davemloft.net>
33472
33473 * po/zh_TW.po: Update Chinese (traditional) translation from
33474 translation project.
33475
33476 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33477 Joseph Myers <joseph@codesourcery.com>
33478
33479 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33480 "localeinfo.h".
33481 (obstack_chunk_alloc): New macro.
33482 (obstack_chunk_free): Likewise.
33483 (record_offset): New function.
33484 (init_locale_data): Likewise.
33485 (align_locale_data): Likewise.
33486 (add_locale_empty): Likewise.
33487 (add_locale_raw_data): Likewise.
33488 (add_locale_raw_obstack): Likewise.
33489 (add_locale_string): Likewise.
33490 (add_locale_wstring): Likewise.
33491 (add_locale_uint32): Likewise.
33492 (add_locale_uint32_array): Likewise.
33493 (add_locale_char): Likewise.
33494 (start_locale_structure): Likewise.
33495 (end_locale_structure): Likewise.
33496 (start_locale_prelude): Likewise.
33497 (end_locale_prelude): Likewise.
33498 (write_locale_data): Take locale_file structure rather than an
33499 iovec.
33500 * locale/programs/locfile.h: Include "obstack.h".
33501 (struct locale_file): Change to store locale file contents instead
33502 of header.
33503 (init_locale_data): New prototype.
33504 (align_locale_data): Likewise.
33505 (add_locale_empty): Likewise.
33506 (add_locale_raw_data): Likewise.
33507 (add_locale_raw_obstack): Likewise.
33508 (add_locale_string): Likewise.
33509 (add_locale_wstring): Likewise.
33510 (add_locale_uint32): Likewise.
33511 (add_locale_uint32_array): Likewise.
33512 (add_locale_char): Likewise.
33513 (start_locale_structure): Likewise.
33514 (end_locale_structure): Likewise.
33515 (start_locale_prelude): Likewise.
33516 (end_locale_prelude): Likewise.
33517 (write_locale_data): Update prototype.
33518 * locale/programs/3level.h (struct TABLE): Remove result field.
33519 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33520 Use new locale_file interface.
33521 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33522 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33523 * locale/programs/ld-address.c (address_output): Use new
33524 locale_file interface.
33525 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33526 NO_ADD_LOCALE.
33527 (collate_finish): Don't call collseq_table_finalize.
33528 (collate_output): Use new locale_file interface.
33529 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33530 in file.
33531 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33532 (TABLE): Move defines earlier in file.
33533 (ELEMENT): Likewise.
33534 (DEFAULT): Likewise.
33535 (wctrans_table_add): Move macro and inline function earlier in
33536 file.
33537 (struct wctype_table): Move type earlier in file.
33538 (add_locale_wctype_table): New static prototype.
33539 (struct locale_ctype_t): Use logical types instead of struct iovec
33540 pointers for members.
33541 (ctype_output): Use new locale_file interface.
33542 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33543 new locale_file interface.
33544 (allocate_arrays): Update for use of new locale_file interface.
33545 * locale/programs/ld-identification.c (identification_output): Use
33546 new locale_file interface.
33547 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33548 * locale/programs/ld-messages.c (messages_output): Likewise.
33549 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33550 * locale/programs/ld-name.c (name_output): Likewise.
33551 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33552 * locale/programs/ld-paper.c (paper_output): Likewise.
33553 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33554 * locale/programs/ld-time.c (time_output): Likewise.
33555
33556 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33557
33558 * benchtests/Makefile: Add memrchr benchmark.
33559 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33560 benchmark as memrchr.
33561 * benchtests/bench-memrchr-ifunc.c: New file.
33562 * benchtests/bench-memrchr.c: New file.
33563
33564 2013-09-06 Will Newton <will.newton@linaro.org>
33565
33566 * benchtests/Makefile (string-bench): Add memcpy.
33567
33568 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33569 Cong Wang <amwang@redhat.com>
33570
33571 [BZ #15850]
33572 * sysdeps/unix/sysv/linux/bits/in.h
33573 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33574 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33575 before __USE_KERNEL_IPV6_DEFS uses.
33576 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33577 IPPROTO_BEETPH.
33578 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33579 sockaddr_in6, or ipv6_mreq.
33580
33581 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33582
33583 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33584 memory access for final bytes in some large inputs.
33585 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33586
33587 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33588
33589 * string/test-memrchr.c: New file.
33590 * string/test-memrchr-ifunc.c: New file.
33591 * string/Makefile: Add new memrchr testcase.
33592
33593 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33594
33595 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33596 fanotify_init returns EPERM.
33597
33598 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33599
33600 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33601 errors.
33602 (top level): Treat second token from macro or constant entries for
33603 allowed headers as allowed.
33604 * include/complex.h: Condition internal declarations on
33605 [!_ISOMAC].
33606 * include/fenv.h: Condition include of <stdbool.h> and internal
33607 declarations on [!_ISOMAC].
33608
33609 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33610
33611 [BZ #15923]
33612 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33613
33614 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33615
33616 * configure.in (--enable-versioning): Remove configure option.
33617 (libc_cv_asm_symver_directive): Remove configure test.
33618 (libc_cv_ld_version_script_option): Likewise.
33619 (VERSIONING): Remove variable and AC_SUBST.
33620 (DO_VERSIONING): Remove AC_DEFINE.
33621 * configure: Regenerated.
33622 * config.h.in (DO_VERSIONING): Remove macro.
33623 * Makerules [$(versioning) = yes]: Change conditionals to
33624 [$(build-shared) = yes].
33625 * config.make.in (versioning): Remove variable.
33626 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33627 [$(build-shared) = yes].
33628 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33629 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33630 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33631 [$(build-shared) = yes].
33632 * extra-lib.mk [$(versioning) = yes]: Likewise.
33633 * hurd/Makefile [$(versioning) = yes]: Likewise.
33634 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33635 [SHARED].
33636 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33637 [SHARED].
33638 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33639 [SHARED && !NO_HIDDEN].
33640 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33641 [SHARED].
33642 [SHARED && DO_VERSIONING]: Likewise..
33643 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33644 [$(build-shared) = yes].
33645 * manual/install.texi (--disable-versioning): Remove
33646 documentation.
33647 * INSTALL: Regenerated.
33648 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33649 to [SHARED].
33650 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33651 [$(build-shared) = yes].
33652 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33653 * sysdeps/i386/i686/multiarch/strstr-c.c
33654 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33655 [SHARED && !NO_HIDDEN].
33656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33657 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33658 * sysdeps/powerpc/powerpc32/dl-machine.c
33659 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33660 * sysdeps/powerpc/powerpc32/sysdep.h
33661 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33662 to [SHARED && PIC && !NO_HIDDEN].
33663 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33664 conditional to [SHARED].
33665
33666 2013-09-04 Will Newton <will.newton@linaro.org>
33667
33668 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33669 * benchtests/bench-string.h: Include bench-timing.h instead
33670 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33671 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33672 call to HP_TIMING_DIFF_INIT.
33673 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33674 instead of hp-timing.h macros.
33675 * benchtests/bench-memchr.c: Likewise.
33676 * benchtests/bench-memcmp.c: Likewise.
33677 * benchtests/bench-memcpy.c: Likewise.
33678 * benchtests/bench-memmem.c: Likewise.
33679 * benchtests/bench-memmove.c: Likewise.
33680 * benchtests/bench-memset.c: Likewise.
33681 * benchtests/bench-rawmemchr.c: Likewise.
33682 * benchtests/bench-strcasecmp.c: Likewise.
33683 * benchtests/bench-strcasestr.c: Likewise.
33684 * benchtests/bench-strcat.c: Likewise.
33685 * benchtests/bench-strchr.c: Likewise.
33686 * benchtests/bench-strcmp.c: Likewise.
33687 * benchtests/bench-strcpy.c: Likewise.
33688 * benchtests/bench-strcpy_chk.c: Likewise.
33689 * benchtests/bench-strlen.c: Likewise.
33690 * benchtests/bench-strncasecmp.c: Likewise.
33691 * benchtests/bench-strncat.c: Likewise.
33692 * benchtests/bench-strncmp.c: Likewise.
33693 * benchtests/bench-strncpy.c: Likewise.
33694 * benchtests/bench-strnlen.c: Likewise.
33695 * benchtests/bench-strpbrk.c: Likewise.
33696 * benchtests/bench-strrchr.c: Likewise.
33697 * benchtests/bench-strspn.c: Likewise.
33698 * benchtests/bench-strstr.c: Likewise.
33699
33700 2013-09-04 Will Newton <will.newton@linaro.org>
33701
33702 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33703
33704 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33705
33706 [BZ #15427]
33707 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33708 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33709 * math/libm-test.inc (lgamma_test_data): Add more tests.
33710 * sysdeps/i386/fpu/libm-test-ulps: Update.
33711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33712
33713 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33714
33715 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33716 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33717 Add ifunc.
33718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33719 Add strcmp-sse2-unaligned
33720 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33721
33722 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33723
33724 * Versions.def (libc): Add GLIBC_2.19.
33725
33726 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33727
33728 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33729 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33730
33731 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33732
33733 [BZ #14155]
33734 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33735 intermediate calculations in recurrence.
33736 (__ieee754_ynf): Likewise.
33737 * math/libm-test.inc (jn_test_data): Do not allow spurious
33738 underflow exception. Add more tests.
33739 (yn_test_data): Add more tests.
33740 * sysdeps/i386/fpu/libm-test-ulps: Update.
33741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33742
33743 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33744
33745 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33746
33747 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33748
33749 * csu/init-first.c: Fix then/than typos.
33750 * locale/programs/ld-collate.c: Likewise.
33751 * locale/programs/linereader.h: Likewise.
33752 * manual/charset.texi: Likewise.
33753 * manual/filesys.texi: Likewise.
33754 * manual/stdio.texi: Likewise.
33755 * manual/string.texi: Likewise.
33756 * stdlib/fmtmsg.c: Likewise.
33757 * sysdeps/i386/stpncpy.S: Likewise.
33758 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33759 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33760 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33761 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33762
33763 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33764
33765 * elf/dl-open.c: Fix typos.
33766 * iconvdata/gbbig5.c: Likewise.
33767 * iconvdata/iso-2022-jp.c: Likewise.
33768 * iconv/gconv_int.h: Likewise.
33769 * iconv/loop.c: Likewise.
33770 * nis/rpcsvc/nis.h: Likewise.
33771 * resolv/ns_name.c: Likewise.
33772 * stdio-common/vfscanf.c: Likewise.
33773 * streams/stropts.h: Likewise.
33774 * sunrpc/rpc_thread.c: Likewise.
33775 * sysdeps/i386/strpbrk.S: Likewise.
33776 * sysdeps/ieee754/k_standard.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33779 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33780 * sysdeps/mach/hurd/profil.c: Likewise.
33781 * sysdeps/s390/dl-procinfo.h: Likewise.
33782 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33783 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33784 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33785 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33786 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33787
33788 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33789
33790 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33792
33793 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33794
33795 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33796 aix specific files.
33797 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33798 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33799 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33800 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33801 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33802 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33803 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33804 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33805
33806 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33807 Roland McGrath <roland@hack.frob.com>
33808
33809 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33810 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33811
33812 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33813
33814 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33815 __executable_start symbol instead of _start.
33816
33817 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33818
33819 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33820 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33821 Move macros to...
33822 * sysdeps/gnu/ldsodefs.h: ... this new file.
33823
33824 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33825 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33826 instead of ELFOSABI_LINUX.
33827
33828 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33829 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33830 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33831 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33832 Likewise.
33833 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33834 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33835 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33836 Likewise.
33837 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33838 (ibm_extended_long_double): Add ieee_nan member.
33839 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33840 (do_test): New function.
33841
33842 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33843 TEST_TRUNC.
33844 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33845 functions, renamed from truncdfsf_test, trunctfsf_test,
33846 trunctfdf_test.
33847 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33848 functions.
33849 (do_test): Run all these.
33850
33851 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33852
33853 * argp/argp-help.c: Fix typos.
33854 * argp/argp-parse.c: Likewise.
33855 * debug/backtracesyms.c: Likewise.
33856 * elf/elf.h: Likewise.
33857 * malloc/malloc.c: Likewise.
33858 * nis/nis_print.c: Likewise.
33859 * resolv/res_comp.c: Likewise.
33860 * stdlib/stdlib.h: Likewise.
33861 * sunrpc/clnt_tcp.c: Likewise.
33862 * sunrpc/clnt_udp.c: Likewise.
33863 * sunrpc/clnt_unix.c: Likewise.
33864 * sysdeps/unix/bsd/ptsname.c: Likewise.
33865 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33866 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33868 Likewise.
33869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33870 Likewise.
33871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33872 Likewise.
33873 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33874
33875 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33876
33877 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33879
33880 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33881
33882 [BZ #15897]
33883 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33884 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33885 ($(objpfx)bug-dl-leaf): New rule.
33886 ($(objpfx)bug-dl-leaf.so): Likewise.
33887 ($(objpfx)bug-dl-leaf.out): Likewise.
33888 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33889 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33890 * dlfcn/bug-dl-leaf.c: New test.
33891 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33892 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33893 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33894 (dlclose): Likewise.
33895 (dlmopen): Likewise.
33896
33897 2013-08-27 Roland McGrath <roland@hack.frob.com>
33898
33899 * include/netdb.h [!_ISOMAC]:
33900 Don't include <tls.h>.
33901 (h_errno, __libc_h_errno): Move declaration and macros out of
33902 [_LIBC_REENTRANT].
33903
33904 * include/resolv.h [_RESOLV_H_]:
33905 Don't include <tls.h>.
33906 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33907 * resolv/res_libc.c: Don't include <tls.h>.
33908 (_res): Use __attribute__ ((nocommon)) in place of
33909 __attribute__ ((section (".bss"))).
33910
33911 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33912 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33913
33914 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33915
33916 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33917 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33918
33919 * resolv/res_mkquery.c: Include <sys/time.h>.
33920
33921 * inet/ifreq.c: Moved to ...
33922 * sysdeps/unix/ifreq.c: ... here.
33923 * inet/ifreq.c: New file, true stub version.
33924
33925 * socket/sa_len.c: New file.
33926 * socket/Makefile (aux): Add it.
33927 * sysdeps/unix/sysv/linux/Makefile
33928 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33929 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33930 and #include <socket/sa_len.c>.
33931 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33932 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33933
33934 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33935 * bits/socket.h: ... here.
33936
33937 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33938 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33939 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33940
33941 2013-08-27 Andreas Schwab <schwab@suse.de>
33942
33943 [BZ #15736]
33944 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33945 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33946 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33947 * string/test-strcasecmp.c (test_main): Run tests in several
33948 locales.
33949 * string/test-strncasecmp.c (test_main): Likewise.
33950
33951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33952 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33953 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33955 (__strncasecmp_ssse3) [PIC]: Likewise.
33956
33957 2013-08-26 Roland McGrath <roland@hack.frob.com>
33958
33959 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33960
33961 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33962 instead of explicitly declaring xdecrypt.
33963 * nis/nss_nis/nis-publickey.c: Likewise.
33964
33965 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33966
33967 [BZ #15890]
33968 * nscd/aicache.c: Include res_hconf.h.
33969 (addhstaiX): Initialize res_hconf.
33970
33971 2013-08-26 Andreas Schwab <schwab@suse.de>
33972
33973 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33974 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33975
33976 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33977
33978 * nscd/aicache.c (addhstaiX): Fix indentation.
33979
33980 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33981
33982 * configure.ac: Quote $build_pt_chown test.
33983 * configure: Regenerated.
33984
33985 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33986
33987 [BZ #15532]
33988 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33989 * math/s_cexpf.c (__cexpf): Likewise.
33990 * math/s_cexpl.c (__cexpl): Likewise.
33991 * math/libm-test.inc (cexp_test_data): Correct expected return
33992 value for NaN + i0. Add another test.
33993
33994 2013-08-22 David S. Miller <davem@davemloft.net>
33995
33996 * po/ca.po: Update Catalan translation from translation project.
33997 * po/uk.po: Add Ukrainian translations from translation project.
33998
33999 2013-08-21 Joseph Myers <joseph@codesourcery.com>
34000
34001 [BZ #15797]
34002 * math/s_fdim.c (__fdim): Check for infinite arguments if result
34003 is infinite, not alongside NaN test.
34004 * math/s_fdimf.c (__fdimf): Likewise.
34005 * math/s_fdiml.c (__fdiml): Likewise.
34006 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
34007 errno is unchanged.
34008
34009 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
34010
34011 * argp/argp-help.c: Fix typos.
34012 * crypt/speeds.c: Likewise.
34013 * csu/check_fds.c: Likewise.
34014 * elf/dl-load.c: Likewise.
34015 * elf/dl-open.c: Likewise.
34016 * elf/reldep3.c: Likewise.
34017 * elf/reldep.c: Likewise.
34018 * elf/sprof.c: Likewise.
34019 * iconv/iconv_charmap.c: Likewise.
34020 * iconv/skeleton.c: Likewise.
34021 * iconv/strtab.c: Likewise.
34022 * io/lockf64.c: Likewise.
34023 * libio/libioP.h: Likewise.
34024 * resolv/gai_notify.c: Likewise.
34025 * resolv/ns_name.c: Likewise.
34026 * resolv/ns_samedomain.c: Likewise.
34027 * resolv/res_send.c: Likewise.
34028 * stdlib/random.c: Likewise.
34029 * sunrpc/rpc/xdr.h: Likewise.
34030 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34031 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34032 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34033 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34034 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34035 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34037 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34038 * sysdeps/mach/hurd/check_fds.c: Likewise.
34039 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34040 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34041 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34042 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34043 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34044 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34045 * sysdeps/pthread/aio_notify.c: Likewise.
34046 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34047 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34048 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34049 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34050 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34051
34052 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34053
34054 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34055 version if bit_Slow_SSE4_2 is set.
34056 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34057 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34058
34059 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34060
34061 [BZ #15867]
34062 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34063 trampoline stack frame information.
34064 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34065 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34066 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34067 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34068 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34069 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34070 (_libc_vdso_platform_setup): Initialize the signal trampolines.
34071 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34072 sa_flags value.
34073 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34074 interrupting a syscall and set with option SA_SIGINFO.
34075
34076 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34077
34078 [BZ #15531]
34079 * math/s_cproj.c (__cproj): Only return an infinity if one part of
34080 argument is infinite.
34081 * math/s_cprojf.c (__cprojf): Likewise.
34082 * math/s_cprojl.c (__cprojl): Likewise.
34083 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34084 * math/libm-test.inc (cproj_test_data): Add more tests.
34085
34086 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34087
34088 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34089 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34090 size. Use __ffs to determine corresponding shift.
34091
34092 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34093 Roland McGrath <roland@hack.frob.com>
34094
34095 * Makefile (INSTALL): Remove trailing blank lines from output of
34096 makeinfo.
34097
34098 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34099
34100 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34101 Align 32 bit compat elf_greg to 8 bytes.
34102
34103 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
34104
34105 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34106
34107 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34108
34109 * string/strcoll_l.c (coll_seq): New structure.
34110 (get_next_seq_cached): New function.
34111 (get_next_seq): New function.
34112 (do_compare): New function.
34113 (STRCOLL): Use GNU style definition. Simplify implementation
34114 by using get_next_seq, get_next_seq_cached and do_compare.
34115
34116 2013-08-16 Florian Weimer <fweimer@redhat.com>
34117
34118 [BZ #14699]
34119 CVE-2013-4237
34120 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34121 member.
34122 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34123 member.
34124 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34125 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34126 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
34127 conditional.
34128 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34129 GETDENTS_64BIT_ALIGNED.
34130 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34131 * manual/filesys.texi (Reading/Closing Directory): Document
34132 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34133 strongly.
34134 * manual/conf.texi (Limits for Files): Add portability note to
34135 NAME_MAX, PATH_MAX.
34136 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34137
34138 2013-08-13 Andreas Schwab <schwab@suse.de>
34139
34140 [BZ #15749]
34141 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34142 of fabs.
34143 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34144 LDBL_MAX_EXP >= 16384]: Add tests for it.
34145
34146 2013-08-12 David S. Miller <davem@davemloft.net>
34147
34148 * version.h (RELEASE): Set to "development".
34149 (VERSION): Set to "2.18.90".
34150 * NEWS: Add 2.19 section.
34151
34152 2013-08-03 David S. Miller <davem@davemloft.net>
34153
34154 * po/ko.po: Update Korean translation from translation project.
34155
34156 2013-08-01 David S. Miller <davem@davemloft.net>
34157
34158 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34159 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34160 Bilka.
34161
34162 2013-07-30 David S. Miller <davem@davemloft.net>
34163
34164 * po/fr.po: Update French translation from translation project.
34165
34166 2013-07-28 David S. Miller <davem@davemloft.net>
34167
34168 * po/cs.po: Update Czech translation from translation project.
34169
34170 * po/sv.po: Update Swedish translation from translation project.
34171
34172 2013-07-27 David S. Miller <davem@davemloft.net>
34173
34174 * po/eo.po: Update Esperanto translation from translation project.
34175
34176 * po/vi.po: Update Vietnamese translation from translation project.
34177
34178 * po/de.po: Update German translation from translation project.
34179
34180 2013-07-26 David S. Miller <davem@davemloft.net>
34181
34182 * po/bg.po: Update Bulgarian translation from translation project.
34183
34184 * po/nl.po: Update Dutch translation from translation project.
34185 * po/pl.po: Update Polish translation from translation project.
34186 * po/ru.po: Update Russian translation from translation project.
34187
34188 2013-07-24 David S. Miller <davem@davemloft.net>
34189
34190 * po/libc.pot: Update.
34191
34192 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34193
34194 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34195 variable page size.
34196 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34197 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34198 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34199
34200 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34201
34202 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34203
34204 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34205 Andreas Schwab <schwab@suse.de>
34206 Roland McGrath <roland@hack.frob.com>
34207 Joseph Myers <joseph@codesourcery.com>
34208 Carlos O'Donell <carlos@redhat.com>
34209
34210 [BZ #15755]
34211 * config.h.in: Define HAVE_PT_CHOWN.
34212 * config.make.in (build-pt-chown): New variable.
34213 * configure.in (--enable-pt_chown): New configure option.
34214 * configure: Regenerate.
34215 * login/Makefile: Include Makeconfig. Build pt_chown only if
34216 build-pt-chown is enabled.
34217 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34218 pt_chown to fix pty ownership.
34219 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34220 CLOSE_ALL_FDS.
34221 * manual/install.texi (Configuring and compiling): Mention
34222 --enable-pt_chown. Add @findex for grantpt.
34223 * INSTALL: Regenerate.
34224
34225 2013-07-20 David S. Miller <davem@davemloft.net>
34226
34227 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34228 difference between 32-bit and 64-bit.
34229
34230 2013-07-15 Carlos O'Donell <carlos@redhat.com>
34231
34232 [BZ #15711]
34233 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34234 Avoid system header dependency with -ffreestanding.
34235 ($(objpfx)bits/syscall%d): Likewise.
34236
34237 2013-07-13 David S. Miller <davem@davemloft.net>
34238
34239 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34240 underflows from atanl/atan2l due to bug 15319.
34241 (casinh_test_data): Likewise.
34242
34243 2013-07-07 David S. Miller <davem@davemloft.net>
34244
34245 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34246
34247 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
34248
34249 * sysdeps/i386/fpu/libm-test-ulps: Update.
34250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34251
34252 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34253
34254 * configure.in (--enable-lock-elision): Fix message text.
34255 * INSTALL: Regenerate.
34256 * configure: Regenerate.
34257
34258 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34259
34260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34261
34262 2013-07-03 Andreas Jaeger <aj@suse.de>
34263
34264 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34265 define.
34266 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34267 (ptrace_peeksiginfo_args): Add.
34268 (__ptrace_peeksiginfo_flags): Add.
34269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34270 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34271 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34272
34273 2013-07-03 Allan McRae <allan@archlinux.org>
34274
34275 * sysdeps/i386/fpu/libm-test-ulps: Update.
34276
34277 2013-07-02 David S. Miller <davem@davemloft.net>
34278
34279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34280
34281 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34282
34283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34284
34285 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34286
34287 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34289
34290 2013-07-02 Andi Kleen <ak@linux.intel.com>
34291
34292 * config.h.in (ENABLE_LOCK_ELISION): Add.
34293 * configure.in (--enable-lock-elision): Add option.
34294 * manual/install.texi: Document --enable lock elision.
34295 * configure: Regenerate
34296 * INSTALL: Regenerate.
34297
34298 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34299
34300 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34301 SSE4.2 strcasecmp for libc.a.
34302 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34303
34304 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34305
34306 [BZ #13304]
34307 * soft-fp/op-common.h (_FP_FMA): New macro.
34308 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34309 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34310 (_FP_MUL_MEAT_1_imm): ... here.
34311 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34312 (_FP_MUL_MEAT_1_wide): ... here.
34313 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34314 (_FP_MUL_MEAT_1_hard): ... here.
34315 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34316 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34317 (_FP_MUL_MEAT_2_wide): ... here.
34318 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34319 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34320 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34321 (_FP_MUL_MEAT_2_gmp): ... here.
34322 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34323 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34324 (_FP_MUL_MEAT_4_wide): ... here.
34325 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34326 (_FP_MUL_MEAT_4_gmp): ... here.
34327 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34328 (_FP_WFRACBITS_DW_S): Likewise.
34329 (_FP_WFRACXBITS_DW_S): Likewise.
34330 (_FP_HIGHBIT_DW_S): Likewise.
34331 (FP_FMA_S): Likewise.
34332 (_FP_FRAC_HIGH_DW_S): Likewise.
34333 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34334 (_FP_WFRACBITS_DW_D): Likewise.
34335 (_FP_WFRACXBITS_DW_D): Likewise.
34336 (_FP_HIGHBIT_DW_D): Likewise.
34337 (FP_FMA_D): Likewise.
34338 (_FP_FRAC_HIGH_DW_D): Likewise.
34339 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34340 (_FP_WFRACBITS_DW_E): Likewise.
34341 (_FP_WFRACXBITS_DW_E): Likewise.
34342 (_FP_HIGHBIT_DW_E): Likewise.
34343 (FP_FMA_E): Likewise.
34344 (_FP_FRAC_HIGH_DW_E): Likewise.
34345 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34346 (_FP_WFRACBITS_DW_Q): Likewise.
34347 (_FP_WFRACXBITS_DW_Q): Likewise.
34348 (_FP_HIGHBIT_DW_Q): Likewise.
34349 (FP_FMA_Q): Likewise.
34350 (_FP_FRAC_HIGH_DW_Q): Likewise.
34351 * soft-fp/fmasf4.c: New file.
34352 * soft-fp/fmadf4.c: Likewise.
34353 * soft-fp/fmatf4.c: Likewise.
34354
34355 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34356
34357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34358 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34359 Silvermont.
34360 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34361 macro.
34362 (index_Slow_SSE4_2): Likewise.
34363 (index_Prefer_PMINUB_for_stringop): Likewise.
34364 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34365 bit_Slow_SSE4_2 is set.
34366 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34367 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34368
34369 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34370
34371 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34372 rtld_global._dl_hwcap2.
34373 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34374 POWER8.
34375 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34376 POWER8 feature descriptions defined in _dl_hwcap2.
34377 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34378 string handling for POWER8 feature bits.
34379 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34380 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34381 _dl_powerpc_cap_flags.
34382 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34383 * sysdeps/powerpc/rtld-global-offsets.sym
34384 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34385 _dl_hwcap2 in the rtld_global_ro structure.
34386
34387 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34388
34389 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34390 hardware capabilities in support of AT_HWCAP2.
34391 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34392 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34393 GLRO(dl_hwcap2).
34394 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34395 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34396 explicitly the unknown a_type display mechanism is used.
34397 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34398 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34399 struct member.
34400 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34401 to macro prototype for AT_HWCAP2 support.
34402 * sysdeps/i386/dl-procinfo.h: Likewise.
34403 * sysdeps/s390/dl-procinfo.h: Likewise.
34404 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34405 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34406 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34407 return -1 for unknown a_type display fallback.
34408 * sysdeps/sparc/dl-procinfo.h: Likewise.
34409 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34410 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34411
34412 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34413
34414 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34415 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34416
34417 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34418
34419 [BZ #12492]
34420 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34421 mprotect making __stack_prot writable.
34422
34423 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34424 Joseph Myers <joseph@codesourcery.com>
34425
34426 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34427 as being properly aligned.
34428
34429 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34430
34431 * dlfcn/modstatic5.c: New file.
34432 * dlfcn/tststatic5.c: New file.
34433 * dlfcn/Makefile (tests): Add tststatic5.
34434 (tests-static): Likewise.
34435 (modules-names): Add modstatic5.
34436 (tststatic5-ENV): New variable.
34437 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34438
34439 [BZ #15022]
34440 * elf/dl-support.c (_dl_main_map): New variable.
34441 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34442 (_dl_nns, _dl_load_adds): Set to 1.
34443 (_dl_initial_searchlist): Refer to _dl_main_map.
34444 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34445 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34446 call to _dl_get_origin.
34447 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34448 around call_map.
34449 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34450 * dlfcn/modstatic3.c: New file.
34451 * dlfcn/tststatic3.c: New file.
34452 * dlfcn/tststatic4.c: New file.
34453 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34454 (tests-static): Likewise.
34455 (modules-names): Add modstatic3.
34456 (tststatic3-ENV, tststatic4-ENV): New variables.
34457 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34458 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34459
34460 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34461
34462 * configure.in (CC): Require GCC version 4.4 or later.
34463 * configure: Regenerated.
34464 * manual/install.texi (Tools for Compilation): Update GCC version
34465 requirement.
34466 * INSTALL: Regenerated.
34467
34468 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34469
34470 [BZ #15674]
34471 * string/test-memcmp.c (check2): New.
34472 (main): Call check2.
34473
34474 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34475
34476 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34477
34478 [BZ #15022]
34479 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34480 over to...
34481 (dl_open_worker) [!SHARED]: ... here.
34482
34483 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34484
34485 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34486
34487 2013-06-25 Richard Henderson <rth@redhat.com>
34488
34489 * locale/programs/locarchive.c: Include <libc-internal.h>
34490
34491 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34492
34493 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34494 trailing whitespace removed.
34495
34496 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34497
34498 [BZ #10283]
34499 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34500 * locale/programs/locarchive.c: Include libc-mmap.h.
34501 (prepare_address_space): Take two new outputs (the mmap base and len).
34502 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34503 values.
34504 (create_archive): Declare new mmap base and len values for
34505 prepare_address_space, and store the result in ah.
34506 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34507 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34508 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34509 Declare new mmap base and len values for
34510 prepare_address_space, and store the result in new_ah.
34511 (open_archive): Declare new mmap base and len values for
34512 prepare_address_space, and store the result in ah.
34513 (close_archive): If ah->mmap_base is not NULL, use that and
34514 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34515 * sysdeps/generic/libc-mmap.h: New file.
34516
34517 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34518
34519 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34520 (ALIGN_UP): Likewise.
34521 (PTR_ALIGN_DOWN): Likewise.
34522 (PTR_ALIGN_UP): Likewise.
34523
34524 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34525
34526 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34527 entry mapped to PPC_PLATFORM_POWER8.
34528 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34529 POWER8.
34530 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34531 (_dl_string_platform): Add case for exporting platform position for
34532 POWER8.
34533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34534 search path to sysdeps/powerpc/powerpc32/power8 directory.
34535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34536 search path to sysdeps/powerpc/powerpc64/power8 directory.
34537 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34538 power7 directories.
34539 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34540 power7 directories.
34541
34542 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34543
34544 * INSTALL: Regenerate.
34545
34546 * nscd/connections.c (nscd_init): Fix comment.
34547
34548 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34549
34550 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34551
34552 [BZ #15667]
34553 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34554 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34555
34556 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34557
34558 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34559 DL_DST_REQ_STATIC.
34560 (DL_DST_REQ_STATIC): Remove macro.
34561
34562 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34563
34564 [BZ #7006]
34565 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34566 with a shift of 0 bits.
34567
34568 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34569
34570 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34571 $(tststatic-ENV).
34572
34573 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34574
34575 [BZ #15655]
34576 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34577
34578 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34579
34580 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34581 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34582 accepts -fno-tree-loop-distribute-patterns.
34583 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34584 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34585 recursive call.
34586 * string/memset.c (memset): Likewise.
34587 * string/test-memmove.c (simple_memmove): Disable loop transformation
34588 to library calls.
34589 * string/test-memset.c (simple_memset): Likewise.
34590 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34591 * benchtests/bench-memset.c (simple_memset): Likewise.
34592 * configure: Regenerated.
34593
34594 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34595
34596 * math/test-misc.c (main): Ignore fesetround failure when failures
34597 of subsequent rounding tests would be ignored.
34598
34599 [BZ #15654]
34600 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34601 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34602 * math/fegetenv.c (__fegetenv): Return 0.
34603 * math/fegetexcept.c (fegetexcept): Return 0.
34604 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34605 FE_TONEAREST.
34606 * math/feholdexcpt.c (feholdexcept): Return 0.
34607 * math/fesetenv.c (__fesetenv): Return 0.
34608 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34609 argument FE_TONEAREST.
34610 * math/feupdateenv.c (__feupdateenv): Return 0.
34611 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34612
34613 2013-06-18 Roland McGrath <roland@hack.frob.com>
34614
34615 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34616 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34617 ($(objpfx)rtld-%.os rules): Use them.
34618
34619 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34620
34621 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34622 fields.
34623
34624 2013-06-17 Roland McGrath <roland@hack.frob.com>
34625
34626 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34627 length of target pattern, then descending length of dependency pattern.
34628 * configure.in (AWK): Require gawk 3.1.2 or newer.
34629 * manual/install.texi (Tools for Compilation): Say that we do.
34630 * configure: Regenerated.
34631
34632 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34633 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34634 * scripts/sysd-rules.awk: ... this new script.
34635 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34636 than a glob-style pattern.
34637
34638 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34639
34640 * math/test-misc.c (main): Do not treat incorrectly rounded
34641 conversions as failure unless ROUNDING_TESTS passes.
34642
34643 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34644
34645 [BZ #15631]
34646 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34647 restore exception state around main square root computation, then
34648 check for inexactness explicitly.
34649
34650 * math/libm-test.inc (fma_test_data): Add another test.
34651
34652 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34653
34654 * manual/threads.texi (Non-POSIX Extensions): New document
34655 node. Document pthread_getattr_default_np and
34656 pthread_setattr_default_np.
34657
34658 * Versions.def (libpthread): Add GLIBC_2.18.
34659 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34661 Likewise.
34662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34663 Likewise.
34664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34665 Likewise.
34666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34667 Likewise.
34668 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34669 Likewise.
34670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34671 Likewise.
34672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34673 Likewise.
34674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34675 Likewise.
34676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34677 Likewise.
34678
34679 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34680
34681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34682 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34683
34684 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34685 H.J. Lu <hjl.tools@gmail.com>
34686
34687 [BZ #15627]
34688 * sysdeps/x86_64/rtld-memset.c: Remove file.
34689 * sysdeps/x86_64/rtld-memset.S: New file.
34690
34691 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34692
34693 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34694 (test_in_one_mode): Take arguments for whether the rounding mode
34695 is supported for each floating-point type.
34696 (do_test): Pass new arguments to test_in_one_mode using
34697 ROUNDING_TESTS.
34698
34699 2013-06-13 Roland McGrath <roland@hack.frob.com>
34700
34701 * posix/tst-waitid.c (do_test): Distinguish different instances of
34702 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34703 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34704 before entering the kernel for waitpid.
34705
34706 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34707
34708 * NEWS: Fix note on clock function precision. Text by Roland
34709 McGrath.
34710
34711 2013-06-13 Roland McGrath <roland@hack.frob.com>
34712
34713 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34714 it into place only when and if the sanity check passes.
34715
34716 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34717
34718 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34719 output for whether conversion result is exact. Take argument
34720 indicating whether type is IBM long double.
34721 (round_for_all): Change need_exact field to ibm_ld.
34722 * stdlib/tst-strtod-round.c (struct exactness): New type.
34723 (struct test): Change bool ld_ok field to struct exactness exact.
34724 (TEST): Update all definitions for change to field.
34725 (tests): Regenerate array contents.
34726 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34727 field value. Check for IBM long double here.
34728 (do_test): Update calls to test_in_one_mode.
34729
34730 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34731
34732 [BZ #12515]
34733 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34734 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34735
34736 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34737
34738 [BZ #15605]
34739 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34740 generated by the compiler on loop optimizations.
34741 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34742 general definitions.
34743
34744 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34745
34746 * math/bug-nextafter.c: Include <math-tests.h>.
34747 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34748 the relevant type.
34749 * math/bug-nexttoward.c: Include <math-tests.h>.
34750 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34751 the relevant type.
34752 * math/test-misc.c: Include <math-tests.h>.
34753 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34754 the relevant type.
34755
34756 2013-06-12 Andreas Jaeger <aj@suse.de>
34757
34758 * po/ia.po: Update Interlingua translation from translation
34759 project.
34760
34761 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34762
34763 * include/fenv.h: Include stdbool.h.
34764 (struct rm_ctx): New structure.
34765 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34766 Define macro.
34767 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34768 (SET_RESTORE_ROUNDF): Likewise.
34769 (SET_RESTORE_ROUNDL): Likewise.
34770 (SET_RESTORE_ROUND_NOEX): Likewise.
34771 (SET_RESTORE_ROUND_NOEXF): Likewise.
34772 (SET_RESTORE_ROUND_NOEXL): Likewise.
34773 (SET_RESTORE_ROUND_53BIT): Likewise.
34774 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34775 (libc_feresetround_noexf_ctx): Likewise.
34776 (libc_feresetround_noexl_ctx): Likewise.
34777 (libc_feholdsetround_53bit_ctx): Likewise.
34778 (libc_feresetround_53bit_ctx): Likewise.
34779 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34780 (libc_feholdexcept_setround_sse_ctx): New function.
34781 (libc_fesetenv_sse_ctx): Likewise.
34782 (libc_feupdateenv_sse_ctx): Likewise.
34783 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34784 (libc_feholdexcept_setround_387_ctx): Likewise.
34785 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34786 (libc_feholdsetround_387_prec_ctx): Likewise.
34787 (libc_feholdsetround_387_ctx): Likewise.
34788 (libc_feholdsetround_387_53bit_ctx): Likewise.
34789 (libc_feholdsetround_sse_ctx): Likewise.
34790 (libc_feresetround_sse_ctx): Likewise.
34791 (libc_feresetround_387_ctx): Likewise.
34792 (libc_feupdateenv_387_ctx): Likewise.
34793 (libc_feholdexcept_setroundf_ctx): Define macro.
34794 (libc_fesetenvf_ctx): Likewise.
34795 (libc_feupdateenvf_ctx): Likewise.
34796 (libc_feholdsetroundf_ctx): Likewise.
34797 (libc_feresetroundf_ctx): Likewise.
34798 (libc_feholdexcept_setround_ctx): Likewise.
34799 (libc_fesetenv_ctx): Likewise.
34800 (libc_feupdateenv_ctx): Likewise.
34801 (libc_feholdsetround_ctx): Likewise.
34802 (libc_feresetround_ctx): Likewise.
34803 (libc_feholdexcept_setroundl_ctx): Likewise.
34804 (libc_feupdateenvl_ctx): Likewise.
34805 (libc_feholdsetroundl_ctx): Likewise.
34806 (libc_feresetroundl_ctx): Likewise.
34807 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34808 (libc_feresetround_53bit_ctx): Likewise.
34809
34810 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34811
34812 * locale/iso-639.def: Convert to UTF-8.
34813
34814 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34815
34816 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34817 (EXCEPTION_TESTS_double): Likewise.
34818 (EXCEPTION_TESTS_long_double): Likewise.
34819 (EXCEPTION_TESTS): Likewise.
34820 * math/libm-test.inc (test_exceptions): Only test exceptions if
34821 EXCEPTION_TESTS (FLOAT).
34822
34823 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34824
34825 * benchtests/Makefile (string-bench): Add strcpy_chk and
34826 stpcpy_chk.
34827 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34828 * benchtests/bench-stpcpy_chk.c: New file.
34829 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34830 * benchtests/bench-strcpy_chk.c: New file.
34831 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34832 code.
34833 (do_test): Likewise.
34834
34835 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34836
34837 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34838 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34839 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34840 with tabs where appropriate.
34841 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34842 dl-procinfo.h.
34843 [PPC_PLATFORM_PPC440]: Likewise.
34844 [PPC_PLATFORM_PPC464]: Likewise.
34845 [PPC_PLATFORM_PPC476]: Likewise.
34846 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34847 ppc464, and ppc476 platform strings merging from ports/
34848 dl-procinfo.h.
34849
34850 2013-06-11 Andreas Schwab <schwab@suse.de>
34851
34852 [BZ #14991]
34853 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34854 (from_ucs4_idx): Regenerate.
34855 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34856 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34857 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34858 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34859 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34860 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34861 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34862 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34863 from FROM_LOOP and TO_LOOP specific macros.
34864 (BODY): Handle combining characters.
34865 * iconvdata/BIG5HKSCS.irreversible: Update.
34866 * iconvdata/BIG5HKSCS.precomposed: New file.
34867 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34868 characters.
34869 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34870
34871 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34872
34873 * include/sys/time.h: Fix indentation and add copyright header.
34874
34875 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34876 (do_test): Likewise.
34877 * string/test-memchr.c (do_one_test): Likewise.
34878 (do_test): Likewise.
34879 * string/test-memcmp.c (do_one_test): Likewise.
34880 (do_test): Likewise.
34881 * string/test-memcpy.c (do_one_test): Likewise.
34882 (do_test): Likewise.
34883 * string/test-memmem.c (do_one_test): Likewise.
34884 (do_test): Likewise.
34885 (do_random_tests): Likewise.
34886 * string/test-memmove.c (do_one_test): Likewise.
34887 (do_test): Likewise.
34888 * string/test-memset.c (do_one_test): Likewise.
34889 (do_test): Likewise.
34890 * string/test-rawmemchr.c (do_one_test): Likewise.
34891 (do_test): Likewise.
34892 * string/test-strcasecmp.c (do_one_test): Likewise.
34893 (do_test): Likewise.
34894 * string/test-strcasestr.c (do_one_test): Likewise.
34895 (do_test): Likewise.
34896 * string/test-strcat.c (do_one_test): Likewise.
34897 (do_test): Likewise.
34898 * string/test-strchr.c (do_one_test): Likewise.
34899 (do_test): Likewise.
34900 * string/test-strcmp.c (do_one_test): Likewise.
34901 (do_test): Likewise.
34902 * string/test-strcpy.c (do_one_test): Likewise.
34903 (do_test): Likewise.
34904 * string/test-string.h: Likewise.
34905 (test_init): Likewise.
34906 * string/test-strlen.c (do_one_test): Likewise.
34907 (do_test): Likewise.
34908 * string/test-strncasecmp.c (do_one_test): Likewise.
34909 (do_test): Likewise.
34910 * string/test-strncat.c (do_one_test): Likewise.
34911 (do_test): Likewise.
34912 * string/test-strncmp.c (do_one_test): Likewise.
34913 (do_test_limit): Likewise.
34914 (do_test): Likewise.
34915 * string/test-strncpy.c (do_one_test): Likewise.
34916 (do_test): Likewise.
34917 * string/test-strnlen.c (do_one_test): Likewise.
34918 (do_test): Likewise.
34919 * string/test-strpbrk.c (do_one_test): Likewise.
34920 (do_test): Likewise.
34921 * string/test-strrchr.c (do_one_test): Likewise.
34922 (do_test): Likewise.
34923 * string/test-strspn.c (do_one_test): Likewise.
34924 (do_test): Likewise.
34925 * string/test-strstr.c (do_one_test): Likewise.
34926 (do_test): Likewise.
34927
34928 * benchtests/Makefile (string-bench): Add string benchmarks.
34929 * benchtests/bench-bcopy-ifunc.c: New file.
34930 * benchtests/bench-bcopy.c: New file.
34931 * benchtests/bench-bzero-ifunc.c: New file.
34932 * benchtests/bench-bzero.c: New file.
34933 * benchtests/bench-memccpy-ifunc.c: New file.
34934 * benchtests/bench-memccpy.c: New file.
34935 * benchtests/bench-memchr-ifunc.c: New file.
34936 * benchtests/bench-memchr.c: New file.
34937 * benchtests/bench-memcmp-ifunc.c: New file.
34938 * benchtests/bench-memcmp.c: New file.
34939 * benchtests/bench-memmem-ifunc.c: New file.
34940 * benchtests/bench-memmem.c: New file.
34941 * benchtests/bench-memmove-ifunc.c: New file.
34942 * benchtests/bench-memmove.c: New file.
34943 * benchtests/bench-mempcpy-ifunc.c: New file.
34944 * benchtests/bench-mempcpy.c: New file.
34945 * benchtests/bench-memset-ifunc.c: New file.
34946 * benchtests/bench-memset.c: New file.
34947 * benchtests/bench-rawmemchr-ifunc.c: New file.
34948 * benchtests/bench-rawmemchr.c: New file.
34949 * benchtests/bench-stpcpy-ifunc.c: New file.
34950 * benchtests/bench-stpcpy.c: New file.
34951 * benchtests/bench-stpncpy-ifunc.c: New file.
34952 * benchtests/bench-stpncpy.c: New file.
34953 * benchtests/bench-strcasecmp-ifunc.c: New file.
34954 * benchtests/bench-strcasecmp.c: New file.
34955 * benchtests/bench-strcasestr-ifunc.c: New file.
34956 * benchtests/bench-strcasestr.c: New file.
34957 * benchtests/bench-strcat-ifunc.c: New file.
34958 * benchtests/bench-strcat.c: New file.
34959 * benchtests/bench-strchr-ifunc.c: New file.
34960 * benchtests/bench-strchr.c: New file.
34961 * benchtests/bench-strchrnul-ifunc.c: New file.
34962 * benchtests/bench-strchrnul.c: New file.
34963 * benchtests/bench-strcmp-ifunc.c: New file.
34964 * benchtests/bench-strcmp.c: New file.
34965 * benchtests/bench-strcpy-ifunc.c: New file.
34966 * benchtests/bench-strcpy.c: New file.
34967 * benchtests/bench-strcspn-ifunc.c: New file.
34968 * benchtests/bench-strcspn.c: New file.
34969 * benchtests/bench-strlen-ifunc.c: New file.
34970 * benchtests/bench-strlen.c: New file.
34971 * benchtests/bench-strncasecmp-ifunc.c: New file.
34972 * benchtests/bench-strncasecmp.c: New file.
34973 * benchtests/bench-strncat-ifunc.c: New file.
34974 * benchtests/bench-strncat.c: New file.
34975 * benchtests/bench-strncmp-ifunc.c: New file.
34976 * benchtests/bench-strncmp.c: New file.
34977 * benchtests/bench-strncpy-ifunc.c: New file.
34978 * benchtests/bench-strncpy.c: New file.
34979 * benchtests/bench-strnlen-ifunc.c: New file.
34980 * benchtests/bench-strnlen.c: New file.
34981 * benchtests/bench-strpbrk-ifunc.c: New file.
34982 * benchtests/bench-strpbrk.c: New file.
34983 * benchtests/bench-strrchr-ifunc.c: New file.
34984 * benchtests/bench-strrchr.c: New file.
34985 * benchtests/bench-strspn-ifunc.c: New file.
34986 * benchtests/bench-strspn.c: New file.
34987 * benchtests/bench-strstr-ifunc.c: New file.
34988 * benchtests/bench-strstr.c: New file.
34989
34990 * benchtests/Makefile: Disable parallel execution of targets.
34991 (string-bench): Add memcpy.
34992 (benchset): New variable to store a list of benchmark sets.
34993 (bench-func): Renamed from bench.
34994 (bench-set): New target.
34995 (bench): Depend on bench-func and bench-set.
34996 * benchtests/README: Add section on benchmark sets.
34997 * benchtests/bench-memcpy-ifunc.c: New file.
34998 * benchtests/bench-memcpy.c: New file.
34999 * benchtests/bench-string.h: New file.
35000
35001 2013-06-11 Andreas Schwab <schwab@suse.de>
35002
35003 [BZ #15577]
35004 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35005 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35006 values in the triple.
35007 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35008 terminator in the group key.
35009
35010 2013-06-11 Andreas Jaeger <aj@suse.de>
35011
35012 * po/zh_TW.po: Update Chinese (traditional) translation from
35013 translation project.
35014
35015 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35016
35017 * include/time.h (__clock_gettime): Add libc_hidden_proto.
35018 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35019 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
35020 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35021 (clock_getcpuclockid): Likewise.
35022 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35023 Add weak_alias and libc_hidden_def.
35024 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35025 * rt/clock_gettime.c (clock_gettime): Rename to
35026 __clock_gettime. Add weak_alias and libc_hidden_def.
35027 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35028 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35029 __clock_nanosleep. Add weak_alias and libc_hidden_def.
35030 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35031 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35032 Likewise.
35033 * rt/clock_settime.c (clock_settime): Rename to
35034 __clock_settime. Add weak_alias and libc_hidden_def.
35035 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35036
35037 2013-06-10 Joseph Myers <joseph@codesourcery.com>
35038
35039 * mach/err_boot.sub: Remove trailing whitespace.
35040 * mach/err_ipc.sub: Likewise.
35041 * mach/err_mach.sub: Likewise.
35042
35043 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35044 (ROUNDING_TESTS_double): Likewise.
35045 (ROUNDING_TESTS_long_double): Likewise.
35046 (ROUNDING_TESTS): Likewise.
35047 * math/libm-test.inc: Include <math-tests.h>.
35048 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35049 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35050 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35051 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35052
35053 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35054
35055 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35056 of assigning.
35057
35058 2013-06-08 Joseph Myers <joseph@codesourcery.com>
35059
35060 * sysdeps/gnu/errlist.awk: Do not generate space at end of
35061 otherwise empty TRANS lines.
35062 * sysdeps/gnu/errlist.c: Regenerated.
35063
35064 * catgets/gencat.c (error_print): Use (void) in function
35065 definition.
35066 * crypt/crypt_util.c (__init_des): Likewise.
35067 * crypt/speeds.c (Stop): Likewise.
35068 (main): Likewise.
35069 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35070 * inet/ruserpass.c (token): Likewise.
35071 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35072 * intl/localealias.c (extend_alias_table): Likewise.
35073 * intl/plural-exp.c (init_germanic_plural): Likewise.
35074 * libio/fcloseall.c (__fcloseall): Likewise.
35075 * libio/genops.c (_IO_flush_all): Likewise.
35076 (_IO_flush_all_linebuffered): Likewise.
35077 (_IO_cleanup): Likewise.
35078 (_IO_iter_begin): Likewise.
35079 (_IO_iter_end): Likewise.
35080 (_IO_list_lock): Likewise.
35081 (_IO_list_unlock): Likewise.
35082 (_IO_list_resetlock): Likewise.
35083 * libio/getchar.c (getchar): Likewise.
35084 * libio/getchar_u.c (getchar_unlocked): Likewise.
35085 * libio/getwchar.c (getwchar): Likewise.
35086 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35087 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35088 * login/getpt.c (__getpt): Likewise.
35089 * login/tst-utmp.c (main): Likewise.
35090 * malloc/hooks.c (__malloc_check_init): Likewise.
35091 * malloc/malloc.c (__malloc_stats): Likewise.
35092 * malloc/mtrace.c (tr_break): Likewise.
35093 (mtrace): Likewise.
35094 (muntrace): Likewise.
35095 * misc/fstab.c (endfsent): Likewise.
35096 * misc/getclktck.c (__getclktck): Likewise.
35097 * misc/getdtsz.c (__getdtablesize): Likewise.
35098 * misc/gethostid.c (gethostid): Likewise.
35099 * misc/getpagesize.c (__getpagesize): Likewise.
35100 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35101 (__get_nprocs): Likewise.
35102 (__get_phys_pages): Likewise.
35103 (__get_avphys_pages): Likewise.
35104 * misc/getttyent.c (getttyent): Likewise.
35105 (setttyent): Likewise.
35106 (endttyent): Likewise.
35107 * misc/getusershell.c (getusershell): Likewise.
35108 (endusershell): Likewise.
35109 (setusershell): Likewise.
35110 (initshells): Likewise.
35111 * misc/hsearch.c (__hdestroy): Likewise.
35112 * misc/sync.c (sync): Likewise.
35113 * misc/syslog.c (closelog_internal): Likewise.
35114 (closelog): Likewise.
35115 * misc/ttyslot.c (ttyslot): Likewise.
35116 * misc/vhangup.c (vhangup): Likewise.
35117 * posix/fork.c (__fork): Likewise.
35118 * posix/getegid.c (__getegid): Likewise.
35119 * posix/geteuid.c (__geteuid): Likewise.
35120 * posix/getgid.c (__getgid): Likewise.
35121 * posix/getpid.c (__getpid): Likewise.
35122 * posix/getppid.c (__getppid): Likewise.
35123 * posix/getuid.c (__getuid): Likewise.
35124 * posix/pause.c (pause): Likewise.
35125 * posix/setpgrp.c (setpgrp): Likewise.
35126 * posix/setsid.c (__setsid): Likewise.
35127 * posix/test-vfork.c (noop): Likewise.
35128 * resolv/gethnamaddr.c (_endhtent): Likewise.
35129 (_gethtent): Likewise.
35130 (ht_endhostent): Likewise.
35131 (gethostent): Likewise.
35132 (dns_service): Likewise.
35133 * stdlib/drand48.c (drand48): Likewise.
35134 * stdlib/lrand48.c (lrand48): Likewise.
35135 * stdlib/mrand48.c (mrand48): Likewise.
35136 * stdlib/rand.c (rand): Likewise.
35137 * stdlib/random.c (__random): Likewise.
35138 * stdlib/setenv.c (clearenv): Likewise.
35139 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35140 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35141 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35142 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35143 (__get_nprocs): Likewise.
35144 (__get_phys_pages): Likewise.
35145 (__get_avphys_pages): Likewise.
35146 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35147 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35148 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35149 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35150 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35151 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35152 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35153 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35154 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35155 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35156 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35157 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35158 * sysdeps/posix/clock.c (clock): Likewise.
35159 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35160 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35161 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35162 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35163 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35165 (__get_nprocs_conf): Likewise.
35166 (__get_phys_pages): Likewise.
35167 (__get_avphys_pages): Likewise.
35168 * time/clock.c (clock): Likewise.
35169 * time/tzset.c (__tzname_max): Likewise.
35170
35171 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35172
35173 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35174 (__bswap_32): Do not use "register".
35175 * crypt/crypt.c (_ufc_doit_r): Likewise.
35176 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35177 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35178 * gmon/gmon.c (__monstartup): Likewise.
35179 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35180 * hurd/hurdmalloc.c (more_memory): Likewise.
35181 (malloc): Likewise.
35182 (free): Likewise.
35183 (realloc): Likewise.
35184 (malloc_fork_prepare): Likewise.
35185 (malloc_fork_parent): Likewise.
35186 (malloc_fork_child): Likewise.
35187 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35188 (_svcauth_des): Likewise.
35189 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35190 * inet/inet_net.c (inet_network): Likewise.
35191 * inet/inet_netof.c (inet_netof): Likewise.
35192 * inet/rcmd.c (__validuser2_sa): Likewise.
35193 * io/fts.c (fts_open): Likewise.
35194 (fts_load): Likewise.
35195 (fts_close): Likewise.
35196 (fts_read): Likewise.
35197 (fts_children): Likewise.
35198 (fts_build): Likewise.
35199 (fts_stat): Likewise.
35200 (fts_sort): Likewise.
35201 (fts_alloc): Likewise.
35202 (fts_lfree): Likewise.
35203 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35204 (_IO_file_xsgetn): Likewise.
35205 (_IO_file_xsgetn_mmap): Likewise.
35206 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35207 (_IO_cookie_write): Likewise.
35208 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35209 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35210 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35211 * malloc/obstack.c (_obstack_begin): Likewise.
35212 (_obstack_begin_1): Likewise.
35213 (_obstack_newchunk): Likewise.
35214 (_obstack_allocated_p): Likewise.
35215 (obstack_free): Likewise.
35216 (_obstack_memory_used): Likewise.
35217 * misc/getttyent.c (getttynam): Likewise.
35218 (getttyent): Likewise.
35219 (skip): Likewise.
35220 (value): Likewise.
35221 * misc/getusershell.c (initshells): Likewise.
35222 * misc/syslog.c (__vsyslog_chk): Likewise.
35223 * misc/ttyslot.c (ttyslot): Likewise.
35224 * nis/nis_hash.c (__nis_hash): Likewise.
35225 * posix/fnmatch_loop.c (FCT): Likewise.
35226 * posix/getconf.c (print_all): Likewise.
35227 (main): Likewise.
35228 * posix/getopt.c (exchange): Likewise.
35229 * posix/glob.c (globfree): Likewise.
35230 (prefix_array): Likewise.
35231 (__glob_pattern_type): Likewise.
35232 * resolv/arpa/nameser.h (NS_GET16): Likewise.
35233 (NS_GET32): Likewise.
35234 (NS_PUT16): Likewise.
35235 (NS_PUT32): Likewise.
35236 * resolv/gethnamaddr.c (getanswer): Likewise.
35237 (gethostbyname2): Likewise.
35238 (gethostbyaddr): Likewise.
35239 (_gethtent): Likewise.
35240 (_gethtbyname2): Likewise.
35241 (_gethtbyaddr): Likewise.
35242 * resolv/ns_print.c (dst_s_get_int16): Likewise.
35243 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35244 * resolv/res_init.c (__res_vinit): Likewise.
35245 (net_mask): Likewise.
35246 * resolv/res_mkquery.c (outchar): Likewise.
35247 (PRINT): Likewise.
35248 * stdio-common/printf_fp.c (outchar): Likewise.
35249 (PRINT): Likewise.
35250 * stdio-common/printf_fphex.c (outchar): Likewise.
35251 (PRINT): Likewise.
35252 * stdio-common/printf_size.c (outchar): Likewise.
35253 (PRINT): Likewise.
35254 * stdio-common/test_rdwr.c (main): Likewise.
35255 * stdio-common/tfformat.c (matches): Likewise.
35256 * stdio-common/vfprintf.c (outchar): Likewise.
35257 (printf_unknown): Likewise.
35258 (buffered_vfprintf): Likewise.
35259 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35260 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35261 (ReadFile): Likewise.
35262 * stdlib/qsort.c (SWAP): Likewise.
35263 (_quicksort): Likewise.
35264 * stdlib/setenv.c (__add_to_environ): Likewise.
35265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35266 * stdlib/strtol_l.c (__strtol_l): Likewise.
35267 * stdlib/tst-strtod.c (main): Likewise.
35268 * stdlib/tst-strtol.c (main): Likewise.
35269 * stdlib/tst-strtoll.c (main): Likewise.
35270 * string/bits/string2.h (__strcmp_cc): Likewise.
35271 (__strcmp_cg): Likewise.
35272 (__strcspn_c1): Likewise.
35273 (__strcspn_c2): Likewise.
35274 (__strcspn_c3): Likewise.
35275 (__strspn_c1): Likewise.
35276 (__strspn_c2): Likewise.
35277 (__strspn_c3): Likewise.
35278 (__strsep_1c): Likewise.
35279 (__strsep_2c): Likewise.
35280 (__strsep_3c): Likewise.
35281 * string/memccpy.c (__memccpy): Likewise.
35282 * string/stpcpy.c (__stpcpy): Likewise.
35283 * string/strcmp.c (strcmp): Likewise.
35284 * string/strrchr.c (strrchr): Likewise.
35285 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35286 Likewise.
35287 * sysdeps/mach/hurd/getcwd.c
35288 (_hurd_canonicalize_directory_name_internal): Likewise.
35289 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35290 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35291 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35292 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35293 Likewise, in both definitions.
35294 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35295 definitions.
35296 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35297 64] (__bswap_64): Likewise.
35298 * time/test_time.c (main): Likewise.
35299 * time/tzfile.c (__tzfile_read): Likewise.
35300 (__tzfile_compute): Likewise.
35301 * time/tzset.c (__tzset_parse_tz): Likewise.
35302 (tzset_internal): Likewise.
35303 (compute_change): Likewise.
35304 * wcsmbs/wcscat.c (__wcscat): Likewise.
35305 * wcsmbs/wcschr.c (wcschr): Likewise.
35306 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35307 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35308 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35309 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35310 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35311 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35312 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35313 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35314 * wcsmbs/wmemset.c (wmemset): Likewise.
35315
35316 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35317
35318 * scripts/config.guess: Update to version 2013-05-16.
35319 * scripts/config.sub: Update to version 2013-04-24.
35320 * scripts/install-sh: Update to version 2011-11-20.07.
35321 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35322 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35323
35324 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35325
35326 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35327 * elf/sln.c: Likewise.
35328 * hurd/hurd/ioctl.h: Likewise.
35329 * hurd/hurdmalloc.c: Likewise.
35330 * hurd/xattr.c: Likewise.
35331 * include/shlib-compat.h: Likewise.
35332 * inet/ruserpass.c: Likewise.
35333 * libio/iofgets_u.c: Likewise.
35334 * libio/iofgetws_u.c: Likewise.
35335 * locale/programs/ld-identification.c: Likewise.
35336 * locale/programs/ld-time.c: Likewise.
35337 * mach/msg-destroy.c: Likewise.
35338 * nss/nss_files/files-netgrp.c: Likewise.
35339 * resolv/res_data.c: Likewise.
35340 * soft-fp/op-1.h: Likewise.
35341 * soft-fp/op-2.h: Likewise.
35342 * soft-fp/op-4.h: Likewise.
35343 * soft-fp/op-common.h: Likewise.
35344 * stdio-common/printf_fphex.c: Likewise.
35345 * stdlib/strtod_l.c: Likewise.
35346 * sunrpc/rpc/clnt.h: Likewise.
35347 * sysdeps/generic/framestate.c: Likewise.
35348 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35349 * sysdeps/i386/bsd-setjmp.S: Likewise.
35350 * sysdeps/i386/__longjmp.S: Likewise.
35351 * sysdeps/i386/setjmp.S: Likewise.
35352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35353 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35355 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35357 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35361 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35362 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35363 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35364 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35368 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35369 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35370 * sysdeps/ieee754/support.c: Likewise.
35371 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35372 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35373 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35374 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35375 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35376 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35377 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35378 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35379 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35380 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35381 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35382 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35383 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35384 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35385 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35386 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35387 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35389
35390 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35391
35392 * posix/transbug.c: Remove executable mode.
35393
35394 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35395
35396 * crypt/speeds.c: Remove trailing whitespace.
35397 * dlfcn/default.c: Likewise.
35398 * elf/ifuncdep2.c: Likewise.
35399 * elf/ifuncmain1.c: Likewise.
35400 * elf/ifuncmain1vis.c: Likewise.
35401 * elf/testobj.h: Likewise.
35402 * elf/tst-stackguard1.c: Likewise.
35403 * gmon/sys/gmon.h: Likewise.
35404 * hurd/hurdmsg.c: Likewise.
35405 * hurd/new-fd.c: Likewise.
35406 * hurd/ports-get.c: Likewise.
35407 * iconvdata/ibm1008_420.c: Likewise.
35408 * inet/tst-getni1.c: Likewise.
35409 * inet/tst-getni2.c: Likewise.
35410 * libio/ioungetc.c: Likewise.
35411 * libio/wfiledoalloc.c: Likewise.
35412 * manual/libm-err-tab.pl: Likewise.
35413 * math/w_dremf.c: Likewise.
35414 * misc/ftruncate.c: Likewise.
35415 * posix/bug-glob2.c: Likewise.
35416 * posix/tst-pcre.c: Likewise.
35417 * posix/wait4.c: Likewise.
35418 * resolv/README: Likewise.
35419 * resolv/res_debug.h: Likewise.
35420 * resolv/tst-inet_ntop.c: Likewise.
35421 * setjmp/bug269-setjmp.c: Likewise.
35422 * soft-fp/extended.h: Likewise.
35423 * soft-fp/op-1.h: Likewise.
35424 * soft-fp/op-2.h: Likewise.
35425 * soft-fp/op-4.h: Likewise.
35426 * soft-fp/op-8.h: Likewise.
35427 * soft-fp/testit.c: Likewise.
35428 * stdio-common/bug16.c: Likewise.
35429 * stdlib/random.c: Likewise.
35430 * sunrpc/rpcsvc/rquota.x: Likewise.
35431 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35432 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35433 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35434 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35435 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35436 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35437 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35438 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35440 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35441 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35442 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35443 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35445 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35446 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35447 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35448 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35449 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35450 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35451 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35452 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35454 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35455 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35458 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35460 * sysdeps/ieee754/s_lib_version.c: Likewise.
35461 * sysdeps/mach/hurd/check_fds.c: Likewise.
35462 * sysdeps/mach/hurd/getsockname.c: Likewise.
35463 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35464 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35465 * sysdeps/powerpc/bits/link.h: Likewise.
35466 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35467 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35468 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35469 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35470 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35471 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35472 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35473 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35474 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35475 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35476 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35477 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35478 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35479 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35480 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35481 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35482 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35483 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35484 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35485 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35486 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35487 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35488 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35489 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35490 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35491 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35492 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35493 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35494 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35496 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35497 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35498 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35499 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35500 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35501 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35502 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35503 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35504 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35505 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35506 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35507 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35508 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35509 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35510 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35511 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35512 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35513 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35514 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35515 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35517 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35518 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35519 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35520 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35521 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35522 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35523 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35524 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35525 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35526 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35527 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35528 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35529 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35530 * sysdeps/powerpc/sysdep.h: Likewise.
35531 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35532 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35533 * sysdeps/sh/dl-trampoline.S: Likewise.
35534 * sysdeps/sh/memset.S: Likewise.
35535 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35536 * sysdeps/sh/strlen.S: Likewise.
35537 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35538 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35539 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35540 * sysdeps/sparc/sparc32/rem.S: Likewise.
35541 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35542 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35543 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35544 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35545 * sysdeps/sparc/sparc32/urem.S: Likewise.
35546 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35547 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35548 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35549 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35550 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35551 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35552 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35553 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35554 * sysdeps/unix/bsd/times.c: Likewise.
35555 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35556 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35560 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35561 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35562 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35563 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35564 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35565 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35566 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35567 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35568 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35569 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35570 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35571 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35572 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35573 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35574 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35575 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35576 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35577 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35578 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35579 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35580 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35581 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35582 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35583 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35584 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35585 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35586 * sysdeps/x86_64/strcspn.S: Likewise.
35587
35588 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35589
35590 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35591 generated file. Regenerate properly from gen-translit.pl.
35592 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35593 locale/C-translit.h.
35594
35595 2013-06-05 Andreas Schwab <schwab@suse.de>
35596
35597 [BZ #15100]
35598 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35599 week as 6 instead of -1.
35600 * time/tst-strptime.c (day_tests): Add test case.
35601
35602 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35603
35604 * sysdeps/generic/math_private.h
35605 (libc_feholdexcept_setround_53bit): Replace with
35606 libc_feholdsetround_53bit.
35607 (libc_feupdateenv_53bit): Replace with
35608 libc_feresetround_53bit.
35609 (SET_RESTORE_ROUND_53BIT): Adjust.
35610
35611 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35612
35613 * string/test-strchrnul.c: Add copyright header.
35614
35615 * posix/tst-getaddrinfo4.c: Increase test timeout.
35616
35617 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35618
35619 [BZ #15536]
35620 * math/libm-test.inc (MAX_EXP): Remove
35621 (MIN_EXP): Define.
35622 (ulp): Use MIN_EXP - MANT_DIG.
35623 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35624
35625 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35626
35627 * po/be.po: Revert last change.
35628 * po/zh_CN.po: Likewise.
35629 * po/header.pot: Likewise.
35630
35631 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35632
35633 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35634 link-libc-deps to empty as target-specific variable.
35635 * Makerules (link-libc-args): New variable.
35636 (libc-for-link): Likewise.
35637 (link-libc-deps): Likewise.
35638 (lib%.so): Depend on $(link-libc-deps). Link with
35639 $(link-libc-args).
35640 (build-module): Link with $(link-libc-args).
35641 (build-module-asneeded): Likewise.
35642 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35643 list of objects.
35644 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35645 target-specific variable.
35646 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35647 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35648 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35649 libc.
35650 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35651 libc and ld.so.
35652 ($(objpfx)libpcprofile.so): Likewise.
35653 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35654 libc_nonshared.a.
35655 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35656 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35657 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35658 $(link-libc-deps).
35659 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35660 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35661 * login/Makefile ($(objpfx)libutil.so): Likewise.
35662 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35663 * math/Makefile ($(objpfx)libm.so): Likewise.
35664 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35665 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35666 variable instead of depending directly on libc.
35667 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35668 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35669 $(link-libc-deps).
35670 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35671 libc.
35672 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35673 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35674 ($(objpfx)libanl.so): Likewise.
35675 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35676 ld.so.
35677 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35678 $(link-libc-deps).
35679 * sysdeps/i386/fpu/Makefile: Remove file.
35680 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35681 ($(objpfx)libm.so): Remove dependency on ld.so.
35682
35683 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35684
35685 [BZ # 15553]
35686 * nis/yp_xdr.c (XDRMAXNAME): Define.
35687 (XDRMAXRECORD): Define.
35688 (xdr_domainname): Use XDRMAXNAME.
35689 (xdr_mapname): Likewise.
35690 (xdr_peername): Likewise.
35691 (xdr_keydat): Use XDRMAXRECORD.
35692 (xdr_valdat): Likewise.
35693
35694 2013-05-30 Jeff Law <law@redhat.com>
35695
35696 [BZ #14256]
35697 * manual/errno.texi (ESTALE): Update to account for more than
35698 just NFS file systems.
35699 * sysdeps/gnu/errlist.c: Regenerated.
35700
35701 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35702
35703 [BZ #15465]
35704 * elf/Makefile (tests): Add tst-null-argv.
35705 (modules-names): Add tst-null-argv-lib.
35706 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35707 (tst-null-argv-ENV): Set environment for tst-null-argv.
35708 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35709 (RTLD_PROGNAME): New macro.
35710 * elf/tst-null-argv.c: New test case.
35711 * elf/tst-null-argv-lib.c: Library for test case.
35712 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35713 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35714 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35715 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35716 * elf/dl-init.c (call_init): Likewise.
35717 (_dl_init): Likewise.
35718 * elf/dl-load.c (print_search_path): Likewise.
35719 (_dl_map_object): Likewise.
35720 * elf/dl-lookup.c (do_lookup_x): Likewise.
35721 (add_dependency): Likewise.
35722 (_dl_lookup_symbol_x): Likewise.
35723 (_dl_debug_bindings): Likewise.
35724 * elf/dl-open.c (_dl_show_scope): Likewise.
35725 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35726 * elf/dl-version.c (match_symbol): Likewise.
35727 (_dl_check_map_versions): Likewise.
35728 * elf/rtld.c (dl_main): Likewise.
35729 (print_unresolved): Use RTLD_PROGNAME.
35730 (print_missing_version): Likewise.
35731 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35732 (elf_machine_rela): Likewise.
35733 * sysdeps/powerpc/powerpc32/dl-machine.c
35734 (__process_machine_rela): Likewise.
35735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35736 Likewise.
35737 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35738 Likewise.
35739 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35740 Likewise.
35741 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35742 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35743 Likewise.
35744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35745 Likewise.
35746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35747
35748 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35749
35750 * po/be.po: Add descriptive title.
35751 * po/zh_CN.po: Likewise.
35752 * po/header.pot: Likewise.
35753
35754 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35755
35756 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35757 error message.
35758 (enlarge_archive): Likewise.
35759
35760 2013-05-28 Ben North <ben@redfrontdoor.org>
35761
35762 * manual/arith.texi (frexp): It is the magnitude of the return
35763 value which lies in [0.5, 1), not the return value itself.
35764
35765 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35766
35767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35768
35769 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35770
35771 * stdio-common/bug26.c (main): Correct fscanf template.
35772
35773 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35774 declare _dl_skip_args.
35775
35776 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35777 Don't declare.
35778
35779 * manual/platform.texi: Add missing @end deftypefun.
35780
35781 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35782
35783 [BZ #15529]
35784 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35785 bit of mantissa of 2^16382.
35786 * math/libm-test.inc (hypot_test_data): Add more tests.
35787
35788 * math/libm-test.inc: Add drem and pow10 to list of tested
35789 functions.
35790 (pow10_test): New function.
35791 (drem_test): Likewise.
35792 (drem_test_tonearest): Likewise.
35793 (drem_test_towardzero): Likewise.
35794 (drem_test_downward): Likewise.
35795 (drem_test_upward): Likewise.
35796 (main): Call the new functions.
35797
35798 * math/libm-test.inc (finite_test_data): Remove.
35799 (finite_test): Run tests from isfinite_test_data.
35800 (gamma_test_data): Remove.
35801 (gamma_test): Run tests from lgamma_test_data.
35802 * sysdeps/i386/fpu/libm-test-ulps: Update.
35803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35804
35805 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35806
35807 * manual/platform.texi: Add PowerPC PPR function set documentation.
35808 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35809 implementation.
35810
35811 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35812
35813 * math/libm-test.inc (MAX_EXP): Define.
35814 (ULPDIFF): Define.
35815 (ulp): New function.
35816 (check_float_internal): Use ULPDIFF.
35817 (cpow_test): Disable failing test.
35818 (check_ulp): Test ulp() implemetnation.
35819 (main): Call check_ulp before starting tests.
35820
35821 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35822
35823 * math/gen-libm-test.pl (generate_testfile): Do not handle
35824 START_DATA and END_DATA.
35825 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35826 END_DATA.
35827 (acos_tonearest_test_data): Likewise.
35828 (acos_towardzero_test_data): Likewise.
35829 (acos_downward_test_data): Likewise.
35830 (acos_upward_test_data): Likewise.
35831 (acosh_test_data): Likewise.
35832 (asin_test_data): Likewise.
35833 (asin_tonearest_test_data): Likewise.
35834 (asin_towardzero_test_data): Likewise.
35835 (asin_downward_test_data): Likewise.
35836 (asin_upward_test_data): Likewise.
35837 (asinh_test_data): Likewise.
35838 (atan_test_data): Likewise.
35839 (atanh_test_data): Likewise.
35840 (atan2_test_data): Likewise.
35841 (cabs_test_data): Likewise.
35842 (cacos_test_data): Likewise.
35843 (cacosh_test_data): Likewise.
35844 (carg_test_data): Likewise.
35845 (casin_test_data): Likewise.
35846 (casinh_test_data): Likewise.
35847 (catan_test_data): Likewise.
35848 (catanh_test_data): Likewise.
35849 (cbrt_test_data): Likewise.
35850 (ccos_test_data): Likewise.
35851 (ccosh_test_data): Likewise.
35852 (ceil_test_data): Likewise.
35853 (cexp_test_data): Likewise.
35854 (cimag_test_data): Likewise.
35855 (clog_test_data): Likewise.
35856 (clog10_test_data): Likewise.
35857 (conj_test_data): Likewise.
35858 (copysign_test_data): Likewise.
35859 (cos_test_data): Likewise.
35860 (cos_tonearest_test_data): Likewise.
35861 (cos_towardzero_test_data): Likewise.
35862 (cos_downward_test_data): Likewise.
35863 (cos_upward_test_data): Likewise.
35864 (cosh_test_data): Likewise.
35865 (cosh_tonearest_test_data): Likewise.
35866 (cosh_towardzero_test_data): Likewise.
35867 (cosh_downward_test_data): Likewise.
35868 (cosh_upward_test_data): Likewise.
35869 (cpow_test_data): Likewise.
35870 (cproj_test_data): Likewise.
35871 (creal_test_data): Likewise.
35872 (csin_test_data): Likewise.
35873 (csinh_test_data): Likewise.
35874 (csqrt_test_data): Likewise.
35875 (ctan_test_data): Likewise.
35876 (ctan_tonearest_test_data): Likewise.
35877 (ctan_towardzero_test_data): Likewise.
35878 (ctan_downward_test_data): Likewise.
35879 (ctan_upward_test_data): Likewise.
35880 (ctanh_test_data): Likewise.
35881 (ctanh_tonearest_test_data): Likewise.
35882 (ctanh_towardzero_test_data): Likewise.
35883 (ctanh_downward_test_data): Likewise.
35884 (ctanh_upward_test_data): Likewise.
35885 (erf_test_data): Likewise.
35886 (erfc_test_data): Likewise.
35887 (exp_test_data): Likewise.
35888 (exp_tonearest_test_data): Likewise.
35889 (exp_towardzero_test_data): Likewise.
35890 (exp_downward_test_data): Likewise.
35891 (exp_upward_test_data): Likewise.
35892 (exp10_test_data): Likewise.
35893 (exp2_test_data): Likewise.
35894 (expm1_test_data): Likewise.
35895 (fabs_test_data): Likewise.
35896 (fdim_test_data): Likewise.
35897 (finite_test_data): Likewise.
35898 (floor_test_data): Likewise.
35899 (fma_test_data): Likewise.
35900 (fma_towardzero_test_data): Likewise.
35901 (fma_downward_test_data): Likewise.
35902 (fma_upward_test_data): Likewise.
35903 (fmax_test_data): Likewise.
35904 (fmin_test_data): Likewise.
35905 (fmod_test_data): Likewise.
35906 (fpclassify_test_data): Likewise.
35907 (frexp_test_data): Likewise.
35908 (gamma_test_data): Likewise.
35909 (hypot_test_data): Likewise.
35910 (ilogb_test_data): Likewise.
35911 (isfinite_test_data): Likewise.
35912 (isgreater_test_data): Likewise.
35913 (isgreaterequal_test_data): Likewise.
35914 (isinf_test_data): Likewise.
35915 (isless_test_data): Likewise.
35916 (islessequal_test_data): Likewise.
35917 (islessgreater_test_data): Likewise.
35918 (isnan_test_data): Likewise.
35919 (isnormal_test_data): Likewise.
35920 (issignaling_test_data): Likewise.
35921 (isunordered_test_data): Likewise.
35922 (j0_test_data): Likewise.
35923 (j1_test_data): Likewise.
35924 (jn_test_data): Likewise.
35925 (ldexp_test_data): Likewise.
35926 (lgamma_test_data): Likewise.
35927 (lrint_test_data): Likewise.
35928 (lrint_tonearest_test_data): Likewise.
35929 (lrint_towardzero_test_data): Likewise.
35930 (lrint_downward_test_data): Likewise.
35931 (lrint_upward_test_data): Likewise.
35932 (llrint_test_data): Likewise.
35933 (llrint_tonearest_test_data): Likewise.
35934 (llrint_towardzero_test_data): Likewise.
35935 (llrint_downward_test_data): Likewise.
35936 (llrint_upward_test_data): Likewise.
35937 (log_test_data): Likewise.
35938 (log10_test_data): Likewise.
35939 (log1p_test_data): Likewise.
35940 (log2_test_data): Likewise.
35941 (logb_test_data): Likewise.
35942 (logb_downward_test_data): Likewise.
35943 (lround_test_data): Likewise.
35944 (llround_test_data): Likewise.
35945 (modf_test_data): Likewise.
35946 (nearbyint_test_data): Likewise.
35947 (nextafter_test_data): Likewise.
35948 (nexttoward_test_data): Likewise.
35949 (pow_test_data): Likewise.
35950 (pow_tonearest_test_data): Likewise.
35951 (pow_towardzero_test_data): Likewise.
35952 (pow_downward_test_data): Likewise.
35953 (pow_upward_test_data): Likewise.
35954 (remainder_test_data): Likewise.
35955 (remainder_tonearest_test_data): Likewise.
35956 (remainder_towardzero_test_data): Likewise.
35957 (remainder_downward_test_data): Likewise.
35958 (remainder_upward_test_data): Likewise.
35959 (remquo_test_data): Likewise.
35960 (rint_test_data): Likewise.
35961 (rint_tonearest_test_data): Likewise.
35962 (rint_towardzero_test_data): Likewise.
35963 (rint_downward_test_data): Likewise.
35964 (rint_upward_test_data): Likewise.
35965 (round_test_data): Likewise.
35966 (scalb_test_data): Likewise.
35967 (scalbn_test_data): Likewise.
35968 (scalbln_test_data): Likewise.
35969 (signbit_test_data): Likewise.
35970 (sin_test_data): Likewise.
35971 (sin_tonearest_test_data): Likewise.
35972 (sin_towardzero_test_data): Likewise.
35973 (sin_downward_test_data): Likewise.
35974 (sin_upward_test_data): Likewise.
35975 (sincos_test_data): Likewise.
35976 (sinh_test_data): Likewise.
35977 (sinh_tonearest_test_data): Likewise.
35978 (sinh_towardzero_test_data): Likewise.
35979 (sinh_downward_test_data): Likewise.
35980 (sinh_upward_test_data): Likewise.
35981 (sqrt_test_data): Likewise.
35982 (tan_test_data): Likewise.
35983 (tan_tonearest_test_data): Likewise.
35984 (tan_towardzero_test_data): Likewise.
35985 (tan_downward_test_data): Likewise.
35986 (tan_upward_test_data): Likewise.
35987 (tanh_test_data): Likewise.
35988 (tgamma_test_data): Likewise.
35989 (trunc_test_data): Likewise.
35990 (y0_test_data): Likewise.
35991 (y1_test_data): Likewise.
35992 (yn_test_data): Likewise.
35993 (significand_test_data): Likewise.
35994
35995 * math/gen-libm-test.pl (@functions): Remove variable.
35996 (generate_testfile): Don't handle START and END lines.
35997 * math/libm-test.inc (START): New macro.
35998 (END): Likewise.
35999 (END_COMPLEX): Likewise.
36000 (acos_test): Use END macro without arguments.
36001 (acos_test_tonearest): Likewise.
36002 (acos_test_towardzero): Likewise.
36003 (acos_test_downward): Likewise.
36004 (acos_test_upward): Likewise.
36005 (acosh_test): Likewise.
36006 (asin_test): Likewise.
36007 (asin_test_tonearest): Likewise.
36008 (asin_test_towardzero): Likewise.
36009 (asin_test_downward): Likewise.
36010 (asin_test_upward): Likewise.
36011 (asinh_test): Likewise.
36012 (atan_test): Likewise.
36013 (atanh_test): Likewise.
36014 (atan2_test): Likewise.
36015 (cabs_test): Likewise.
36016 (cacos_test): Use END_COMPLEX macro without arguments.
36017 (cacosh_test): Likewise.
36018 (carg_test): Use END macro without arguments.
36019 (casin_test): Use END_COMPLEX macro without arguments.
36020 (casinh_test): Likewise.
36021 (catan_test): Likewise.
36022 (catanh_test): Likewise.
36023 (cbrt_test): Use END macro without arguments.
36024 (ccos_test): Use END_COMPLEX macro without arguments.
36025 (ccosh_test): Likewise.
36026 (ceil_test): Use END macro without arguments.
36027 (cexp_test): Use END_COMPLEX macro without arguments.
36028 (cimag_test): Use END macro without arguments.
36029 (clog_test): Use END_COMPLEX macro without arguments.
36030 (clog10_test): Likewise.
36031 (conj_test): Likewise.
36032 (copysign_test): Use END macro without arguments.
36033 (cos_test): Likewise.
36034 (cos_test_tonearest): Likewise.
36035 (cos_test_towardzero): Likewise.
36036 (cos_test_downward): Likewise.
36037 (cos_test_upward): Likewise.
36038 (cosh_test): Likewise.
36039 (cosh_test_tonearest): Likewise.
36040 (cosh_test_towardzero): Likewise.
36041 (cosh_test_downward): Likewise.
36042 (cosh_test_upward): Likewise.
36043 (cpow_test): Use END_COMPLEX macro without arguments.
36044 (cproj_test): Likewise.
36045 (creal_test): Use END macro without arguments.
36046 (csin_test): Use END_COMPLEX macro without arguments.
36047 (csinh_test): Likewise.
36048 (csqrt_test): Likewise.
36049 (ctan_test): Likewise.
36050 (ctan_test_tonearest): Likewise.
36051 (ctan_test_towardzero): Likewise.
36052 (ctan_test_downward): Likewise.
36053 (ctan_test_upward): Likewise.
36054 (ctanh_test): Likewise.
36055 (ctanh_test_tonearest): Likewise.
36056 (ctanh_test_towardzero): Likewise.
36057 (ctanh_test_downward): Likewise.
36058 (ctanh_test_upward): Likewise.
36059 (erf_test): Use END macro without arguments.
36060 (erfc_test): Likewise.
36061 (exp_test): Likewise.
36062 (exp_test_tonearest): Likewise.
36063 (exp_test_towardzero): Likewise.
36064 (exp_test_downward): Likewise.
36065 (exp_test_upward): Likewise.
36066 (exp10_test): Likewise.
36067 (exp2_test): Likewise.
36068 (expm1_test): Likewise.
36069 (fabs_test): Likewise.
36070 (fdim_test): Likewise.
36071 (finite_test): Likewise.
36072 (floor_test): Likewise.
36073 (fma_test): Likewise.
36074 (fma_test_towardzero): Likewise.
36075 (fma_test_downward): Likewise.
36076 (fma_test_upward): Likewise.
36077 (fmax_test): Likewise.
36078 (fmin_test): Likewise.
36079 (fmod_test): Likewise.
36080 (fpclassify_test): Likewise.
36081 (frexp_test): Likewise.
36082 (gamma_test): Likewise.
36083 (hypot_test): Likewise.
36084 (ilogb_test): Likewise.
36085 (isfinite_test): Likewise.
36086 (isgreater_test): Likewise.
36087 (isgreaterequal_test): Likewise.
36088 (isinf_test): Likewise.
36089 (isless_test): Likewise.
36090 (islessequal_test): Likewise.
36091 (islessgreater_test): Likewise.
36092 (isnan_test): Likewise.
36093 (isnormal_test): Likewise.
36094 (issignaling_test): Likewise.
36095 (isunordered_test): Likewise.
36096 (j0_test): Likewise.
36097 (j1_test): Likewise.
36098 (jn_test): Likewise.
36099 (ldexp_test): Likewise.
36100 (lgamma_test): Likewise.
36101 (lrint_test): Likewise.
36102 (lrint_test_tonearest): Likewise.
36103 (lrint_test_towardzero): Likewise.
36104 (lrint_test_downward): Likewise.
36105 (lrint_test_upward): Likewise.
36106 (llrint_test): Likewise.
36107 (llrint_test_tonearest): Likewise.
36108 (llrint_test_towardzero): Likewise.
36109 (llrint_test_downward): Likewise.
36110 (llrint_test_upward): Likewise.
36111 (log_test): Likewise.
36112 (log10_test): Likewise.
36113 (log1p_test): Likewise.
36114 (log2_test): Likewise.
36115 (logb_test): Likewise.
36116 (logb_test_downward): Likewise.
36117 (lround_test): Likewise.
36118 (llround_test): Likewise.
36119 (modf_test): Likewise.
36120 (nearbyint_test): Likewise.
36121 (nextafter_test): Likewise.
36122 (nexttoward_test): Likewise.
36123 (pow_test): Likewise.
36124 (pow_test_tonearest): Likewise.
36125 (pow_test_towardzero): Likewise.
36126 (pow_test_downward): Likewise.
36127 (pow_test_upward): Likewise.
36128 (remainder_test): Likewise.
36129 (remainder_test_tonearest): Likewise.
36130 (remainder_test_towardzero): Likewise.
36131 (remainder_test_downward): Likewise.
36132 (remainder_test_upward): Likewise.
36133 (remquo_test): Likewise.
36134 (rint_test): Likewise.
36135 (rint_test_tonearest): Likewise.
36136 (rint_test_towardzero): Likewise.
36137 (rint_test_downward): Likewise.
36138 (rint_test_upward): Likewise.
36139 (round_test): Likewise.
36140 (scalb_test): Likewise.
36141 (scalbn_test): Likewise.
36142 (scalbln_test): Likewise.
36143 (signbit_test): Likewise.
36144 (sin_test): Likewise.
36145 (sin_test_tonearest): Likewise.
36146 (sin_test_towardzero): Likewise.
36147 (sin_test_downward): Likewise.
36148 (sin_test_upward): Likewise.
36149 (sincos_test): Likewise.
36150 (sinh_test): Likewise.
36151 (sinh_test_tonearest): Likewise.
36152 (sinh_test_towardzero): Likewise.
36153 (sinh_test_downward): Likewise.
36154 (sinh_test_upward): Likewise.
36155 (sqrt_test): Likewise.
36156 (tan_test): Likewise.
36157 (tan_test_tonearest): Likewise.
36158 (tan_test_towardzero): Likewise.
36159 (tan_test_downward): Likewise.
36160 (tan_test_upward): Likewise.
36161 (tanh_test): Likewise.
36162 (tgamma_test): Likewise.
36163 (trunc_test): Likewise.
36164 (y0_test): Likewise.
36165 (y1_test): Likewise.
36166 (yn_test): Likewise.
36167 (significand_test): Likewise.
36168
36169 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36170
36171 [BZ #15381]
36172 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36173
36174 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36175
36176 [BZ #14894]
36177 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36178 __ppc_mdoio and __ppc_mdoom.
36179 * manual/platform.texi: Document new functions __ppc_yield,
36180 __ppc_mdoio and __ppc_mdoom.
36181
36182 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36183
36184 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36185 (main): Mention "tls" pseudo-hwcap is legacy.
36186 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36187
36188 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36189
36190 * math/gen-libm-test.pl (parse_args): Output only string of
36191 arguments as text for test name, not full call or descriptions of
36192 tests for extra outputs.
36193 (generate_testfile): Do not pass function name to parse_args.
36194 Generate this_func variable from START.
36195 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36196 field to arg_str.
36197 (struct test_ff_f_data): Likewise.
36198 (test_ff_f_data_nexttoward): Likewise.
36199 (struct test_fi_f_data): Likewise.
36200 (struct test_fl_f_data): Likewise.
36201 (struct test_if_f_data): Likewise.
36202 (struct test_fff_f_data): Likewise.
36203 (struct test_c_f_data): Likewise.
36204 (struct test_f_f1_data): Likewise. Remove field extra_name.
36205 (struct test_fF_f1_data): Likewise.
36206 (struct test_ffI_f1_data): Likewise.
36207 (struct test_c_c_data): Rename test_name field to arg_str.
36208 (struct test_cc_c_data): Likewise.
36209 (struct test_f_i_data): Likewise.
36210 (struct test_ff_i_data): Likewise.
36211 (struct test_f_l_data): Likewise.
36212 (struct test_f_L_data): Likewise.
36213 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36214 and extra2_name.
36215 (COMMON_TEST_SETUP): New macro.
36216 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36217 (COMMON_TEST_CLEANUP): Likewise.
36218 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36219 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36220 macros.
36221 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36222 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
36223 macros.
36224 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36225 (RUN_TEST_fff_f): Take argument string. Call new setup and
36226 cleanup macros.
36227 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36228 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
36229 macros.
36230 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36231 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
36232 macros.
36233 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36234 (RUN_TEST_fF_f1): Take argument string. Call new setup and
36235 cleanup macros.
36236 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36237 (RUN_TEST_fI_f1): Take argument string. Call new setup and
36238 cleanup macros.
36239 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36240 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
36241 cleanup macros.
36242 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36243 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
36244 macros.
36245 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36246 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
36247 macros.
36248 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36249 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
36250 macros.
36251 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36252 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36253 cleanup macros.
36254 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36255 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36256 cleanup macros.
36257 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36258 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36259 macros.
36260 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36261 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36262 cleanup macros.
36263 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36264 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36265 macros.
36266 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36267 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36268 macros.
36269 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36270 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36271 cleanup macros.
36272 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36273
36274 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36275
36276 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36277 to _sifields.sigfault.
36278 (si_addr_lsb): Define new macro.
36279 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36280 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36281 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36282
36283 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36284
36285 [BZ #15441]
36286 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36287 returns -1.
36288 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36289 null return -1.
36290 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36291 loading the domain.
36292
36293 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36294
36295 * math/gen-libm-test.pl (parse_args): Do not include expected
36296 result in test name.
36297 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36299 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36300 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36301 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36303
36304 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36305
36306 * benchtests/Makefile: Sort function entries.
36307
36308 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36309 tanh, asinh, acosh, atanh.
36310 * benchtests/acos-inputs: New file.
36311 * benchtests/acosh-inputs: New file.
36312 * benchtests/asin-inputs: New file.
36313 * benchtests/asinh-inputs: New file.
36314 * benchtests/atanh-inputs: New file.
36315 * benchtests/cosh-inputs: New file.
36316 * benchtests/log-inputs: New file.
36317 * benchtests/sinh-inputs: New file.
36318 * benchtests/tanh-inputs: New file.
36319
36320 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36321
36322 [BZ #15339]
36323 * posix/tst-getaddrinfo4.c: New test.
36324 * posix/Makefile (tests): Add it.
36325
36326 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36327
36328 [BZ #15339]
36329 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36330 when no services were used.
36331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36332 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36333
36334 2013-05-21 Andreas Schwab <schwab@suse.de>
36335
36336 [BZ #15014]
36337 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36338 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36339 successful.
36340 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36341 redundant variable declarations and reallocation of buffer when
36342 parsing as IPv6 address. Always set NSS status when called from
36343 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36344 buffer too small. Correct computation of needed size.
36345 * nss/Makefile (tests): Add test-digits-dots.
36346 * nss/test-digits-dots.c: New test.
36347
36348 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36349
36350 * benchtests/Makefile: Remove instructions for adding
36351 benchmark tests.
36352 * benchtests/README: New file to explain how to execute and
36353 enhance the benchmark tests.
36354
36355 2013-05-21 Andreas Schwab <schwab@suse.de>
36356
36357 [BZ #15493]
36358 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36359 * setjmp/tst-sigsetjmp.c: New test.
36360
36361 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36362
36363 * sysdeps/x86_64/memset.S (memset): New implementation.
36364 (__bzero): Likewise.
36365 (__memset_tail): New function.
36366
36367 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36368
36369 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36370 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36371 __memcpy_sse2_unaligned ifunc selection.
36372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36373 Add memcpy-sse2-unaligned.S.
36374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36375 Add: __memcpy_sse2_unaligned.
36376
36377 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36378
36379 [BZ #15490]
36380 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36381 math_force_eval before restoring floating-point envrionment.
36382 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36383 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36384 Likewise.
36385 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36386 <math_private.h>.
36387 (__nearbyintl): Use math_force_eval before restoring
36388 floating-point environment.
36389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36390
36391 * math/gen-libm-test.pl (special_functions): Remove.
36392 (parse_args): Don't handle TEST_extra. Handle functions with no
36393 return value.
36394 * math/libm-test.inc (struct test_sincos_data): Replace with
36395 struct test_fFF_11_data.
36396 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36397 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36398 (sincos_test_data): Change element type to struct
36399 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36400 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36401 RUN_TEST_LOOP_sincos.
36402 * math/README.libm-test: Don't mention special handling of
36403 individual functions.
36404 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36406 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36407 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36408 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36410
36411 * math/gen-libm-test.pl (get_variable): Remove function.
36412 (parse_args): Don't show pointer parameters to call in test
36413 names. Use "extra output N" in test names for extra outputs
36414 rather than naming variables.
36415
36416 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36417
36418 [BZ #15488]
36419 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36420 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36421 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36422 double tests.
36423 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36424 disable.
36425 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36426 check_long_double.
36427
36428 * math/gen-libm-test.pl (@tests): Remove variable.
36429 ($count): Likewise.
36430 (new_test): Remove function.
36431 (show_exceptions): New function.
36432 (special_functions): Use show_exceptions instead of new_test.
36433 (parse_args): Likewise.
36434 (generate_testfile): Pass only function name in generated call to
36435 print_max_error or print_complex_max_error.
36436 (get_ulps): Do not handle complex tests specially.
36437 (output_test): Rename to ...
36438 (get_all_ulps_for_test): ... this. Return a string rather than
36439 printing to a file. Require ulps to be present.
36440 (output_ulps): Generate arrays rather than #defines.
36441 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36442 (struct ulp_data): New type.
36443 (BUILD_COMPLEX_ULP): Remove macro.
36444 (compare_ulp_data): New function.
36445 (find_ulps): Likewise.
36446 (find_test_ulps): Likewise.
36447 (find_function_ulps): Likewise.
36448 (find_complex_function_ulps): Likewise.
36449 (print_max_error): Determine allowed ulps using
36450 find_function_ulps.
36451 (print_complex_max_error): Determine allowed ulps using
36452 find_complex_function_ulps.
36453 (check_float_internal): Determine max ulps using find_test_ulps.
36454 (check_float): Do not take max_ulp parameter. Update call to
36455 check_float_internal.
36456 (check_complex): Likewise.
36457 (check_int): Do not take max_ulp parameter.
36458 (check_long): Likewise.
36459 (check_bool): Likewise.
36460 (check_longlong): Likewise.
36461 (struct test_f_f_data): Remove max_ulp field.
36462 (struct test_ff_f_data): Likewise.
36463 (struct test_ff_f_data_nexttoward): Likewise.
36464 (struct test_fi_f_data): Likewise.
36465 (struct test_fl_f_data): Likewise.
36466 (struct test_if_f_data): Likewise.
36467 (struct test_fff_f_data): Likewise.
36468 (struct test_c_f_data): Likewise.
36469 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36470 (struct test_fF_f1_data): Likewise.
36471 (struct test_ffI_f1_data): Likewise.
36472 (struct test_c_c_data): Remove max_ulp field.
36473 (struct test_cc_c_data): Likewise.
36474 (struct test_f_i_data): Likewise.
36475 (struct test_ff_i_data): Likewise.
36476 (struct test_f_l_data): Likewise.
36477 (struct test_f_L_data): Likewise.
36478 (struct test_sincos_data): Likewise.
36479 (RUN_TEST_f_f): Do not handle ulps.
36480 (RUN_TEST_LOOP_f_f): Likewise.
36481 (RUN_TEST_2_f): Likewise.
36482 (RUN_TEST_LOOP_2_f): Likewise.
36483 (RUN_TEST_fff_f): Likewise.
36484 (RUN_TEST_LOOP_fff_f): Likewise.
36485 (RUN_TEST_c_f): Likewise.
36486 (RUN_TEST_LOOP_c_f): Likewise.
36487 (RUN_TEST_f_f1): Likewise.
36488 (RUN_TEST_LOOP_f_f1): Likewise.
36489 (RUN_TEST_fF_f1): Likewise.
36490 (RUN_TEST_LOOP_fF_f1): Likewise.
36491 (RUN_TEST_fI_f1): Likewise.
36492 (RUN_TEST_LOOP_fI_f1): Likewise.
36493 (RUN_TEST_ffI_f1): Likewise.
36494 (RUN_TEST_LOOP_ffI_f1): Likewise.
36495 (RUN_TEST_c_c): Likewise.
36496 (RUN_TEST_LOOP_c_c): Likewise.
36497 (RUN_TEST_cc_c): Likewise.
36498 (RUN_TEST_LOOP_cc_c): Likewise.
36499 (RUN_TEST_f_i): Likewise.
36500 (RUN_TEST_LOOP_f_i): Likewise.
36501 (RUN_TEST_f_i_tg): Likewise.
36502 (RUN_TEST_LOOP_f_i_tg): Likewise.
36503 (RUN_TEST_ff_i_tg): Likewise.
36504 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36505 (RUN_TEST_f_b): Likewise.
36506 (RUN_TEST_LOOP_f_b): Likewise.
36507 (RUN_TEST_f_b_tg): Likewise.
36508 (RUN_TEST_LOOP_f_b_tg): Likewise.
36509 (RUN_TEST_f_l): Likewise.
36510 (RUN_TEST_LOOP_f_l): Likewise.
36511 (RUN_TEST_f_L): Likewise.
36512 (RUN_TEST_LOOP_f_L): Likewise.
36513 (RUN_TEST_sincos): Likewise.
36514 (RUN_TEST_LOOP_sincos): Likewise.
36515
36516 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36517
36518 [BZ #15480]
36519 [BZ #15485]
36520 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36521 main case of finite arguments, set rounding mode to FE_TONEAREST
36522 and discard exceptions.
36523 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36524 exceptions.
36525 (remainder_tonearest_test_data): New variable.
36526 (remainder_test_tonearest): New function.
36527 (remainder_towardzero_test_data): New variable.
36528 (remainder_test_towardzero): New function.
36529 (remainder_downward_test_data): New variable.
36530 (remainder_test_downward): New function.
36531 (remainder_upward_test_data): New variable.
36532 (remainder_test_upward): New function.
36533 (main): Call the new test functions.
36534
36535 * math/libm-test.inc (struct test_f_f1_data): Remove field
36536 extra_init.
36537 (struct test_fF_f1_data): Likewise.
36538 (struct test_ffI_f1_data): Likewise.
36539 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36540 based on value of EXTRA_EXPECTED.
36541 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36542 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36543 EXTRA_VAR based on value of EXTRA_EXPECTED.
36544 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36545 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36546 EXTRA_VAR based on value of EXTRA_EXPECTED.
36547 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36548 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36549 EXTRA_VAR based on value of EXTRA_EXPECTED.
36550 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36551 * math/gen-libm-test.pl (parse_args): Don't output initializers
36552 for extra output values.
36553
36554 * math/libm-test.inc (check_int): Expect result to be exactly
36555 equal to expected value and do not handle ulps.
36556 (check_long): Likewise.
36557 (check_longlong): Likewise.
36558
36559 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36560 exceptions.
36561 (cimag_test_data): Likewise.
36562 (conj_test_data): Likewise.
36563 (copysign_test_data): Likewise.
36564 (cproj_test_data): Likewise.
36565 (creal_test_data): Likewise.
36566 (fabs_test_data): Likewise.
36567 (fdim_test_data): Likewise.
36568 (finite_test_data): Likewise.
36569 (floor_test_data): Likewise.
36570 (fmax_test_data): Likewise.
36571 (fmin_test_data): Likewise.
36572 (fmod_test_data): Likewise.
36573 (fpclassify_test_data): Likewise.
36574 (frexp_test_data): Likewise.
36575 (ilogb_test_data): Likewise.
36576 (isfinite_test_data): Likewise.
36577 (isgreater_test_data): Likewise.
36578 (isgreaterequal_test_data): Likewise.
36579 (isinf_test_data): Likewise.
36580 (isless_test_data): Likewise.
36581 (islessequal_test_data): Likewise.
36582 (islessgreater_test_data): Likewise.
36583 (isnan_test_data): Likewise.
36584 (isnormal_test_data): Likewise.
36585 (issignaling_test_data): Likewise.
36586 (isunordered_test_data): Likewise.
36587 (ldexp_test_data): Likewise.
36588 (lrint_test_data): Likewise.
36589 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36590 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36591 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36592 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36593 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36594 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36595 test input.
36596 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36597 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36598 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36599 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36600 that test input.
36601 (lrint_downward_test_data): Test for "inexact" exceptions.
36602 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36603 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36604 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36605 test input.
36606 (lrint_upward_test_data): Test for "inexact" exceptions.
36607 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36608 test input.
36609 (llrint_test_data): Test for "inexact" exceptions.
36610 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36611 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36612 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36613 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36614 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36615 (llrint_downward_test_data): Test for "inexact" exceptions.
36616 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36617 (llrint_upward_test_data): Test for "inexact" exceptions.
36618 (logb_test_data): Likewise.
36619 (logb_downward_test_data): Likewise.
36620 (nextafter_test_data): Likewise.
36621 (nexttoward_test_data): Likewise.
36622 (remainder_test_data): Likewise.
36623 (remquo_test_data): Likewise.
36624 (scalbn_test_data): Likewise.
36625 (scalbln_test_data): Likewise.
36626 (signbit_test_data): Likewise.
36627 (sqrt_test_data): Likewise.
36628 (significand_test_data): Likewise.
36629
36630 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36631
36632 [BZ #15424]
36633 * benchtests/bench-modf.c (struct args): Mark arg0 as
36634 volatile.
36635 * scripts/bench.pl: Mark members of struct args as volatile.
36636
36637 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36638
36639 [BZ # 15497]
36640 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36641 negative infinity on POWER6 or lower.
36642 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36643
36644 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36645
36646 [BZ #15442]
36647 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36648 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36649 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36650 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36651 (_FP_SETQNAN): New macro.
36652 (_FP_SETQNAN_SEMIRAW): Likewise.
36653 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36654 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36655 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36656 (FP_EXTEND): Use _FP_FRAC_SNANP.
36657 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36658 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36659 into account.
36660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36661 New macro.
36662 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36663 Likewise.
36664
36665 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36666
36667 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36668 with DIVIDE_BY_ZERO_EXCEPTION.
36669 (gamma_test_data): Likewise.
36670 (lgamma_test_data): Likewise.
36671 (log_test_data): Likewise.
36672 (log10_test_data): Likewise.
36673 (log2_test_data): Likewise.
36674 (tgamma_test_data): Likewise.
36675
36676 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36677 (acos_test_tonearest): Likewise.
36678 (acos_test_towardzero): Likewise.
36679 (acos_test_downward): Likewise.
36680 (acos_test_upward): Likewise.
36681 (acosh_test): Likewise.
36682 (asin_test): Likewise.
36683 (asin_test_tonearest): Likewise.
36684 (asin_test_towardzero): Likewise.
36685 (asin_test_downward): Likewise.
36686 (asin_test_upward): Likewise.
36687 (asinh_test): Likewise.
36688 (atan_test): Likewise.
36689 (atanh_test): Likewise.
36690 (atan2_test): Likewise.
36691 (cabs_test): Likewise.
36692 (cacos_test): Likewise.
36693 (cacosh_test): Likewise.
36694 (casin_test): Likewise.
36695 (casinh_test): Likewise.
36696 (catan_test): Likewise.
36697 (catanh_test): Likewise.
36698 (cbrt_test): Likewise.
36699 (ccos_test): Likewise.
36700 (ccosh_test): Likewise.
36701 (cexp_test): Likewise.
36702 (clog_test): Likewise.
36703 (clog10_test): Likewise.
36704 (cos_test): Likewise.
36705 (cos_test_tonearest): Likewise.
36706 (cos_test_towardzero): Likewise.
36707 (cos_test_downward): Likewise.
36708 (cos_test_upward): Likewise.
36709 (cosh_test): Likewise.
36710 (cosh_test_tonearest): Likewise.
36711 (cosh_test_towardzero): Likewise.
36712 (cosh_test_downward): Likewise.
36713 (cosh_test_upward): Likewise.
36714 (cpow_test): Likewise.
36715 (csin_test): Likewise.
36716 (csinh_test): Likewise.
36717 (csqrt_test): Likewise.
36718 (ctan_test): Likewise.
36719 (ctan_test_tonearest): Likewise.
36720 (ctan_test_towardzero): Likewise.
36721 (ctan_test_downward): Likewise.
36722 (ctan_test_upward): Likewise.
36723 (ctanh_test): Likewise.
36724 (ctanh_test_tonearest): Likewise.
36725 (ctanh_test_towardzero): Likewise.
36726 (ctanh_test_downward): Likewise.
36727 (ctanh_test_upward): Likewise.
36728 (erf_test): Likewise.
36729 (erfc_test): Likewise.
36730 (exp_test): Likewise.
36731 (exp_test_tonearest): Likewise.
36732 (exp_test_towardzero): Likewise.
36733 (exp_test_downward): Likewise.
36734 (exp_test_upward): Likewise.
36735 (exp10_test): Likewise.
36736 (exp2_test): Likewise.
36737 (expm1_test): Likewise.
36738 (fmod_test): Likewise.
36739 (gamma_test): Likewise.
36740 (hypot_test): Likewise.
36741 (j0_test): Likewise.
36742 (j1_test): Likewise.
36743 (jn_test): Likewise.
36744 (lgamma_test): Likewise.
36745 (log_test): Likewise.
36746 (log10_test): Likewise.
36747 (log1p_test): Likewise.
36748 (log2_test): Likewise.
36749 (logb_test_downward): Likewise.
36750 (pow_test): Likewise.
36751 (pow_test_tonearest): Likewise.
36752 (pow_test_towardzero): Likewise.
36753 (pow_test_downward): Likewise.
36754 (pow_test_upward): Likewise.
36755 (remainder_test): Likewise.
36756 (remquo_test): Likewise.
36757 (sin_test): Likewise.
36758 (sin_test_tonearest): Likewise.
36759 (sin_test_towardzero): Likewise.
36760 (sin_test_downward): Likewise.
36761 (sin_test_upward): Likewise.
36762 (sincos_test): Likewise.
36763 (sinh_test): Likewise.
36764 (sinh_test_tonearest): Likewise.
36765 (sinh_test_towardzero): Likewise.
36766 (sinh_test_downward): Likewise.
36767 (sinh_test_upward): Likewise.
36768 (sqrt_test): Likewise.
36769 (tan_test): Likewise.
36770 (tan_test_tonearest): Likewise.
36771 (tan_test_towardzero): Likewise.
36772 (tan_test_downward): Likewise.
36773 (tan_test_upward): Likewise.
36774 (tanh_test): Likewise.
36775 (tgamma_test): Likewise.
36776 (y0_test): Likewise.
36777 (y1_test): Likewise.
36778 (yn_test): Likewise.
36779
36780 * math/gen-libm-test.pl (adjust_arg): Remove function.
36781 (special_function): Remove argument $in_func. Only handle
36782 generating output for tables of tests, not inside functions.
36783 (parse_args): Likewise.
36784 (generate_testfile): Remove variable $in_func. Update call to
36785 parse_args.
36786 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36787 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36788 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36789 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36790 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36791 (MAX_VALUE_INIT): Rename macro to max_value.
36792 (MIN_VALUE_INIT): Rename macro to min_value.
36793 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36794 (plus_zero): Remove variable.
36795 (minus_zero): Likewise.
36796 (plus_infty): Likewise.
36797 (minus_infty): Likewise.
36798 (qnan_value): Likewise.
36799 (max_value): Likewise.
36800 (min_value): Likewise.
36801 (min_subnorm_value): Likewise.
36802
36803 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36804
36805 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36806 uint64_t or uint32_t usage.
36807 * crypt/sha256-block.c: Likewise.
36808 * crypt/sha256-crypt.c: Likewise.
36809 * crypt/sha256.c: Likewise.
36810 * crypt/sha512-block.c: Likewise.
36811 * crypt/sha512-crypt.c: Likewise.
36812 * crypt/sha512.c: Likewise.
36813 * debug/backtrace-tst.c: Likewise.
36814 * debug/pcprofiledump.c: Likewise.
36815 * elf/cache.c: Likewise.
36816 * elf/dl-cache.c: Likewise.
36817 * elf/dl-misc.c: Likewise.
36818 * elf/dl-profile.c: Likewise.
36819 * elf/dl-support.c: Likewise.
36820 * elf/ldconfig.c: Likewise.
36821 * elf/sprof.c: Likewise.
36822 * iconv/dummy-repertoire.c: Likewise.
36823 * iconv/iconv_charmap.c: Likewise.
36824 * iconv/skeleton.c: Likewise.
36825 * iconvdata/8bit-generic.c: Likewise.
36826 * iconvdata/cp737.h: Likewise.
36827 * iconvdata/cp775.h: Likewise.
36828 * iconvdata/ibm1008.h: Likewise.
36829 * iconvdata/ibm1025.h: Likewise.
36830 * iconvdata/ibm1046.h: Likewise.
36831 * iconvdata/ibm1097.h: Likewise.
36832 * iconvdata/ibm1112.h: Likewise.
36833 * iconvdata/ibm1122.h: Likewise.
36834 * iconvdata/ibm1123.h: Likewise.
36835 * iconvdata/ibm1124.h: Likewise.
36836 * iconvdata/ibm1129.h: Likewise.
36837 * iconvdata/ibm1130.h: Likewise.
36838 * iconvdata/ibm1132.h: Likewise.
36839 * iconvdata/ibm1133.h: Likewise.
36840 * iconvdata/ibm1137.h: Likewise.
36841 * iconvdata/ibm1140.h: Likewise.
36842 * iconvdata/ibm1141.h: Likewise.
36843 * iconvdata/ibm1142.h: Likewise.
36844 * iconvdata/ibm1143.h: Likewise.
36845 * iconvdata/ibm1144.h: Likewise.
36846 * iconvdata/ibm1145.h: Likewise.
36847 * iconvdata/ibm1146.h: Likewise.
36848 * iconvdata/ibm1147.h: Likewise.
36849 * iconvdata/ibm1148.h: Likewise.
36850 * iconvdata/ibm1149.h: Likewise.
36851 * iconvdata/ibm1153.h: Likewise.
36852 * iconvdata/ibm1154.h: Likewise.
36853 * iconvdata/ibm1155.h: Likewise.
36854 * iconvdata/ibm1156.h: Likewise.
36855 * iconvdata/ibm1157.h: Likewise.
36856 * iconvdata/ibm1158.h: Likewise.
36857 * iconvdata/ibm1160.h: Likewise.
36858 * iconvdata/ibm1161.h: Likewise.
36859 * iconvdata/ibm1162.h: Likewise.
36860 * iconvdata/ibm1163.h: Likewise.
36861 * iconvdata/ibm1164.h: Likewise.
36862 * iconvdata/ibm1166.h: Likewise.
36863 * iconvdata/ibm1167.h: Likewise.
36864 * iconvdata/ibm12712.h: Likewise.
36865 * iconvdata/ibm1390.h: Likewise.
36866 * iconvdata/ibm1399.h: Likewise.
36867 * iconvdata/ibm16804.h: Likewise.
36868 * iconvdata/ibm4517.h: Likewise.
36869 * iconvdata/ibm4899.h: Likewise.
36870 * iconvdata/ibm4909.h: Likewise.
36871 * iconvdata/ibm4971.h: Likewise.
36872 * iconvdata/ibm5347.h: Likewise.
36873 * iconvdata/ibm803.h: Likewise.
36874 * iconvdata/ibm856.h: Likewise.
36875 * iconvdata/ibm901.h: Likewise.
36876 * iconvdata/ibm902.h: Likewise.
36877 * iconvdata/ibm9030.h: Likewise.
36878 * iconvdata/ibm9066.h: Likewise.
36879 * iconvdata/ibm921.h: Likewise.
36880 * iconvdata/ibm922.h: Likewise.
36881 * iconvdata/ibm9448.h: Likewise.
36882 * iconvdata/isiri-3342.h: Likewise.
36883 * iconvdata/jis0201.h: Likewise.
36884 * include/link.h: Likewise.
36885 * include/netdb.h: Likewise.
36886 * inet/check_native.c: Likewise.
36887 * inet/check_pf.c: Likewise.
36888 * inet/getipv4sourcefilter.c: Likewise.
36889 * inet/getnameinfo.c: Likewise.
36890 * inet/getsourcefilter.c: Likewise.
36891 * inet/htonl.c: Likewise.
36892 * inet/setipv4sourcefilter.c: Likewise.
36893 * inet/setsourcefilter.c: Likewise.
36894 * inet/test-inet6_opt.c: Likewise.
36895 * inet/tst-network.c: Likewise.
36896 * locale/C-collate.c: Likewise.
36897 * locale/C-ctype.c: Likewise.
36898 * locale/C-time.c: Likewise.
36899 * locale/C-translit.h: Likewise.
36900 * locale/loadarchive.c: Likewise.
36901 * locale/programs/3level.h: Likewise.
36902 * locale/programs/charmap.c: Likewise.
36903 * locale/programs/charmap.h: Likewise.
36904 * locale/programs/ld-address.c: Likewise.
36905 * locale/programs/ld-collate.c: Likewise.
36906 * locale/programs/ld-ctype.c: Likewise.
36907 * locale/programs/ld-identification.c: Likewise.
36908 * locale/programs/ld-measurement.c: Likewise.
36909 * locale/programs/ld-messages.c: Likewise.
36910 * locale/programs/ld-monetary.c: Likewise.
36911 * locale/programs/ld-name.c: Likewise.
36912 * locale/programs/ld-numeric.c: Likewise.
36913 * locale/programs/ld-paper.c: Likewise.
36914 * locale/programs/ld-telephone.c: Likewise.
36915 * locale/programs/ld-time.c: Likewise.
36916 * locale/programs/linereader.c: Likewise.
36917 * locale/programs/locale.c: Likewise.
36918 * locale/programs/locarchive.c: Likewise.
36919 * locale/programs/locfile.h: Likewise.
36920 * locale/programs/repertoire.c: Likewise.
36921 * locale/programs/simple-hash.c: Likewise.
36922 * locale/programs/simple-hash.h: Likewise.
36923 * malloc/memusage.c: Likewise.
36924 * malloc/memusagestat.c: Likewise.
36925 * nis/nis_defaults.c: Likewise.
36926 * nis/nis_hash.c: Likewise.
36927 * nis/nis_print.c: Likewise.
36928 * nis/nis_xdr.c: Likewise.
36929 * nscd/connections.c: Likewise.
36930 * nscd/hstcache.c: Likewise.
36931 * nscd/nscd_gethst_r.c: Likewise.
36932 * nscd/nscd_getserv_r.c: Likewise.
36933 * nscd/nscd_helper.c: Likewise.
36934 * nscd/servicescache.c: Likewise.
36935 * nss/makedb.c: Likewise.
36936 * nss/nss_db/db-XXX.c: Likewise.
36937 * nss/nss_db/db-initgroups.c: Likewise.
36938 * nss/nss_db/db-netgrp.c: Likewise.
36939 * nss/nss_files/files-network.c: Likewise.
36940 * nss/nss_files/files-parse.c: Likewise.
36941 * posix/bug-regex5.c: Likewise.
36942 * posix/fnmatch_loop.c: Likewise.
36943 * posix/regcomp.c: Likewise.
36944 * posix/regexec.c: Likewise.
36945 * posix/tst-rfc3484-2.c: Likewise.
36946 * posix/tst-rfc3484-3.c: Likewise.
36947 * posix/tst-rfc3484.c: Likewise.
36948 * resolv/nss_dns/dns-canon.c: Likewise.
36949 * resolv/nss_dns/dns-network.c: Likewise.
36950 * resolv/res_init.c: Likewise.
36951 * resolv/res_mkquery.c: Likewise.
36952 * resolv/tst-aton.c: Likewise.
36953 * stdlib/cxa_atexit.c: Likewise.
36954 * stdlib/cxa_finalize.c: Likewise.
36955 * stdlib/gen-fpioconst.c: Likewise.
36956 * stdlib/strtol_l.c: Likewise.
36957 * string/tst-endian.c: Likewise.
36958 * sunrpc/auth_des.c: Likewise.
36959 * sunrpc/clnt_udp.c: Likewise.
36960 * sunrpc/rtime.c: Likewise.
36961 * sunrpc/svcauth_des.c: Likewise.
36962 * sunrpc/xdr.c: Likewise.
36963 * sunrpc/xdr_intXX_t.c: Likewise.
36964 * sunrpc/xdr_rec.c: Likewise.
36965 * sysdeps/generic/ldconfig.h: Likewise.
36966 * sysdeps/generic/ldsodefs.h: Likewise.
36967 * sysdeps/generic/memusage.h: Likewise.
36968 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36969 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36970 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36971 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36974 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36975 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36976 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36978 * sysdeps/posix/getaddrinfo.c: Likewise.
36979 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36980 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36981 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36982 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36983 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36984 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36985 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36986 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36987 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36988 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36989 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36990 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36991 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36992 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36993 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36994 * sysdeps/x86_64/dl-tls.h: Likewise.
36995 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36996 * time/alt_digit.c: Likewise.
36997 * time/era.c: Likewise.
36998 * wcsmbs/tst-c16c32-1.c: Likewise.
36999
37000 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37001
37002 * math/libm-test.inc (struct test_sincos_data): New type.
37003 (RUN_TEST_LOOP_sincos): New macro.
37004 (sincos_test_data): New variable.
37005 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37006
37007 2013-05-16 Richard Henderson <rth@redhat.com>
37008
37009 * math/atest-exp2.c (LIMB64): New macro.
37010 (CONSTSZ): New macro.
37011 (mp_exp1, mp_exp_m1, mp_log2): New variables.
37012 (hexdig): Move ...
37013 (print_mpn_fp): ... to function scope.
37014 (read_mpn_hex): Remove.
37015 (get_log2): Remove.
37016 (exp2_mpn): Use mp_log2.
37017 (main): Use mp_exp1.
37018
37019 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37020
37021 * math/libm-test.inc: Remove comment about not testing "inexact"
37022 exceptions.
37023 (INEXACT_EXCEPTION): New macro.
37024 (NO_INEXACT_EXCEPTION): Likewise.
37025 (INVALID_EXCEPTION_OK): Update value.
37026 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37027 (OVERFLOW_EXCEPTION_OK): Likewise.
37028 (UNDERFLOW_EXCEPTION_OK): Likewise.
37029 (IGNORE_ZERO_INF_SIGN): Likewise.
37030 (ERRNO_UNCHANGED): Likewise.
37031 (ERRNO_EDOM): Likewise.
37032 (ERRNO_ERANGE): Likewise.
37033 (test_exceptions): Handle testing "inexact" exceptions.
37034 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37035 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37036 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37037 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37038 INEXACT_EXCEPTION.
37039 (rint_towardzero_test_data): Likewise.
37040 (rint_downward_test_data): Likewise.
37041 (rint_upward_test_data): Likewise.
37042
37043 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37044 with OVERFLOW_EXCEPTION.
37045 (exp10_test_data): Likewise.
37046 (exp2_test_data): Likewise.
37047 (expm1_test_data): Likewise.
37048 (lgamma_test_data): Likewise.
37049 (pow_test_data): Likewise.
37050 (tgamma_test_data): Likewise.
37051 (yn_test_data): Remove duplicate test of overflow.
37052
37053 * math/libm-test.inc (struct test_cc_c_data): New type.
37054 (RUN_TEST_LOOP_cc_c): New macro.
37055 (cpow_test_data): New variable.
37056 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37057
37058 * math/libm-test.inc (struct test_f_L_data): New type.
37059 (RUN_TEST_LOOP_f_L): New macro.
37060 (llrint_test_data): New variable.
37061 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37062 (llrint_tonearest_test_data): New variable.
37063 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37064 (llrint_towardzero_test_data): New variable.
37065 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37066 (llrint_downward_test_data): New variable.
37067 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37068 (llrint_upward_test_data): New variable.
37069 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37070 (llround_test_data): New variable.
37071 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37072
37073 2013-05-13 Peter Collingbourne <pcc@google.com>
37074
37075 * math/atest-exp2.c (get_log2): Remove const attribute.
37076
37077 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37078
37079 * math/libm-test.inc (struct test_f_l_data): New type.
37080 (RUN_TEST_LOOP_f_l): New macro.
37081 (lrint_test_data): New variable.
37082 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37083 (lrint_tonearest_test_data): New variable.
37084 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37085 (lrint_towardzero_test_data): New variable.
37086 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37087 (lrint_downward_test_data): New variable.
37088 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37089 (lrint_upward_test_data): New variable.
37090 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37091 (lround_test_data): New variable.
37092 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37093
37094 2013-05-15 Peter Collingbourne <pcc@google.com>
37095
37096 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37097 (EXTRACT_WORDS64) Use where appropriate.
37098 (INSERT_WORDS64) Likewise.
37099
37100 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37101 constraints with x constraints.
37102 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37103
37104 * malloc/obstack.c (_obstack_compat): Add initializer.
37105
37106 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
37107
37108 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37109 si_trapno and add si_addr_lsb to _sifields.sigfault.
37110 (si_trapno): Remove macro.
37111 (si_addr_lsb): Define new macro.
37112 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37113
37114 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37115
37116 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37117 instead of TEST_f_l.
37118 (llrint_test_tonearest): Likewise.
37119 (llrint_test_towardzero): Likewise.
37120 (llrint_test_downward): Likewise.
37121 (llrint_test_upward): Likewise.
37122 (llround_test): Likewise.
37123
37124 * math/libm-test.inc (struct test_f_i_data): Add comment.
37125 (RUN_TEST_LOOP_f_b): New macro.
37126 (RUN_TEST_LOOP_f_b_tg): Likewise.
37127 (finite_test_data): New variable.
37128 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37129 (isfinite_test_data): New variable.
37130 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37131 (isinf_test_data): New variable.
37132 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37133 (isnan_test_data): New variable.
37134 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37135 (isnormal_test_data): New variable.
37136 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37137 (issignaling_test_data): New variable.
37138 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37139 (signbit_test_data): New variable.
37140 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37141
37142 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37143 with INVALID_EXCEPTION.
37144 (acosh_test_data): Likewise.
37145 (asin_test_data): Likewise.
37146 (atanh_test_data): Likewise.
37147 (fmod_test_data): Likewise.
37148 (log_test_data): Likewise.
37149 (log10_test_data): Likewise.
37150 (log2_test_data): Likewise.
37151 (pow_test_data): Likewise.
37152 (sqrt_test_data): Likewise.
37153 (y0_test_data): Likewise.
37154 (y1_test_data): Likewise.
37155 (yn_test_data): Likewise.
37156
37157 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37158 function contents.
37159
37160 * math/libm-test.inc (struct test_ff_i_data): New type.
37161 (RUN_TEST_LOOP_ff_i_tg): New macro.
37162 (isgreater_test_data): New variable.
37163 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37164 (isgreaterequal_test_data): New variable.
37165 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37166 (isless_test_data): New variable.
37167 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37168 (islessequal_test_data): New variable.
37169 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37170 (islessgreater_test_data): New variable.
37171 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37172 (isunordered_test_data): New variable.
37173 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37174
37175 2013-05-14 David S. Miller <davem@davemloft.net>
37176
37177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37178
37179 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37180
37181 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37182
37183 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37184 extra_test to int.
37185 (struct test_f_i_data): Change type of max_ulp to int.
37186
37187 * math/libm-test.inc (test_ffI_f1_data): New type.
37188 (RUN_TEST_LOOP_ffI_f1): New macro.
37189 (remquo_test_data): New variable.
37190 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37191
37192 * setjmp/tst-setjmp-fp.c: New file.
37193 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37194 (link-libm): New variable.
37195 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37196
37197 * math/libm-test.inc (struct test_f_i_data): New type.
37198 (RUN_TEST_LOOP_f_i): New macro.
37199 (RUN_TEST_LOOP_f_i_tg): Likewise.
37200 (fpclassify_test_data): New variable.
37201 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37202 (ilogb_test_data): New variable.
37203 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37204
37205 * math/libm-test.inc (scalbln_test): Correct function name in END
37206 call.
37207
37208 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37209 (RUN_TEST_LOOP_fI_f1): New macro.
37210 (frexp_test_data): New variable.
37211 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37212
37213 * math/libm-test.inc (struct test_fF_f1_data): New type.
37214 (RUN_TEST_LOOP_fF_f1): New macro.
37215 (modf_test_data): New variable.
37216 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37217
37218 * math/libm-test.inc (struct test_f_f1_data): New type.
37219 (RUN_TEST_LOOP_f_f1): New macro.
37220 (gamma_test_data): New variable.
37221 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37222 (lgamma_test_data): New variable.
37223 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37224
37225 2013-05-13 Carlos O'Donell <carlos@redhat.com>
37226
37227 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37228 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37229 (main): Comment "tls" pseudo-hwcap.
37230
37231 2013-05-13 Joseph Myers <joseph@codesourcery.com>
37232
37233 * math/libm-test.inc (struct test_fl_f_data): New type.
37234 (RUN_TEST_LOOP_fl_f): New variable.
37235 (scalbln_test_data): New variable.
37236 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37237
37238 * math/libm-test.inc (struct test_fi_f_data): New type.
37239 (RUN_TEST_LOOP_fi_f): New macro.
37240 (ldexp_test_data): New variable.
37241 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37242 (scalbn_test_data): New variable.
37243 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37244
37245 * math/libm-test.inc (struct test_c_f_data): New type.
37246 (RUN_TEST_LOOP_c_f): New macro.
37247 (cabs_test_data): New variable.
37248 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37249 (carg_test_data): New variable.
37250 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37251 (cimag_test_data): New variable.
37252 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37253 (creal_test_data): New variable.
37254 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37255
37256 * math/libm-test.inc (struct test_if_f_data): New type.
37257 (RUN_TEST_LOOP_if_f): New macro.
37258 (jn_test_data): New variable.
37259 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37260 (yn_test_data): New variable.
37261 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37262
37263 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37264
37265 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37266
37267 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37268 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37269
37270 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37271
37272 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37273 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37274 (bench-deps): Add bench-timing.h.
37275 * benchtests-bench-skeleton.c: Include bench-timing.h.
37276 (main): Use TIMING_* macros instead of clock_gettime.
37277 * benchtests/bench-timing.h: New file.
37278
37279 [BZ #14582]
37280 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37281 Renamed from _LIB_VERSION.
37282 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37283
37284 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37285
37286 * math/libm-test.inc (struct test_fff_f_data): New type.
37287 (RUN_TEST_LOOP_fff_f): New macro.
37288 (fma_test_data): New variable.
37289 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37290 (fma_towardzero_test_data): New variable.
37291 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37292 (fma_downward_test_data): New variable.
37293 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37294 (fma_upward_test_data): New variable.
37295 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37296
37297 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37298 (struct test_c_c_data): New type.
37299 (RUN_TEST_LOOP_c_c): New macro.
37300 (cacos_test_data): New variable.
37301 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37302 (cacosh_test_data): New variable.
37303 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37304 (casin_test_data): New variable.
37305 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37306 (casinh_test_data): New variable.
37307 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37308 (catan_test_data): New variable.
37309 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37310 (catanh_test_data): New variable.
37311 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37312 (ccos_test_data): New variable.
37313 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37314 (ccosh_test_data): New variable.
37315 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37316 (cexp_test_data): New variable.
37317 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37318 (clog_test_data): New variable.
37319 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37320 (clog10_test_data): New variable.
37321 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37322 (conj_test_data): New variable.
37323 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37324 (cproj_test_data): New variable.
37325 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37326 (csin_test_data): New variable.
37327 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37328 (csinh_test_data): New variable.
37329 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37330 (csqrt_test_data): New variable.
37331 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37332 (ctan_test_data): New variable.
37333 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37334 (ctan_tonearest_test_data): New variable.
37335 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37336 (ctan_towardzero_test_data): New variable.
37337 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37338 (ctan_downward_test_data): New variable.
37339 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37340 (ctan_upward_test_data): New variable.
37341 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37342 (ctanh_test_data): New variable.
37343 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37344 (ctanh_tonearest_test_data): New variable.
37345 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37346 (ctanh_towardzero_test_data): New variable.
37347 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37348 (ctanh_downward_test_data): New variable.
37349 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37350 (ctanh_upward_test_data): New variable.
37351 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37352 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37353 of BUILD_COMPLEX.
37354
37355 * math/libm-test.inc (struct test_ff_f_data): New type.
37356 (struct test_ff_f_data_nexttoward): Likewise.
37357 (RUN_TEST_LOOP_2_f): New macro.
37358 (RUN_TEST_LOOP_ff_f): Likewise.
37359 (atan2_test_data): New variable.
37360 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37361 (copysign_test_data): New variable.
37362 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37363 (fdim_test_data): New variable.
37364 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37365 (fmax_test_data): New variable.
37366 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37367 (fmin_test_data): New variable.
37368 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37369 (fmod_test_data): New variable.
37370 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37371 (hypot_test_data): New variable.
37372 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37373 (nextafter_test_data): New variable.
37374 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37375 (nexttoward_test_data): New variable.
37376 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37377 (pow_test_data): New variable.
37378 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37379 (pow_tonearest_test_data): New variable.
37380 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37381 (pow_towardzero_test_data): New variable.
37382 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37383 (pow_downward_test_data): New variable.
37384 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37385 (pow_upward_test_data): New variable.
37386 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37387 (remainder_test_data): New variable.
37388 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37389 (scalb_test_data): New variable.
37390 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37391 * sysdeps/i386/fpu/libm-test-ulps: Update.
37392
37393 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37394
37395 * math/libm-test.inc (fma_test): Use max_value instead of local
37396 variable fltmax.
37397 (nextafter_test): Likewise.
37398
37399 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37400 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37401 (acos_downward_test_data): New variable.
37402 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37403 (acos_upward_test_data): New variable.
37404 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37405 (acosh_test_data): New variable.
37406 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37407 (asin_test_data): New variable.
37408 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37409 (asin_tonearest_test_data): New variable.
37410 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37411 (asin_towardzero_test_data): New variable.
37412 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37413 (asin_downward_test_data): New variable.
37414 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37415 (asin_upward_test_data): New variable.
37416 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37417 (asinh_test_data): New variable.
37418 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37419 (atan_test_data): New variable.
37420 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37421 (atanh_test_data): New variable.
37422 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37423 (cbrt_test_data): New variable.
37424 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37425 (ceil_test_data): New variable.
37426 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37427 (cos_test_data): New variable.
37428 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37429 (cos_tonearest_test_data): New variable.
37430 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37431 (cos_towardzero_test_data): New variable.
37432 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37433 (cos_downward_test_data): New variable.
37434 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37435 (cos_upward_test_data): New variable.
37436 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37437 (cosh_test_data): New variable.
37438 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37439 (cosh_tonearest_test_data): New variable.
37440 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37441 (cosh_towardzero_test_data): New variable.
37442 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37443 (cosh_downward_test_data): New variable.
37444 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37445 (cosh_upward_test_data): New variable.
37446 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37447 (erf_test_data): New variable.
37448 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37449 (erfc_test_data): New variable.
37450 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37451 (exp_test_data): New variable.
37452 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37453 (exp_tonearest_test_data): New variable.
37454 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37455 (exp_towardzero_test_data): New variable.
37456 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37457 (exp_downward_test_data): New variable.
37458 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37459 (exp_upward_test_data): New variable.
37460 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37461 (exp10_test_data): New variable.
37462 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37463 (exp2_test_data): New variable.
37464 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37465 (expm1_test_data): New variable.
37466 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37467 (fabs_test_data): New variable.
37468 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37469 (floor_test_data): New variable.
37470 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37471 (j0_test_data): New variable.
37472 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37473 (j1_test_data): New variable.
37474 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37475 (log_test_data): New variable.
37476 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37477 (log10_test_data): New variable.
37478 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37479 (log1p_test_data): New variable.
37480 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37481 (log2_test_data): New variable.
37482 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37483 (logb_test_data): New variable.
37484 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37485 (logb_downward_test_data): New variable.
37486 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37487 (nearbyint_test_data): New variable.
37488 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37489 (rint_test_data): New variable.
37490 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37491 (rint_tonearest_test_data): New variable.
37492 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37493 (rint_towardzero_test_data): New variable.
37494 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37495 (rint_downward_test_data): New variable.
37496 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37497 (rint_upward_test_data): New variable.
37498 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37499 (round_test_data): New variable.
37500 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37501 (sin_test_data): New variable.
37502 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37503 (sin_tonearest_test_data): New variable.
37504 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37505 (sin_towardzero_test_data): New variable.
37506 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37507 (sin_downward_test_data): New variable.
37508 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37509 (sin_upward_test_data): New variable.
37510 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37511 (sinh_test_data): New variable.
37512 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37513 (sinh_tonearest_test_data): New variable.
37514 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37515 (sinh_towardzero_test_data): New variable.
37516 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37517 (sinh_downward_test_data): New variable.
37518 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37519 (sinh_upward_test_data): New variable.
37520 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37521 (sqrt_test_data): New variable.
37522 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37523 (tan_test_data): New variable.
37524 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37525 (tan_tonearest_test_data): New variable.
37526 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37527 (tan_towardzero_test_data): New variable.
37528 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37529 (tan_downward_test_data): New variable.
37530 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37531 (tan_upward_test_data): New variable.
37532 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37533 (tanh_test_data): New variable.
37534 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37535 (tgamma_test_data): New variable.
37536 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37537 (trunc_test_data): New variable.
37538 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37539 (y0_test_data): New variable.
37540 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37541 (y1_test_data): New variable.
37542 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37543 (significand_test_data): New variable.
37544 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37545
37546 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37547
37548 [BZ #12387]
37549 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37550
37551 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37552
37553 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37554
37555 2013-05-10 Andreas Jaeger <aj@suse.de>
37556
37557 [BZ #15448]
37558 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37559 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37560
37561 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37562
37563 * math/gen-libm-test.pl (adjust_arg): New function.
37564 (special_functions): Handle generating output in both functions
37565 and arrays.
37566 (parse_args): Likewise.
37567 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37568 $in_func argument to parse_args.
37569 * math/libm-test.inc (struct test_f_f_data): New type.
37570 (IF_ROUND_INIT_): New macro.
37571 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37572 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37573 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37574 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37575 (ROUND_RESTORE_): Likewise.
37576 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37577 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37578 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37579 (ROUND_RESTORE_FE_UPWARD): Likewise.
37580 (RUN_TEST_LOOP_f_f): New macro.
37581 (acos_test_data): New variable.
37582 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37583 (acos_tonearest_test_data): New variable.
37584 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37585
37586 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37587
37588 * benchtests/bench-skeleton.c (startup): Fix coding style.
37589
37590 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37591
37592 [BZ #6809]
37593 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37594 negative infinity argument.
37595 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37596 negative infinity argument.
37597 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37598 negative infinity argument.
37599 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37600 domain errors.
37601
37602 2013-05-10 Florian Weimer <fweimer@redhat.com>
37603
37604 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37605 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37606 * iconv/iconv_prog.c (main): Likewise.
37607 * locale/programs/charmap-dir.c (charmap_readdir)
37608 (fopen_uncompressed): Likewise.
37609 * locale/programs/locfile.c (siblings_uncached)
37610 (write_locale_data): Use lstat64 instead of lstat.
37611 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37612 stat.
37613
37614 2013-05-10 Andreas Jaeger <aj@suse.de>
37615
37616 [BZ #15395]
37617 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37618 localization.
37619 Include <locale.h>.
37620
37621 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37622
37623 * elf/dl-close.c (_dl_close_worker): Add comments.
37624
37625 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37626
37627 [BZ #15359]
37628 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37629 high part of pi/2.
37630 (__ieee754_rem_pio2l): Update comments.
37631
37632 [BZ #15429]
37633 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37634 high part of pi/2.
37635 (__ieee754_rem_pio2l): Update comments.
37636
37637 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37638 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37639
37640 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37641 M_PI_4l.
37642
37643 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37644 (M_PI_34_LOG10El): Likewise.
37645 (M_PI2_LOG10El): Likewise.
37646 (M_PI4_LOG10El): Likewise.
37647 (M_PI_LOG10El): Likewise.
37648
37649 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37650
37651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37652
37653 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37654
37655 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37656 (MINUS_ZERO_INIT): Likewise.
37657 (PLUS_INFTY_INIT): Likewise.
37658 (MINUS_INFTY_INIT): Likewise.
37659 (QNAN_VALUE_INIT): Likewise.
37660 (MAX_VALUE_INIT): Likewise.
37661 (MIN_VALUE_INIT): Likewise.
37662 (MIN_SUBNORM_VALUE_INIT): Likewise.
37663 (plus_zero): Initialize with PLUS_ZERO_INIT.
37664 (minus_zero): Initialize with MINUS_ZERO_INIT.
37665 (plus_infty): Initialize with PLUS_INFTY_INIT.
37666 (minus_infty): Initialize with MINUS_INFTY_INIT.
37667 (qnan_value): Initialize with QNAN_VALUE_INIT.
37668 (max_value): Initialize with MAX_VALUE_INIT.
37669 (min_value): Initialize with MIN_VALUE_INIT.
37670 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37671
37672 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37673 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37674 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37675 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37676
37677 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37678 (RUN_TEST_2_f): Likewise.
37679 (RUN_TEST_ff_f): Likewise.
37680 (RUN_TEST_fi_f): Likewise.
37681 (RUN_TEST_fl_f): Likewise.
37682 (RUN_TEST_fff_f): Likewise.
37683 (RUN_TEST_c_f): Likewise.
37684 (RUN_TEST_f_f1): Likewise.
37685 (RUN_TEST_fF_f1): Likewise.
37686 (RUN_TEST_fI_f1): Likewise.
37687 (RUN_TEST_ffI_f1): Likewise.
37688 (RUN_TEST_c_c): Likewise.
37689 (RUN_TEST_cc_c): Likewise.
37690 (RUN_TEST_f_i): Likewise.
37691 (RUN_TEST_f_i_tg): Likewise.
37692 (RUN_TEST_ff_i_tg): Likewise.
37693 (RUN_TEST_f_b): Likewise.
37694 (RUN_TEST_f_b_tg): Likewise.
37695 (RUN_TEST_f_l): Likewise.
37696 (RUN_TEST_f_L): Likewise.
37697 (RUN_TEST_sincos): Likewise.
37698 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37699 whether to show exceptions. Do not include ");\n" in return
37700 value.
37701 (special_functions): Output call to RUN_TEST_sincos instead of
37702 check_float calls. Update calls to new_test.
37703 (parse_args): Output call to single RUN_TEST_* macro instead of
37704 check_* calls and other assignments. Update calls to new_test.
37705
37706 [BZ #2546]
37707 [BZ #2560]
37708 [BZ #5159]
37709 [BZ #15426]
37710 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37711 input to result for tgamma overflow.
37712 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37713 (gamma_coeff): New variable.
37714 (NCOEFF): New macro.
37715 (gamma_positive): New function.
37716 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37717 underflow here. Use gamma_positive instead of exp (lgamma) for
37718 other arguments.
37719 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37720 (gamma_coeff): New variable.
37721 (NCOEFF): New macro.
37722 (gammaf_positive): New function.
37723 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37724 underflow here. Use gamma_positive instead of exp (lgamma) for
37725 other arguments.
37726 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37727 (gamma_coeff): New variable.
37728 (NCOEFF): New macro.
37729 (gammal_positive): New function.
37730 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37731 underflow here. Use gamma_positive instead of exp (lgamma) for
37732 other arguments.
37733 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37734 (gamma_coeff): New variable.
37735 (NCOEFF): New macro.
37736 (gammal_positive): New function.
37737 (__ieee754_gammal_r): Handle positive infinity, overflow and
37738 underflow here. Handle NaN the same as positive infinity. Remove
37739 check x < 0xffffffff for negative integers. Use gamma_positive
37740 instead of exp (lgamma) for other arguments.
37741 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37742 (gamma_coeff): New variable.
37743 (NCOEFF): New macro.
37744 (gammal_positive): New function.
37745 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37746 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37750 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37751 * sysdeps/generic/math_private.h (__gamma_productf): New
37752 prototype.
37753 (__gamma_product): Likewise.
37754 (__gamma_productl): Likewise.
37755 * math/Makefile (libm-calls): Add gamma_product.
37756 * math/libm-test.inc (tgamma_test): Add more tests.
37757 * sysdeps/i386/fpu/libm-test-ulps: Update.
37758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37759
37760 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37761
37762 * benchtests/bench-skeleton.c (main): Preheat CPU.
37763
37764 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37765
37766 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37767
37768 2013-05-07 Roland McGrath <roland@hack.frob.com>
37769
37770 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37771 and _dl_skip_args_internal.
37772
37773 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37774
37775 * manual/message.texi (Message Translation): Talk about users.
37776 Message to key mapping impacts design.
37777
37778 2013-05-06 Roland McGrath <roland@hack.frob.com>
37779
37780 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37781
37782 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37783
37784 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37785 * sysdeps/wordsize-64/glob64.c: ... here.
37786
37787 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37788 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37789 New macros.
37790
37791 * debug/getlogin_r_chk.c: Moved to ...
37792 * login/getlogin_r_chk.c: ... here.
37793 * debug/Makefile (routines): Move getlogin_r_chk to ...
37794 * login/Makefile (routines): ... here.
37795 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37796 * login/Versions (libc: GLIBC_2.4): ... here.
37797
37798 * io/poll.c (__poll): Renamed from poll.
37799 Add libc_hidden_def.
37800 (poll): Define as weak alias.
37801
37802 * debug/ptsname_r_chk.c: Moved to ...
37803 * login/ptsname_r_chk.c: ... here.
37804 * debug/Makefile (routines): Move ptsname_r_chk to ...
37805 * login/Makefile (routines): ... here.
37806 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37807 * login/Versions (libc: GLIBC_2.4): ... here.
37808
37809 * posix/getlogin.c: Moved to ...
37810 * login/getlogin.c: ... here.
37811 * posix/getlogin_r.c: Moved to ...
37812 * login/getlogin_r.c: ... here.
37813 * posix/getlogin_r.c: Moved to ...
37814 * login/getlogin_r.c: ... here.
37815 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37816 * login/Makefile (routines): ... here.
37817 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37818 * login/Versions (libc: GLIBC_2.0): ... here.
37819
37820 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37821 (setrlimit): Define as weak alias.
37822
37823 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37824 Call __ names for open, ftruncate, and close.
37825 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37826 (truncate): Define as weak alias.
37827
37828 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37829
37830 * math/gen-libm-test.pl (parse_args): Initialize x before each
37831 test of frexp, modf and remquo.
37832
37833 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37834 test signgam value.
37835
37836 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37837
37838 [BZ #15418]
37839 [BZ #15419]
37840 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37841 internal tests.
37842 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37843
37844 2013-05-06 Roland McGrath <roland@hack.frob.com>
37845
37846 * elf/dl-writev.h: New file.
37847 * elf/dl-misc.c: Include it.
37848 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37849 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37850
37851 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37852
37853 * math/libm-test.inc (noXFails): Remove variable.
37854 (noXPasses): Likewise.
37855 (BUILD_COMPLEX_INT): Remove macro.
37856 (print_screen): Remove xfail argument.
37857 (print_screen_max_error): Likewise.
37858 (update_stats): Likewise.
37859 (print_max_error): Likewise. Update calls to other affected
37860 functions.
37861 (print_complex_max_error): Likewise.
37862 (test_single_exception): Update calls to print_screen.
37863 (test_single_errno): Likewise.
37864 (check_float_internal): Remove xfail argument. Update calls to
37865 other affected functions.
37866 (check_float): Likewise.
37867 (check_complex): Likewise.
37868 (check_int): Likewise.
37869 (check_long): Likewise.
37870 (check_bool): Likewise.
37871 (check_longlong): Likewise.
37872 (main): Don't print noXFails and noXPasses.
37873 * math/gen-libm-test.pl (top level): Don't mention expected
37874 failure handling in comment.
37875 (new_test): Don't handle expected failures.
37876 (parse_args): Don't mention expected failure handling in comment.
37877 (generate_testfile): Don't handle expected failures.
37878 (parse_ulps): Likewise.
37879 (print_ulps_file): Likewise.
37880 (get_failure): Remove function.
37881 (output_test): Don't handle expected failures.
37882 * make/README.libm-test: Don't mention expected failure handling.
37883
37884 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37885 (minus_zero): Likewise.
37886 (plus_infty): Likewise.
37887 (minus_infty): Likewise.
37888 (qnan_value): Likewise.
37889 (max_value): Likewise.
37890 (min_value): Likewise.
37891 (min_subnorm_value): Likewise.
37892 (initialize): Do not initialize those variables dynamically.
37893
37894 2013-05-03 Roland McGrath <roland@hack.frob.com>
37895
37896 * io/open.c (__open_2): Moved to ...
37897 * io/open_2.c: ... this new file.
37898 * io/open64.c (__open64_2): Moved to ...
37899 * io/open64_2.c: ... this new file.
37900 * io/openat.c (__openat_2): Moved to ...
37901 * io/openat_2.c: ... this new file.
37902 * io/openat64.c (__openat64_2): Moved to ...
37903 * io/openat64_2.c: ... this new file.
37904 * io/Makefile (routines): Add them.
37905 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37906 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37907 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37908 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37909 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37910 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37911 (__openat64): Add hidden_ver.
37912 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37913 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37914
37915 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37916 Separately conditionalize setting of GLRO(dl_sysinfo) so
37917 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37918 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37919
37920 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37921
37922 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37923 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37924 definition.
37925 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37926 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37927 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37928 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37929 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37930
37931 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37932
37933 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37934 test signgam value.
37935
37936 * math/libm-test.inc (hypot_test): Do not use
37937 IGNORE_ZERO_INF_SIGN.
37938
37939 2013-05-03 Andreas Jaeger <aj@suse.de>
37940
37941 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37942 Linux 3.9.
37943 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37944 (PF_MAX): Adjust for VSOCK change.
37945
37946 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37947
37948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37949
37950 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37951
37952 [BZ #15264]
37953 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37954 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37955 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37956
37957 2013-05-02 David S. Miller <davem@davemloft.net>
37958
37959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37960
37961 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37962
37963 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37964
37965 2013-05-01 Roland McGrath <roland@hack.frob.com>
37966
37967 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37968
37969 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37970
37971 [BZ #14952]
37972 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37973 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37974 Use __attribute__ ((__gnu_inline__)).
37975 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37976 Don't use __attribute__ ((__gnu_inline__)).
37977
37978 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37979
37980 [BZ #15423]
37981 * math/s_catan.c (__catan): Handle small real or imaginary part of
37982 input specially to avoid spurious underflow.
37983 * math/s_catanf.c (__catanf): Likewise.
37984 * math/s_catanh.c (__catanh): Likewise.
37985 * math/s_catanhf.c (__catanhf): Likewise.
37986 * math/s_catanhl.c (__catanhl): Likewise.
37987 * math/s_catanl.c (__catanl): Likewise.
37988 * math/libm-test.inc (catan_test): Add more tests.
37989 (catanh_test): Likewise.
37990 * sysdeps/i386/fpu/libm-test-ulps: Update.
37991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37992
37993 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37994
37995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37996
37997 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37998
37999 [BZ #15416]
38000 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38001 accurately for denominator in atan2.
38002 * math/s_catanf.c (__catanf): Likewise.
38003 * math/s_catanh.c (__catanh): Likewise.
38004 * math/s_catanhf.c (__catanhf): Likewise.
38005 * math/s_catanhl.c (__catanhl): Likewise.
38006 * math/s_catanl.c (__catanl): Likewise.
38007 * math/libm-test.inc (catan_test): Add more tests.
38008 (catanh_test): Likewise.
38009 * sysdeps/i386/fpu/libm-test-ulps: Update.
38010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38011
38012 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38013
38014 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38015
38016 * benchtests/Makefile (bench): Remove slow benchmarks.
38017 * benchtests/atan-inputs: Add slow benchmark inputs.
38018 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38019 (BENCH_FUNC): Accept variant offset.
38020 (VARIANT): Define.
38021 * benchtests/bench-skeleton.c (main): Run benchmark for each
38022 variant.
38023 * benchtests/cos-inputs: Add slow benchmark inputs.
38024 * benchtests/exp-inputs: Likewise.
38025 * benchtests/pow-inputs: Likewise.
38026 * benchtests/sin-inputs: Likewise.
38027 * benchtests/slowatan-inputs: Remove.
38028 * benchtests/slowatan.c: Remove.
38029 * benchtests/slowcos-inputs: Remove.
38030 * benchtests/slowcos.c: Remove.
38031 * benchtests/slowexp-inputs: Remove.
38032 * benchtests/slowexp.c: Remove.
38033 * benchtests/slowpow-inputs: Remove.
38034 * benchtests/slowpow.c: Remove.
38035 * benchtests/slowsin-inputs: Remove.
38036 * benchtests/slowsin.c: Remove.
38037 * benchtests/slowtan-inputs: Remove.
38038 * benchtests/slowtan.c: Remove.
38039 * benchtests/tan-inputs: Add slow benchmark inputs.
38040 * scripts/bench.pl: Parse comments and directives.
38041
38042 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
38043 in CPPFLAGS.
38044 ($(objpfx)bench-%.c): Remove *-ITER.
38045 * benchtests/bench-modf.c: Remove definition of ITER.
38046 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38047 (main): Loop for DURATION seconds instead of fixed number of
38048 iterations.
38049 * scripts/bench.pl: Don't expect iterations in parameters.
38050
38051 2013-04-29 Roland McGrath <roland@hack.frob.com>
38052
38053 * io/fchdir.c (__fchdir): Renamed from fchdir.
38054 (fchdir): Define as weak alias.
38055
38056 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38057
38058 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38059 (ERRNO_EDOM): Likewise.
38060 (ERRNO_ERANGE): Likewise.
38061 (noErrnoTests): New variable.
38062 (init_max_error): Set errno to 0.
38063 (test_single_errno): New function.
38064 (test_errno): Likewise.
38065 (check_float_internal): Call test_errno. Set errno to 0.
38066 (check_complex): Refer to errno tests in comment.
38067 (check_int): Call test_errno. Set errno to 0.
38068 (check_long): Likewise.
38069 (check_bool): Likewise.
38070 (check_longlong): Likewise.
38071 (cos_test): Use ERRNO_* flags for errno tests instead of
38072 check_int.
38073 (expm1_test): Likewise.
38074 (fmod_test): Likewise.
38075 (ilogb_test): Likewise.
38076 (lgamma_test): Likewise.
38077 (pow_test): Likewise.
38078 (remainder_test): Likewise.
38079 (sin_test): Likewise.
38080 (tan_test): Likewise.
38081 (yn_test): Likewise.
38082 (initialize): Set errno to 0.
38083 (main): Print number of errno tests.
38084 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38085
38086 2013-04-29 Andreas Jaeger <aj@suse.de>
38087
38088 [BZ #15084]
38089 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38090 and RES_USEVC.
38091
38092 [BZ #15085]
38093 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38094 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38095 unimplemented.
38096
38097 [BZ #15380]
38098 * stdlib/random.c (__initstate): Return NULL if
38099 __initstate fails.
38100
38101 [BZ #15086]
38102 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38103 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38104 RES_SNGLKUPREOP.
38105
38106 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38107
38108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38109
38110 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38111
38112 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38113 of individual tests.
38114 (casin_test): Likewise.
38115 (casinh_test): Likewise.
38116
38117 2013-04-27 Joseph Myers <joseph@codesourcery.com>
38118
38119 [BZ #15409]
38120 * math/s_catan.c (__catan): Handle arguments with large real or
38121 imaginary part separately without squaring.
38122 * math/s_catanf.c (__catanf): Likewise.
38123 * math/s_catanh.c (__catanh): Likewise.
38124 * math/s_catanhf.c (__catanhf): Likewise.
38125 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38126 and redefine.
38127 (__catanhl): Handle arguments with large real or imaginary part
38128 separately without squaring.
38129 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38130 and redefine.
38131 (__catanl): Handle arguments with large real or imaginary part
38132 separately without squaring.
38133 * math/libm-test.inc (catan_test): Add more tests.
38134 (catanh_test): Likewise.
38135 * sysdeps/i386/fpu/libm-test-ulps: Update.
38136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38137
38138 2013-04-27 Andreas Jaeger <aj@suse.de>
38139
38140 [BZ #15007]
38141 * stdlib/stdlib.h: Update guards for qecvt.
38142 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38143 <stdlib.h>.
38144
38145 2013-04-27 Allan McRae <allan@archlinux.org>
38146
38147 * sysdeps/i386/fpu/libm-test-ulps: Update.
38148
38149 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38150
38151 [BZ #15406]
38152 * math/s_catan.c: Include <float.h>.
38153 (__catan): Ensure underflow exception occurs for underflowed
38154 result.
38155 * math/s_catanf.c: Include <float.h>.
38156 (__catanf): Ensure underflow exception occurs for underflowed
38157 result.
38158 * math/s_catanh.c: Include <float.h>.
38159 (__catanh): Ensure underflow exception occurs for underflowed
38160 result.
38161 * math/s_catanhf.c: Include <float.h>.
38162 (__catanhf): Ensure underflow exception occurs for underflowed
38163 result.
38164 * math/s_catanhl.c: Include <float.h>.
38165 (__catanhl): Ensure underflow exception occurs for underflowed
38166 result.
38167 * math/s_catanl.c: Include <float.h>.
38168 (__catanl): Ensure underflow exception occurs for underflowed
38169 result.
38170 * math/libm-test.inc (catan_test): Add more tests.
38171 (catanh_test): Likewise.
38172
38173 [BZ #15405]
38174 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38175 underflowed result.
38176 * math/s_ccoshf.c (__ccoshf): Likewise.
38177 * math/s_ccoshl.c (__ccoshl): Likewise.
38178 * math/s_csin.c (__csin): Likewise.
38179 * math/s_csinf.c (__csinf): Likewise.
38180 * math/s_csinh.c (__csinh): Likewise.
38181 * math/s_csinhf.c (__csinhf): Likewise.
38182 * math/s_csinhl.c (__csinhl): Likewise.
38183 * math/s_csinl.c (__csinl): Likewise.
38184 * math/libm-test.inc (ccos_test): Add more tests.
38185 (ccosh_test): Likewise.
38186 (csin_test): Likewise.
38187 (csinh_test): Likewise.
38188
38189 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38190
38191 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38192 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38193 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38194 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38195 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38196 powerpc/power5+/fpu folders.
38197 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38198
38199
38200 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38201
38202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38203
38204 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38205
38206 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38207 additions to variable.
38208 [$(config-machine) = x86_64] (modules-names): Likewise.
38209 ($(objpfx)tst-audit3): Remove dependency.
38210 ($(objpfx)tst-audit3.out): Likewise.
38211 ($(objpfx)tst-audit4): Likewise.
38212 ($(objpfx)tst-audit4.out): Likewise.
38213 ($(objpfx)tst-audit5): Likewise.
38214 ($(objpfx)tst-audit5.out): Likewise.
38215 ($(objpfx)tst-audit6): Likewise.
38216 ($(objpfx)tst-audit6.out): Likewise.
38217 ($(objpfx)tst-audit7): Likewise.
38218 ($(objpfx)tst-audit7.out): Likewise.
38219 (tst-audit3-ENV): Remove variable.
38220 (tst-audit4-ENV): Likewise.
38221 (tst-audit5-ENV): Likewise.
38222 (tst-audit6-ENV): Likewise.
38223 (tst-audit7-ENV): Likewise.
38224 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38225 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38226 addition to variable.
38227 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38228 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38229 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38230 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38231 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38232 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38233 tst-audit3, tst-audit4 and tst-audit5.
38234 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38235 tst-audit6 and tst-audit7.
38236 [$(subdir) = elf] (modules-names): Add audit modules for those
38237 tests.
38238 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38239 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38240 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38241 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38242 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38243 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38244 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38245 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38246 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38247 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38248 [$(subdir) = elf] (tst-audit3-ENV): New variable.
38249 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38250 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38251 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38252 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38253 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38254 Likewise.
38255 [$(subdir) = elf && $(config-cflags-avx) = yes]
38256 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38257 [$(subdir) = elf && $(config-cflags-avx) = yes]
38258 (CFLAGS-tst-auditmod4a.c): Likewise.
38259 [$(subdir) = elf && $(config-cflags-avx) = yes]
38260 (CFLAGS-tst-auditmod4b.c): Likewise.
38261 [$(subdir) = elf && $(config-cflags-avx) = yes]
38262 (CFLAGS-tst-auditmod6b.c): Likewise.
38263 [$(subdir) = elf && $(config-cflags-avx) = yes]
38264 (CFLAGS-tst-auditmod6c.c): Likewise.
38265 [$(subdir) = elf && $(config-cflags-avx) = yes]
38266 (CFLAGS-tst-auditmod7b.c): Likewise.
38267 * elf/tst-audit3.c: Move to ...
38268 * sysdeps/x86_64/tst-audit3.c: ... here.
38269 * elf/tst-audit4.c: Move to ...
38270 * sysdeps/x86_64/tst-audit4.c: ... here.
38271 * elf/tst-audit5.c: Move to ...
38272 * sysdeps/x86_64/tst-audit5.c: ... here.
38273 * elf/tst-audit6.c: Move to ...
38274 * sysdeps/x86_64/tst-audit6.c: ... here.
38275 * elf/tst-audit7.c: Move to ...
38276 * sysdeps/x86_64/tst-audit7.c: ... here.
38277 * elf/tst-auditmod3a.c: Move to ...
38278 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38279 * elf/tst-auditmod3b.c: Move to ...
38280 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38281 * elf/tst-auditmod4a.c: Move to ...
38282 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38283 * elf/tst-auditmod4b.c: Move to ...
38284 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38285 * elf/tst-auditmod5a.c: Move to ...
38286 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38287 * elf/tst-auditmod5b.c: Move to ...
38288 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38289 * elf/tst-auditmod6a.c: Move to ...
38290 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38291 * elf/tst-auditmod6b.c: Move to ...
38292 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38293 * elf/tst-auditmod6c.c: Move to ...
38294 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38295 * elf/tst-auditmod7a.c: Move to ...
38296 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38297 * elf/tst-auditmod7b.c: Move to ...
38298 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38299
38300 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38301
38302 [BZ #15366]
38303 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38304 define unconditionally.
38305 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38306 define unconditionally.
38307 (INT8_C, INT16_C, etc.): Likewise.
38308
38309 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38310
38311 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38312 __ehdr_start with hidden visibility.
38313
38314 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38315
38316 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38317
38318 * math/libm-test.inc (cos_test): Use accurate hex constants.
38319 (sincost_test): Likewise.
38320
38321 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38322
38323 * math/libm-test.inc (catan_test): Add more tests.
38324 (catanh_test): Likewise.
38325
38326 * math/s_catanf.c (__catanf): Use suffixed floating-point
38327 constants.
38328 * math/s_catanhf.c (__catanhf): Likewise.
38329 * math/s_catanhl.c (__catanhl): Likewise.
38330 * math/s_catanl.c (__catanl): Likewise.
38331
38332 [BZ #15394]
38333 * math/s_catan.c (__catan): Calculate imaginary part of result
38334 with log1p not log unless computing log of number close to 0.
38335 * math/s_catanf.c (__catanf): Likewise.
38336 * math/s_catanl.c (__catanl): Likewise.
38337 * math/s_catanh.c (__catanh): Calculate real part of result with
38338 log1p not log unless computing log of number close to 0.
38339 * math/s_catanhf.c (__catanhf): Likewise.
38340 * math/s_catanhl.c (__catanhl): Likewise.
38341 * math/libm-test.inc (catan_test): Add more tests.
38342 (catanh_test): Likewise.
38343 * sysdeps/i386/fpu/libm-test-ulps: Update.
38344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38345
38346 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38347
38348 * benchtests/Makefile: Mention files in which fast and slow
38349 paths of math functions are implemented.
38350
38351 2013-04-23 Roland McGrath <roland@hack.frob.com>
38352
38353 * sysdeps/posix/timespec_get.c: New file.
38354
38355 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38356
38357 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38358 POWER.
38359 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38360 for POWER.
38361 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38362 powerpc/power5/fpu folders.
38363 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38364 * benchtests/Makefile: Add modf testcase.
38365 * benchtests/bench-modf.c: New file: Benchmark test for mo
38366
38367 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38368
38369 [BZ #14888]
38370 * time/Makefile (tests): Add tst-strptime-whitespace.
38371 * time/strptime_l.c (get_number): Use ISSPACE.
38372 (__strptime_internal): Likewise.
38373 * time/tst-strptime-whitespace.c: New test case.
38374
38375 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38376
38377 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38378 member.
38379 (_nss_files_init): Set it here.
38380
38381 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38382
38383 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38384 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38385 unsigned.
38386
38387 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38388
38389 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38390
38391 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38392
38393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38394 size just once.
38395
38396 2013-04-21 David S. Miller <davem@davemloft.net>
38397
38398 * po/ru.po: Update Russion translation from translation project.
38399
38400 2013-04-17 Adam Conrad <adconrad@0c3.net>
38401
38402 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38403 and setfsgid.
38404
38405 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38406
38407 * configure.in: Remove i386 configure warning. Remove i386 case.
38408 * configure: Regenerate.
38409 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38410 Add example to error message.
38411 * sysdeps/i386/configure: Regenerate.
38412
38413 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38414
38415 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38416 slowtan.
38417 * benchtests/cos-inputs: New file.
38418 * benchtests/slowcos-inputs: New file.
38419 * benchtests/slowcos.c: New file.
38420 * benchtests/slowtan-inputs: New file.
38421 * benchtests/slowtan.c: New file.
38422 * benchtests/tan-inputs: New file.
38423
38424 2013-04-16 Roland McGrath <roland@hack.frob.com>
38425
38426 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38427 considered kosher.
38428
38429 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38430
38431 * benchtests/Makefile: Include cppflags-iterator.mk to add
38432 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38433
38434 * Makefile.in (bench-clean): New target.
38435 * benchtests/Makefile (bench-clean): Likewise.
38436
38437 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38438
38439 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38440
38441 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38442
38443 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38444
38445 2013-04-15 Andreas Schwab <schwab@suse.de>
38446
38447 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38449 * nscd/pwdcache.c (cache_addpw): Likewise.
38450 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38451 more than recsize.
38452
38453 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38454
38455 * benchtests/Makefile (bench): Write all output to
38456 bench-out.tmp together.
38457
38458 2013-04-15 Andreas Schwab <schwab@suse.de>
38459
38460 * nscd/nscd.c (main): Don't fork again after closing files.
38461
38462 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38463
38464 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38465
38466 * benchtests/Rules (bench-deps): Collect dependencies into a
38467 single variable. Add Makefile to dependencies.
38468 ($(objpfx)bench-%.c): Depend on bench-deps.
38469
38470 2013-04-12 Roland McGrath <roland@hack.frob.com>
38471 Xavier Roche <roche+kml2@exalead.com>
38472
38473 [BZ #15361]
38474 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38475 just that it's a file descriptor.
38476 * manual/llio.texi (Synchronizing AIO Operations): Update description
38477 for EBADF error from aio_fsync.
38478
38479 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38480
38481 * Rules (bench): Move target definition...
38482 * benchtests/Makefile: ... here.
38483
38484 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38485
38486 * math/libm-test.inc (cos_test): Fix PI/2 test.
38487 (sincos_test): Likewise.
38488 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38489 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38490
38491 2013-04-11 Andreas Schwab <schwab@suse.de>
38492
38493 [BZ #13988]
38494 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38495 accept exponent character only when digits were seen.
38496 * stdio-common/Makefile (tests): Add bug26.
38497 * stdio-common/bug26.c: New file.
38498
38499 [BZ #14293]
38500 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38501 non-freeable.
38502
38503 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38504
38505 * Makeconfig (rtld-prefix): Define built linker prefix.
38506 * Rules (run-bench): Use it.
38507 * math/Makefile (run-regen-ulps): Likewise.
38508
38509 * Rules (bench): Remove eval.
38510
38511 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38512 Roland McGrath <roland@hack.frob.com>
38513 Ondrej Bilka <neleai@seznam.cz>
38514
38515 [BZ #15346]
38516 * time/getdate.c: Include ctype.h and alloca.h.
38517 (__getdate_r): Trim leading and trailing spaces of input.
38518 * time/tst-getdate.c (tests): Add tests with leading and
38519 trailing spaces.
38520
38521 2013-04-08 Roland McGrath <roland@hack.frob.com>
38522
38523 [BZ #14280]
38524 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38525 when computing value.
38526
38527 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38528
38529 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38530 Use testrun.sh to run libm tests.
38531
38532 [BZ #15309]
38533 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38534
38535 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38536
38537 [BZ #15264]
38538 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38539
38540 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38541
38542 * Makefile.in (regen-ulps): New target.
38543 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38544 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38545 [ifneq (no,$(PERL)] (regen-ulps): New target.
38546 [ifeq (no,$(PERL)] (regen-ulps): New target.
38547 * math/libm-test.inc (ulps_file_name): Define.
38548 (output_dir): New variable.
38549 (options): Add "output-dir" option.
38550 (parse_opt): Handle 'o' case.
38551 (main): If output_dir is non-NULL use it as a prefix
38552 otherwise use "".
38553 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38554
38555 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38556
38557 [BZ #10060, #10062]
38558 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38559 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38560 fail configure if __sync_val_compare_and_swap is not inlined.
38561 * sysdeps/i386/configure: Regenerate.
38562 * configure.in: Build for i686 when configured for i386.
38563 * configure: Regenerate.
38564 * README: Remove i386 reference.
38565
38566 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38567
38568 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38570
38571 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38572
38573 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38574 (lmsnanval): New variables.
38575 (F): Add conversion tests.
38576 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38577 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38578
38579 * stdio-common/tstdiomisc.c (F): Properly collect individual
38580 tests' results.
38581
38582 [BZ #14686, #15336]
38583 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38584 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38585 Instead, use input NaN values or generate a qNaN by arithmetic
38586 operation. Also fix bugs to comply with the standard.
38587 * math/libm-test.inc (remainder_test): Add more tests.
38588
38589 [BZ #15335, #15342]
38590 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38592 input NaN values or generate a qNaN by arithmetic operation.
38593
38594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38595 unreachable code.
38596
38597 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38598 definitions.
38599
38600 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38601
38602 [BZ #14478]
38603 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38604 underflowed result.
38605 * math/s_cexpf.c (__cexpf): Likewise.
38606 * math/s_cexpl.c (__cexpl): Likewise.
38607 * math/libm-test.inc (cexp_test): Add more tests.
38608
38609 2013-04-03 Andreas Schwab <schwab@suse.de>
38610
38611 [BZ #15330]
38612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38613 order arrays from heap if bigger than alloca cutoff.
38614
38615 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38616
38617 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38618 (SNAN_TESTS_double): Refer to GCC PR56831.
38619 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38620 GCC PR56828.
38621
38622 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38623
38624 * Rules (bench): Move bench.out after the run is complete.
38625
38626 * Rules (bench): Echo currently running benchmark.
38627
38628 * benchtests/Makefile (bench): Add atan and slowatan.
38629 * benchtests/atan-inputs: New file.
38630 * benchtests/slowatan-inputs: New file.
38631 * benchtests/slowatan.c: New file.
38632
38633 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38634 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38635 its value.
38636
38637 [BZ #15305]
38638 * sysdeps/unix/sysv/linux/kernel-features.h
38639 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38640 __ASSUME_XFS_RESTRICTED_CHOWN.
38641 * sysdeps/unix/sysv/linux/pathconf.c
38642 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38643 Save and restore errno.
38644
38645 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38646
38647 [BZ #15327]
38648 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38649 arguments using __kernel_casinh.
38650 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38651 arguments using __kernel_casinhf.
38652 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38653 arguments using __kernel_casinhl.
38654 * math/libm-test.inc (cacosh_test): Add more tests.
38655 * sysdeps/i386/fpu/libm-test-ulps: Update.
38656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38657
38658 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38659
38660 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38662
38663 * bench/Makefile (bench): Add sin and slowsin.
38664 * benchtests/sin-inputs: New file.
38665 * benchtests/slowsin-inputs: New file.
38666 * benchtests/slowsin.c: New file.
38667
38668 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38669 (bench): Add slowexp and slowpow.
38670 (exp-ITER): Increase iterations.
38671 (pow-ITER): Likewise.
38672 * benchtests/exp-inputs: Change input.
38673 * benchtests/pow-inputs: Likewise.
38674 * benchtests/slowexp-inputs: New file.
38675 * benchtests/slowexp.c: New file.
38676 * benchtests/slowpow-inputs: New file.
38677 * benchtests/slowpow.c: New file.
38678
38679 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38680
38681 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38682 instructions.
38683 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38684 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38685 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38686 * benchtests/Makefile: Add rint benchtest.
38687 * benchtests/rint-inputs: Input for rint benchtest.
38688
38689 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38690
38691 * Versions.def (libm): Add GLIBC_2.18.
38692 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38693 hidden libm prototypes.
38694 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38695 * math/Makefile (libm-calls): Add s_issignaling.
38696 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38697 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38698 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38699 declaration.
38700 * math/math.h [__USE_GNU] (issignaling): New macro.
38701 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38702 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38704 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38705 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38706 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38707 * manual/arith.texi (issignaling): New section.
38708 * manual/libm-err-tab.pl (@all_functions): Update comment.
38709 * math/gen-libm-test.pl (parse_args): Apply special handling for
38710 issignaling.
38711 * math/libm-test.inc (print_float, issignaling_test): New
38712 functions.
38713 (check_float_internal): Add issignaling checks.
38714 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38715 default definition.
38716 * sysdeps/powerpc/math-tests.h: New file.
38717 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38718 tests.
38719 * math/test-snan.c (TEST_FUNC): Likewise.
38720
38721 2013-03-30 David S. Miller <davem@davemloft.net>
38722
38723 * po/de.po: Update from translation team.
38724
38725 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38726
38727 [BZ #10357]
38728 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38729 imaginary part less than 1.0 and real part less than 0.5
38730 specially.
38731 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38732 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38733 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38734 (cacos_test): Add more tests.
38735 (casin_test): Likewise.
38736 (casinh_test): Likewise.
38737 * sysdeps/i386/fpu/libm-test-ulps: Update.
38738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38739
38740 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38741
38742 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38743 ONE with its value.
38744
38745 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38746 (__pow_mp): Replace ONE and MONE with their values.
38747 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38748 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38750 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38751 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38752 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38753
38754 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38755
38756 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38757 (__pow_mp): Replace ZERO and MZERO with their values.
38758 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38759 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38760 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38762 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38763 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38764 (__sqr): Likewise.
38765
38766 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38767
38768 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38769
38770 2013-03-28 Roland McGrath <roland@hack.frob.com>
38771
38772 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38773 Declare with __attribute__ ((weak)).
38774 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38775 Call __call_tls_dtors only if it's not NULL.
38776
38777 2013-03-28 Roland McGrath <roland@hack.frob.com>
38778
38779 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38780 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38781 magic __ehdr_start linker symbol if it's defined.
38782 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38783 them up here if it was already done.
38784
38785 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38786 (_dl_aux_init): Use const in cast when setting it.
38787 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38788 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38789 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38790
38791 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38792 Declare them here.
38793 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38794 * csu/libc-tls.c: Nor here.
38795 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38796
38797 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38798 (__libc_message): Never call vsyslog.
38799
38800 2013-03-28 Alan Modra <amodra@gmail.com>
38801
38802 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38803 Define as empty.
38804 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38805 Likewise.
38806
38807 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38808
38809 [BZ #15214]
38810 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38811 underflow.
38812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38813
38814 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38815
38816 [BZ #15304]
38817 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38818 Don't add gid passed as argument.
38819
38820 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38821
38822 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38823
38824 [BZ #15307]
38825 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38826 imaginary part between 1.0 and 1.5 and real part less than 0.5
38827 specially.
38828 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38829 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38830 * math/libm-test.inc (cacos_test): Add more tests.
38831 (casin_test): Likewise.
38832 (casinh_test): Likewise.
38833 * sysdeps/i386/fpu/libm-test-ulps: Update.
38834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38835
38836 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38837
38838 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38839 constants.
38840 (norm): Likewise.
38841 (denorm): Likewise.
38842 (__dbl_mp): Likewise.
38843 (add_magnitudes): Likewise.
38844 (sub_magnitudes): Likewise.
38845 (__add): Likewise.
38846 (__sub): Likewise.
38847 (__mul): Likewise.
38848 (__sqr): Likewise.
38849 (__inv): Likewise.
38850 (__dvd): Likewise.
38851
38852 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38853 commented code.
38854 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38855 (__dubcos): Likewise.
38856 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38857 (__ieee754_acos): Likewise.
38858 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38859 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38860 (__exp1): Likewise.
38861 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38863 (log1): Likewise.
38864 (my_log2): Likewise.
38865 (checkint): Likewise.
38866 * sysdeps/ieee754/dbl-64/e_remainder.c
38867 (__ieee754_remainder): Likewise.
38868 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38869 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38870 (bsloww): Likewise.
38871 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38872
38873 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38874 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38875 MANTISSA_STORE_T to store computations on mantissa. Use
38876 macros for rounding and division.
38877 (denorm): Likewise.
38878 (__dbl_mp): Likewise.
38879 (add_magnitudes): Likewise.
38880 (sub_magnitudes): Likewise.
38881 (__mul): Likewise.
38882 (__sqr): Likewise.
38883 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38884 powers of two in terms of TWOPOW macro.
38885 (mp_no): Make type of mantissa as MANTISSA_T.
38886 [!RADIXI]: Define RADIXI.
38887 [!TWO52]: Define TWO52.
38888 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38889
38890 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38891
38892 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38893 llroundl symbol when building for PPC32.
38894
38895 2013-03-24 Mark H Weaver <mhw@netris.org>
38896
38897 * manual/arith.texi (Normalization Functions): Fix prototypes for
38898 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38899
38900 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38901
38902 [BZ #13889]
38903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38904 high value to check if expl overflow.
38905 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38906 to check for underflow and overflow.
38907 * math/libm-test.inc: Add exp test.
38908
38909 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38910
38911 [BZ #11120]
38912 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38913 with NOT_IN_libc.
38914
38915 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38916
38917 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38918 symbol.
38919
38920 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38921
38922 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38923 wrap blocks consisting of several statements.
38924
38925 * sysdeps/generic/math-tests.h: New file.
38926 * sysdeps/i386/fpu/math-tests.h: Likewise.
38927 * math/test-snan.c: Include it.
38928 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38929
38930 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38931
38932 [BZ #15285]
38933 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38934 (__ieee754_j0l): Do not improve calculations using cos of twice
38935 input for inputs above LDBL_MAX / 2.0L.
38936 (__ieee754_y0l): Likewise.
38937 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38938 (__ieee754_j1l): Do not improve calculations using cos of twice
38939 input for inputs above LDBL_MAX / 2.0L.
38940 (__ieee754_y1l): Likewise.
38941 * math/libm-test.inc (j0_test): Add another test.
38942 (j1_test): Likewise.
38943 (y0_test): Likewise.
38944 (y1_test): Likewise.
38945 * sysdeps/i386/fpu/libm-test-ulps: Update.
38946
38947 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38948
38949 * Rules ($(objpfx)bench-%.c): Include code from a C source
38950 file.
38951
38952 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38953
38954 [BZ #15287]
38955 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38956 imaginary part 1.0 and real part less than 0.5 specially.
38957 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38958 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38959 * math/libm-test.inc (cacos_test): Add more tests.
38960 (casin_test): Likewise.
38961 (casinh_test): Likewise.
38962 * sysdeps/i386/fpu/libm-test-ulps: Update.
38963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38964
38965 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38966
38967 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38968 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38969
38970 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38971
38972 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38973 * config.make.in (config-cflags-sse4): Remove variable.
38974 (config-cflags-avx): Likewise.
38975 (config-cflags-sse2avx): Likewise.
38976 (config-cflags-novzeroupper): Likewise.
38977 (config-asflags-i686): Likewise.
38978 (have-mfma4): Likewise.
38979 (have-as-vis3): Likewise.
38980 (MIG): Likewise.
38981 * configure.in (MIG): Do not AC_SUBST.
38982 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38983 (libc_cv_cc_sse4): Do not AC_SUBST.
38984 (libc_cv_cc_avx): Likewise.
38985 (libc_cv_cc_sse2avx): Likewise.
38986 (libc_cv_cc_novzeroupper): Likewise.
38987 (libc_cv_cc_fma4): Likewise.
38988 (libc_cv_as_i686): Likewise.
38989 (libc_cv_sparc_as_vis3): Likewise.
38990 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38991 LIBC_CONFIG_VAR.
38992 (config-asflags-i686): Likewise.
38993 (config-cflags-avx): Likewise.
38994 (config-cflags-sse2avx): Likewise.
38995 (have-mfma4): Likewise.
38996 (config-cflags-novzeroupper): Likewise.
38997 * sysdeps/mach/configure.in (MIG): Likewise.
38998 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38999 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39000 LIBC_CONFIG_VAR.
39001 (config-cflags-avx): Likewise.
39002 (config-cflags-sse2avx): Likewise.
39003 (have-mfma4): Likewise.
39004 (config-cflags-novzeroupper): Likewise.
39005 * configure: Regenerated.
39006 * sysdeps/i386/configure: Likewise.
39007 * sysdeps/mach/configure: Likewise.
39008 * sysdeps/sparc/configure: Likewise.
39009 * sysdeps/x86_64/configure: Likewise.
39010
39011 2013-03-20 Roland McGrath <roland@hack.frob.com>
39012
39013 [BZ #14812]
39014 * locale/programs/localedef.c (options): Put N_ translation marker
39015 on argument names, not just descriptions.
39016
39017 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39018
39019 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39020
39021 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
39022
39023 [BZ #14176]
39024 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39025
39026 2013-03-19 Roland McGrath <roland@hack.frob.com>
39027
39028 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39029 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39030 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39031 [!BEFORE_ABORT] (before_abort): New function.
39032 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39033 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39034 (writev_for_fatal): New function.
39035 (WRITEV_FOR_FATAL): New macro; call that.
39036 (backtrace_and_maps): New function.
39037 (BEFORE_ABORT): New macro; call that.
39038 (struct str_list): Type removed.
39039 (__libc_message, __libc_fatal): Functions removed.
39040 Include <sysdeps/posix/libc_fatal.c> instead.
39041
39042 2013-03-19 Joseph Myers <joseph@codesourcery.com>
39043
39044 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39045 constants.
39046 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39047 double constants.
39048
39049 2013-03-19 Andreas Schwab <schwab@suse.de>
39050
39051 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39052 * sysdeps/gnu/configure: Regenerate.
39053
39054 * configure.in: Substitute libc_cv_rtlddir.
39055 * configure: Regenerate.
39056 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39057 * Makeconfig (rtlddir, inst_rtlddir): New variables.
39058 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39059 * elf/Makefile (install-others, CFLAGS-interp.c)
39060 (ldso_install, common-ldd-rewrite): Likewise.
39061 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39062 $(inst_slibdir)/$(rtld-installed-name).
39063 * scripts/rellns-sh: Add -p option.
39064 * Makerules (make-shlib-link): Use rellns-sh to get relative name
39065 for source.
39066
39067 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39068
39069 * manual/nptl.texi: Renamed to ...
39070 * manual/threads.texi: ... this.
39071 * manual/Makefile (chapters): Update.
39072
39073 2013-03-18 Roland McGrath <roland@hack.frob.com>
39074
39075 [BZ #14812]
39076 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39077 on argument names, not just descriptions.
39078 * malloc/memusagestat.c (options): Likewise.
39079 * nss/getent.c (options): Likewise.
39080
39081 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
39082
39083 [BZ #14812]
39084 * iconv/iconv_prog.c (options): Put N_ translation marker
39085 on argument names, not just descriptions.
39086 * iconv/iconvconfig.c (options): Likewise.
39087
39088 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
39089
39090 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39091 implementation which is faster on all x86_64 architectures.
39092 Tested on AMD, Intel Nehalem, SNB, IVB.
39093 * sysdeps/x86_64/strnlen.S: Likewise.
39094
39095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39096 Remove all multiarch strlen and strnlen versions.
39097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39098 Remove strlen and strnlen related parts.
39099
39100 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39101 Inline strlen part.
39102 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39103
39104 * sysdeps/x86_64/multiarch/strlen.S: Remove.
39105 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39106 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39107 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39108 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39109 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39110
39111 2013-03-17 Carlos O'Donell <carlos@redhat.com>
39112
39113 * manual/memory.texi (Malloc Tunable Parameters):
39114 Sort parameters alphabetically. Add comments for missing entries.
39115
39116 2013-03-17 David S. Miller <davem@davemloft.net>
39117
39118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39119
39120 2013-03-16 Joseph Myers <joseph@codesourcery.com>
39121
39122 [BZ #15283]
39123 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39124 for arguments at most half maximum finite value.
39125 * math/libm-test.inc (j0_test): Add more tests.
39126 (j1_test): Likewise.
39127 (y0_test): Likewise.
39128 (y1_test): Likewise.
39129 * sysdeps/i386/fpu/libm-test-ulps: Update.
39130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39131
39132 [BZ #14155]
39133 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39134 1 / x and functions P and Q for arguments above 0x1p256L.
39135 (__ieee754_y0l): Likewise.
39136 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39137 (__ieee754_y1l): Likewise.
39138 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39139 (j1_test): Likewise.
39140 (y0_test): Likewise.
39141 (y1_test): Likewise.
39142
39143 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39144
39145 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39146 variable.
39147
39148 2013-03-15 Roland McGrath <roland@hack.frob.com>
39149
39150 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39151 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39152 zero since it's initialized to EXEC_PAGESIZE.
39153
39154 * sysdeps/unix/sysv/linux/ldsodefs.h
39155 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39156 * sysdeps/generic/ldsodefs.h: ... here.
39157
39158 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39159
39160 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39161
39162 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39163 math/test-snan.c.
39164 * math/test-snan.c: Renamed from
39165 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39166 * math/Makefile (tests): Add test-snan.
39167 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39168 test-powerpc-snan.
39169
39170 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39171 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39172 functions.
39173 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39174 __builtin_nan family of functions.
39175 * math/libm-test.inc (initialize): Initialize qnan_value with
39176 __builtin_nan family of functions.
39177 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39178 Remove variables.
39179 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39180 Remove functions.
39181 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39182 storage class. Initialize qNaN_var and sNaN_var with
39183 __builtin_nan and __builtin_nans families of functions,
39184 respectively.
39185
39186 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39187 (sqrt_test): Remove duplicate test with qNaN input.
39188 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39189 (round_test, signbit_test, significand_test): Note missing +/-Inf
39190 as well as qNaN tests.
39191
39192 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39193 qNaN_var. Fix a few strings, too.
39194 * math/libm-test.inc (nan_value): Rename to qnan_value.
39195 * math/gen-libm-test.pl (%beautify): Adjust to that.
39196 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39197 * math/test-misc.c (main): Likewise.
39198 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39199 to __qnan_bytes, and __qnan_union, respectively.
39200 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39201 Likewise.
39202 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39203 and lqnanval, respectively.
39204 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39205 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39206 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39207 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39208
39209 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39210 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39211 doubles.
39212
39213 * math/test-misc.c (main): Fix copy'n'pastos.
39214 * misc/tst-efgcvt.c (special): Likewise.
39215
39216 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39217 Remove declarations.
39218
39219 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39220
39221 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39222 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39223 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39224 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39225
39226 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39227
39228 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39229 macro to return vdso values correctly in IFUNC implementations.
39230 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39231 Optimization by using IFUNC.
39232
39233 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39234 Richard Henderson <rth@redhat.com>
39235 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39236
39237 * Makefile.in (bench): New target.
39238 * NEWS: Mention the benchmark framework.
39239 * Rules (bench): Likewise.
39240 (binaries-bench): Generate binaries for functions to
39241 benchmark.
39242 * benchtests/Makefile: New makefile for benchmark tests.
39243 * benchtests/bench-skeleton.c: New skeleton file for benchmark
39244 programs.
39245 * benchtests/exp-inputs: New input file for EXP function.
39246 * benchtests/pow-inputs: New input file for POW function.
39247 * scripts/bench.pl: New script to generate source files for
39248 benchmark programs.
39249
39250 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39251
39252 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39253 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39254 computations on mantissa. Use macros for rounding and
39255 division.
39256 (denorm): Likewise.
39257 (__dbl_mp): Likewise.
39258 (add_magnitudes): Likewise.
39259 (sub_magnitudes): Likewise.
39260 (__mul): Likewise.
39261 (__sqr): Likewise.
39262 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39263 powers of two in terms of TWOPOW macro.
39264 (mp_no): Make type of mantissa as MANTISSA_T.
39265 [!RADIXI]: Define RADIXI.
39266 [!TWO52]: Define TWO52.
39267 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39268
39269 * manual/nptl.texi (cindex): Modify threads to pthreads.
39270
39271 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39272
39273 * sysdeps/x86_64/preconfigure: Regenerated.
39274
39275 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39276
39277 [BZ #14155]
39278 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39279 0x1p28 and above.
39280 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39281 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39282 0x1p28 and above.
39283 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39284 * math/libm-test.inc (j0_test): Do not allow one spurious
39285 underflow exception.
39286 (y1_test): Likewise.
39287
39288 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39289
39290 * manual/Makefile (chapters): Add nptl.
39291 * manual/debug.texi (Debugging Support): Add link to Threads
39292 chapter.
39293 * manual/nptl.texi: New file.
39294
39295 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39296
39297 2013-03-14 Petr Baudis <pasky@ucw.cz>
39298
39299 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39300 for non-NULL pointer before the memory validity test. Pointed
39301 out by Holger Brunck <holger.brunck@keymile.com>.
39302
39303 2013-03-13 Andreas Schwab <schwab@suse.de>
39304
39305 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39306 instead of .os.
39307
39308 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39309
39310 * timezone/zic.c: Update from tzcode 2013b.
39311
39312 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39313
39314 * manual/install.texi (Configuring and compiling):
39315 Mention i686 and i586.
39316 * INSTALL: Regenerate.
39317
39318 2013-03-12 Roland McGrath <roland@hack.frob.com>
39319
39320 * sysdeps/init_array/elf-init.c: New file.
39321 * csu/elf-init.c
39322 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39323 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39324
39325 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39326 __gmon_start__ as global, but as static with a .preinit_array pointer.
39327 * sysdeps/init_array/gmon-start.c: New file. Use that.
39328 * sysdeps/init_array/crti.S: New file, empty except for comments.
39329 * sysdeps/init_array/crtn.S: Likewise.
39330
39331 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39332
39333 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39334 definining bcopy.
39335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39336 Remove Prefer_SSE_for_memop.
39337 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39338 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39339 HAS_PREFER_SSE_FOR_MEMOP.
39340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39341 memset-x86-64.
39342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39343 Remove bzero, memset ifunc support.
39344 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39345 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39346 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39347 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39348
39349 2013-03-11 Andreas Schwab <schwab@suse.de>
39350
39351 [BZ #15234]
39352 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39353 by SHLIB_COMPAT.
39354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39355 (GLIBC_2.16): Remove pthread_atfork.
39356
39357 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39358
39359 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39360 (ptestcases.h): Likewise.
39361
39362 2013-03-08 Roland McGrath <roland@hack.frob.com>
39363
39364 * Makeconfig ($(common-objpfx)config.status): Depend on
39365 sysdeps/*/preconfigure{,.in} too.
39366
39367 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39368
39369 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39370 (__free_hook): Use void * instead of __malloc_ptr_t.
39371 (__malloc_hook): Likewise.
39372 (__realloc_hook): Likewise.
39373 (__memalign_hook): Likewise.
39374 (__after_morecore_hook): Likewise.
39375 * malloc/arena.c (save_malloc_hook): Likewise.
39376 (save_free_hook): Likewise.
39377 * malloc/hooks.c (malloc_hook_ini): Likewise.
39378 (realloc_hook_ini): Likewise.
39379 (memalign_hook_ini): Likewise.
39380 * malloc/malloc.c (malloc_hook_ini): Likewise.
39381 (realloc_hook_ini): Likewise.
39382 (memalign_hook_ini): Likewise.
39383 (__free_hook): Likewise.
39384 (__malloc_hook): Likewise.
39385 (__realloc_hook): Likewise.
39386 (__memalign_hook): Likewise.
39387 (__libc_malloc): Likewise.
39388 (__libc_free): Likewise.
39389 (__libc_realloc): Likewise.
39390 (__libc_memalign): Likewise.
39391 (__libc_valloc): Likewise.
39392 (__libc_pvalloc): Likewise.
39393 (__libc_calloc): Likewise.
39394 (__posix_memalign): Likewise.
39395 * malloc/morecore.c (__sbrk): Likewise.
39396 (__default_morecore): Likewise.
39397
39398 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39399
39400 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39401 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39402 __malloc_ptrdiff_t.
39403
39404 * malloc/malloc.h (__malloc_size_t): Remove macro.
39405 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39406 __malloc_size_t.
39407 (old_memalign_hook): Likewise.
39408 (old_realloc_hook): Likewise.
39409 (struct hdr): Likewise.
39410 (flood): Likewise.
39411 (mallochook): Likewise.
39412 (memalignhook): Likewise.
39413 (reallochook): Likewise.
39414 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39415 (tr_old_realloc_hook): Likewise.
39416 (tr_old_memalign_hook): Likewise.
39417 (tr_mallochook): Likewise.
39418 (tr_reallochook): Likewise.
39419 (tr_memalignhook): Likewise.
39420
39421 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39422
39423 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39424 default_ldbl_pack and using as default implementation.
39425 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39426 implementation.
39427 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39428 redundant definition.
39429 (ldbl_insert_mantissa): Likewise.
39430 (ldbl_canonicalize): Likewise.
39431 (ldbl_nearbyint): Likewise.
39432 (ldbl_pack): Rename to ldbl_pack_ppc.
39433 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39434 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39435 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39436
39437 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39438
39439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39440 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39441 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39442 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39444 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39445 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39446 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39447
39448 2013-03-07 Andreas Jaeger <aj@suse.de>
39449
39450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39451 bits/mman-linux.h.
39452
39453 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39454
39455 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39456 Include mpa.h and declare __MPEXP.
39457 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39458 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39459 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39460 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39462 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39463 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39464
39465 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39466 (__slowpow): Use long double EXPL and LOGL functions to
39467 compute POW.
39468 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39469 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39472 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39473 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39474
39475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39476 intermediate variable to calculate exponent.
39477 (__sqr): Likewise.
39478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39479 Likewise.
39480 (__sqr): Likewise.
39481
39482 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39483 [!NO__SQR]: Define __sqr.
39484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39485 and NO__SQR. Remove all code except __mul and __sqr. Include
39486 sysdeps/ieee754/dbl-64/mpa.c.
39487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39488
39489 [BZ #12723]
39490 * posix/Makefile (tests): Add tst-pathconf.
39491 * posix/tst-pathconf.c: New test case.
39492 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39493 _PC_PIPE_BUF.
39494 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39495
39496 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39497
39498 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39499
39500 2013-03-06 Andreas Jaeger <aj@suse.de>
39501
39502 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39503 definition via __MAP_ANONYMOUS.
39504
39505 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39506 it's not part of Linux headers.
39507
39508 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39509 (MAP_HUGE_MASK): Define.
39510
39511 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39512 Define.
39513 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39515 Define.
39516 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39517 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39518 Define.
39519 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39521 Define.
39522 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39523
39524 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39525 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39526 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39527 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39528 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39529 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39530
39531 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39532 Handle f2fs.
39533
39534 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39535 Handle f2fs and efivarfs.
39536
39537 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39538 f2fs.
39539
39540 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39541 (EFIVARFS_MAGIC): Add.
39542 (F2FS_LINK_MAX): Add.
39543
39544 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39545
39546 * stdio-common/vfprintf.c: Replace __builtin_expect with
39547 __glibc_unlikely.
39548
39549 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39550
39551 [BZ #13550]
39552 * sysdeps/generic/bp-sym.h: Remove file.
39553 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39554 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39555 <bp-sym.h> and <bp-asm.h>.
39556 (__longjmp): Don't use BP_SYM.
39557 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39558 and <bp-asm.h>.
39559 (memcpy): Don't use BP_SYM.
39560 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39561 <bp-sym.h> and <bp-asm.h>.
39562 (memcpy): Don't use BP_SYM.
39563 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39564 <bp-asm.h>.
39565 (memcpy): Don't use BP_SYM.
39566 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39567 <bp-asm.h>.
39568 (memset): Don't use BP_SYM.
39569 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39570 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39571 (__bzero): Don't use BP_SYM.
39572 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39573 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39574 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39575 <bp-sym.h> and <bp-asm.h>.
39576 (memcmp): Don't use BP_SYM. Remove comment about bounded
39577 pointers.
39578 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39579 <bp-sym.h> and <bp-asm.h>.
39580 (memcpy): Don't use BP_SYM.
39581 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39582 <bp-sym.h> and <bp-asm.h>.
39583 (memset): Don't use BP_SYM.
39584 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39585 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39586 (__bzero): Don't use BP_SYM.
39587 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39588 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39589 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39590 <bp-sym.h> and <bp-asm.h>.
39591 (strncmp): Don't use BP_SYM. Remove comment about bounded
39592 pointers.
39593 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39594 <bp-sym.h> and <bp-asm.h>.
39595 (memcpy): Don't use BP_SYM.
39596 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39597 <bp-sym.h> and <bp-asm.h>.
39598 (memset): Don't use BP_SYM.
39599 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39600 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39601 (__bzero): Don't use BP_SYM.
39602 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39603 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39604 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39605 <bp-sym.h> and <bp-asm.h>.
39606 (__memchr): Don't use BP_SYM.
39607 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39608 <bp-sym.h> and <bp-asm.h>.
39609 (memcmp): Don't use BP_SYM. Remove comment about bounded
39610 pointers.
39611 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39612 <bp-sym.h> and <bp-asm.h>.
39613 (memcpy): Don't use BP_SYM.
39614 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39615 <bp-sym.h> and <bp-asm.h>.
39616 (__mempcpy): Don't use BP_SYM.
39617 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39618 <bp-sym.h> and <bp-asm.h>.
39619 (__memrchr): Don't use BP_SYM.
39620 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39621 <bp-sym.h> and <bp-asm.h>.
39622 (memset): Don't use BP_SYM.
39623 (__bzero): Likewise.
39624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39625 <bp-sym.h> and <bp-asm.h>.
39626 (__rawmemchr): Don't use BP_SYM.
39627 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39628 <bp-sym.h> and <bp-asm.h>.
39629 (__STRCMP): Don't use BP_SYM.
39630 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39631 <bp-sym.h> and <bp-asm.h>.
39632 (strchr): Don't use BP_SYM.
39633 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39634 <bp-sym.h> and <bp-asm.h>.
39635 (__strchrnul): Don't use BP_SYM.
39636 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39637 <bp-sym.h> and <bp-asm.h>.
39638 (strlen): Don't use BP_SYM.
39639 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39640 <bp-sym.h> and <bp-asm.h>.
39641 (strncmp): Don't use BP_SYM. Remove comment about bounded
39642 pointers.
39643 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39644 <bp-sym.h> and <bp-asm.h>.
39645 (__strnlen): Don't use BP_SYM.
39646 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39647 <bp-sym.h> and <bp-asm.h>.
39648 (__GI__setjmp): Don't use BP_SYM.
39649 (_setjmp): Likewise.
39650 (__sigsetjmp): Likewise.
39651 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39652 (L(start_addresses)): Don't use BP_SYM.
39653 (_start): Likewise.
39654 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39655 <bp-asm.h>.
39656 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39657 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39658 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39659 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39660 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39661 <bp-asm.h>.
39662 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39663 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39664 about bounded pointers.
39665 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39666 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39667 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39668 <bp-asm.h>.
39669 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39670 about bounded pointers. Remove GKM FIXME comments.
39671 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39672 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39673 <bp-asm.h>.
39674 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39675 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39676 Remove GKM FIXME comments.
39677 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39678 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39679 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39680 <bp-asm.h>.
39681 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39682 about bounded pointers. Remove GKM FIXME comment.
39683 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39684 and <bp-asm.h>.
39685 (strncmp): Don't use BP_SYM. Remove comment about bounded
39686 pointers.
39687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39688 <bp-sym.h> and <bp-asm.h>.
39689 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39691 <bp-sym.h> and <bp-asm.h>.
39692 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39693 comment.
39694
39695 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39696
39697 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39698 call free(NULL).
39699
39700 2013-03-05 David S. Miller <davem@davemloft.net>
39701
39702 * po/es.po: Update from translation team.
39703
39704 2013-03-05 Andreas Jaeger <aj@suse.de>
39705
39706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39707 <bits/mman-linux.h>.
39708 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39709 is fine.
39710 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39711 <bits/mman-linux.h> to end of file.
39712 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39713 is fine.
39714 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39715 <bits/mman-linux.h> to end of file.
39716 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39717 is fine.
39718 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39719 <bits/mman-linux.h> to end of file.
39720
39721 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39722 (MCL_CURRENT, MCL_FUTURE): Define here.
39723
39724 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39725
39726 [BZ #15232]
39727 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39728 attribute_hidden.
39729 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39730
39731 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39732
39733 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39734 fourth parameter needed for rt_sigprocmask syscall.
39735 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39736 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39737 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39738 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39739 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39740 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39741
39742 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39743
39744 [BZ #13550]
39745 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39746 comment about bounded pointers.
39747 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39748 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39749
39750 2013-03-04 Andreas Jaeger <aj@suse.de>
39751
39752 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39753 common definitions.
39754
39755 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39756 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39757 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39758 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39759 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39760 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39761
39762 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39763
39764 [BZ #15055]
39765 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39766 __ieee754_sqrl instead of __sqrl.
39767
39768 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39769
39770 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39771 * sysdeps/powerpc/fpu_control.h: ... here.
39772 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39773 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39774 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39775 * sysdeps/powerpc/bits/mathinline.h: ... here.
39776
39777 2013-03-01 Roland McGrath <roland@hack.frob.com>
39778
39779 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39780 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39781 to just [NEED_DL_SYSINFO_DSO].
39782 * elf/dl-support.c: Likewise.
39783 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39784 * elf/rtld.c (dl_main): Likewise.
39785 * elf/setup-vdso.h (setup_vdso): Likewise.
39786 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39787 * sysdeps/unix/sysv/linux/dl-sysdep.c
39788 (_dl_discover_osversion): Likewise.
39789
39790 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39791
39792 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39793 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39794
39795 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39796
39797 * NEWS: Mention libm performance improvements and non-x86 PI
39798 futex support.
39799
39800 * csu/libc-start.c (__pthread_initialize_minimal): Change
39801 function arguments.
39802 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39803
39804 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39805
39806 [BZ #13550]
39807 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39808 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39809 <bp-sym.h> and <bp-asm.h>.
39810 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39811 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39812 and <bp-asm.h>.
39813 (memcpy): Don't use BP_SYM.
39814 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39815 <bp-asm.h>.
39816 (__mpn_add_n): Don't use BP_SYM.
39817 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39818 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39819 and <bp-asm.h>.
39820 (__mpn_addmul_1): Don't use BP_SYM.
39821 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39822 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39823 <bp-sym.h>.
39824 (_setjmp): Don't use BP_SYM.
39825 (__novmx_setjmp): Likewise.
39826 (__GI__setjmp): Likewise.
39827 (__vmx_setjmp): Likewise.
39828 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39829 <bp-sym.h>.
39830 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39831 (__bzero): Don't use BP_SYM.
39832 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39833 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39834 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39835 <bp-sym.h> and <bp-asm.h>.
39836 (memcpy): Don't use BP_SYM.
39837 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39838 <bp-sym.h> and <bp-asm.h>.
39839 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39840 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39841 <bp-sym.h> and <bp-asm.h>.
39842 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39843 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39844 <bp-asm.h>.
39845 (__mpn_lshift): Don't use BP_SYM.
39846 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39847 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39848 <bp-asm.h>.
39849 (memset): Don't use BP_SYM.
39850 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39851 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39852 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39853 <bp-asm.h>.
39854 (__mpn_mul_1): Don't use BP_SYM.
39855 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39857 <bp-sym.h> and <bp-asm.h>.
39858 (memcmp): Don't use BP_SYM.
39859 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39860 <bp-sym.h> and <bp-asm.h>.
39861 (memcpy): Don't use BP_SYM.
39862 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39863 <bp-sym.h> and <bp-asm.h>.
39864 (memset): Don't use BP_SYM.
39865 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39866 <bp-sym.h> and <bp-asm.h>.
39867 (strncmp): Don't use BP_SYM.
39868 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39869 <bp-sym.h> and <bp-asm.h>.
39870 (memcpy): Don't use BP_SYM.
39871 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39872 <bp-sym.h> and <bp-asm.h>.
39873 (memset): Don't use BP_SYM.
39874 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39875 <bp-sym.h> and <bp-asm.h>.
39876 (__memchr): Don't use BP_SYM.
39877 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39878 <bp-sym.h> and <bp-asm.h>.
39879 (memcmp): Don't use BP_SYM.
39880 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39881 <bp-sym.h> and <bp-asm.h>.
39882 (memcpy): Don't use BP_SYM.
39883 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39884 <bp-sym.h> and <bp-asm.h>.
39885 (__mempcpy): Don't use BP_SYM.
39886 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39887 <bp-sym.h> and <bp-asm.h>.
39888 (__memrchr): Don't use BP_SYM.
39889 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39890 <bp-sym.h> and <bp-asm.h>.
39891 (memset): Don't use BP_SYM.
39892 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39893 <bp-sym.h> and <bp-asm.h>.
39894 (__rawmemchr): Don't use BP_SYM.
39895 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39896 <bp-sym.h> and <bp-asm.h>.
39897 (__STRCMP): Don't use BP_SYM.
39898 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39899 <bp-sym.h> and <bp-asm.h>.
39900 (strchr): Don't use BP_SYM.
39901 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39902 <bp-sym.h> and <bp-asm.h>.
39903 (__strchrnul): Don't use BP_SYM.
39904 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39905 <bp-sym.h> and <bp-asm.h>.
39906 (strlen): Don't use BP_SYM.
39907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39908 <bp-sym.h> and <bp-asm.h>.
39909 (strncmp): Don't use BP_SYM.
39910 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39911 <bp-sym.h> and <bp-asm.h>.
39912 (__strnlen): Don't use BP_SYM.
39913 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39914 <bp-asm.h>.
39915 (__mpn_rshift): Don't use BP_SYM.
39916 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39917 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39918 <bp-sym.h> and <bp-asm.h>.
39919 (__sigsetjmp): Don't use BP_SYM.
39920 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39921 (L(start_addresses)): Don't use BP_SYM.
39922 (_start): Likewise.
39923 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39924 <bp-asm.h>.
39925 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39926 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39927 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39928 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39929 <bp-asm.h>.
39930 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39931 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39932 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39933 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39934 <bp-asm.h>.
39935 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39936 comments.
39937 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39938 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39939 <bp-asm.h>.
39940 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39941 FIXME comments.
39942 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39943 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39944 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39945 <bp-asm.h>.
39946 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39947 comment.
39948 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39949 and <bp-asm.h>.
39950 (strncmp): Don't use BP_SYM,
39951 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39952 <bp-asm.h>.
39953 (__mpn_sub_n): Don't use BP_SYM.
39954 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39955 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39956 and <bp-asm.h>.
39957 (__mpn_submul_1): Don't use BP_SYM.
39958 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39960 <bp-sym.h> and <bp-asm.h>.
39961 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39963 <bp-sym.h> and <bp-asm.h>.
39964 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39965 comment.
39966
39967 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39968
39969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39970 Use ZK to minimize writes to Z.
39971 (sub_magnitudes): Simplify code a bit.
39972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39973 Use ZK to minimize writes to Z.
39974 (sub_magnitudes): Simplify code a bit.
39975
39976 2013-02-27 Roland McGrath <roland@hack.frob.com>
39977
39978 * csu/gmon-start.c: Add special exception to license text.
39979
39980 2013-02-27 Richard Henderson <rth@redhat.com>
39981
39982 * scripts/config.guess: Update from config.git.
39983 * scripts/config.sub: Likewise.
39984
39985 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39986
39987 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39988
39989 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39990
39991 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39992
39993 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39994
39995 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39996
39997 2013-02-26 Roland McGrath <roland@hack.frob.com>
39998
39999 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40000 [$(build-shared = yes].
40001
40002 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40003
40004 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40005 (__mul): Reduce iterations for calculating mantissa.
40006
40007 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40008 MPTWO.
40009 (__mpranred): Likewise.
40010
40011 [BZ #15160]
40012 * malloc/memusagestat.c (main): Draw graphs for heap and stack
40013 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40014
40015 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
40016
40017 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40018 Define __attribute__.
40019
40020 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40021
40022 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40023 unused.
40024 * posix/regex_internal.h (__attribute): Remove.
40025 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40026 (re_string_context_at): Likewise.
40027 (bitset_not): Use __attribute__ and mark function as possibly
40028 unused.
40029 (bitset_merge): Likewise.
40030 (bitset_mask): Likewise.
40031 (re_string_char_size_at): Likewise.
40032 (re_string_wchar_at): Likewise.
40033 (re_string_elem_size_at): Likewise.
40034
40035 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40036
40037 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40038 code.
40039 (cc32): Likewise.
40040
40041 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40042 (__acr): Likewise.
40043 (__cpy): Likewise.
40044 (norm): Likewise.
40045 (denorm): Likewise.
40046 (__dbl_mp): Likewise.
40047 (add_magnitudes): Likewise.
40048 (sub_magnitudes): Likewise.
40049 (__mul): Likewise.
40050 (__inv): Likewise.
40051
40052 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40053 style.
40054
40055 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40056 style.
40057
40058 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40059 code.
40060
40061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40062 up changes with default code.
40063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40064 Likewise.
40065
40066 2013-02-24 Allan McRae <allan@archlinux.org>
40067
40068 * manual/socket.texi (The Internet Namespace): Order menu items
40069 to match that in the file.
40070
40071 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40072 node listing of the info page menu.
40073
40074 2013-02-21 Joseph Myers <joseph@codesourcery.com>
40075
40076 [BZ #13550]
40077 * sysdeps/i386/bp-asm.h: Remove file.
40078 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40079 (PARMS): Do not use macros from bp-asm.h.
40080 (S1): Likewise.
40081 (S2): Likewise.
40082 (SIZE): Likewise.
40083 (__mpn_add_n): Do not use BP_SYM
40084 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40085 "bp-asm.h".
40086 (PARMS): Do not use macros from bp-asm.h.
40087 (S1): Likewise.
40088 (SIZE): Likewise.
40089 (__mpn_addmul_1): Do not use BP_SYM
40090 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40091 "bp-asm.h".
40092 (PARMS): Do not use macros from bp-asm.h.
40093 (SIGMSK): Likewise.
40094 (_setjmp): Likewise. Do not use BP_SYM.
40095 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40096 "bp-asm.h".
40097 (PARMS): Do not use macros from bp-asm.h.
40098 (SIGMSK): Likewise.
40099 (setjmp): Likewise. Do not use BP_SYM.
40100 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40101 "bp-asm.h".
40102 (PARMS): Do not use macros from bp-asm.h.
40103 (__frexp): Do not use BP_SYM.
40104 (frexp): Likewise.
40105 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40106 "bp-asm.h".
40107 (PARMS): Do not use macros from bp-asm.h.
40108 (__frexpf): Do not use BP_SYM.
40109 (frexpf): Likewise.
40110 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40111 "bp-asm.h".
40112 (PARMS): Do not use macros from bp-asm.h.
40113 (__frexpl): Do not use BP_SYM.
40114 (frexpl): Likewise.
40115 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40116 "bp-asm.h".
40117 (PARMS): Do not use macros from bp-asm.h.
40118 (__remquo): Do not use BP_SYM.
40119 (remquo): Likewise.
40120 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40121 "bp-asm.h".
40122 (PARMS): Do not use macros from bp-asm.h.
40123 (__remquof): Do not use BP_SYM.
40124 (remquof): Likewise.
40125 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40126 "bp-asm.h".
40127 (PARMS): Do not use macros from bp-asm.h.
40128 (__remquol): Do not use BP_SYM.
40129 (remquol): Likewise.
40130 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40131 "bp-asm.h".
40132 (PARMS): Do not use macros from bp-asm.h.
40133 (DEST): Likewise.
40134 (SRC): Likewise.
40135 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40136 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40137 "bp-asm.h".
40138 (PARMS): Do not use macros from bp-asm.h.
40139 (strlen): Do not use BP_SYM.
40140 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40141 "bp-asm.h".
40142 (PARMS): Do not use macros from bp-asm.h.
40143 (S1): Likewise.
40144 (S2): Likewise.
40145 (SIZE): Likewise.
40146 (__mpn_add_n): Do not use BP_SYM.
40147 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40148 "bp-asm.h".
40149 (PARMS): Do not use macros from bp-asm.h.
40150 (S1): Likewise.
40151 (SIZE): Likewise.
40152 (__mpn_addmul_1): Do not use BP_SYM.
40153 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40154 weak_alias.
40155 (bzero): Likewise.
40156 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40157 "bp-asm.h".
40158 (PARMS): Do not use macros from bp-asm.h.
40159 (S): Likewise.
40160 (SIZE): Likewise.
40161 (__mpn_lshift): Do not use BP_SYM.
40162 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40163 "bp-asm.h".
40164 (PARMS): Do not use macros from bp-asm.h.
40165 (DEST): Likewise.
40166 (SRC): Likewise.
40167 (LEN): Likewise.
40168 (memcpy): Likewise. Do not use BP_SYM.
40169 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40170 libc_hidden_def and weak_alias.
40171 (mempcpy): Do not use BP_SYM in weak_alias.
40172 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40173 "bp-asm.h".
40174 (PARMS): Do not use macros from bp-asm.h.
40175 (DEST): Likewise.
40176 (LEN): Likewise.
40177 [!BZERO_P] (CHR): Likewise.
40178 (memset): Likewise. Do not use BP_SYM.
40179 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40180 "bp-asm.h".
40181 (PARMS): Do not use macros from bp-asm.h.
40182 (S1): Likewise.
40183 (SIZE): Likewise.
40184 (__mpn_mul_1): Do not use BP_SYM.
40185 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40186 "bp-asm.h".
40187 (PARMS): Do not use macros from bp-asm.h.
40188 (S): Likewise.
40189 (SIZE): Likewise.
40190 (__mpn_rshift): Do not use BP_SYM.
40191 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40192 "bp-asm.h".
40193 (PARMS): Do not use macros from bp-asm.h.
40194 (STR): Likewise.
40195 (CHR): Likewise.
40196 (strchr): Likewise. Do not use BP_SYM.
40197 (index): Do not use BP_SYM in weak_alias.
40198 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40199 "bp-asm.h".
40200 (PARMS): Do not use macros from bp-asm.h.
40201 (DEST): Likewise.
40202 (SRC): Likewise.
40203 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40204 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40205 "bp-asm.h".
40206 (PARMS): Do not use macros from bp-asm.h.
40207 (strlen): Do not use BP_SYM.
40208 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40209 "bp-asm.h".
40210 (PARMS): Do not use macros from bp-asm.h.
40211 (S1): Likewise.
40212 (S2): Likewise.
40213 (SIZE): Likewise.
40214 (__mpn_sub_n): Do not use BP_SYM.
40215 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40216 "bp-asm.h".
40217 (PARMS): Do not use macros from bp-asm.h.
40218 (S1): Likewise.
40219 (SIZE): Likewise.
40220 (__mpn_submul_1): Do not use BP_SYM.
40221 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40222 "bp-asm.h".
40223 (PARMS): Do not use macros from bp-asm.h.
40224 (S1): Likewise.
40225 (S2): Likewise.
40226 (SIZE): Likewise.
40227 (__mpn_add_n): Do not use BP_SYM.
40228 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40229 weak_alias.
40230 (bzero): Likewise.
40231 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40232 "bp-asm.h".
40233 (PARMS): Do not use macros from bp-asm.h.
40234 (BLK2): Likewise.
40235 (LEN): Likewise.
40236 (memcmp): Do not use BP_SYM.
40237 (bcmp): Do not use BP_SYM in weak_alias.
40238 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40239 "bp-asm.h".
40240 (PARMS): Do not use macros from bp-asm.h.
40241 (DEST): Likewise.
40242 (SRC): Likewise.
40243 (LEN): Likewise.
40244 (memcpy): Likewise. Do not use BP_SYM.
40245 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40246 "bp-asm.h".
40247 (PARMS): Do not use macros from bp-asm.h.
40248 (DEST): Likewise.
40249 (SRC): Likewise.
40250 (LEN): Likewise.
40251 (memmove): Likewise. Do not use BP_SYM.
40252 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40253 "bp-asm.h".
40254 (PARMS): Do not use macros from bp-asm.h.
40255 (DEST): Likewise.
40256 (SRC): Likewise.
40257 (LEN): Likewise.
40258 (__mempcpy): Likewise. Do not use BP_SYM.
40259 (mempcpy): Do not use BP_SYM in weak_alias.
40260 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40261 "bp-asm.h".
40262 (PARMS): Do not use macros from bp-asm.h.
40263 (DEST): Likewise.
40264 (LEN): Likewise.
40265 [!BZERO_P] (CHR): Likewise.
40266 (memset): Likewise. Do not use BP_SYM.
40267 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40268 "bp-asm.h".
40269 (PARMS): Do not use macros from bp-asm.h.
40270 (STR2): Likewise.
40271 (strcmp): Do not use BP_SYM.
40272 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40273 "bp-asm.h".
40274 (PARMS): Do not use macros from bp-asm.h.
40275 (STR): Likewise.
40276 (DELIM): Likewise.
40277 [USE_AS_STRTOK_R] (SAVE): Likewise.
40278 (FUNCTION): Likewise. Do not use BP_SYM.
40279 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40280 aliases.
40281 (strtok_r): Likewise.
40282 (__GI___strtok_r): Likewise.
40283 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40284 (PARMS): Do not use macros from bp-asm.h.
40285 (S): Likewise.
40286 (SIZE): Likewise.
40287 (__mpn_lshift): Do not use BP_SYM.
40288 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40289 (PARMS): Do not use macros from bp-asm.h.
40290 (STR): Likewise.
40291 (CHR): Likewise.
40292 (__memchr): Do not use BP_SYM.
40293 (memchr): Do not use BP_SYM in weak_alias.
40294 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40295 (PARMS): Do not use macros from bp-asm.h.
40296 (BLK2): Likewise.
40297 (LEN): Likewise.
40298 (memcmp): Do not use BP_SYM.
40299 (bcmp): Do not use BP_SYM in weak_alias.
40300 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40301 (PARMS): Do not use macros from bp-asm.h.
40302 (S1): Likewise.
40303 (SIZE): Likewise.
40304 (__mpn_mul_1): Do not use BP_SYM.
40305 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40306 "bp-asm.h".
40307 (PARMS): Do not use macros from bp-asm.h.
40308 (STR): Likewise.
40309 (CHR): Likewise.
40310 (__rawmemchr): Do not use BP_SYM.
40311 (rawmemchr): Do not use BP_SYM in weak_alias.
40312 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40313 (PARMS): Do not use macros from bp-asm.h.
40314 (S): Likewise.
40315 (SIZE): Likewise.
40316 (__mpn_rshift): Do not use BP_SYM.
40317 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40318 (PARMS): Do not use macros from bp-asm.h.
40319 (SIGMSK): Likewise.
40320 (__sigsetjmp): Likewise. Do not use BP_SYM.
40321 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40322 (_start): Do not use BP_SYM.
40323 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40324 (PARMS): Do not use macros from bp-asm.h.
40325 (DEST): Likewise.
40326 (SRC): Likewise.
40327 (__stpcpy): Likewise. Do not use BP_SYM.
40328 (stpcpy): Do not use BP_SYM in weak_alias.
40329 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40330 "bp-asm.h".
40331 (PARMS): Do not use macros from bp-asm.h.
40332 (DEST): Likewise.
40333 (SRC): Likewise.
40334 (LEN): Likewise.
40335 (__stpncpy): Likewise. Do not use BP_SYM.
40336 (stpncpy): Do not use BP_SYM in weak_alias.
40337 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40338 (PARMS): Do not use macros from bp-asm.h.
40339 (STR): Likewise.
40340 (CHR): Likewise.
40341 (strchr): Likewise. Do not use BP_SYM.
40342 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40343 "bp-asm.h".
40344 (PARMS): Do not use macros from bp-asm.h.
40345 (STR): Likewise.
40346 (CHR): Likewise.
40347 (__strchrnul): Likewise. Do not use BP_SYM.
40348 (strchrnul): Do not use BP_SYM in weak_alias.
40349 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40350 "bp-asm.h".
40351 (PARMS): Do not use macros from bp-asm.h.
40352 (STOP): Likewise.
40353 (strcspn): Do not use BP_SYM.
40354 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40355 "bp-asm.h".
40356 (PARMS): Do not use macros from bp-asm.h.
40357 (STR): Likewise.
40358 (STOP): Likewise.
40359 (strpbrk): Likewise. Do not use BP_SYM.
40360 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40361 "bp-asm.h".
40362 (PARMS): Do not use macros from bp-asm.h.
40363 (STR): Likewise.
40364 (CHR): Likewise.
40365 (strrchr): Likewise. Do not use BP_SYM.
40366 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40367 (PARMS): Do not use macros from bp-asm.h.
40368 (SKIP): Likewise.
40369 (strspn): Do not use BP_SYM.
40370 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40371 (PARMS): Do not use macros from bp-asm.h.
40372 (STR): Likewise.
40373 (DELIM): Likewise.
40374 (SAVE): Likewise.
40375 (FUNCTION): Likewise. Do not use BP_SYM.
40376 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40377 aliases.
40378 (strtok_r): Likewise.
40379 (__GI___strtok_r): Likewise.
40380 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40381 (PARMS): Do not use macros from bp-asm.h.
40382 (S1): Likewise.
40383 (S2): Likewise.
40384 (SIZE): Likewise.
40385 (__mpn_sub_n): Do not use BP_SYM.
40386 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40387 "bp-asm.h".
40388 (PARMS): Do not use macros from bp-asm.h.
40389 (S1): Likewise.
40390 (SIZE): Likewise.
40391 (__mpn_submul_1): Do not use BP_SYM.
40392 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40393 <bp-sym.h>.
40394 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40395 and <bp-asm.h>.
40396 (PARMS): Do not use macros from bp-asm.h.
40397 (FLAGS): Likewise.
40398 (PTID): Likewise.
40399 (TLS): Likewise.
40400 (CTID): Likewise.
40401 (__clone): Do not use BP_SYM.
40402 (clone): Do not use BP_SYM in weak_alias.
40403 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40404 and <bp-asm.h>.
40405 (PARMS): Do not use macros from bp-asm.h.
40406 (LEN): Likewise.
40407 (__mmap64): Do not use BP_SYM.
40408 (mmap64): Do not use BP_SYM in weak_alias.
40409 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40410 <bp-sym.h> and <bp-asm.h>.
40411 (PARMS): Do not use macros from bp-asm.h.
40412 (__posix_fadvise64_l64): Do not use BP_SYM.
40413 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40414 (PARMS): Do not use macros from bp-asm.h.
40415 (NSOPS): Likewise.
40416 (semtimedop): Do not use BP_SYM.
40417 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40418 and <bp-asm.h>.
40419
40420 2013-02-21 Allan McRae <allan@archlinux.org>
40421
40422 * manual/message.texi (Charset conversion in gettext):
40423 Move @end statement to beginning of line.
40424
40425 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40426
40427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40428 static.
40429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40430 Likewise.
40431
40432 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40433 (denorm): Likewise.
40434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40436
40437 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40438
40439 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40440 tail-call to the resolved function if pltexit isn't needed.
40441
40442 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40443
40444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40445 or Y being zero as being unlikely.
40446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40447 Likewise.
40448
40449 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40450
40451 * manual/nss.texi (System Databases and Name Service Switch):
40452 Remove frobnicate @pxref.
40453
40454 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40455
40456 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40457 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40458
40459 2013-02-20 Petr Machata <pmachata@redhat.com>
40460
40461 * elf/elf.h (R_ARM_TARGET1): New macro.
40462 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40463 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40464 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40465 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40466 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40467 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40468 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40469 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40470 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40471 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40472 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40473 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40474 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40475 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40476 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40477 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40478 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40479 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40480 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40481 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40482 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40483 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40484 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40485 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40486 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40487 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40488 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40489 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40490 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40491 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40492 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40493 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40494 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40495 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40496 (R_ARM_THM_GOT_BREL12): Likewise.
40497 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40498 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40499 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40500 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40501 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40502 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40503 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40504 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40505 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40506
40507 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40508
40509 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40510 __attribute_used__ to __attribute__ ((unused)).
40511
40512 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40513
40514 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40515 powerpc mpa.c.
40516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40517 comment formatting.
40518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40519
40520 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40521
40522 [BZ #13550]
40523 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40524 Remove macro.
40525 (ENTER): Remove both macro definitions.
40526 (LEAVE): Likewise.
40527 (CHECK_BOUNDS_LOW): Likewise.
40528 (CHECK_BOUNDS_HIGH): Likewise.
40529 (CHECK_BOUNDS_BOTH): Likewise.
40530 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40531 (RETURN_BOUNDED_POINTER): Likewise.
40532 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40533 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40534 (POP_ERRNO_LOCATION_RETURN): Likewise.
40535 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40536 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40537 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40538 macros.
40539 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40540 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40541 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40542 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40543 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40544 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40545 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40546 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40547 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40548 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40549 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40550 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40551 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40552 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40553 removed macros.
40554 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40555 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40556 macros.
40557 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40558 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40559 * sysdeps/i386/i586/memset.S (memset): Likewise.
40560 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40561 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40562 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40563 macros.
40564 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40565 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40566 Change uses of L(2) to L(out).
40567 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40568 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40569 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40570 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40571 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40572 removed macros.
40573 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40574 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40575 macros.
40576 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40577 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40578 (RETURN): Do not use macro LEAVE.
40579 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40580 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40581 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40582 * sysdeps/i386/i686/memset.S (memset): Likewise.
40583 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40584 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40585 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40586 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40587 Likewise.
40588 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40589 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40590 L(1_2) and L(1_3) into L(1).
40591 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40592 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40593 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40594 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40595 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40596 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40597 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40598 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40599 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40600 macros.
40601 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40602 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40603 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40604 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40605 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40606 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40607 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40608 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40609 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40610 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40611 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40612 * sysdeps/i386/strspn.S (strspn): Likewise.
40613 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40614 conditional code.
40615 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40616 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40617 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40618 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40619 L(1_3) into L(1_1).
40620 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40621 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40622 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40623 macros.
40624 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40625
40626 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40627
40628 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40629 macro.
40630
40631 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40632
40633 * math/atest-exp.c (exp_mpn): Remove ROUND.
40634 * math/atest-exp2.c (exp_mpn): Likewise.
40635 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40636
40637 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40638 * stdlib/tst-tls-atexit-lib.c: Likewise.
40639 * stdlib/tst-tls-atexit.c: Likewise.
40640
40641 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40642
40643 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40644 and __attribute_alloc_size__.
40645
40646 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40647
40648 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40649 __attribute_alloc_size__.
40650 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40651 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40652
40653 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40654
40655 * include/programs/xmalloc.h: New file.
40656 * catgets/gencat.c: Include it.
40657 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40658 * elf/pldd.c: Likewise.
40659 * iconv/iconv_charmap.c: Likewise.
40660 * iconv/iconvconfig.c: Likewise.
40661 * iconv/strtab.c: Likewise.
40662 * locale/programs/locale.c: Likewise.
40663 * locale/programs/localedef.h: Likewise.
40664 * locale/programs/simple-hash.c: Likewise.
40665 * nscd/nscd.h: Likewise.
40666 * nss/makedb.c: Likewise.
40667 * sysdeps/generic/ldconfig.h: Likewise.
40668
40669 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40670
40671 * Versions.def: Add GLIBC_2.18.
40672 * include/link.h (struct link_map): New member l_tls_dtor_count.
40673 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40674 (__call_tls_dtors): Likewise.
40675 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40676 __cxa_thread_atexit_impl.
40677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40678 Likewise.
40679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40680 Likewise.
40681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40682 Likewise.
40683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40684 Likewise.
40685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40687 Likewise.
40688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40689 Likewise.
40690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40692 Likewise.
40693 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40694 (tests): Add test case tst-tls-atexit.
40695 (modules-names): Add shared library for tst-tls-atexit.
40696 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40697 (GLIBC_PRIVATE): Add __call_tls_dtors.
40698 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40699 for libstdc++.
40700 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40701 * stdlib/tst-tls-atexit.c: New test case.
40702 * stdlib/tst-tls-atexit-lib.c: New test case.
40703
40704 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40705
40706 * elf/Versions (ld): Add _dl_find_dso_for_object.
40707 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40708 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40709 (dl_open_worker): Use _dl_find_dso_for_object.
40710 * elf/dl-sym.c (do_sym): Likewise.
40711 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40712
40713 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40714
40715 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40716 Syntactic changes only.
40717 (_dl_runtime_profile): Do a tail-call to the resolved function.
40718
40719 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40720
40721 [BZ #13550]
40722 * sysdeps/x86_64/bp-asm.h: Remove file.
40723 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40724 <bp-sym.h> and <bp-asm.h>.
40725 (__clone): Do not use BP_SYM.
40726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40727 <bp-sym.h> and <bp-asm.h>.
40728 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40729 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40730 "bp-asm.h".
40731 (_setjmp): Do not use BP_SYM.
40732 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40733 "bp-asm.h".
40734 (setjmp): Do not use BP_SYM.
40735 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40736 libc_hidden_def.
40737 (mempcpy): Do not use BP_SYM in weak_alias.
40738 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40739 "bp-asm.h".
40740 (strchr): Do not use BP_SYM.
40741 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40742 "bp-asm.h".
40743 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40744 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40745 (_start): Do not use BP_SYM.
40746 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40747 "bp-asm.h".
40748 (strcat): Do not use BP_SYM.
40749 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40750 "bp-asm.h".
40751 (STRCMP): Do not use BP_SYM.
40752 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40753 "bp-asm.h".
40754 (STRCPY): Do not use BP_SYM.
40755 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40756 "bp-asm.h".
40757 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40758 "bp-asm.h".
40759 (FUNCTION): Do not use BP_SYM.
40760 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40761 weak_alias.
40762 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40763
40764 2013-02-17 Andreas Jaeger <aj@suse.de>
40765
40766 * time/Versions: Sort entries.
40767 * string/Versions: Likewise.
40768 * resolv/Versions: Likewise.
40769 * posix/Versions: Likewise.
40770 * iconv/Versions: Likewise.
40771 * elf/Versions: Likewise.
40772 * wcsmbs/Versions: Likewise.
40773
40774 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40775
40776 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40777 loop termination condition.
40778
40779 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40780 variable to calculate EZ.
40781 (__sqr): Likewise.
40782
40783 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40784 the lower precision input.
40785
40786 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40787
40788 [BZ #13550]
40789 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40790 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40791 (run-via-rtld-prefix): Do not handle %-bp tests.
40792 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40793 (all-object-suffixes): Remove .ob.
40794 (bppfx): Remove variable.
40795 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40796 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40797 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40798 [$(build-bounded) = yes] (libtype.ob): Likewise.
40799 * Makerules (elide-routines.ob): Remove variable.
40800 (do-tests-clean): Do not handle *-bp.out.
40801 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40802 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40803 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40804 (tests): Do not include $(tests-bp.out).
40805 (xtests): Do not include $(xtests-bp.out).
40806 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40807 [$(build-bounded) = yes] ($(addprefix
40808 $(objpfx),$(binaries-bounded))): Remove rule.
40809 ($(objpfx)%-bp.out): Remove rule.
40810 * config.make.in (build-bounded): Remove variable.
40811 * crypt/Makefile [$(build-bounded) = yes]
40812 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40813 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40814 append to variable.
40815 [$(build-bounded) = yes] (install-lib): Likewise.
40816 [$(build-bounded) = yes] (generated): Likewise.
40817 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40818 Remove rule.
40819 * intl/Makefile [$(build-bounded) = yes]
40820 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40821 * math/Makefile [$(build-bounded) = yes]
40822 ($(tests:%=$(objpfx)%-bp): Likewise.
40823 * misc/Makefile [$(build-bounded) = yes]
40824 ($(objpfx)tst-tsearch-bp): Likewise.
40825 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40826 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40827 Remove dependency.
40828 * string/Makefile (o-objects.ob): Remove variable.
40829 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40830 (CFLAGS-.ob): Remove variable.
40831 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40832 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40833 both definitions of variable.
40834 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40835 (ASFLAGS-.ob): Remove variable.
40836
40837 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40838
40839 [BZ #13550]
40840 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40841 Remove __BOUNDED_POINTERS__ from condition.
40842 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40843 * string/bits/string2.h [!__NO_STRING_INLINES &&
40844 !__BOUNDED_POINTERS__]: Likewise.
40845 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40846 Likewise.
40847 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40848 Remove conditional code.
40849 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40850 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40851 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40852 condition.
40853
40854 [BZ #13550]
40855 * csu/libc-start.c: Do not include <bp-sym.h>.
40856 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40857 * elf/dl-open.c: Do not include <bp-sym.h>.
40858 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40859 * math/fegetenv.c: Do not include <bp-sym.h>.
40860 (fegetenv): Do not use BP_SYM in versioned symbols.
40861 * nptl/sysdeps/pthread/bits/libc-lockP.h
40862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40863 <bp-sym.h>.
40864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40865 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40867 (__pthread_mutex_destroy): Likewise.
40868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40869 (__pthread_mutex_lock): Likewise.
40870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40871 (__pthread_mutex_trylock): Likewise.
40872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40873 (__pthread_mutex_unlock): Likewise.
40874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40875 (__pthread_mutexattr_init): Likewise.
40876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40877 (__pthread_mutexattr_destroy): Likewise.
40878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40879 (__pthread_mutexattr_settype): Likewise.
40880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40881 (__pthread_rwlock_init): Likewise.
40882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40883 (__pthread_rwlock_destroy): Likewise.
40884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40885 (__pthread_rwlock_rdlock): Likewise.
40886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40887 (__pthread_rwlock_tryrdlock): Likewise.
40888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40889 (__pthread_rwlock_wrlock): Likewise.
40890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40891 (__pthread_rwlock_trywrlock): Likewise.
40892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40893 (__pthread_rwlock_unlock): Likewise.
40894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40895 (__pthread_key_create): Likewise.
40896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40897 (__pthread_setspecific): Likewise.
40898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40899 (__pthread_getspecific): Likewise.
40900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40901 Likewise.
40902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40903 (_pthread_cleanup_push_defer): Likewise.
40904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40905 (_pthread_cleanup_pop_restore): Likewise.
40906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40907 (pthread_setcancelstate): Likewise.
40908 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40909 <bp-sym.h>.
40910 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40911 (memchr): Do not use BP_SYM in weak_alias.
40912 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40913 (fegetenv): Do not use BP_SYM in versioned symbols.
40914 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40915 (fesetenv): Do not use BP_SYM in versioned symbols.
40916 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40917 (feupdateenv): Do not use BP_SYM in versioned symbols.
40918 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40919 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40920 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40921 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40922 (open64): Do not use BP_SYM in weak_alias.
40923 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40924 (fegetenv): Do not use BP_SYM in versioned symbols.
40925 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40926 (fesetenv): Do not use BP_SYM in versioned symbols.
40927 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40928 (feupdateenv): Do not use BP_SYM in versioned symbols.
40929 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40930 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40931 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40932 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40933 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40934 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40935 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40936 <bp-sym.h>.
40937 (__libc_start_main): Do not use BP_SYM.
40938
40939 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40940
40941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40942 redundant return line.
40943 (norm): Likewise.
40944 (denorm): Likewise.
40945 (dbl_mp): Likewise.
40946 (sub_magnitudes): Likewise.
40947 (__add): Likewise.
40948 (__sub): Likewise.
40949 (__mul): Likewise.
40950 (__inv): Likewise.
40951 (__dvd): Likewise.
40952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40953 (norm): Likewise.
40954 (denorm): Likewise.
40955 (dbl_mp): Likewise.
40956 (sub_magnitudes): Likewise.
40957 (__add): Likewise.
40958 (__sub): Likewise.
40959 (__mul): Likewise.
40960 (__inv): Likewise.
40961 (__dvd): Likewise.
40962
40963 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40964 instead of __mul.
40965 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40966 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40967 (cc32): Likewise.
40968
40969 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40970 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40972 of __mul for squares.
40973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40974 function
40975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40976 Likewise.
40977 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40978 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40979
40980 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40981
40982 [BZ #13550]
40983 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40984 code.
40985 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40986 prototype or function definition. Rename ubp_* variables and
40987 parameters. Remove argv definitions conditional on
40988 [__BOUNDED_POINTERS__].
40989 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40990 * elf/dl-runtime.c (_dl_fixup): Likewise.
40991 * include/set-hooks.h (RUN_HOOK): Likewise.
40992 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40993 definition.
40994 * string/strcpy.c (strcpy): Do not use __unbounded.
40995 * sysdeps/generic/frame.h (struct layout): Likewise.
40996 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40997 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40998 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40999 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41000 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41001 (__backtrace): Likewise.
41002 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41003 use __ptrvalue.
41004 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41005 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41006 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41007 Likewise.
41008 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41009 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41010 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41011 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41012 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41013 Do not use __unbounded.
41014 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41015 Rename __unboundedrlimits parameter to rlimits in prototype.
41016 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41017 Do not use __unbounded.
41018 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41019 not use __ptrvalue.
41020 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41021 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41022 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41023 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41024 __ptrvalue or __unbounded.
41025 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41026 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41027 use __unbounded.
41028 (__new_msgctl): Do not use __ptrvalue.
41029 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41030 __unbounded.
41031 (__libc_msgrcv): Do not use __ptrvalue.
41032 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41033 startup_info): Do not use __unbounded.
41034 (__libc_start_main): Likewise. Rename ubp_* variables and
41035 parameters. Remove argv definitions conditional on
41036 [__BOUNDED_POINTERS__].
41037 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41038 __ptrvalue.
41039 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41040 use __unbounded.
41041 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41042 or __ptrvalue.
41043 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41044 use __unbounded.
41045 (__new_shmctl): Do not use __ptrvalue.
41046 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41047 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41048 Likewise.
41049 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41051 (__libc_sigaction): Likewise.
41052 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41053 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41054 Likewise.
41055 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41056
41057 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
41058
41059 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41060
41061 * string/mempcpy.c: Implement by calling memcpy.
41062
41063 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41064
41065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41066
41067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41068 evaluation.
41069
41070 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41071 values in the mantissa.
41072
41073 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41074 minimize writes to Z.
41075 (sub_magnitudes): Simplify code a bit.
41076
41077 2013-02-12 Roland McGrath <roland@hack.frob.com>
41078
41079 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41080 from the message. The linker prefixes all warnings with that already.
41081
41082 2013-02-12 Andreas Schwab <schwab@suse.de>
41083
41084 [BZ #15078]
41085 * posix/regexec.c (extend_buffers): Add parameter min_len.
41086 (check_matching): Pass minimum needed length.
41087 (clean_state_log_if_needed): Likewise.
41088 (get_subexp): Likewise.
41089 * posix/Makefile (tests): Add bug-regex34.
41090 (bug-regex34-ENV): Define.
41091 * posix/bug-regex34.c: New file.
41092
41093 [BZ #11561]
41094 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41095 elements compare against the byte sequence of it, not its name.
41096 * posix/Makefile (tests): Add bug-regex35.
41097 (bug-regex35-ENV): Define.
41098 * posix/bug-regex35.c: New file.
41099
41100 2013-02-11 Tom de Vries <tom@codesourcery.com>
41101
41102 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41103 comment.
41104 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41105 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41106 (CHECK_EOL): Add undef.
41107
41108 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
41109
41110 * bits/stdlib-bsearch.h: New file.
41111 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41112 * stdlib/stdlib.h: Likewise.
41113
41114 2013-02-11 Roland McGrath <roland@hack.frob.com>
41115
41116 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41117 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41118 declaration.
41119 * manual/search.texi (Array Search Function): Add missing const in
41120 lfind prototype.
41121 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41122 declaration to use rlim_t.
41123 (Basic Scheduling Functions): Remove erroneous const from
41124 sched_getparam prototype. Remove erroneous * from
41125 sched_get_priority_max and sched_get_priority_min prototypes.
41126 (Resource Usage): Fix summary @comment on vtimes to refer to
41127 sys/vtimes.h rather than vtimes.h.
41128 Add missing *s in vtimes prototype.
41129 (Limits on Resources): Fix ulimit prototype to return long int.
41130 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41131 prototypes to use long int rather than double.
41132 (BSD Random): Fix initstate and setstate to use char *, not void *.
41133 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41134 prototype to make second argument 'struct aiocb64 *const[]'.
41135 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41136 (Status of AIO Operations): Remove erroneous const in aio_return and
41137 aio_return64 prototypes.
41138 (Synchronizing I/O): Fix sync prototype to return void.
41139 * manual/startup.texi (Suboptions): Remove an erroneous const in
41140 getsubopt prototype.
41141 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41142 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41143 use size_t rather than int.
41144 (Scanning All Users): Likewise for getpwent_r.
41145 (Setting Groups): Add missing const to setgroups prototype.
41146 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41147 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41148 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41149 'const void *' rather than 'const char *'.
41150 (Host Address Functions): Likewise for inet_ntop.
41151 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41152 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41153 ssize_t for return value.
41154 (Sending Data): Likewise for send, sendto, sendmsg.
41155 (Socket Option Functions): Add a missing const in setsockopt prototype.
41156 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41157 use wchar_t for the argument.
41158 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41159 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41160 take no arguments.
41161 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41162 double/float/long double for second argument.
41163 Fix return types of significand, significandf, significandl.
41164 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41165 argument in fchmod prototype.
41166 (File Owner): Use uid_t and gid_t in fchown prototype.
41167 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41168 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41169 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41170 use 'const struct dirent **' as argument types to CMP function pointer
41171 argument.
41172 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41173 (File Times): Fix summary magic @comment for struct utimbuf and utime
41174 to refer to utime.h, not time.h.
41175 * manual/string.texi (Argz Functions): Add missing const in
41176 argz_extract and argz_next prototypes.
41177 (Finding Tokens in a String): Likewise for basename.
41178 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41179 (Copying and Concatenation): Fix typo in wmemmove prototype.
41180 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41181 (Signal Stack): Remove erroneous const in sigstack prototype.
41182 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41183 prototype.
41184 (Simple Calendar Time): Likewise for stime.
41185 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41186 prototype.
41187 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41188 say sys/sysctl.h instead.
41189 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41190 and vsyslog prototypes.
41191
41192 2013-02-11 Tom de Vries <tom@codesourcery.com>
41193
41194 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41195 Remove.
41196
41197 2013-02-11 Roland McGrath <roland@hack.frob.com>
41198
41199 * misc/sys/mman.h: Fix typo in mremap comment.
41200
41201 2013-02-08 Roland McGrath <roland@hack.frob.com>
41202
41203 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41204 the '\0' terminator.
41205
41206 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41207
41208 [BZ #13550]
41209 * debug/segfault.c: Don't include <bp-checks.h>.
41210 * sysdeps/generic/bp-checks.h: Remove file.
41211 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41212 (__GETDENTS): Don't use CHECK_N.
41213 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41214 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41215 (__getgroups): Don't use CHECK_N.
41216 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41217 (setgroups): Don't use CHECK_N.
41218 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41219 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41220 (__libc_msgrcv): Don't use CHECK_N.
41221 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41222 (__libc_msgsnd): Don't use CHECK_N.
41223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41224 <bp-checks.h>.
41225 (__libc_pread): Don't use CHECK_N.
41226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41227 include <bp-checks.h>.
41228 (__libc_pread64): Don't use CHECK_N.
41229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41230 include <bp-checks.h>.
41231 (__libc_pwrite): Don't use CHECK_N.
41232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41233 include <bp-checks.h>.
41234 (__libc_pwrite64): Don't use CHECK_N.
41235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41236 <bp-checks.h>.
41237 (__libc_pread): Don't use CHECK_N.
41238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41239 include <bp-checks.h>.
41240 (__libc_pread64): Don't use CHECK_N.
41241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41242 include <bp-checks.h>.
41243 (__libc_pwrite): Don't use CHECK_N.
41244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41245 include <bp-checks.h>.
41246 (__libc_pwrite64): Don't use CHECK_N.
41247 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41248 (do_pread): Don't use CHECK_N.
41249 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41250 (do_pread64): Don't use CHECK_N.
41251 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41252 (do_pwrite): Don't use CHECK_N.
41253 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41254 (do_pwrite64): Don't use CHECK_N.
41255 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41256 (__libc_readv): Don't use CHECK_N.
41257 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41258 (semop): Don't use CHECK_N.
41259 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41260 <bp-checks.h>.
41261 (semtimedop): Don't use CHECK_N.
41262 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41263 (__libc_pread): Don't use CHECK_N.
41264 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41265 <bp-checks.h>.
41266 (__libc_pread64): Don't use CHECK_N.
41267 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41268 <bp-checks.h>.
41269 (__libc_pwrite): Don't use CHECK_N.
41270 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41271 <bp-checks.h>.
41272 (__libc_pwrite64): Don't use CHECK_N.
41273 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41274 <bp-checks.h>.
41275 (__libc_msgrcv): Don't use CHECK_N.
41276 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41277 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41278 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41279 (__libc_writev): Don't use CHECK_N.
41280
41281 2013-02-08 Roland McGrath <roland@hack.frob.com>
41282
41283 * string/strcpy.c: Removed unused variable.
41284
41285 * Makeconfig (+sysdep-includes): Define with := rather than =.
41286 Use an existing include/ subdir of each sysdeps dir before it.
41287
41288 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41289
41290 * nscd/connection.c (register_traced_file): Comment function.
41291 [HAVE_INOTIFY] (union __inev): Define.
41292 [HAVE_INOTIFY] (inotify_check_files): New function.
41293 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41294 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41295 clear_db_cache.
41296 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41297
41298 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41299
41300 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41301 loaded if not already and that a failure is permanent.
41302
41303 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41304
41305 [BZ #15006]
41306 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41307 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41308
41309 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41310
41311 [BZ #13550]
41312 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41313 (CHECK_1_NULL_OK): Likewise.
41314 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41315 (__fxstat): Do not use CHECK_1.
41316 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41317 <bp-checks.h>.
41318 (___fxstat64): Do not use CHECK_1.
41319 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41320 <bp-checks.h>.
41321 (__fxstatat): Do not use CHECK_1.
41322 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41323 <bp-checks.h>.
41324 (__fxstatat64): Do not use CHECK_1.
41325 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41326 <bp-checks.h>.
41327 (__fxstat): Do not use CHECK_1.
41328 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41329 <bp-checks.h>.
41330 (__fxstatat): Do not use CHECK_1.
41331 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41332 <bp-checks.h>.
41333 (__getresgid): Do not use CHECK_1.
41334 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41335 <bp-checks.h>.
41336 (__getresuid): Do not use CHECK_1.
41337 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41338 <bp-checks.h>.
41339 (__lxstat): Do not use CHECK_1.
41340 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41341 <bp-checks.h>.
41342 (__old_msgctl): Do not use CHECK_1.
41343 (__new_msgctl): Likewise.
41344 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41345 <bp-checks.h>.
41346 (__new_setrlimit): Do not use CHECK_1.
41347 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41348 <bp-checks.h>.
41349 (__old_shmctl): Do not use CHECK_1.
41350 (__new_shmctl): Likewise.
41351 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41352 <bp-checks.h>.
41353 (__xstat): Do not use CHECK_1.
41354 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41355 (__lxstat): Do not use CHECK_1.
41356 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41357 <bp-checks.h>.
41358 (___lxstat64): Do not use CHECK_1.
41359 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41360 (__old_msgctl): Do not use CHECK_1.
41361 (__new_msgctl): Likewise.
41362 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41363 <bp-checks.h>.
41364 (__gettimeofday): Do not use CHECK_1.
41365 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41366 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41367 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41368 <bp-checks.h>.
41369 (__gettimeofday): Do not use CHECK_1.
41370 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41371 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41372 (__new_shmctl): Do not use CHECK_1.
41373 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41374 <bp-checks.h>.
41375 (do_sigtimedwait): Do not use CHECK_1.
41376 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41377 <bp-checks.h>.
41378 (do_sigwaitinfo): Do not use CHECK_1.
41379 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41380 <bp-checks.h>.
41381 (msgctl): Do not use CHECK_1.
41382 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41383 <bp-checks.h>.
41384 (shmctl): Do not use CHECK_1.
41385 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41386 (ustat): Do not use CHECK_1.
41387 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41388 <bp-checks.h>.
41389 (__fxstat): Do not use CHECK_1.
41390 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41391 <bp-checks.h>.
41392 (__fxstatat): Do not use CHECK_1.
41393 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41394 <bp-checks.h>.
41395 (__lxstat): Do not use CHECK_1.
41396 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41397 <bp-checks.h>.
41398 (__xstat): Do not use CHECK_1.
41399 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41400 (__xstat): Do not use CHECK_1.
41401 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41402 (___xstat64): Do not use CHECK_1.
41403
41404 [BZ #13550]
41405 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41406 definitions.
41407 (CHECK_BOUNDS_HIGH): Likewise.
41408 * string/strcpy.c: Do not include <bp-checks.h>.
41409 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41410
41411 2013-02-07 Roland McGrath <roland@hack.frob.com>
41412
41413 * nscd/nscd-client.h (__nscd_drop_map_ref):
41414 Add __attribute__ ((unused)).
41415 * nis/nss-nisplus.h (niserr2nss): Likewise.
41416
41417 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41418 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41419
41420 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41421 Remove inline keyword.
41422 * include/rounding-mode.h (round_away): Likewise.
41423 * libio/wfileops.c (adjust_wide_data): Likewise.
41424 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41425 (__m128i_strloadu_tolower): Likewise.
41426 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41427 (__m128i_strloadu_tolower): Likewise.
41428 * time/mktime.c (ydhms_diff): Likewise.
41429 * locale/elem-hash.h (elem_hash): Likewise.
41430 * locale/setlocale.c (setdata): Likewise.
41431 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41432 (re_string_wchar_at): Likewise.
41433 (bitset_not, bitset_merge, bitset_mask): Likewise.
41434 [!(__GNUC__ > 3)] (inline): Remove macro.
41435 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41436 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41437 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41438 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41439 * string/memcmp.c (memcmp_bytes): Likewise.
41440 * locale/programs/locarchive.c (compute_hashval): Likewise.
41441 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41442 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41443 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41444 * nss/getent.c (print_rpc, print_protocols): Likewise.
41445 (print_passwd, print_group, print_aliases): Likewise.
41446 * nis/nss-nisplus.h (niserr2nss): Likewise.
41447 * nscd/connections.c (restart_p): Likewise.
41448 Change return type to bool.
41449
41450 2013-02-05 Roland McGrath <roland@hack.frob.com>
41451
41452 * Makeconfig (all-Depend-files): Add existing
41453 $(sorted-subdirs:=/Depend) files.
41454 (all-subdirs): Remove nss.
41455 * sysdeps/unix/inet/Subdirs: Add it here instead.
41456 * hesiod/Depend: New file.
41457
41458 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41459 instead of calling alloca.
41460
41461 * io/lseek.c (__lseek): Rename to __libc_lseek.
41462 Define __lseek as an alias.
41463
41464 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41465
41466 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41467
41468 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41469 else clause and remove check for non-standard endianness.
41470
41471 2013-02-04 David S. Miller <davem@davemloft.net>
41472
41473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41474
41475 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41476
41477 [BZ #13550]
41478 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41479 (__ubp_memchr): Remove prototype.
41480 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41481 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41482 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41483 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41484 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41485 Remove alias.
41486 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41487 (__ubp_memchr): Likewise.
41488 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41489 (__ubp_memchr): Likewise.
41490 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41491 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41492 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41493 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41494 CHECK_STRING.
41495 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41496 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41497 (__getcwd): Do not use CHECK_STRING.
41498 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41499 <bp-checks.h>.
41500 (__real_chown): Do not use CHECK_STRING.
41501 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41502 <bp-checks.h>.
41503 (fchownat): Do not use CHECK_STRING.
41504 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41505 CHECK_STRING.
41506 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41507 <bp-checks.h>.
41508 (__lchown): Do not use CHECK_STRING.
41509 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41510 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41511 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41512 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41514 include <bp-checks.h>.
41515 (truncate64): Do not use CHECK_STRING.
41516 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41517 <bp-checks.h>.
41518 (__real_chown): Do not use CHECK_STRING.
41519 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41520 <bp-checks.h>.
41521 (__lchown): Do not use CHECK_STRING.
41522 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41523 <bp-checks.h>.
41524 (__chown): Do not use CHECK_STRING.
41525 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41526 <bp-checks.h>.
41527 (truncate64): Do not use CHECK_STRING.
41528 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41529 Likewise.
41530 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41531 (__xmknod): Do not use CHECK_STRING.
41532 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41533 <bp-checks.h>.
41534 (__xmknodat): Do not use CHECK_STRING.
41535 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41536 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41537
41538 2013-02-04 Andreas Schwab <schwab@suse.de>
41539
41540 [BZ #14142]
41541 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41542 * include/netdb.h: Likewise for h_errno.
41543 * elf/tst-stackguard1.c: Include <tls.h>.
41544
41545 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41546
41547 * elf/link.h (struct link_map): Extend the l_addr comment.
41548 * include/link.h (struct link_map): Likewise.
41549
41550 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41551
41552 [BZ #13550]
41553 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41554 (BOUNDED_1): Remove macro.
41555 * debug/backtrace.c: Don't include <bp-checks.h>.
41556 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41557 (__backtrace): Likewise.
41558 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41559 <bp-checks.h>.
41560 (__backtrace): Don't use BOUNDED_1.
41561 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41562 <bp-checks.h>.
41563 (__backtrace): Don't use BOUNDED_1.
41564 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41565 (__backtrace): Don't use BOUNDED_1.
41566 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41567 (shmat): Don't use BOUNDED_N.
41568
41569 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41570
41571 [BZ #13550]
41572 * sysdeps/generic/bp-start.h: Remove file.
41573 * csu/libc-start.c: Don't include <bp-start.h>.
41574 (LIBC_START_MAIN): Set up __environ directly instead of using
41575 INIT_ARGV_and_ENVIRON.
41576 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41577 <bp-start.h>.
41578
41579 [BZ #13550]
41580 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41581 definitions.
41582 (CHECK_FCNTL): Likewise.
41583 (CHECK_N_PAGES): Likewise.
41584
41585 [BZ #13550]
41586 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41587 definitions.
41588 (CHECK_SIGSET_NULL_OK): Likewise.
41589 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41590 <bp-checks.h>.
41591 (sigpending): Don't use CHECK_SIGSET.
41592 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41593 <bp-checks.h>.
41594 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41595 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41596 <bp-checks.h>.
41597 (do_sigsuspend): Don't use CHECK_SIGSET.
41598 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41599 use CHECK_SIGSET.
41600 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41601 (do_sigwait): Don't use CHECK_SIGSET.
41602 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41603 use CHECK_SIGSET.
41604 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41605 include <bp-checks.h>.
41606 (sigpending): Don't use CHECK_SIGSET.
41607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41608 include <bp-checks.h>.
41609 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41610 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41611 <bp-checks.h>.
41612 (sigpending): Don't use CHECK_SIGSET.
41613 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41614 <bp-checks.h>.
41615 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41616
41617 [BZ #13550]
41618 * sysdeps/generic/bp-semctl.h: Remove file.
41619 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41620 <bp-checks.h> and <bp-semctl.h>.
41621 (__old_semctl): Don't use CHECK_SEMCTL.
41622 (__new_semctl): Likewise.
41623 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41624 and <bp-semctl.h>.
41625 (__old_semctl): Don't use CHECK_SEMCTL.
41626 (__new_semctl): Likewise.
41627 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41628 <bp-checks.h> and <bp-semctl.h>.
41629 (__old_semctl): Don't use CHECK_SEMCTL.
41630 (__new_semctl): Likewise.
41631 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41632 <bp-checks.h> and <bp-semctl.h>.
41633 (semctl): Don't use CHECK_SEMCTL.
41634
41635 [BZ #13550]
41636 * Makerules (elide-bp-thunks): Remove variable.
41637 (elide-routines.oS): Don't use $(elide-bp-thunks).
41638 (elide-routines.os): Likewise.
41639 (elide-routines.o): Likewise.
41640 (elide-routines.op): Likewise.
41641 (elide-routines.og): Likewise.
41642 (objects): Don't use $(bp-thunks).
41643 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41644 include.
41645 (common-generated): Do not add s-proto-bp.d.
41646 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41647 (int): Likewise.
41648 (typ): Likewise.
41649 Do not generate makefile rules for bounded-pointer thunks.
41650 * sysdeps/generic/bp-thunks.h: Remove file.
41651 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41652 * sysdeps/unix/s-proto-bp.S: Likewise.
41653
41654 [BZ #15062]
41655 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41656 parts of result separately when argument is not close to line from
41657 -i to i and one part of argument is small.
41658 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41659 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41660 * math/libm-test.inc (cacos_test): Add more tests.
41661 (casin_test): Likewise.
41662 (casinh_test): Likewise.
41663 * sysdeps/i386/fpu/libm-test-ulps: Update.
41664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41665
41666 2013-01-31 David S. Miller <davem@davemloft.net>
41667
41668 * po/de.po: Update from translation team.
41669
41670 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41671
41672 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41673
41674 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41675
41676 * configure.in (_AC_PROG_CC_C89): New definition.
41677 * configure: Regenerate.
41678
41679 * configure.in (AC_PROG_CPP): New definition.
41680 * configure: Regenerate.
41681
41682 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41683
41684 * debug/tst-backtrace.h: New file.
41685 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41686 (ret): Remove variable.
41687 (x): Likewise.
41688 (FAIL): Remove macro.
41689 (NO_INLINE): Likewise.
41690 (fn1): Use match function instead of strstr.
41691 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41692 (ret): Remove variable.
41693 (x): Likewise.
41694 (FAIL): Remove macro.
41695 (NO_INLINE): Likewise.
41696 (fn): Use match function instead of strstr.
41697 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41698 (ret): Remove variable.
41699 (x): Likewise.
41700 (FAIL): Remove macro.
41701 (NO_INLINE): Likewise.
41702 (handle_signal): Use match function instead of strstr.
41703 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41704 (ret): Remove variable.
41705 (x): Likewise.
41706 (FAIL): Remove macro.
41707 (NO_INLINE): Likewise.
41708 (handle_signal): Use match function instead of strstr.
41709
41710 2013-01-23 Roland McGrath <roland@hack.frob.com>
41711
41712 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41713
41714 2013-01-23 David S. Miller <davem@davemloft.net>
41715
41716 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41717 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41718 argument of CAS if possible.
41719 * sysdeps/sparc/sparc64/bits/atomic.h
41720 (__arch_compare_and_exchange_val_32_acq): Likewise.
41721 (__arch_compare_and_exchange_val_64_acq): Likewise.
41722
41723 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41724
41725 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41726 * sysdeps/posix/ulimit.c: ... this.
41727 Include <limits.h>.
41728 * sysdeps/unix/bsd/ulimit.c: Remove file.
41729
41730 2013-01-23 Adam Conrad <adconrad@0c3.net>
41731
41732 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41733 (LDFLAGS-tst-array5): Likewise.
41734
41735 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41736
41737 [BZ #15036]
41738 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41739 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41740 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41741 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41742
41743 2013-01-21 David S. Miller <davem@davemloft.net>
41744
41745 * sysdeps/sparc/backtrace.c: New file.
41746 * sysdeps/sparc/sparc32/backtrace.h: New file.
41747 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41748 * sysdeps/sparc/sparc64/backtrace.h: New file.
41749 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41750 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41751 -funwind-tables.
41752
41753 2013-01-21 Andreas Schwab <schwab@suse.de>
41754
41755 [BZ #15020]
41756 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41757 closed its stdout.
41758
41759 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41760
41761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41762 "mpa2.h".
41763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41764
41765 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41766 Mark Mitchell <mark@codesourcery.com>
41767 Tom de Vries <tom@codesourcery.com>
41768 Paul Pluzhnikov <ppluzhnikov@google.com>
41769
41770 * debug/tst-backtrace2.c: New file.
41771 * debug/tst-backtrace3.c: Likewise.
41772 * debug/tst-backtrace4.c: Likewise.
41773 * debug/tst-backtrace5.c: Likewise.
41774 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41775 (CFLAGS-tst-backtrace3.c): Likewise.
41776 (CFLAGS-tst-backtrace4.c): Likewise.
41777 (CFLAGS-tst-backtrace5.c): Likewise.
41778 (LDFLAGS-tst-backtrace2): Likewise.
41779 (LDFLAGS-tst-backtrace3): Likewise.
41780 (LDFLAGS-tst-backtrace4): Likewise.
41781 (LDFLAGS-tst-backtrace5): Likewise.
41782 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41783 tst-backtrace4 and tst-backtrace5.
41784
41785 2013-01-18 Anton Blanchard <anton@samba.org>
41786 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41787
41788 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41789 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41790 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41791 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41793 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41794 "+r" and remove output regs list as redundant. Add explicit inline
41795 asm to specify register of return val to work around compiler codegen
41796 bug. Remove (int) cast on return value. Add return type parameter to
41797 use in macro so that this macro does not truncate return value for
41798 64-bit values.
41799 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41800 pass to INTERNAL_VSYSCALL_NCS.
41801 (INLINE_VSYSCALL): Add 'long int' as return type to
41802 INTERNAL_VSYSCALL_NCS macro invocation.
41803 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41804 INTERNAL_VSYSCALL_NCS macro invocation.
41805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41806
41807 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41808
41809 [BZ #14496]
41810 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41811 Fix application of SIMD FP exception mask.
41812
41813 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41814 mp_no from a power of two.
41815 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41816 __mpexp_twomm1. Use __pow_mp.
41817
41818 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41819 multiplication.
41820
41821 2013-01-17 David S. Miller <davem@davemloft.net>
41822
41823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41824
41825 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41826
41827 [BZ #15023]
41828 * include/complex.h: Condition contents on [!_COMPLEX_H].
41829 (__kernel_casinhf): New prototype.
41830 (__kernel_casinh): Likewise.
41831 (__kernel_casinhl): Likewise.
41832 * math/Makefile (libm_calls): Add k_casinh.
41833 * math/k_casinh.c: New file.
41834 * math/k_casinhf.c: Likewise.
41835 * math/k_casinhl.c: Likewise.
41836 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41837 finite nonzero arguments.
41838 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41839 finite nonzero arguments.
41840 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41841 finite nonzero arguments.
41842 * math/s_casinh.c: Do not include <float.h>.
41843 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41844 * math/s_casinhf.c: Do not include <float.h>.
41845 (__casinhf): Move code for finite nonzero arguments to
41846 k_casinhf.c.
41847 * math/s_casinhl.c: Do not include <float.h>.
41848 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41849 redefine.
41850 (__casinhl): Move code for finite nonzero arguments to
41851 k_casinhl.c.
41852 * math/libm-test.inc (cacos_test): Add more tests.
41853 * sysdeps/i386/fpu/libm-test-ulps: Update.
41854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41855
41856 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41857
41858 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41859 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41860 [!HAVE_MREMAP]: Remove [defined linux] case.
41861 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41862
41863 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41864
41865 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41866
41867 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41868
41869 * elf/elf.h (R_386_SIZE32): New relocation.
41870 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41871 R_386_SIZE32.
41872 (elf_machine_rela): Likewise.
41873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41874 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41875
41876 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41877
41878 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41879 (FP_FAST_FMA): Do not define.
41880 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41881 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41882 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41883 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41884 !_SOFT_FLOAT]: Likewise.
41885 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41886 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41887 value.
41888 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41889 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41890 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41891 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41892 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41893 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41894 file.
41895
41896 2013-01-16 Andreas Schwab <schwab@suse.de>
41897
41898 [BZ #14327]
41899 * include/stdlib.h (__mktemp): Add declaration.
41900 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41901 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41902
41903 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41904
41905 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41906 definitions.
41907 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41908 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41909 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41910 definitions here.
41911 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41912 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41913 definitions.
41914 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41915 and ONE.
41916 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41917 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41918 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41919 definitions.
41920 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41921 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41922 definitions.
41923 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41924
41925 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41926
41927 2013-01-15 David S. Miller <davem@davemloft.net>
41928
41929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41930 trunc{,f} to libm-sysdep_routes.
41931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41933 file.
41934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41936 file.
41937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41938 file.
41939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41941 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41942 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41943 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41944 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41945 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41946 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41947
41948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41949 nearbyint{,f} to libm-sysdep_routes.
41950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41952 New file.
41953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41954 file.
41955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41956 New file.
41957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41958 file.
41959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41961 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41962 file.
41963 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41965 file.
41966 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41967 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41968 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41969
41970 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41971 libc_feholdexcept and libc_fesetenv.
41972
41973 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41974
41975 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41976
41977 2013-01-14 David S. Miller <davem@davemloft.net>
41978
41979 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41980 (SPARC_ASM_VIS2_IFUNC): Likewise.
41981 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41983 use of 'siam' instruction.
41984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41985 Likewise.
41986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41987 Likewise.
41988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41989 Likewise.
41990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41995 file.
41996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41997 file.
41998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41999 file.
42000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42001 file.
42002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42007 new VIS2 routines.
42008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42011 Likewise.
42012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42017 routines to libm-sysdep_routines.
42018 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42019
42020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42021 fdim/fdimf to libm-sysdep_routines.
42022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42023 file.
42024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42026 file.
42027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42030 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42031 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42032 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42033 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42034
42035 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42036
42037 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42038 to optimize copies.
42039
42040 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42043
42044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42045 local variable MPTWO.
42046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42047 Likewise.
42048
42049 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42050
42051 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42052 GLOB_NOESCAPE.
42053
42054 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42055
42056 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42057
42058 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42059
42060 * manual/pattern.texi (glob_t): Document gl_flags.
42061 (glob64_t): Likewise.
42062
42063 2013-01-11 David S. Miller <davem@davemloft.net>
42064
42065 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42066 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42067 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
42068 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42069 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42070 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42071 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42072 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42073 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42074 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42075 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42076 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42077 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42078
42079 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42080 sparc V9 rather than using V8 code.
42081 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42082 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42083
42084 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42085 Move to...
42086 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42087 Here.
42088
42089 2013-01-11 Roland McGrath <roland@hack.frob.com>
42090
42091 [BZ #14941]
42092 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42093 not in the main loop.
42094 * configure: Regenerated.
42095
42096 2013-01-11 Joseph Myers <joseph@codesourcery.com>
42097
42098 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42099 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42100 to just #else.
42101 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
42102 [!__GLIBC_HAVE_LONG_LONG] case.
42103 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42104 condition to just #else.
42105 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42106 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42107 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42108 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42109 unconditional.
42110 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42111 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42112 #elif condition to just #else.
42113 * sysdeps/unix/sysv/linux/sys/sysmacros.h
42114 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42115 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42116 #elif condition to just #else.
42117
42118 2013-01-11 Steve Ellcey <sellcey@mips.com>
42119
42120 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42121 (EF_MIPS_ARCH_64): Fix value.
42122 (EF_MIPS_ARCH_32R2): New.
42123 (EF_MIPS_ARCH_64R2): New.
42124
42125 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
42126
42127 * Makeconfig (+link-pie-before-libc): New.
42128 (+link-pie-after-libc): Likewise.
42129 (+link-pie-tests): Likewise.
42130 (+link-pie): Rewritten.
42131 (link-before-libc): Remove $(config-LDFLAGS).
42132 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42133 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42134 (config-LDFLAGS): Renamed to ...
42135 (rtld-LDFLAGS): This.
42136 (rtld-tests-LDFLAGS): New macro.
42137 (link-libc-rpath-link): Likewise.
42138 (link-libc-tests-rpath-link): Likewise.
42139 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42140 (link-libc): Prepand $(link-libc-rpath-link).
42141 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42142 (test-program-prefix): New macro.
42143 (test-via-rtld-prefix): Likewise.
42144 (test-program-cmd): Likewise.
42145 (host-test-program-cmd): Likewise.
42146 * Makefile ($(common-objpfx)testrun.sh): Replace
42147 $(run-program-prefix) with $(test-program-prefix).
42148 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42149 $(rtld-LDFLAGS).
42150 ($(common-objpfx)shlib.lds): Likewise.
42151 (build-module-helper): Likewise.
42152 ($(common-objpfx)format.lds): Likewise.
42153 * Rules (binaries-pie-tests): New.
42154 (binaries-pie-notests): Likewise.
42155 (binaries-pie): Rewritten.
42156 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42157 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42158 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42159 (make-test-out): Replace $(host-built-program-cmd) with
42160 $(host-test-program-cmd).
42161 * config.make.in (build-hardcoded-path-in-tests): New variable.
42162 * configure.in (--enable-hardcoded-path-in-tests): New configure
42163 option.
42164 (hardcoded_path_in_tests): New AC_SUBST.
42165 * configure: Regenerated.
42166 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42167 $(built-program-cmd) with $(test-program-cmd).
42168 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42169 (test_program_cmd): This.
42170 * elf/Makefile ($(objpfx)order.out): Run test with
42171 $(test-program-prefix).
42172 ($(objpfx)order2.out): Likewise.
42173 ($(objpfx)tst-initorder.out): Likewise.
42174 ($(objpfx)tst-initorder2.out): Likewise.
42175 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42176 $(test-program-cmd).
42177 ($(objpfx)tst-array1-static.out): Likewise.
42178 ($(objpfx)tst-array2.out): Likewise.
42179 ($(objpfx)tst-array3.out): Likewise.
42180 ($(objpfx)tst-array4.out): Likewise.
42181 ($(objpfx)tst-array5.out): Likewise.
42182 ($(objpfx)tst-array5-static.out): Likewise.
42183 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42184 $(test-program-cmd).
42185 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42186 $(run-program-prefix) with $(test-program-prefix).
42187 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42188 (test_program_prefix): This.
42189 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42190 $(run-program-prefix) with $(test-program-prefix).
42191 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42192 (test_program_prefix): This.
42193 * iconvdata/tst-tables.sh: Likewise.
42194 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42195 $(run-program-prefix) with $(test-program-prefix).
42196 ($(objpfx)tst-translit.out): Likewise.
42197 ($(objpfx)tst-gettext2.out): Likewise.
42198 ($(objpfx)tst-gettext4.out): Likewise.
42199 ($(objpfx)tst-gettext6.out): Likewise.
42200 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42201 (test_program_prefix): This.
42202 * intl/tst-gettext2.sh: Likewise.
42203 * intl/tst-gettext4.sh Likewise.
42204 * intl/tst-gettext6.sh: Likewise.
42205 * intl/tst-translit.sh: Likewise.
42206 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42207 with $(test-program-cmd).
42208 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42209 $(run-program-prefix) with $(test-program-prefix).
42210 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42211 (test_program_prefix): This.
42212 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42213 $(run-program-prefix) with $(test-program-prefix).
42214 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42215 (test_program_prefix): This.
42216 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42217 * posix/Makefile ($(objpfx)globtest.out): Replace
42218 $(run-via-rtld-prefix) and $(test-wrapper) with
42219 $(test-program-prefix) and $(test-via-rtld-prefix).
42220 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42221 $(test-program-prefix).
42222 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42223 $(host-test-program-cmd).
42224 (tst-spawn-ARGS): Likewise.
42225 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42226 $(test-program-prefix).
42227 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42228 (test_via_rtld_prefix): This.
42229 (test_wrapper): Renamed to ...
42230 (test_program_prefix): This.
42231 (run_program_prefix): Replaced by test_program_prefix.
42232 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42233 (test_program_prefix): This.
42234 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42235 with $(host-test-program-cmd).
42236 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42237 $(run-program-prefix) with $(test-program-prefix).
42238 ($(objpfx)tst-printf.out): Likewise.
42239 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42240 $(test-program-cmd).
42241 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42242 (test_program_prefix): This.
42243 * stdio-common/tst-unbputc.sh: Likewise.
42244 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42245 $(run-program-prefix) with $(test-program-prefix).
42246 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42247 (test_program_prefix): This.
42248 * string/Makefile ($(objpfx)tst-svc.out): Replace
42249 $(built-program-cmd) with $(test-program-cmd).
42250
42251 2013-01-11 Andreas Jaeger <aj@suse.de>
42252
42253 [BZ #15003]
42254 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42255 value. Sync with Linux 3.7.
42256
42257 2013-01-10 David S. Miller <davem@davemloft.net>
42258
42259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42260 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42261 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42262
42263 2013-01-10 Roland McGrath <roland@hack.frob.com>
42264
42265 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42266 never set.
42267 * configure: Regenerated.
42268
42269 2013-01-10 David S. Miller <davem@davemloft.net>
42270
42271 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42272 sparc V9 rather than using V8 code.
42273 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42274 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42275
42276 2013-01-10 Roland McGrath <roland@hack.frob.com>
42277
42278 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42279 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42280 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42281 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42282 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42283 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42284 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42285 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42286 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42287 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42288 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42289 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42290 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42291 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42292 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42293 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42294 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42295 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42296 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42297 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42298 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42299 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42300 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42301 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42302 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42303 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42304 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42305
42306 2013-01-10 David S. Miller <davem@davemloft.net>
42307
42308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42309
42310 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42311
42312 * posix/Makefile (tests-static): New variable.
42313 (tests): Add $(tests-static).
42314 (tst-exec-static-ARGS): New variable.
42315 (tst-spawn-static-ARGS): Likewise.
42316 * posix/tst-exec-static.c: New file.
42317 * posix/tst-spawn-static.c: Likewise.
42318 * posix/tst-exec.c: Support run directly.
42319 * posix/tst-spawn.c: Likewise.
42320
42321 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42322
42323 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42324 long.
42325 * math/bits/mathcalls.h (llrint): Likewise.
42326 (llround): Likewise.
42327 * stdlib/stdlib.h (struct drand48_data): Likewise.
42328 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42329 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42330 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42331 Likewise.
42332 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42333 Likewise.
42334 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42335 (elf_greg_t): Likewise.
42336 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42337 (__jmp_buf): Likewise.
42338 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42339 definitions.
42340 (llrint): Likewise, for all definitions.
42341 (llrintl): Likewise.
42342
42343 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42344 Remove [__GNUC__] condition.
42345 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42346 condition to just [__USE_ISOC99].
42347 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42348
42349 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42350
42351 [BZ #14200]
42352 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42353 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42354 defined.
42355 (_POSIX_V6_ILP32_OFF32): Likewise.
42356 (_XBS5_ILP32_OFF32): Likewise.
42357 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42358 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42359
42360 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42361
42362 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42363
42364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42365 doubles __mpexp_twomm1. Adjust usage.
42366 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42367 Remove.
42368
42369 2013-01-10 Andreas Schwab <schwab@suse.de>
42370
42371 [BZ #14964]
42372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42373 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42374
42375 2013-01-09 David S. Miller <davem@davemloft.net>
42376
42377 [BZ #15003]
42378 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42379 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42380 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42381 (TCP_FASTOPEN): Define.
42382 (tcp_repair_opt): New structure.
42383 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42384 enum values.
42385 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42386 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42387 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42388 (tcp_cookie_transactions): New structure.
42389
42390 2013-01-09 Anton Blanchard <anton@samba.org>
42391
42392 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42393 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42394 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42395 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42396
42397 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42398
42399 * include/features.h (__USE_ANSI): Remove.
42400
42401 2013-01-09 Roland McGrath <roland@hack.frob.com>
42402
42403 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42404
42405 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42406
42407 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42408
42409 * sysdeps/s390/fpu/libm-test-ulps: Update.
42410
42411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42412
42413 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42414 (__acr): Likewise.
42415 (__cpy): Likewise.
42416 (norm): Likewise.
42417 (denorm): Likewise.
42418 (__mp_dbl): Likewise.
42419 (__dbl_mp): Likewise.
42420 (add_magnitudes): Likewise.
42421 (sub_magnitudes): Likewise.
42422 (__add): Likewise.
42423 (__sub): Likewise.
42424 (__mul): Likewise.
42425 (__inv): Likewise.
42426 (__dvd): Likewise.
42427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42428 (__acr): Likewise.
42429 (__cpy): Likewise.
42430 (norm): Likewise.
42431 (denorm): Likewise.
42432 (__mp_dbl): Likewise.
42433 (__dbl_mp): Likewise.
42434 (add_magnitudes): Likewise.
42435 (sub_magnitudes): Likewise.
42436 (__add): Likewise.
42437 (__sub): Likewise.
42438 (__mul): Likewise.
42439 (__inv): Likewise.
42440 (__dvd): Likewise.
42441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42442 (__acr): Likewise.
42443 (__cpy): Likewise.
42444 (norm): Likewise.
42445 (denorm): Likewise.
42446 (__mp_dbl): Likewise.
42447 (__dbl_mp): Likewise.
42448 (add_magnitudes): Likewise.
42449 (sub_magnitudes): Likewise.
42450 (__add): Likewise.
42451 (__sub): Likewise.
42452 (__mul): Likewise.
42453 (__inv): Likewise.
42454 (__dvd): Likewise.
42455
42456 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42457
42458 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42459 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42460 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42461 2 && __USE_EXTERN_INLINES]: Likewise.
42462
42463 2013-01-08 Andreas Jaeger <aj@suse.de>
42464
42465 [BZ# 14985]
42466 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42467 Remove.
42468 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42469 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42470
42471 2013-01-07 Anton Blanchard <anton@samba.org>
42472
42473 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42474 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42475 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42476 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42477 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42478 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42479 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42480 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42482 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42484 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42485 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42487 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42488 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42489 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42490 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42491 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42492 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42493 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42494 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42495 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42496 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42497 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42498 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42499 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42500 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42502 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42503 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42505 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42506 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42507 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42508 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42509 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42510 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42511 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42512 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42513 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42514 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42515 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42516
42517 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42518
42519 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42520 (__MALLOC_PMT): Likewise.
42521 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42522 [__GNUC__], only on [_LIBC].
42523 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42524 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42525 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42526 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42527 forward declaration.
42528 (realloc_hook_ini): Likewise.
42529 (memalign_hook_ini): Likewise.
42530 (__libc_memalign): Do not use __MALLOC_PMT in variable
42531 declaration.
42532 (__libc_valloc): Likewise.
42533 (__libc_pvalloc): Likewise.
42534 (__libc_calloc): Likewise.
42535 (__posix_memalign): Likewise.
42536
42537 [BZ #14996]
42538 * math/s_casinh.c: Include <float.h>.
42539 (__casinh): Do not do computation with squaring and square root
42540 for large arguments.
42541 * math/s_casinhf.c: Include <float.h>.
42542 (__casinhf): Do not do computation with squaring and square root
42543 for large arguments.
42544 * math/s_casinhl.c: Include <float.h>.
42545 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42546 (__casinhl): Do not do computation with squaring and square root
42547 for large arguments.
42548 * math/libm-test.inc (casin_test): Add more tests.
42549 (casinh_test): Likewise.
42550 * sysdeps/i386/fpu/libm-test-ulps: Update.
42551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42552
42553 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42554
42555 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42556 (__x86_64_raw_data_cache_size): Likewise.
42557 (__x86_64_data_cache_size_half): Likewise.
42558 (__x86_64_raw_data_cache_size_half): Likewise.
42559 (__x86_64_shared_cache_size): Likewise.
42560 (__x86_64_raw_shared_cache_size): Likewise.
42561 (__x86_64_shared_cache_size_half): Likewise.
42562 (__x86_64_raw_shared_cache_size_half): Likewise.
42563 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42564 to ...
42565 (__x86_data_cache_size): This.
42566 (__x86_64_raw_data_cache_size): Renamed to ...
42567 (__x86_raw_data_cache_size): This.
42568 (__x86_64_data_cache_size_half): Renamed to ...
42569 (__x86_data_cache_size_half): This.
42570 (__x86_64_raw_data_cache_size_half): Renamed to ...
42571 (__x86_raw_data_cache_size_half): This.
42572 (__x86_64_shared_cache_size): Renamed to ...
42573 (__x86_shared_cache_size): This.
42574 (__x86_64_raw_shared_cache_size): Renamed to ...
42575 (__x86_raw_shared_cache_size): This.
42576 (__x86_64_shared_cache_size_half): Renamed to ...
42577 (__x86_shared_cache_size_half): This.
42578 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42579 (__x86_raw_shared_cache_size_half): This.
42580 * sysdeps/x86_64/memcpy.S: Updated.
42581 * sysdeps/x86_64/memset.S: Likewise.
42582 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42585
42586 2013-01-04 David S. Miller <davem@davemloft.net>
42587
42588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42589
42590 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42591
42592 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42593 1 to avoid redefinition warning.
42594 (__USE_GNU): Don't define.
42595 (init_signaling_nan): Protoize.
42596
42597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42598
42599 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42600
42601 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42603 (__cpymn): Likewise.
42604 (norm): Remove commented code.
42605 (denorm): Likewise.
42606 (__mp_dbl): Likewise.
42607 (__inv): Likewise.
42608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42609 (__cpymn): Likewise.
42610 (norm): Remove commented code.
42611 (denorm): Likewise.
42612 (__mp_dbl): Likewise.
42613 (__inv): Likewise.
42614
42615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42616 mp_no value for 1.0 and 2.0.
42617 (norm): Use RADIXI instead of radixi.d.
42618 (denorm): Likewise.
42619 (__mul): Use 0.0 instead of zero.d.
42620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42621 mp_no value for 1.0 and 2.0.
42622 (norm): Use RADIXI instead of radixi.d.
42623 (denorm): Likewise.
42624 (__mul): Use 0.0 instead of zero.d.
42625
42626 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42627
42628 [BZ #14994]
42629 * math/s_casinh.c (__casinh): Reduce finite argument to first
42630 quadrant then set signs of results at the end.
42631 * math/s_casinhf.c (__casinhf): Likewise.
42632 * math/s_casinhl.c (__casinhl): Likewise.
42633 * math/libm-test.inc (casin_test): Add more tests.
42634 (casinh_test): Likewise.
42635 * sysdeps/i386/fpu/libm-test-ulps: Update.
42636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42637
42638 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42639
42640 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42641
42642 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42643
42644 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42645 declarations.
42646 (denorm): Likewise.
42647 (__mp_dbl): Likewise.
42648 (__inv): Likewise.
42649
42650 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42651 and adjust the header comment.
42652
42653 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42654 variable name from declaration.
42655
42656 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42657
42658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42659 Initialize COMMON_CPUID_INDEX_7 element.
42660 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42661 (CPUID_RTM): Likewise.
42662 (HAS_RTM): Likewise.
42663 (COMMON_CPUID_INDEX_7): New enum.
42664
42665 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42666
42667 [BZ #14981]
42668 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42669 size is zero, record memory as freed.
42670
42671 2013-01-03 Andreas Jaeger <aj@suse.de>
42672
42673 * po/ia.po: Add new Interlingua translation.
42674
42675 2012-01-03 Allan McRae <allan@archlinux.org>
42676
42677 * locale/programs/localedef.c: Fix description of '--posix' flag.
42678
42679 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42680
42681 * NEWS: Update dates in second copyright notice.
42682 * README: Update copyright dates in example.
42683 * manual/libc.texinfo: Update copyright dates.
42684 * scripts/test-installation.pl: Update copyright date in --version
42685 output.
42686
42687 * hurd/ctty-input.c: Fix copyright notice formatting.
42688 * hurd/ctty-output.c: Likewise.
42689 * hurd/dtable.c: Likewise.
42690 * hurd/hurd-raise.c: Likewise.
42691 * hurd/hurdprio.c: Likewise.
42692 * hurd/msgportdemux.c: Likewise.
42693 * misc/sys/file.h: Likewise.
42694 * misc/sys/ioctl.h: Likewise.
42695 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42696 * sysdeps/mach/hurd/chdir.c: Likewise.
42697 * sysdeps/mach/hurd/fchdir.c: Likewise.
42698 * sysdeps/mach/hurd/rename.c: Likewise.
42699 * sysdeps/mach/hurd/rmdir.c: Likewise.
42700 * sysdeps/mach/hurd/seekdir.c: Likewise.
42701 * sysdeps/mach/hurd/setsid.c: Likewise.
42702 * sysdeps/posix/wait3.c: Likewise.
42703
42704 * All files with FSF copyright notices: Update copyright dates
42705 using scripts/update-copyrights.
42706 * intl/plural.c: Regenerated.
42707 * locale/programs/charmap-kw.h: Likewise.
42708 * locale/programs/locfile-kw.h: Likewise.
42709
42710 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42711
42712 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42713 four values.
42714
42715 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42716 calculation loop and add branch prediction.
42717
42718 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42719 check access beyond bounds of m1np.
42720
42721 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42722 MPTWO.
42723 (__inv): Remove local variable MPTWO to use the global
42724 constant.
42725 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42726 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42727 variable MPTWO.
42728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42729 MP3HALFS static const.
42730
42731 2013-01-01 David S. Miller <davem@davemloft.net>
42732
42733 * po/ca.po: Update from translation team.
42734
42735 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42736
42737 * scripts/update-copyrights: New file.
42738 * Makeconfig: Reformat copyright notice.
42739 * ctype/ctype.h: Likewise.
42740 * debug/swprintf_chk.c: Likewise.
42741 * elf/dl-cache.c: Likewise.
42742 * elf/dl-debug.c: Likewise.
42743 * elf/dl-object.c: Likewise.
42744 * grp/initgroups.c: Likewise.
42745 * hurd/Makefile: Likewise.
42746 * hurd/hurd/signal.h: Likewise.
42747 * hurd/hurdfault.c: Likewise.
42748 * hurd/hurdioctl.c: Likewise.
42749 * hurd/hurdlookup.c: Likewise.
42750 * hurd/intr-msg.c: Likewise.
42751 * iconv/gconv_open.c: Likewise.
42752 * libio/swprintf.c: Likewise.
42753 * locale/lc-ctype.c: Likewise.
42754 * locale/nl_langinfo.c: Likewise.
42755 * mach/Machrules: Likewise.
42756 * mach/Makefile: Likewise.
42757 * malloc/obstack.h: Likewise.
42758 * manual/Makefile: Likewise.
42759 * manual/tsort.awk: Likewise.
42760 * misc/bits/stab.def: Likewise.
42761 * nis/nis_print_group_entry.c: Likewise.
42762 * nis/nis_table.c: Likewise.
42763 * nis/nss_compat/compat-pwd.c: Likewise.
42764 * nis/nss_compat/compat-spwd.c: Likewise.
42765 * po/Makefile: Likewise.
42766 * posix/fnmatch.c: Likewise.
42767 * posix/regex.h: Likewise.
42768 * resolv/Makefile: Likewise.
42769 * resolv/nss_dns/dns-network.c: Likewise.
42770 * resolv/res_hconf.c: Likewise.
42771 * scripts/gen-sorted.awk: Likewise.
42772 * soft-fp/soft-fp.h: Likewise.
42773 * stdio-common/printf.h: Likewise.
42774 * stdlib/monetary.h: Likewise.
42775 * stdlib/random.c: Likewise.
42776 * stdlib/random_r.c: Likewise.
42777 * sysdeps/generic/Makefile: Likewise.
42778 * sysdeps/gnu/Makefile: Likewise.
42779 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42780 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42781 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42783 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42791 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42792 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42793 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42794 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42796 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42797 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42798 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42799 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42800 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42802 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42803 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42804 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42805 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42807 * sysdeps/mach/hurd/errnos.awk: Likewise.
42808 * sysdeps/mach/hurd/fork.c: Likewise.
42809 * sysdeps/mach/hurd/getcwd.c: Likewise.
42810 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42811 * sysdeps/mach/hurd/mmap.c: Likewise.
42812 * sysdeps/mach/hurd/utimes.c: Likewise.
42813 * sysdeps/mach/hurd/xmknod.c: Likewise.
42814 * sysdeps/posix/profil.c: Likewise.
42815 * sysdeps/posix/readdir_r.c: Likewise.
42816 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42817 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42818 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42819 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42821 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42822 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42823 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42825 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42826 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42827 * sysdeps/pthread/lio_listio.c: Likewise.
42828 * sysdeps/sparc/dl-procinfo.h: Likewise.
42829 * sysdeps/unix/i386/sysdep.S: Likewise.
42830 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42831 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42832 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42833 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42835 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42836 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42837 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42838 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42839 * sysdeps/wordsize-32/divdi3.c: Likewise.
42840 * time/sys/time.h: Likewise.
42841 * wcsmbs/Makefile: Likewise.
42842
42843 2013-01-01 David S. Miller <davem@davemloft.net>
42844
42845 * po/fr.po: Update from translation team.
42846
42847 * catgets/gencat.c: Update copyright year.
42848 * csu/version.c: Likewise.
42849 * debug/catchsegv.sh: Likewise.
42850 * debug/pcprofiledump.c: Likewise.
42851 * debug/xtrace.sh: Likewise.
42852 * elf/ldconfig.c: Likewise.
42853 * elf/ldd.bash.in: Likewise.
42854 * elf/pldd.c: Likewise.
42855 * elf/sotruss.ksh: Likewise.
42856 * elf/sprof.c: Likewise.
42857 * iconv/iconv_prog.c: Likewise.
42858 * iconv/iconvconfig.c: Likewise.
42859 * locale/programs/locale.c: Likewise.
42860 * locale/programs/localedef.c: Likewise.
42861 * login/programs/pt_chown.c: Likewise.
42862 * malloc/memusage.sh: Likewise.
42863 * malloc/memusagestat.c: Likewise.
42864 * malloc/mtrace.pl: Likewise.
42865 * nscd/nscd.c: Likewise.
42866 * nss/getent.c: Likewise.
42867 * nss/makedb.c: Likewise.
42868 * posix/getconf.c: Likewise.
42869
42870 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42871
42872 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42873 numbers.
42874
42875 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42876
42877 * math/bits/mathcalls.h (modf): Use __nonnull.
42878
42879 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42880
42881 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42882 (split): Use macro CN instead of the bare value.
42883 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42884 could be used.
42885 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42886 instead of the bare value.
42887 (power1): Likewise.
42888
42889 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42890
42891 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42892 __ATAN_TWOM.
42893 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42894
42895 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42896 their values.
42897 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42898 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42899 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42900 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42901
42902 2012-12-28 Andreas Jaeger <aj@suse.de>
42903
42904 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42905 values are from Linux 3.7.
42906
42907 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42908 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42909
42910 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42911
42912 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42913 TRUE case.
42914
42915 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42916 (norm): Likewise.
42917 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42918 variables with preprocessor constants.
42919 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42920 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42921 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42922
42923 2012-12-27 Bruno Haible <bruno@clisp.org>
42924
42925 [BZ #14317]
42926 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42927 only if needed.
42928
42929 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42930
42931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42932 and use variable directly.
42933 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42934
42935 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42936 MPONE.
42937 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42938 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42939 variable MPONE.
42940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42942 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42943 include directive. Remove local variable MPONE.
42944 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42945 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42947
42948 2012-12-25 David S. Miller <davem@davemloft.net>
42949
42950 * version.h (RELEASE): Set to "development".
42951 (VERSION): Set to "2.17.90".
42952 * NEWS: Add 2.18 section.
42953
42954 2012-12-21 David S. Miller <davem@davemloft.net>
42955
42956 * po/hr.po: Update from translation team.
42957
42958 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42959
42960 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42961
42962 2012-12-19 Steve Ellcey <sellcey@mips.com>
42963
42964 * NEWS: Mention new memcpy for MIPS.
42965
42966 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42967
42968 * manual/contrib.texi (Contributors): Spelling correction.
42969
42970 2012-12-15 David S. Miller <davem@davemloft.net>
42971
42972 * po/ru.po: Update from translation team.
42973
42974 2012-12-13 David S. Miller <davem@davemloft.net>
42975
42976 * NEWS: Mention IFUNC testsuite enhancements.
42977
42978 * po/pl.po: Update from translation team.
42979 * po/bg.po: Likewise.
42980
42981 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42982 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42983
42984 2012-12-11 David S. Miller <davem@davemloft.net>
42985
42986 * po/sv.po: Update from translation team.
42987
42988 * po/vi.po: Update from translation team.
42989
42990 * po/cs.po: Update from translation team.
42991
42992 * po/de.po: Update from translation team.
42993 * po/eo.po: Likewise.
42994 * po/nl.po: Likewise.
42995
42996 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42997
42998 [BZ #14246]
42999 * manual/argp.texi (Argp Helper Functions): Move node to follow
43000 Argp Parsing State.
43001
43002 [BZ #14872]
43003 * manual/conf.texi (Limits on File System Capacity): Mention if
43004 terminating null is included in the max size.
43005
43006 2012-12-10 Andreas Jaeger <aj@suse.de>
43007
43008 * po/cs.po: Update from translation team.
43009
43010 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43011
43012 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43013 void pointer and cast to uintptr_t.
43014 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43015 path.
43016 * sysdeps/s390/s390-64/memcpy.S: Likewise.
43017 * sysdeps/s390/s390-64/memset.S: Likewise.
43018
43019 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
43020
43021 [BZ #14833]
43022 * menual/message.texi (Message Translation): Fix typos.
43023 (Helper programs for gettext): Likewise.
43024
43025 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
43026
43027 [BZ #14898]
43028 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43029 Change to -1.
43030
43031 2012-12-07 David S. Miller <davem@davemloft.net>
43032
43033 * po/libc.pot: Update.
43034
43035 2012-12-07 Richard Henderson <rth@redhat.com>
43036
43037 [BZ #10114]
43038 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43039 normal/normal case to before the switch.
43040 (_FP_DIV): Likewise.
43041
43042 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
43043 Mike Frysinger <vapier@gentoo.org>
43044
43045 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43046 check for __NR_fadvise64_64.
43047
43048 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
43049
43050 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43051 0, not just to plain "0" as a statement.
43052 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43053 with cw.
43054
43055 2012-12-06 Joseph Myers <joseph@codesourcery.com>
43056
43057 * NEWS: Use sourceware.org in Bugzilla URL.
43058
43059 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43060
43061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43062 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43063
43064 * stdio-common/tst-put-error.c (do_test): Add newline to the
43065 padded test to ensure flush.
43066
43067 2012-12-05 Jeff Law <law@redhat.com>
43068
43069 * sunrpc/etc.rpc (fedfs_admin): Add entry.
43070
43071 2012-12-05 Joseph Myers <joseph@codesourcery.com>
43072
43073 * README: Don't refer to ports add-on as distributed separately.
43074 Mention AArch64 in list of systems supported in the ports add-on.
43075
43076 * LICENSES: Add more non-FSF copyright and license notices.
43077
43078 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43079 ((unused)).
43080
43081 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43082
43083 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43084 10000 as width of padded output.
43085
43086 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43087
43088 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43089
43090 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43091 variable LX with __attribute__ ((unused)).
43092 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43093 Likewise.
43094 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43096 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43097 with __attribute__ ((unused)).
43098
43099 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
43100
43101 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43102
43103 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43104
43105 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43106 (CFLAGS-nldbl-acos.c): New variable.
43107 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43108 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43109 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43110 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43111 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43112 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43113 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43114 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43115 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43116 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43117 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43118 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43119 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43120 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43121 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43122 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43123 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43124 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43125 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43126 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43127 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43128 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43129 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43130 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43131 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43132 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43133 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43134 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43135 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43136 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43137 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43138 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43139 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43140 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43141 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43142 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43143 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43144 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43145 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43146 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43147 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43148 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43149 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43150 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43151 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43152 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43153 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43154 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43155 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43156 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43157 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43158 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43159 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43160 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43161 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43162 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43163 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43164 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43165 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43166 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43167 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43168 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43169 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43170 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43171 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43172 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43173 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43174 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43175 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43176 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43177 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43178 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43179 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43180 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43181 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43182 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43183 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43184 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43185 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43186 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43187 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43188 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43189 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43190 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43191 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43192 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43193 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43194 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43195 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43196 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43197 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43198 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43199 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43200 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43201 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43202 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43203 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43204
43205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43206 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43207
43208 [BZ #14914]
43209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43210 whole low double instead of just low 47 bits when splitting values
43211 into two parts.
43212
43213 2012-12-03 Allan McRae <allan@archlinux.org>
43214
43215 * manual/stdio.texi (Predefined Printf Handlers): Remove
43216 @hsep and @vsep usage.
43217
43218 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43219
43220 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43221 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43222
43223 2012-12-03 Jeff Law <law@redhat.com>
43224
43225 * time/sys/time.h (settimeofday): Do not mark TV argument
43226 as __nonnull.
43227
43228 2012-12-01 Mike Frysinger <vapier@gentoo.org>
43229
43230 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43231 when currently writing and seek to current position when not.
43232 * libio/Makefile (tests): Remove bug-fclose1.
43233 * libio/bug-fclose1.c: Delete.
43234
43235 2012-12-01 Joseph Myers <joseph@codesourcery.com>
43236
43237 * manual/arith.texi (feenableexcept): Fix typo.
43238 (fedisableexcept): Likewise.
43239
43240 2012-11-30 Roland McGrath <roland@hack.frob.com>
43241
43242 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43243 second, differently-typed declaration, rather than a cast.
43244
43245 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43246
43247 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43248 * include/rpc/svc.h: ... here.
43249
43250 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43251
43252 [BZ #13013]
43253 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43254 depending n and resplen2 to catch cases where answer
43255 equals answerp2.
43256
43257 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43258
43259 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43260 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43261
43262 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43263
43264 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43265
43266 2012-11-29 Roland McGrath <roland@hack.frob.com>
43267
43268 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43269
43270 2012-11-28 Jeff Law <law@redhat.com>
43271
43272 [BZ #13761]
43273 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43274 dataset_temporary. Track alloca usage into alloca_used.
43275 If dataset is large allocate and release it via malloc/free.
43276
43277 2012-06-04 Florian Weimer <fweimer@redhat.com>
43278
43279 [BZ #14197]
43280 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43281
43282 2012-11-28 David S. Miller <davem@davemloft.net>
43283
43284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43285
43286 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43287
43288 [BZ #14803]
43289 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43290 of pi/2 rounded to nearest to 64 bits.
43291 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43292 nearest to 64 bits.
43293 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43294 bits.
43295
43296 2012-11-28 Jeff Law <law@redhat.com>
43297 Martin Osvald <mosvald@redhat.com>
43298
43299 [BZ #14889]
43300 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43301 * sunrpc/svc.c: Include time.h.
43302 (__svc_accept_failed): New function.
43303 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43304 any reason other than EINTR, call __svc_accept_failed.
43305 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43306 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43307
43308 2012-11-28 Andreas Schwab <schwab@suse.de>
43309
43310 * scripts/abilist.awk: Also handle indirect functions in .opd
43311 section.
43312
43313 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43314
43315 [BZ #13881]
43316 * sysdeps/x86/fpu/powl_helper.c: New file.
43317 * sysdeps/x86/fpu/Makefile: Likewise.
43318 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43319 (p3): New object.
43320 (__ieee754_powl): Use __powl_helper for finite arguments except
43321 integer exponents below 8.
43322 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43323 (p3): New object.
43324 (__ieee754_powl): Use __powl_helper for finite arguments except
43325 integer exponents below 8.
43326 * math/libm-test.inc (pow_test): Add more tests and enable some
43327 previously disabled tests.
43328 * sysdeps/i386/fpu/libm-test-ulps: Update.
43329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43330
43331 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43332 Carlos O'Donell <carlos_odonell@mentor.com>
43333
43334 * nss/makedb.c (is_prime): Assert that input is odd and greater
43335 than 4. Note that fact in a comment too.
43336 (next_prime): Add 4 to input.
43337
43338 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43339
43340 [BZ #11741]
43341 * libio/Makefile (tests): Add test case tst-fwrite-error.
43342 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43343 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43344 * libio/tst-fwrite-error.c: New test case.
43345
43346 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43347
43348 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43349 before casting to void *.
43350 * include/libc-internal.h (__pointer_type): New macro.
43351 (__integer_if_pointer_type_sub): Likewise.
43352 (__integer_if_pointer_type): Likewise.
43353 (cast_to_integer): Likewise.
43354 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43355 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43356 before casting to atomic64_t.
43357 (atomic_exchange_acq): Likewise.
43358 (__arch_exchange_and_add_body): Likewise.
43359 (__arch_add_body): Likewise.
43360 (atomic_add_negative): Likewise.
43361 (atomic_add_zero): Likewise.
43362
43363 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43364
43365 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43366 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43367 (add_fdes): Likewise.
43368 (linear_search_fdes): Likewise.
43369 (binary_search_unencoded_fdes): Likewise.
43370
43371 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43372
43373 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43374
43375 2012-11-24 Adam Conrad <adconrad@0c3.net>
43376
43377 * configure.in: Autodetect C++ header directories.
43378 * configure: Regenerated.
43379
43380 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43381
43382 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43383
43384 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43385
43386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43387
43388 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43389
43390 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43391 LDBL_MANT_DIG == 106]: Disable some tests.
43392 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43393 Likewise.
43394 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43395 Likewise.
43396
43397 [BZ #14871]
43398 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43399 input for small inputs. Return +/- pi/2 for large inputs.
43400 * math/libm-test.inc (atan_test): Add more tests.
43401
43402 * sysdeps/generic/unwind-dw2-fde-glibc.c
43403 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43404 __attribute__ ((unused)).
43405
43406 [BZ #14645]
43407 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43408 x * y if x and y are nonzero and z is zero.
43409
43410 [BZ #14811]
43411 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43412 nonzero exponents with absolute value below 0x1p-117 to +/-
43413 0x1p-117.
43414
43415 [BZ #14869]
43416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43417 up arguments below 2**-450, not just those below 2**-500.
43418 * math/libm-test.inc (hypot_test): Add another test.
43419
43420 [BZ #14868]
43421 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43422 Return a+b for ratio over 2**120, not 2**60.
43423 * math/libm-test.inc (hypot_test): Add another test.
43424
43425 * math/libm-test.inc (clog_test): Use
43426 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43427 (clog10_test): Likewise.
43428
43429 [BZ #6778]
43430 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43431
43432 2012-11-22 Andreas Schwab <schwab@suse.de>
43433
43434 * sysdeps/i386/fpu/libm-test-ulps: Update.
43435
43436 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43437
43438 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43439 printf output with newline.
43440
43441 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43442
43443 [BZ #14865]
43444 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43445 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43446 -z nodlopen, -z initfirst and -z execstack support.
43447 * configure: Regenerated.
43448
43449 * elf/elf.h (DF_1_NODIRECT): New macro.
43450 (DF_1_IGNMULDEF): Likewise.
43451 (DF_1_NOKSYMS): Likewise.
43452 (DF_1_NOHDR): Likewise.
43453 (DF_1_EDITED): Likewise.
43454 (DF_1_NORELOC): Likewise.
43455 (DF_1_SYMINTPOSE): Likewise.
43456 (DF_1_GLOBAUDIT): Likewise.
43457 (DF_1_SINGLETON): Likewise.
43458 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43459 DT_1_SUPPORTED_MASK bits.
43460 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43461
43462 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43463
43464 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43465
43466 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43467
43468 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43469 macro.
43470
43471 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43472 (sendmmsg): Move declarations...
43473 * socket/sys/socket.h: ... here.
43474 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43475 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43476 include it from...
43477 * socket/recvmmsg.c: ... this new file.
43478 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43479 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43480 definition of __sendmmsg hidden.
43481 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43482 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43483 Move ENOSYS stub into and include it from...
43484 * socket/sendmmsg.c: ... this new file.
43485 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43486 (sysdep_routines): Move recvmmsg and sendmmsg...
43487 * socket/Makefile (routines): ... here.
43488 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43489 (GLIBC_PRIVATE): Add __sendmmsg.
43490 * include/sys/socket.h (__sendmmsg): Add declarations.
43491 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43492 sendmmsg.
43493
43494 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43495
43496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43497 variable I1 with __attribute__ ((unused)).
43498 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43499
43500 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43501
43502 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43503 DUMMY variables with __attribute__ ((unused)).
43504
43505 * bits/byteswap.h: Include <bits/types.h>.
43506 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43507
43508 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43509
43510 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43511 string_t. Do not manually set errno.
43512 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43513 length with __strnlen. Make sure to both set errno and return it on
43514 failure.
43515
43516 2012-11-19 David S. Miller <davem@davemloft.net>
43517
43518 With help from Joseph Myers.
43519 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43520 very large arguments properly.
43521 * math/libm-test.inc (atan_test): New tests.
43522 (atan2_test): New tests.
43523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43525
43526 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43527
43528 [BZ #14856]
43529 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43530 Define to 3.
43531
43532 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43533 [POSIX] (EADDRNOTAVAIL): Likewise.
43534 [POSIX] (EAFNOSUPPORT): Likewise.
43535 [POSIX] (EALREADY): Likewise.
43536 [POSIX] (ECONNABORTED): Likewise.
43537 [POSIX] (ECONNREFUSED): Likewise.
43538 [POSIX] (ECONNRESET): Likewise.
43539 [POSIX] (EDESTADDRREQ): Likewise.
43540 [POSIX] (EDQUOT): Likewise.
43541 [POSIX] (EHOSTUNREACH): Likewise.
43542 [POSIX] (EIDRM): Likewise.
43543 [POSIX] (EISCONN): Likewise.
43544 [POSIX] (ELOOP): Likewise.
43545 [POSIX] (EMULTIHOP): Likewise.
43546 [POSIX] (ENETDOWN): Likewise.
43547 [POSIX] (ENETUNREACH): Likewise.
43548 [POSIX] (ENOBUFS): Likewise.
43549 [POSIX] (ENODATA): Likewise.
43550 [POSIX] (ENOLINK): Likewise.
43551 [POSIX] (ENOMSG): Likewise.
43552 [POSIX] (ENOPROTOOPT): Likewise.
43553 [POSIX] (ENOSR): Likewise.
43554 [POSIX] (ENOSTR): Likewise.
43555 [POSIX] (ENOTCONN): Likewise.
43556 [POSIX] (ENOTSOCK): Likewise.
43557 [POSIX] (EOPNOTSUPP): Likewise.
43558 [POSIX] (EOVERFLOW): Likewise.
43559 [POSIX] (EPROTO): Likewise.
43560 [POSIX] (EPROTONOSUPPORT): Likewise.
43561 [POSIX] (EPROTOTYPE): Likewise.
43562 [POSIX] (ESTALE): Likewise.
43563 [POSIX] (ETIME): Likewise.
43564 [POSIX] (ETXTBSY): Likewise.
43565 [POSIX] (EWOULDBLOCK): Likewise.
43566 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43567 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43568 [POSIX] (SEEK_CUR): Likewise.
43569 [POSIX] (SEEK_END): Likewise.
43570 [POSIX || UNIX98] (mode_t): Do not require.
43571 [POSIX] (off_t): Likewise.
43572 [POSIX] (pid_t): Likewise.
43573 [POSIX] (sys/stat.h): Do not allow header.
43574 [POSIX] (unistd.h): Likewise.
43575 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43576 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43577 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43578 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43579 require.
43580 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43581 sigevent): Specify elements.
43582 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43583 entry.
43584 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43585 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43586
43587 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43588 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43589 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43590 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43591 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43592 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43593 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43594 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43595 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43596 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43597 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43598 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43599 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43600 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43601 Likewise.
43602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43603 Likewise.
43604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43605 Likewise.
43606 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43607 Likewise.
43608 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43609 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43610 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43611 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43612 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43613 Specify lower bound on value.
43614 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43615 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43616 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43617 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43618 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43619 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43620 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43621 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43622 value.
43623 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43624 as optional.
43625 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43626 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43627 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43628 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43629 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43630 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43631 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43632 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43633 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43634 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43635 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43636 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43637 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43638 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43639 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43640 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43641 entry.
43642 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43643 optional.
43644 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43645 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43646 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43647 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43648 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43649 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43650 Likewise.
43651 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43652 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43653 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43654 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43655 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43656 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43657 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43658 as optional.
43659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43660 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43661 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43662 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43663 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43664 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43665 specify as optional.
43666 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43667 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43668 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43669 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43670 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43671 [XPG3] (NL_LANGMAX): Likewise.
43672 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43673 [POSIX || XPG3] (NL_NMAX): Likewise.
43674 [POSIX || XPG3] (NL_SETMAX): Likewise.
43675 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43676 [XPG3] (NZERO): Likewise.
43677 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43678 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43679 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43680 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43681 (REG_ERANGE): Expect.
43682 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43683 optional-constant.
43684 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43685 Use (void) in prototype.
43686 [POSIX] (*_t): Allow.
43687 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43688 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43689 (WRDE_BADVAL): Expect.
43690
43691 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43692 expect.
43693 [XPG3 || XPG4] (O_RSYNC): Likewise.
43694 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43695 Likewise.
43696 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43697 [XPG3 || XPG4] (sigqueue): Likewise.
43698 [XPG3 || XPG4] (sigtimedwait): Likewise.
43699 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43700 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43701 [XPG3 || XPG4] (vsnprintf): Likewise.
43702 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43703 Likewise.
43704 [XPG3 || XPG4] (blksize_t): Likewise.
43705 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43706 Likewise.
43707 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43708 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43709 [XPG3 || XPG4] (struct itimerspec): Likewise.
43710 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43711 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43712 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43713 [XPG3 || XPG4] (clockid_t): Likewise.
43714 [XPG3 || XPG4] (timer_t): Likewise.
43715 [XPG3 || XPG4] (clock_getres): Likewise.
43716 [XPG3 || XPG4] (clock_gettime): Likewise.
43717 [XPG3 || XPG4] (clock_settime): Likewise.
43718 [XPG3 || XPG4] (nanosleep): Likewise.
43719 [XPG3 || XPG4] (timer_create): Likewise.
43720 [XPG3 || XPG4] (timer_delete): Likewise.
43721 [XPG3 || XPG4] (timer_gettime): Likewise.
43722 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43723 [XPG3 || XPG4] (timer_settime): Likewise.
43724 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43725 [XPG3 || XPG4] (getlogin_r): Likewise.
43726 [XPG3 || XPG4] (pread): Likewise.
43727 [XPG3 || XPG4] (pthread_atfork): Likewise.
43728 [XPG3 || XPG4] (pwrite): Likewise.
43729
43730 [BZ #14835]
43731 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43732 <bits/siginfo.h>.
43733
43734 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43735
43736 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43737 finalizing MALLSTREAM.
43738
43739 * sysdeps/mach/hurd/syncfs.c: New file.
43740
43741 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43742
43743 [BZ #14719]
43744 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43745 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43746 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43747 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43748 (_nss_dns_gethostbyname4_r): Likewise.
43749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43750 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43751
43752 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43753
43754 [BZ #13763]
43755 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43756
43757 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43758
43759 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43760 * elf/cache.c (print_entry): Print ",AArch64" for
43761 FLAG_AARCH64_LIB64
43762
43763 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43764 * elf/cache.c (print_entry): Print ",hard-float" for
43765 FLAG_ARM_LIBHF.
43766
43767 2012-11-18 David S. Miller <davem@davemloft.net>
43768
43769 With help from Joseph Myers.
43770 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43771 cutoff to 2**-13.
43772 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43773 cutoff to 2**-25.
43774 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43775 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43776 small.
43777 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43778 * math/libm-test.inc (y0_test): New tests.
43779 (y1_test): New tests.
43780 * sysdeps/i386/fpu/libm-test-ulps: Update.
43781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43783
43784 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43785
43786 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43787 64-bit targets.
43788 * configure: Regenerated.
43789
43790 2012-11-17 David S. Miller <davem@davemloft.net>
43791
43792 [BZ #14811]
43793 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43794 nonzero exponents with absolute value below 0x1p-128 to +/-
43795 0x1p-128.
43796
43797 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43798
43799 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43800
43801 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43802
43803 * posix/getconf-speclist.c: New file.
43804 * posix/posix-envs.def: Likewise.
43805 * posix/confstr.c (START_ENV_GROUP): New macro.
43806 (END_ENV_GROUP): Likewise.
43807 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43808 (KNOWN_PRESENT_ENV_STRING): Likewise.
43809 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43810 (UNKNOWN_ENVIRONMENT): Likewise.
43811 (confstr): Include posix-envs.def instead of handling
43812 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43813 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43814 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43815 (END_ENV_GROUP): Likewise.
43816 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43817 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43818 (UNKNOWN_ENVIRONMENT): Likewise.
43819 (__sysconf): Include posix-envs.def instead of handling associated
43820 cases directly here.
43821 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43822 preprocessing getconf-speclist.c rather than running getconf or
43823 generating empty file.
43824
43825 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43826
43827 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43828
43829 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43830
43831 [BZ #14672]
43832 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43833
43834 2012-11-16 David S. Miller <davem@davemloft.net>
43835
43836 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43837 smaller than LDBL_EPSILON/2.0L, just return xm1.
43838
43839 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43840
43841 * elf/tst-array1.c (init): Set constructor priority to 1000.
43842 (fini): Set destructor priority to 1000.
43843 * elf/tst-array2dep.c: Likewise.
43844
43845 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43846
43847 [BZ #11741]
43848 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43849 (_IO_new_file_xsputn): Also return EOF if none of the input
43850 data was written when overflow failed.
43851 * libio/iopadn.c (_IO_padn): Likewise.
43852 * libio/iowpadn.c (_IO_wpadn): Likewise.
43853 * stdio-common/tst-put-error.c: Add copyright notice.
43854 (do_test): Add case for printing padded string.
43855 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43856 _IO_padn returned error.
43857 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43858 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43859 return EOF.
43860
43861 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43862
43863 * libio/libioP.h: Add comment note that the references to C++
43864 bits are now obsolete.
43865
43866 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43867
43868 * math/libm-test.inc (check_complex): Use asprintf.
43869
43870 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43871
43872 * debug/pcprofiledump.c (print_version): Update copyright year.
43873 * malloc/memusagestat.c (print_version): Likewise.
43874
43875 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43876
43877 [BZ #14831]
43878 * elf/Makefile (tests): Add tst-audit8.
43879 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43880 ($(objpfx)tst-audit8.out): New target.
43881 (tst-audit8-ENV): New variable.
43882 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43883 audit if l_reloc_result is NULL.
43884 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43885 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43886 * elf/tst-audit8.c: New file.
43887
43888 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43889
43890 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43891 * misc/Makefile (CFLAGS-select.c): Define.
43892 * posix/Makefile (CFLAGS-pause.c): Define.
43893
43894 2012-11-13 David S. Miller <davem@davemloft.net>
43895
43896 * crypt/Makefile: Move test targets after toplevel Rules
43897 inclusion. Grab any necessary sysdep routines when linking.
43898 * crypt/md5.c (md5_process_block): Remove define, we will always
43899 name it __md5_process_block.
43900 (md5_finish_ctx): Update md5_process_block call.
43901 (md5_stream): Likewise.
43902 (md5_process_bytes): Likewise.
43903 (md5_process_block): Rename to __md5_process_block and move to ...
43904 * crypt/md5-block.c: ... here.
43905 * crypt/sha256.c (sha256_process_block): Move to ...
43906 * crypt/sha256-block.c: ... here.
43907 * crypt/sha512.c (sha512_process_block): Move to ...
43908 * crypt/sha512-block.c: ... here.
43909 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43910 path.
43911 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43912 * sysdeps/sparc/sparc64/multiarch/Makefile
43913 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43914 crypt subdir.
43915 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43916 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43917 multiarch changes.
43918 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43919 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43920 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43921 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43922 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43923 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43924 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43925 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43927 file.
43928 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43929 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43930 file.
43931 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43932
43933 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43934
43935 * timezone/tzselect.ksh: Update from tzcode git revision
43936 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43937 * timezone/zdump.c: Likewise.
43938 * timezone/zic.c: Likewise.
43939 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43940 in TZVERSION setting, not $(PKGVERSION).
43941 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43942 REPORT_BUGS_TO settings.
43943
43944 [BZ #14838]
43945 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43946 macro.
43947
43948 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43949
43950 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43951 detection to immediately after _FP_ROUND().
43952 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43953 bits are 0.
43954
43955 2012-11-11 David S. Miller <davem@davemloft.net>
43956
43957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43958 inttypes.h
43959 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43960 __close rather than their public counterparts.
43961
43962 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43963
43964 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43965 file.
43966 [UNIX98] (sem_timedwait): Do not expect.
43967 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43968 [XPG4 || UNIX98] (sockatmark): Do not expect.
43969 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43970 (clock_getcpuclockid): Do not expect.
43971 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43972 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43973 Do not expect.
43974 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43975 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43976 [UNIX98] (vwscanf): Likewise.
43977 [UNIX98] (vswscanf): Likewise.
43978
43979 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43980
43981 * timezone/version.h: Remove file.
43982 * timezone/README: Do not refer to version.h.
43983 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43984 $(objpfx)version.h.
43985 ($(objpfx)zdump.o): Likewise.
43986 ($(objpfx)version.h): New target.
43987
43988 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43989 2012i.
43990 * timezone/README: Don't mention modification to tzselect.ksh.
43991 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43992 work on unmodified tzselect.ksh. Substitute version numbers in
43993 tzselect.ksh.
43994
43995 * Makefile (format-me): Remove.
43996 (INSTALL): Adjust indentation. Use commands directly instead of
43997 using $(format-me).
43998
43999 * aclocal.m4 (ACX_PKGVERSION): New macro.
44000 (ACX_BUGURL): Likewise.
44001 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44002 (PKGVERSION): New AC_DEFINE_UNQUOTED.
44003 (REPORT_BUGS_TO): Likewise.
44004 * configure: Regenerated.
44005 * config.h.in (PKGVERSION): New macro.
44006 (REPORT_BUGS_TO): Likewise.
44007 * config.make.in (PKGVERSION): New variable.
44008 (PKGVERSION_TEXI): Likewise.
44009 (REPORT_BUGS_TO): Likewise.
44010 (REPORT_BUGS_TEXI): Likewise.
44011 * Makefile (format-me): Use -I$(common-objpfx)manual.
44012 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44013 ($(common-objpfx)manual/%): New target.
44014 (manual/%): Remove target.
44015 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44016 (print_version): Use PKGVERSION.
44017 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44018 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44019 and REPORT_BUGS_TO.
44020 ($(objpfx)xtrace): Likewise.
44021 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44022 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44023 (print_version): Use PKGVERSION.
44024 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44025 (do_version): Use PKGVERSION.
44026 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44027 REPORT_BUGS_TO.
44028 (common-ldd-rewrite): Likewise.
44029 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44030 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44031 (print_version): Use PKGVERSION.
44032 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44033 * elf/pldd.c (argp_program_bug_address): Remove variable.
44034 (more_help): New function.
44035 (argp): Use more_help.
44036 (print_version): Use PKGVERSION.
44037 * elf/sln.c (main): Use PKGVERSION.
44038 (usage): Use REPORT_BUGS_TO.
44039 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44040 (top level): Use PKGVERSION.
44041 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44042 (print_version): Use PKGVERSION.
44043 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44044 (print_version): Use PKGVERSION.
44045 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44046 (print_version): Use PKGVERSION.
44047 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44048 (print_version): Use PKGVERSION.
44049 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44050 (print_version): Use PKGVERSION.
44051 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44052 (print_version): Use PKGVERSION.
44053 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44054 and BUGURL.
44055 ($(objpfx)memusage): Likewise.
44056 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44057 (do_version): Use PKGVERSION.
44058 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44059 (print_version): Use PKGVERSION.
44060 * malloc/mtrace.pl ($PACKAGE): Remove variable.
44061 ($PKGVERSION): New variable.
44062 ($REPORT_BUGS_TO): Likewise.
44063 (usage): Use $REPORT_BUGS_TO.
44064 (top level): Use $PKGVERSION.
44065 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44066 ($(objpfx)pkgvers.texi): New rule.
44067 ($(objpfx)stamp-pkgvers): Likewise.
44068 * manual/install.texi: Include pkgvers.texi.
44069 (--with-pkgversion): Document new configure option.
44070 (--with-bugurl): Likewise.
44071 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44072 than necessarily for this particular distribution. Use
44073 REPORT_BUGS_TO for where to report bugs.
44074 * INSTALL: Regenerated.
44075 * manual/libc.texinfo: Include pkgvers.texi.
44076 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44077 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44078 (print_version): Use PKGVERSION.
44079 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44080 (print_version): Use PKGVERSION.
44081 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44082 (print_version): Use PKGVERSION.
44083 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44084 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44085 macro.
44086 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44087 (print_version): Use PKGVERSION.
44088 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44089 (print_version): Use PKGVERSION.
44090 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44091 and PKGVERSION.
44092
44093 * timezone/checktab.awk: Update from tzcode 2012i.
44094 * timezone/ialloc.c: Likewise.
44095 * timezone/private.h: Likewise.
44096 * timezone/scheck.c: Likewise.
44097 * timezone/tzfile.h: Likewise.
44098 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44099 (TZVERSION): Hardcode tzcode version number.
44100 * timezone/zdump.c: Update from tzcode 2012i.
44101 * timezone/zic.c: Likewise.
44102 * timezone/version.h: New file.
44103 * timezone/README: Describe version.h. Update upstream location.
44104
44105 [BZ #14824]
44106 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44107 (mktemp): Enable declaration.
44108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44112 Likewise.
44113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44114 Likewise.
44115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44116 Likewise.
44117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44118 Likewise.
44119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44120 Likewise.
44121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44122 Likewise.
44123
44124 [BZ #14821]
44125 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44126 offset in buffer as u_int32_t not u_long. Consistently use memcpy
44127 for copies of such integer values.
44128 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44129 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44130
44131 2012-11-09 Andreas Jaeger <aj@suse.de>
44132
44133 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44134 definitions and declarations that are provided by
44135 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44136
44137 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44138
44139 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44140 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44141 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44142 definition.
44143
44144 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44145
44146 * elf/elf.h: Update comment before AArch64 relocations.
44147
44148 2012-11-07 David S. Miller <davem@davemloft.net>
44149
44150 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44151 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44152 (__start_context): Declare.
44153 (__makecontext_ret): Delete.
44154 (__makecontext): Hook up __start_context instead of
44155 __makecontext_ret.
44156 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44157 (sysdep_routines): Add __start_context when in stdlib.
44158
44159 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44160
44161 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44162 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44163 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44164 hardcoded "nm".
44165 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44166 (READELF): New variable. Use it instead of hardcoded "readelf".
44167
44168 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44169
44170 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44171 * sysdeps/x86/Makefile: Here.
44172 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44173 * sysdeps/x86/tst-xmmymm.sh: This.
44174
44175 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44176
44177 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44178 expectations.
44179 [UNIX98] (pthread_barrier_t): Do not expect.
44180 [UNIX98] (pthread_barrierattr_t): Likewise.
44181 [UNIX98] (pthread_spinlock_t): Likewise.
44182 [UNIX98] (pthread_barrier_destroy): Likewise.
44183 [UNIX98] (pthread_barrier_init): Likewise.
44184 [UNIX98] (pthread_barrier_wait): Likewise.
44185 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44186 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44187 [UNIX98] (pthread_barrierattr_init): Likewise.
44188 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44189 [UNIX98] (pthread_getcpuclockid): Likewise.
44190 [UNIX98] (pthread_mutex_timedlock): Likewise.
44191 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44192 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44193 [UNIX98] (pthread_sigmask): Likewise.
44194 [UNIX98] (pthread_spin_destroy): Likewise.
44195 [UNIX98] (pthread_spin_init): Likewise.
44196 [UNIX98] (pthread_spin_lock): Likewise.
44197 [UNIX98] (pthread_spin_trylock): Likewise.
44198 [UNIX98] (pthread_spin_unlock): Likewise.
44199 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44200 Do not expect.
44201 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44203 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44204 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44205 [XPG3 || XPG4] (pthread_key_t): Likewise.
44206 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44207 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44208 [XPG3 || XPG4] (pthread_once_t): Likewise.
44209 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44210 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44212 [XPG3 || XPG4] (pthread_t): Likewise.
44213
44214 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44215 not expect.
44216 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44217
44218 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44219 Change function return type to int.
44220
44221 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44222 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44223 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44224 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44225 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44226 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44227 [!POSIX] (posix_madvise): Likewise.
44228 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44229 && !UNIX98].
44230 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44231 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44232 (mode_t): Likewise.
44233 (posix_mem_offset): Likewise.
44234 (posix_typed_mem_get_info): Likewise.
44235 (posix_typed_mem_open): Likewise.
44236
44237 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44238 Change condition to [XOPEN2K8].
44239
44240 * conform/conformtest.pl: Preprocess allow-header data with -x c
44241 instead of from stdin.
44242 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44243 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44244 [C99-based standards] (cerfc): Likewise.
44245 [C99-based standards] (cexp2): Likewise.
44246 [C99-based standards] (cexpm1): Likewise.
44247 [C99-based standards] (clog10): Likewise.
44248 [C99-based standards] (clog1p): Likewise.
44249 [C99-based standards] (clog2): Likewise.
44250 [C99-based standards] (clgamma): Likewise.
44251 [C99-based standards] (ctgamma): Likewise.
44252 [C99-based standards] (cerff): Likewise.
44253 [C99-based standards] (cerfcf): Likewise.
44254 [C99-based standards] (cexp2f): Likewise.
44255 [C99-based standards] (cexpm1f): Likewise.
44256 [C99-based standards] (clog10f): Likewise.
44257 [C99-based standards] (clog1pf): Likewise.
44258 [C99-based standards] (clog2f): Likewise.
44259 [C99-based standards] (clgammaf): Likewise.
44260 [C99-based standards] (ctgammaf): Likewise.
44261 [C99-based standards] (cerfl): Likewise.
44262 [C99-based standards] (cerfcl): Likewise.
44263 [C99-based standards] (cexp2l): Likewise.
44264 [C99-based standards] (cexpm1l): Likewise.
44265 [C99-based standards] (clog10l): Likewise.
44266 [C99-based standards] (clog1pl): Likewise.
44267 [C99-based standards] (clog2l): Likewise.
44268 [C99-based standards] (clgammal): Likewise.
44269 [C99-based standards] (ctgammal): Likewise.
44270 * conform/data/inttypes.h-data [C99-based standards]: Include
44271 stdint.h-data. Remove all expectations for stdint.h contents.
44272 [C99-based standards] (PRI*): Do not allow.
44273 [C99-based standards] (SCN*): Likewise.
44274 [C99-based standards] (*_t): Likewise.
44275 [C99-based-standards] (PRId8): Expect macro.
44276 [C99-based-standards] (PRIi8): Likewise.
44277 [C99-based-standards] (PRIo8): Likewise.
44278 [C99-based-standards] (PRIu8): Likewise.
44279 [C99-based-standards] (PRIx8): Likewise.
44280 [C99-based-standards] (PRIX8): Likewise.
44281 [C99-based-standards] (SCNd8): Likewise.
44282 [C99-based-standards] (SCNi8): Likewise.
44283 [C99-based-standards] (SCNo8): Likewise.
44284 [C99-based-standards] (SCNu8): Likewise.
44285 [C99-based-standards] (SCNx8): Likewise.
44286 [C99-based-standards] (PRIdLEAST8): Likewise.
44287 [C99-based-standards] (PRIiLEAST8): Likewise.
44288 [C99-based-standards] (PRIoLEAST8): Likewise.
44289 [C99-based-standards] (PRIuLEAST8): Likewise.
44290 [C99-based-standards] (PRIxLEAST8): Likewise.
44291 [C99-based-standards] (PRIXLEAST8): Likewise.
44292 [C99-based-standards] (SCNdLEAST8): Likewise.
44293 [C99-based-standards] (SCNiLEAST8): Likewise.
44294 [C99-based-standards] (SCNoLEAST8): Likewise.
44295 [C99-based-standards] (SCNuLEAST8): Likewise.
44296 [C99-based-standards] (SCNxLEAST8): Likewise.
44297 [C99-based-standards] (PRIdFAST8): Likewise.
44298 [C99-based-standards] (PRIiFAST8): Likewise.
44299 [C99-based-standards] (PRIoFAST8): Likewise.
44300 [C99-based-standards] (PRIuFAST8): Likewise.
44301 [C99-based-standards] (PRIxFAST8): Likewise.
44302 [C99-based-standards] (PRIXFAST8): Likewise.
44303 [C99-based-standards] (SCNdFAST8): Likewise.
44304 [C99-based-standards] (SCNiFAST8): Likewise.
44305 [C99-based-standards] (SCNoFAST8): Likewise.
44306 [C99-based-standards] (SCNuFAST8): Likewise.
44307 [C99-based-standards] (SCNxFAST8): Likewise.
44308 [C99-based-standards] (PRId16): Likewise.
44309 [C99-based-standards] (PRIi16): Likewise.
44310 [C99-based-standards] (PRIo16): Likewise.
44311 [C99-based-standards] (PRIu16): Likewise.
44312 [C99-based-standards] (PRIx16): Likewise.
44313 [C99-based-standards] (PRIX16): Likewise.
44314 [C99-based-standards] (SCNd16): Likewise.
44315 [C99-based-standards] (SCNi16): Likewise.
44316 [C99-based-standards] (SCNo16): Likewise.
44317 [C99-based-standards] (SCNu16): Likewise.
44318 [C99-based-standards] (SCNx16): Likewise.
44319 [C99-based-standards] (PRIdLEAST16): Likewise.
44320 [C99-based-standards] (PRIiLEAST16): Likewise.
44321 [C99-based-standards] (PRIoLEAST16): Likewise.
44322 [C99-based-standards] (PRIuLEAST16): Likewise.
44323 [C99-based-standards] (PRIxLEAST16): Likewise.
44324 [C99-based-standards] (PRIXLEAST16): Likewise.
44325 [C99-based-standards] (SCNdLEAST16): Likewise.
44326 [C99-based-standards] (SCNiLEAST16): Likewise.
44327 [C99-based-standards] (SCNoLEAST16): Likewise.
44328 [C99-based-standards] (SCNuLEAST16): Likewise.
44329 [C99-based-standards] (SCNxLEAST16): Likewise.
44330 [C99-based-standards] (PRIdFAST16): Likewise.
44331 [C99-based-standards] (PRIiFAST16): Likewise.
44332 [C99-based-standards] (PRIoFAST16): Likewise.
44333 [C99-based-standards] (PRIuFAST16): Likewise.
44334 [C99-based-standards] (PRIxFAST16): Likewise.
44335 [C99-based-standards] (PRIXFAST16): Likewise.
44336 [C99-based-standards] (SCNdFAST16): Likewise.
44337 [C99-based-standards] (SCNiFAST16): Likewise.
44338 [C99-based-standards] (SCNoFAST16): Likewise.
44339 [C99-based-standards] (SCNuFAST16): Likewise.
44340 [C99-based-standards] (SCNxFAST16): Likewise.
44341 [C99-based-standards] (PRId32): Likewise.
44342 [C99-based-standards] (PRIi32): Likewise.
44343 [C99-based-standards] (PRIo32): Likewise.
44344 [C99-based-standards] (PRIu32): Likewise.
44345 [C99-based-standards] (PRIx32): Likewise.
44346 [C99-based-standards] (PRIX32): Likewise.
44347 [C99-based-standards] (SCNd32): Likewise.
44348 [C99-based-standards] (SCNi32): Likewise.
44349 [C99-based-standards] (SCNo32): Likewise.
44350 [C99-based-standards] (SCNu32): Likewise.
44351 [C99-based-standards] (SCNx32): Likewise.
44352 [C99-based-standards] (PRIdLEAST32): Likewise.
44353 [C99-based-standards] (PRIiLEAST32): Likewise.
44354 [C99-based-standards] (PRIoLEAST32): Likewise.
44355 [C99-based-standards] (PRIuLEAST32): Likewise.
44356 [C99-based-standards] (PRIxLEAST32): Likewise.
44357 [C99-based-standards] (PRIXLEAST32): Likewise.
44358 [C99-based-standards] (SCNdLEAST32): Likewise.
44359 [C99-based-standards] (SCNiLEAST32): Likewise.
44360 [C99-based-standards] (SCNoLEAST32): Likewise.
44361 [C99-based-standards] (SCNuLEAST32): Likewise.
44362 [C99-based-standards] (SCNxLEAST32): Likewise.
44363 [C99-based-standards] (PRIdFAST32): Likewise.
44364 [C99-based-standards] (PRIiFAST32): Likewise.
44365 [C99-based-standards] (PRIoFAST32): Likewise.
44366 [C99-based-standards] (PRIuFAST32): Likewise.
44367 [C99-based-standards] (PRIxFAST32): Likewise.
44368 [C99-based-standards] (PRIXFAST32): Likewise.
44369 [C99-based-standards] (SCNdFAST32): Likewise.
44370 [C99-based-standards] (SCNiFAST32): Likewise.
44371 [C99-based-standards] (SCNoFAST32): Likewise.
44372 [C99-based-standards] (SCNuFAST32): Likewise.
44373 [C99-based-standards] (SCNxFAST32): Likewise.
44374 [C99-based-standards] (PRId64): Likewise.
44375 [C99-based-standards] (PRIi64): Likewise.
44376 [C99-based-standards] (PRIo64): Likewise.
44377 [C99-based-standards] (PRIu64): Likewise.
44378 [C99-based-standards] (PRIx64): Likewise.
44379 [C99-based-standards] (PRIX64): Likewise.
44380 [C99-based-standards] (SCNd64): Likewise.
44381 [C99-based-standards] (SCNi64): Likewise.
44382 [C99-based-standards] (SCNo64): Likewise.
44383 [C99-based-standards] (SCNu64): Likewise.
44384 [C99-based-standards] (SCNx64): Likewise.
44385 [C99-based-standards] (PRIdLEAST64): Likewise.
44386 [C99-based-standards] (PRIiLEAST64): Likewise.
44387 [C99-based-standards] (PRIoLEAST64): Likewise.
44388 [C99-based-standards] (PRIuLEAST64): Likewise.
44389 [C99-based-standards] (PRIxLEAST64): Likewise.
44390 [C99-based-standards] (PRIXLEAST64): Likewise.
44391 [C99-based-standards] (SCNdLEAST64): Likewise.
44392 [C99-based-standards] (SCNiLEAST64): Likewise.
44393 [C99-based-standards] (SCNoLEAST64): Likewise.
44394 [C99-based-standards] (SCNuLEAST64): Likewise.
44395 [C99-based-standards] (SCNxLEAST64): Likewise.
44396 [C99-based-standards] (PRIdFAST64): Likewise.
44397 [C99-based-standards] (PRIiFAST64): Likewise.
44398 [C99-based-standards] (PRIoFAST64): Likewise.
44399 [C99-based-standards] (PRIuFAST64): Likewise.
44400 [C99-based-standards] (PRIxFAST64): Likewise.
44401 [C99-based-standards] (PRIXFAST64): Likewise.
44402 [C99-based-standards] (SCNdFAST64): Likewise.
44403 [C99-based-standards] (SCNiFAST64): Likewise.
44404 [C99-based-standards] (SCNoFAST64): Likewise.
44405 [C99-based-standards] (SCNuFAST64): Likewise.
44406 [C99-based-standards] (SCNxFAST64): Likewise.
44407 [C99-based-standards] (PRIdMAX): Likewise.
44408 [C99-based-standards] (PRIiMAX): Likewise.
44409 [C99-based-standards] (PRIoMAX): Likewise.
44410 [C99-based-standards] (PRIuMAX): Likewise.
44411 [C99-based-standards] (PRIxMAX): Likewise.
44412 [C99-based-standards] (PRIXMAX): Likewise.
44413 [C99-based-standards] (SCNdMAX): Likewise.
44414 [C99-based-standards] (SCNiMAX): Likewise.
44415 [C99-based-standards] (SCNoMAX): Likewise.
44416 [C99-based-standards] (SCNuMAX): Likewise.
44417 [C99-based-standards] (SCNxMAX): Likewise.
44418 [C99-based-standards] (PRIdPTR): Likewise.
44419 [C99-based-standards] (PRIiPTR): Likewise.
44420 [C99-based-standards] (PRIoPTR): Likewise.
44421 [C99-based-standards] (PRIuPTR): Likewise.
44422 [C99-based-standards] (PRIxPTR): Likewise.
44423 [C99-based-standards] (PRIXPTR): Likewise.
44424 [C99-based-standards] (SCNdPTR): Likewise.
44425 [C99-based-standards] (SCNiPTR): Likewise.
44426 [C99-based-standards] (SCNoPTR): Likewise.
44427 [C99-based-standards] (SCNuPTR): Likewise.
44428 [C99-based-standards] (SCNxPTR): Likewise.
44429 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44430 allow.
44431 * conform/data/stdint.h-data: Update comments to clarify
44432 requirements.
44433 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44434 type.
44435 [C99-based standards] (INT8_MAX): Likewise.
44436 [C99-based standards] (INT16_MIN): Likewise.
44437 [C99-based standards] (INT16_MAX): Likewise.
44438 [C99-based standards] (INT32_MIN): Likewise.
44439 [C99-based standards] (INT32_MAX): Likewise.
44440 [C99-based standards] (INT64_MIN): Likewise.
44441 [C99-based standards] (INT64_MAX): Likewise.
44442 [C99-based standards] (UINT8_MAX): Likewise.
44443 [C99-based standards] (UINT16_MAX): Likewise.
44444 [C99-based standards] (UINT32_MAX): Likewise.
44445 [C99-based standards] (UINT64_MAX): Likewise.
44446 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44447 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44448 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44449 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44450 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44451 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44452 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44453 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44454 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44455 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44456 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44457 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44458 [C99-based standards] (INT_FAST8_MIN): Likewise.
44459 [C99-based standards] (INT_FAST8_MAX): Likewise.
44460 [C99-based standards] (INT_FAST16_MIN): Likewise.
44461 [C99-based standards] (INT_FAST16_MAX): Likewise.
44462 [C99-based standards] (INT_FAST32_MIN): Likewise.
44463 [C99-based standards] (INT_FAST32_MAX): Likewise.
44464 [C99-based standards] (INT_FAST64_MIN): Likewise.
44465 [C99-based standards] (INT_FAST64_MAX): Likewise.
44466 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44467 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44468 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44469 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44470 [C99-based standards] (INTPTR_MIN): Likewise.
44471 [C99-based standards] (INTPTR_MAX): Likewise.
44472 [C99-based standards] (UINTPTR_MAX): Likewise.
44473 [C99-based standards] (INTMAX_MIN): Likewise.
44474 [C99-based standards] (INTMAX_MAX): Likewise.
44475 [C99-based standards] (UINTMAX_MAX): Likewise.
44476 [C99-based standards] (PTRDIFF_MIN): Likewise.
44477 [C99-based standards] (PTRDIFF_MAX): Likewise.
44478 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44479 [C99-based standards] (SIZE_MAX): Likewise.
44480 [C99-based standards] (WCHAR_MAX): Likewise.
44481 [C99-based standards] (WINT_MAX): Likewise.
44482 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44483 constraint on value.
44484 [C99-based standards] (WCHAR_MIN): Likewise.
44485 [C99-based standards] (WINT_MIN): Likewise.
44486 [C99-based standards] (*_t): Allow.
44487 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44488 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44489 Include math.h-data and complex.h-data. Remove all expectations
44490 of math.h and complex.h contents.
44491 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44492 at end of line.
44493 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44494 (struct tm): Expect tag.
44495 [C99-based-standards] (wcstof): Expect function.
44496 [C99-based-standards] (wcstold): Likewise.
44497 [C99-based-standards] (wcstoll): Likewise.
44498 [C99-based-standards] (wcstoull): Likewise.
44499 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44500 macro-int-constant. Specify type.
44501 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44502 constraint on value.
44503 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44504 Specify type.
44505 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44506 Specify value.
44507 [ISO C standards]: Do not allow headers.
44508 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44509 wcs[abcdefghijklmnopqrstuvwxyz]*.
44510 [ISO C standards] (*_t): Do not allow.
44511 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44512 Expect function.
44513 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44514 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44515 Specify type.
44516 [ISO C standards]: Do not allow headers.
44517 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44518 is[abcdefghijklmnopqrstuvwxyz]*.
44519 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44520 to[abcdefghijklmnopqrstuvwxyz]*.
44521 [ISO C standards] (*_t): Do not allow.
44522 * conform/data/stdalign.h-data: New file.
44523 * conform/data/stdbool.h-data: Likewise.
44524 * conform/data/stdnoreturn.h-data: Likewise.
44525
44526 2012-11-07 Roland McGrath <roland@hack.frob.com>
44527
44528 [BZ #14815]
44529 * manual/filesys.texi (Directory Entries): Typo fix.
44530 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44531
44532 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44533
44534 * elf/elf.h (EM_AARCH64): New macro.
44535 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44536 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44537 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44538 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44539 (R_AARCH64_TLSDESC): Likewise.
44540 (NT_ARM_TLS): Likewise.
44541 (NT_ARM_HW_BREAK): Likewise.
44542 (NT_ARM_HW_WATCH): Likewise.
44543
44544 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44545
44546 [BZ #14811]
44547 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44548 (__ieee754_powl): Saturate nonzero exponents with absolute value
44549 below 0x1p-79 to +/- 0x1p-79.
44550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44551 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44552 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44553 nonzero exponents with absolute value below 0x1p-32 to +/-
44554 0x1p-32.
44555 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44556 (__ieee754_powl): Saturate nonzero exponents with absolute value
44557 below 0x1p-79 to +/- 0x1p-79.
44558 * math/libm-test.inc (pow_test): Add more tests.
44559
44560 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44561
44562 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44563 _dl_s390_cap_flags with kernel. Increase string length.
44564 (_dl_s390_platforms): Add z196 and zEC12.
44565
44566 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44567
44568 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44569 Change XOPEN21K to XOPEN2K.
44570
44571 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44572
44573 * string/memmove.c: Use memcpy when possible.
44574
44575 2012-11-06 Andreas Jaeger <aj@suse.de>
44576
44577 * po/eo.po: Update from translation team.
44578
44579 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44580
44581 [BZ #14793]
44582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44583 exponent and small x and y exponents, scale x or y up. Increase
44584 by 2 the exponent used in scaling up.
44585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44587 * math/libm-test.inc (fma_test): Add more tests.
44588 (fma_test_towardzero): Likewise.
44589 (fma_test_downward): Likewise.
44590 (fma_test_upward): Likewise.
44591
44592 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44593
44594 [BZ #14805]
44595 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44596 fenv_t *.
44597
44598 [BZ #14801]
44599 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44600 namespace for names of struct fields.
44601 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44602 fenv_t fields.
44603 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44604 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44605
44606 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44607
44608 [BZ #3665]
44609 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44610
44611 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44612
44613 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44614 PTR_DEMANGLE.
44615
44616 [BZ #5246]
44617 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44618 PTR_DEMANGLE.
44619
44620 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44621
44622 [BZ #14797]
44623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44624 definitely overflow as x * y not x * y + z.
44625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44627 * math/libm-test.inc (fma_test): Add more tests.
44628 (fma_test_towardzero): Likewise.
44629 (fma_test_downward): Likewise.
44630 (fma_test_upward): Likewise.
44631
44632 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44633
44634 [BZ #157]
44635
44636 * include/stub-tag.h: Remove file.
44637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44638 '#include' of it.
44639 * manual/maint.texi (Porting): Don't reference it.
44640 * Makerules ($(objpfx)stubs): Likewise.
44641 * dirent/closedir.c: Don't include <stub-tag.h>.
44642 * dirent/dirfd.c: Likewise.
44643 * dirent/fdopendir.c: Likewise.
44644 * dirent/getdents.c: Likewise.
44645 * dirent/getdents64.c: Likewise.
44646 * dirent/opendir.c: Likewise.
44647 * dirent/readdir.c: Likewise.
44648 * dirent/readdir64.c: Likewise.
44649 * dirent/readdir64_r.c: Likewise.
44650 * dirent/readdir_r.c: Likewise.
44651 * dirent/rewinddir.c: Likewise.
44652 * dirent/seekdir.c: Likewise.
44653 * dirent/telldir.c: Likewise.
44654 * gmon/profil.c: Likewise.
44655 * grp/setgroups.c: Likewise.
44656 * inet/if_index.c: Likewise.
44657 * io/access.c: Likewise.
44658 * io/chdir.c: Likewise.
44659 * io/chmod.c: Likewise.
44660 * io/chown.c: Likewise.
44661 * io/close.c: Likewise.
44662 * io/dup.c: Likewise.
44663 * io/dup2.c: Likewise.
44664 * io/dup3.c: Likewise.
44665 * io/euidaccess.c: Likewise.
44666 * io/faccessat.c: Likewise.
44667 * io/fchdir.c: Likewise.
44668 * io/fchmod.c: Likewise.
44669 * io/fchmodat.c: Likewise.
44670 * io/fchown.c: Likewise.
44671 * io/fchownat.c: Likewise.
44672 * io/fcntl.c: Likewise.
44673 * io/flock.c: Likewise.
44674 * io/fstatfs.c: Likewise.
44675 * io/fstatfs64.c: Likewise.
44676 * io/fstatvfs.c: Likewise.
44677 * io/fstatvfs64.c: Likewise.
44678 * io/futimens.c: Likewise.
44679 * io/fxstat.c: Likewise.
44680 * io/fxstat64.c: Likewise.
44681 * io/fxstatat.c: Likewise.
44682 * io/fxstatat64.c: Likewise.
44683 * io/getcwd.c: Likewise.
44684 * io/isatty.c: Likewise.
44685 * io/lchmod.c: Likewise.
44686 * io/lchown.c: Likewise.
44687 * io/link.c: Likewise.
44688 * io/linkat.c: Likewise.
44689 * io/lseek.c: Likewise.
44690 * io/lseek64.c: Likewise.
44691 * io/lxstat64.c: Likewise.
44692 * io/mkdir.c: Likewise.
44693 * io/mkdirat.c: Likewise.
44694 * io/mkfifo.c: Likewise.
44695 * io/mkfifoat.c: Likewise.
44696 * io/open.c: Likewise.
44697 * io/open64.c: Likewise.
44698 * io/openat.c: Likewise.
44699 * io/openat64.c: Likewise.
44700 * io/pipe.c: Likewise.
44701 * io/pipe2.c: Likewise.
44702 * io/poll.c: Likewise.
44703 * io/posix_fadvise.c: Likewise.
44704 * io/posix_fadvise64.c: Likewise.
44705 * io/posix_fallocate.c: Likewise.
44706 * io/posix_fallocate64.c: Likewise.
44707 * io/read.c: Likewise.
44708 * io/readlink.c: Likewise.
44709 * io/readlinkat.c: Likewise.
44710 * io/rmdir.c: Likewise.
44711 * io/sendfile.c: Likewise.
44712 * io/sendfile64.c: Likewise.
44713 * io/statfs.c: Likewise.
44714 * io/statfs64.c: Likewise.
44715 * io/statvfs.c: Likewise.
44716 * io/statvfs64.c: Likewise.
44717 * io/symlink.c: Likewise.
44718 * io/symlinkat.c: Likewise.
44719 * io/ttyname.c: Likewise.
44720 * io/ttyname_r.c: Likewise.
44721 * io/umask.c: Likewise.
44722 * io/unlink.c: Likewise.
44723 * io/unlinkat.c: Likewise.
44724 * io/utime.c: Likewise.
44725 * io/utimensat.c: Likewise.
44726 * io/write.c: Likewise.
44727 * io/xmknod.c: Likewise.
44728 * io/xmknodat.c: Likewise.
44729 * io/xstat.c: Likewise.
44730 * io/xstat64.c: Likewise.
44731 * login/getpt.c: Likewise.
44732 * login/grantpt.c: Likewise.
44733 * login/unlockpt.c: Likewise.
44734 * math/e_acoshl.c: Likewise.
44735 * math/e_acosl.c: Likewise.
44736 * math/e_asinl.c: Likewise.
44737 * math/e_atan2l.c: Likewise.
44738 * math/e_atanhl.c: Likewise.
44739 * math/e_coshl.c: Likewise.
44740 * math/e_expl.c: Likewise.
44741 * math/e_fmodl.c: Likewise.
44742 * math/e_gammal_r.c: Likewise.
44743 * math/e_hypotl.c: Likewise.
44744 * math/e_j0l.c: Likewise.
44745 * math/e_j1l.c: Likewise.
44746 * math/e_jnl.c: Likewise.
44747 * math/e_lgammal_r.c: Likewise.
44748 * math/e_log10l.c: Likewise.
44749 * math/e_log2l.c: Likewise.
44750 * math/e_logl.c: Likewise.
44751 * math/e_powl.c: Likewise.
44752 * math/e_rem_pio2l.c: Likewise.
44753 * math/e_sinhl.c: Likewise.
44754 * math/e_sqrtl.c: Likewise.
44755 * math/fclrexcpt.c: Likewise.
44756 * math/fedisblxcpt.c: Likewise.
44757 * math/feenablxcpt.c: Likewise.
44758 * math/fegetenv.c: Likewise.
44759 * math/fegetexcept.c: Likewise.
44760 * math/fegetround.c: Likewise.
44761 * math/feholdexcpt.c: Likewise.
44762 * math/fesetenv.c: Likewise.
44763 * math/fesetround.c: Likewise.
44764 * math/feupdateenv.c: Likewise.
44765 * math/fgetexcptflg.c: Likewise.
44766 * math/fraiseexcpt.c: Likewise.
44767 * math/fsetexcptflg.c: Likewise.
44768 * math/ftestexcept.c: Likewise.
44769 * math/k_cosl.c: Likewise.
44770 * math/k_rem_pio2l.c: Likewise.
44771 * math/k_sinl.c: Likewise.
44772 * math/k_tanl.c: Likewise.
44773 * math/s_asinhl.c: Likewise.
44774 * math/s_atanl.c: Likewise.
44775 * math/s_cbrtl.c: Likewise.
44776 * math/s_erfl.c: Likewise.
44777 * math/s_expm1l.c: Likewise.
44778 * math/s_log1pl.c: Likewise.
44779 * math/s_tanhl.c: Likewise.
44780 * misc/acct.c: Likewise.
44781 * misc/brk.c: Likewise.
44782 * misc/chflags.c: Likewise.
44783 * misc/chroot.c: Likewise.
44784 * misc/fchflags.c: Likewise.
44785 * misc/fgetxattr.c: Likewise.
44786 * misc/flistxattr.c: Likewise.
44787 * misc/fremovexattr.c: Likewise.
44788 * misc/fsetxattr.c: Likewise.
44789 * misc/fsync.c: Likewise.
44790 * misc/ftruncate.c: Likewise.
44791 * misc/futimes.c: Likewise.
44792 * misc/futimesat.c: Likewise.
44793 * misc/getdomain.c: Likewise.
44794 * misc/getdtsz.c: Likewise.
44795 * misc/gethostid.c: Likewise.
44796 * misc/gethostname.c: Likewise.
44797 * misc/getloadavg.c: Likewise.
44798 * misc/getpagesize.c: Likewise.
44799 * misc/getsysstats.c: Likewise.
44800 * misc/getxattr.c: Likewise.
44801 * misc/gtty.c: Likewise.
44802 * misc/ioctl.c: Likewise.
44803 * misc/lgetxattr.c: Likewise.
44804 * misc/listxattr.c: Likewise.
44805 * misc/llistxattr.c: Likewise.
44806 * misc/lremovexattr.c: Likewise.
44807 * misc/lsetxattr.c: Likewise.
44808 * misc/lutimes.c: Likewise.
44809 * misc/madvise.c: Likewise.
44810 * misc/mincore.c: Likewise.
44811 * misc/mlock.c: Likewise.
44812 * misc/mlockall.c: Likewise.
44813 * misc/mmap.c: Likewise.
44814 * misc/mprotect.c: Likewise.
44815 * misc/msync.c: Likewise.
44816 * misc/munlock.c: Likewise.
44817 * misc/munlockall.c: Likewise.
44818 * misc/munmap.c: Likewise.
44819 * misc/preadv.c: Likewise.
44820 * misc/preadv64.c: Likewise.
44821 * misc/ptrace.c: Likewise.
44822 * misc/pwritev.c: Likewise.
44823 * misc/pwritev64.c: Likewise.
44824 * misc/readv.c: Likewise.
44825 * misc/reboot.c: Likewise.
44826 * misc/remap_file_pages.c: Likewise.
44827 * misc/removexattr.c: Likewise.
44828 * misc/revoke.c: Likewise.
44829 * misc/select.c: Likewise.
44830 * misc/setdomain.c: Likewise.
44831 * misc/setegid.c: Likewise.
44832 * misc/seteuid.c: Likewise.
44833 * misc/sethostid.c: Likewise.
44834 * misc/sethostname.c: Likewise.
44835 * misc/setregid.c: Likewise.
44836 * misc/setreuid.c: Likewise.
44837 * misc/setxattr.c: Likewise.
44838 * misc/sstk.c: Likewise.
44839 * misc/stty.c: Likewise.
44840 * misc/swapoff.c: Likewise.
44841 * misc/swapon.c: Likewise.
44842 * misc/sync.c: Likewise.
44843 * misc/syncfs.c: Likewise.
44844 * misc/syscall.c: Likewise.
44845 * misc/truncate.c: Likewise.
44846 * misc/ualarm.c: Likewise.
44847 * misc/usleep.c: Likewise.
44848 * misc/ustat.c: Likewise.
44849 * misc/utimes.c: Likewise.
44850 * misc/vhangup.c: Likewise.
44851 * misc/writev.c: Likewise.
44852 * posix/_exit.c: Likewise.
44853 * posix/alarm.c: Likewise.
44854 * posix/execve.c: Likewise.
44855 * posix/fexecve.c: Likewise.
44856 * posix/fork.c: Likewise.
44857 * posix/fpathconf.c: Likewise.
44858 * posix/getaddrinfo.c: Likewise.
44859 * posix/getegid.c: Likewise.
44860 * posix/geteuid.c: Likewise.
44861 * posix/getgid.c: Likewise.
44862 * posix/getgroups.c: Likewise.
44863 * posix/getlogin.c: Likewise.
44864 * posix/getlogin_r.c: Likewise.
44865 * posix/getpgid.c: Likewise.
44866 * posix/getpid.c: Likewise.
44867 * posix/getppid.c: Likewise.
44868 * posix/getresgid.c: Likewise.
44869 * posix/getresuid.c: Likewise.
44870 * posix/getsid.c: Likewise.
44871 * posix/getuid.c: Likewise.
44872 * posix/glob64.c: Likewise.
44873 * posix/nanosleep.c: Likewise.
44874 * posix/pathconf.c: Likewise.
44875 * posix/pause.c: Likewise.
44876 * posix/posix_madvise.c: Likewise.
44877 * posix/pread.c: Likewise.
44878 * posix/pread64.c: Likewise.
44879 * posix/pwrite.c: Likewise.
44880 * posix/pwrite64.c: Likewise.
44881 * posix/sched_getaffinity.c: Likewise.
44882 * posix/sched_getp.c: Likewise.
44883 * posix/sched_gets.c: Likewise.
44884 * posix/sched_primax.c: Likewise.
44885 * posix/sched_primin.c: Likewise.
44886 * posix/sched_rr_gi.c: Likewise.
44887 * posix/sched_setaffinity.c: Likewise.
44888 * posix/sched_setp.c: Likewise.
44889 * posix/sched_sets.c: Likewise.
44890 * posix/sched_yield.c: Likewise.
44891 * posix/setgid.c: Likewise.
44892 * posix/setlogin.c: Likewise.
44893 * posix/setpgid.c: Likewise.
44894 * posix/setresgid.c: Likewise.
44895 * posix/setresuid.c: Likewise.
44896 * posix/setsid.c: Likewise.
44897 * posix/setuid.c: Likewise.
44898 * posix/sleep.c: Likewise.
44899 * posix/spawni.c: Likewise.
44900 * posix/sysconf.c: Likewise.
44901 * posix/times.c: Likewise.
44902 * posix/wait.c: Likewise.
44903 * posix/wait3.c: Likewise.
44904 * posix/wait4.c: Likewise.
44905 * posix/waitpid.c: Likewise.
44906 * resolv/gai_sigqueue.c: Likewise.
44907 * resource/getpriority.c: Likewise.
44908 * resource/getrlimit.c: Likewise.
44909 * resource/getrusage.c: Likewise.
44910 * resource/nice.c: Likewise.
44911 * resource/setpriority.c: Likewise.
44912 * resource/setrlimit.c: Likewise.
44913 * resource/ulimit.c: Likewise.
44914 * rt/aio_cancel.c: Likewise.
44915 * rt/aio_fsync.c: Likewise.
44916 * rt/aio_read.c: Likewise.
44917 * rt/aio_sigqueue.c: Likewise.
44918 * rt/aio_suspend.c: Likewise.
44919 * rt/aio_write.c: Likewise.
44920 * rt/clock_getres.c: Likewise.
44921 * rt/clock_gettime.c: Likewise.
44922 * rt/clock_nanosleep.c: Likewise.
44923 * rt/clock_settime.c: Likewise.
44924 * rt/lio_listio.c: Likewise.
44925 * rt/mq_close.c: Likewise.
44926 * rt/mq_getattr.c: Likewise.
44927 * rt/mq_notify.c: Likewise.
44928 * rt/mq_open.c: Likewise.
44929 * rt/mq_receive.c: Likewise.
44930 * rt/mq_send.c: Likewise.
44931 * rt/mq_setattr.c: Likewise.
44932 * rt/mq_timedreceive.c: Likewise.
44933 * rt/mq_timedsend.c: Likewise.
44934 * rt/mq_unlink.c: Likewise.
44935 * rt/shm_open.c: Likewise.
44936 * rt/shm_unlink.c: Likewise.
44937 * rt/timer_create.c: Likewise.
44938 * rt/timer_delete.c: Likewise.
44939 * rt/timer_getoverr.c: Likewise.
44940 * rt/timer_gettime.c: Likewise.
44941 * rt/timer_settime.c: Likewise.
44942 * setjmp/__longjmp.c: Likewise.
44943 * setjmp/setjmp.c: Likewise.
44944 * signal/kill.c: Likewise.
44945 * signal/killpg.c: Likewise.
44946 * signal/raise.c: Likewise.
44947 * signal/sigaction.c: Likewise.
44948 * signal/sigaltstack.c: Likewise.
44949 * signal/sigblock.c: Likewise.
44950 * signal/sigignore.c: Likewise.
44951 * signal/sigintr.c: Likewise.
44952 * signal/signal.c: Likewise.
44953 * signal/sigpause.c: Likewise.
44954 * signal/sigpending.c: Likewise.
44955 * signal/sigqueue.c: Likewise.
44956 * signal/sigreturn.c: Likewise.
44957 * signal/sigset.c: Likewise.
44958 * signal/sigsetmask.c: Likewise.
44959 * signal/sigstack.c: Likewise.
44960 * signal/sigsuspend.c: Likewise.
44961 * signal/sigtimedwait.c: Likewise.
44962 * signal/sigvec.c: Likewise.
44963 * signal/sigwait.c: Likewise.
44964 * signal/sigwaitinfo.c: Likewise.
44965 * signal/sysv_signal.c: Likewise.
44966 * socket/accept.c: Likewise.
44967 * socket/accept4.c: Likewise.
44968 * socket/bind.c: Likewise.
44969 * socket/connect.c: Likewise.
44970 * socket/getpeername.c: Likewise.
44971 * socket/getsockname.c: Likewise.
44972 * socket/getsockopt.c: Likewise.
44973 * socket/isfdtype.c: Likewise.
44974 * socket/listen.c: Likewise.
44975 * socket/recv.c: Likewise.
44976 * socket/recvfrom.c: Likewise.
44977 * socket/recvmsg.c: Likewise.
44978 * socket/send.c: Likewise.
44979 * socket/sendmsg.c: Likewise.
44980 * socket/sendto.c: Likewise.
44981 * socket/setsockopt.c: Likewise.
44982 * socket/shutdown.c: Likewise.
44983 * socket/sockatmark.c: Likewise.
44984 * socket/socket.c: Likewise.
44985 * socket/socketpair.c: Likewise.
44986 * stdio-common/ctermid.c: Likewise.
44987 * stdio-common/cuserid.c: Likewise.
44988 * stdio-common/remove.c: Likewise.
44989 * stdio-common/rename.c: Likewise.
44990 * stdio-common/renameat.c: Likewise.
44991 * stdio-common/tempname.c: Likewise.
44992 * stdlib/getcontext.c: Likewise.
44993 * stdlib/makecontext.c: Likewise.
44994 * stdlib/setcontext.c: Likewise.
44995 * stdlib/swapcontext.c: Likewise.
44996 * stdlib/system.c: Likewise.
44997 * streams/fattach.c: Likewise.
44998 * streams/fdetach.c: Likewise.
44999 * streams/getmsg.c: Likewise.
45000 * streams/getpmsg.c: Likewise.
45001 * streams/putmsg.c: Likewise.
45002 * streams/putpmsg.c: Likewise.
45003 * sysdeps/unix/bsd/getpt.c: Likewise.
45004 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45005 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45006 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45008 Likewise.
45009 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45010 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45011 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45012 * sysvipc/msgctl.c: Likewise.
45013 * sysvipc/msgget.c: Likewise.
45014 * sysvipc/msgrcv.c: Likewise.
45015 * sysvipc/msgsnd.c: Likewise.
45016 * sysvipc/semctl.c: Likewise.
45017 * sysvipc/semget.c: Likewise.
45018 * sysvipc/semop.c: Likewise.
45019 * sysvipc/semtimedop.c: Likewise.
45020 * sysvipc/shmat.c: Likewise.
45021 * sysvipc/shmctl.c: Likewise.
45022 * sysvipc/shmdt.c: Likewise.
45023 * sysvipc/shmget.c: Likewise.
45024 * termios/tcdrain.c: Likewise.
45025 * termios/tcflow.c: Likewise.
45026 * termios/tcflush.c: Likewise.
45027 * termios/tcgetattr.c: Likewise.
45028 * termios/tcgetpgrp.c: Likewise.
45029 * termios/tcsendbrk.c: Likewise.
45030 * termios/tcsetattr.c: Likewise.
45031 * termios/tcsetpgrp.c: Likewise.
45032 * time/adjtime.c: Likewise.
45033 * time/clock.c: Likewise.
45034 * time/getitimer.c: Likewise.
45035 * time/gettimeofday.c: Likewise.
45036 * time/setitimer.c: Likewise.
45037 * time/settimeofday.c: Likewise.
45038 * time/stime.c: Likewise.
45039 * time/time.c: Likewise.
45040
45041 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
45042
45043 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45044 /usr/old/bin.
45045
45046 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45047 instead of spaces.
45048 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45049
45050 2012-11-03 Joseph Myers <joseph@codesourcery.com>
45051
45052 [BZ #14796]
45053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45054 FE_TONEAREST before applying Dekker multiplication and Knuth
45055 addition. Clear inexact exceptions and check for exact zero
45056 results afterwards.
45057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45058 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45059 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45060 * math/libm-test.inc (fma_test): Add more tests.
45061 (fma_test_towardzero): Likewise.
45062 (fma_test_downward): Likewise.
45063 (fma_test_upward): Likewise.
45064 * sysdeps/generic/math_private.h (default_libc_fesetround): New
45065 function.
45066 (libc_fesetround): New macro.
45067 (libc_fesetroundf): Likewise.
45068 (libc_fesetroundl): Likewise.
45069 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45070 function.
45071 (libc_fesetround_387): Likewise.
45072 (libc_fesetroundf): New macro.
45073 (libc_fesetround): Likewise.
45074 (libc_fesetroundl): Likewise.
45075 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45076 function.
45077 (libc_fesetroundf): New macro.
45078 (libc_fesetround): Likewise.
45079 (libc_fesetroundl): Likewise.
45080 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45081 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45082 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45083 libm_hidden_ver.
45084 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45085 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45086 libm_hidden_def.
45087 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45088 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45089 libm_hidden_ver.
45090 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45091 libm_hidden_def.
45092
45093 [BZ #3439]
45094 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45095 integer constant usable in #if and use that to give value to enum
45096 constant.
45097 (FE_DIVBYZERO): Likewise.
45098 (FE_UNDERFLOW): Likewise.
45099 (FE_OVERFLOW): Likewise.
45100 (FE_INVALID): Likewise.
45101 (FE_INVALID_SNAN): Likewise.
45102 (FE_INVALID_ISI): Likewise.
45103 (FE_INVALID_IDI): Likewise.
45104 (FE_INVALID_ZDZ): Likewise.
45105 (FE_INVALID_IMZ): Likewise.
45106 (FE_INVALID_COMPARE): Likewise.
45107 (FE_INVALID_SOFTWARE): Likewise.
45108 (FE_INVALID_SQRT): Likewise.
45109 (FE_INVALID_INTEGER_CONVERSION): Likewise.
45110 (FE_TONEAREST): Likewise.
45111 (FE_TOWARDZERO): Likewise.
45112 (FE_UPWARD): Likewise.
45113 (FE_DOWNWARD): Likewise.
45114 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45115 (FE_DIVBYZERO): Likewise.
45116 (FE_OVERFLOW): Likewise.
45117 (FE_UNDERFLOW): Likewise.
45118 (FE_INEXACT): Likewise.
45119 (FE_TONEAREST): Likewise.
45120 (FE_DOWNWARD): Likewise.
45121 (FE_UPWARD): Likewise.
45122 (FE_TOWARDZERO): Likewise.
45123 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45124 (FE_UNDERFLOW): Likewise.
45125 (FE_OVERFLOW): Likewise.
45126 (FE_DIVBYZERO): Likewise.
45127 (FE_INVALID): Likewise.
45128 (FE_TONEAREST): Likewise.
45129 (FE_TOWARDZERO): Likewise.
45130 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45131 (FE_OVERFLOW): Likewise.
45132 (FE_UNDERFLOW): Likewise.
45133 (FE_DIVBYZERO): Likewise.
45134 (FE_INEXACT): Likewise.
45135 (FE_TONEAREST): Likewise.
45136 (FE_TOWARDZERO): Likewise.
45137 (FE_UPWARD): Likewise.
45138 (FE_DOWNWARD): Likewise.
45139 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45140 (FE_DIVBYZERO): Likewise.
45141 (FE_OVERFLOW): Likewise.
45142 (FE_UNDERFLOW): Likewise.
45143 (FE_INEXACT): Likewise.
45144 (FE_TONEAREST): Likewise.
45145 (FE_DOWNWARD): Likewise.
45146 (FE_UPWARD): Likewise.
45147 (FE_TOWARDZERO): Likewise.
45148
45149 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45150
45151 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45152
45153 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45154
45155 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45156 commands. Quote $PWD.
45157 (blacklist_exports): Don't use remove_newlines. Replace "declare
45158 -x" by "export".
45159 (remove_newlines): Remove.
45160
45161 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45162
45163 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45164 * stdlib/stdlib.h (atof): Moved to ...
45165 * include/bits/stdlib-float.h: Here. New file.
45166 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45167 * stdlib/bits/stdlib-float.h: New file.
45168 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45169 -mno-sse -mno-mmx.
45170 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45171 <xmmintrin.h>.
45172
45173 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45174
45175 * conform/conformtest.pl (@headers): Add fenv.h.
45176 * conform/data/fenv.h-data: New file.
45177 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45178 include of <math/fenv.h>.
45179
45180 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45181 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45182 && !UNIX98]. Enables tests for XOPEN2K8.
45183 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45184 POSIX2008]: Likewise.
45185
45186 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45187 (struct rusage): Do not expect type or its members.
45188
45189 [BZ #3439]
45190 * math/math.h (FP_NAN): Define macro to integer constant usable in
45191 #if and use that to give value to enum constant.
45192 (FP_INFINITE): Likewise.
45193 (FP_ZERO): Likewise.
45194 (FP_SUBNORMAL): Likewise.
45195 (FP_NORMAL): Likewise.
45196
45197 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45198
45199 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45200 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45201 arguments.
45202
45203 2012-11-02 Roland McGrath <roland@hack.frob.com>
45204
45205 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45206 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45207 autoconf-time if not.
45208 * configure.in: Remove AC_PREREQ.
45209
45210 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45211
45212 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45213 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45214 of the internal implementation.
45215
45216 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45217
45218 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45219 except include of <misc/sys/syslog.h>.
45220
45221 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45222
45223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45224 function returns with a NULL context exit with zero.
45225
45226 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45227
45228 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45229
45230 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
45231
45232 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45233 (run_program_cmd): This.
45234 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45235 (tst_langinfo): New variable. Use it.
45236
45237 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
45238
45239 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45240 floating point opcodes.
45241
45242 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45243
45244 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45245 variable.
45246
45247 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45248
45249 * sysdeps/mach/hurd/powerpc: Remove directory.
45250 * sysdeps/mach/powerpc: Likewise.
45251
45252 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45253
45254 * scripts/check-local-headers.sh: Ignore c++ headers.
45255
45256 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45257
45258 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45259 __libc_cleanup_region_start argument.
45260
45261 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45262
45263 [BZ #14784]
45264 [BZ #14785]
45265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45266 x * y using scaling, not as x * y + z.
45267 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45268 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45269 * math/libm-test.inc (fma_test): Add more tests.
45270 (fma_test_towardzero): Likewise.
45271 (fma_test_downward): Likewise.
45272 (fma_test_upward): Likewise.
45273
45274 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45275
45276 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45277
45278 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45279
45280 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45281 New variable.
45282
45283 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45284
45285 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45286
45287 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45288
45289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45290 Fix sort order.
45291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45292 Likewise.
45293
45294 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45295
45296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45297 Fix the order of the list for glibc 2.17.
45298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45299 Likewise.
45300
45301 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45302
45303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45304
45305 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45306
45307 [BZ #14610]
45308 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45309 for low part of x being zero before using __atanl (y).
45310 * math/libm-test.inc (atan2_test): Add another test.
45311
45312 * manual/install.texi (Configuring and compiling): Document
45313 general use of test-wrapper and test-wrapper-env.
45314 * INSTALL: Regenerated.
45315
45316 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45317 (__fma): Do not extract and scale down low bits on after-rounding
45318 systems when result rounded to normal precision would have normal
45319 exponent.
45320 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45321 (__fmal): Do not extract and scale down low bits on after-rounding
45322 systems when result rounded to normal precision would have normal
45323 exponent.
45324 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45325 (__fmal): Do not extract and scale down low bits on after-rounding
45326 systems when result rounded to normal precision would have normal
45327 exponent.
45328 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45329 macro.
45330 (fma_test): Add more tests.
45331 (fma_test_towardzero): Likewise.
45332 (fma_test_downward): Likewise.
45333 (fma_test_upward): Likewise.
45334
45335 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45336
45337 * sysdeps/i386/tininess.h: Renamed to ...
45338 * sysdeps/x86/tininess.h: This.
45339 * sysdeps/x86_64/tininess.h: Removed.
45340
45341 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45342
45343 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45344 input. Use $(build-program-cmd).
45345 ($(objpfx)tst-array1-static.out): Likewise.
45346 ($(objpfx)tst-array2.out): Likewise.
45347 ($(objpfx)tst-array3.out): Likewise.
45348 ($(objpfx)tst-array4.out): Likewise.
45349 ($(objpfx)tst-array5.out): Likewise.
45350 ($(objpfx)tst-array5-static.out): Likewise.
45351
45352 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45353
45354 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45355 if defined.
45356
45357 * nss/nsswitch.h (nss_interface_function): Provide new
45358 macro for use with NSS functions.
45359 * grp/initgroups.c: Use new macro.
45360 * nss/getXXbyYY.c: Likewise.
45361 * nss/getXXbyYY_r.c: Likewise.
45362 * nss/getXXent.c: Likewise.
45363 * nss/getXXent_r.c: Likewise.
45364 * sysdeps/posix/getaddrinfo.c: Likewise.
45365
45366 2012-10-30 Andreas Jaeger <aj@suse.de>
45367
45368 * po/ru.po: Update Russion translation from translation project.
45369
45370 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45371
45372 [BZ #14152]
45373 [BZ #14783]
45374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45375 result and shift together with sticky bit instead of replicating
45376 round-to-nearest rounding.
45377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45379 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45380 missing underflow exceptions.
45381 (fma_test_towardzero): Add more tests.
45382 (fma_test_downward): Likewise.
45383 (fma_test_upward): Likewise.
45384
45385 [BZ #14047]
45386 * sysdeps/generic/tininess.h: New file.
45387 * sysdeps/i386/tininess.h: Likewise.
45388 * sysdeps/sh/tininess.h: Likewise.
45389 * sysdeps/x86_64/tininess.h: Likewise.
45390 * stdlib/tst-strtod-underflow.c: Likewise.
45391 * stdlib/tst-tininess.c: Likewise.
45392 * stdlib/strtod_l.c: Include <tininess.h>.
45393 (round_and_return): Do not set errno for exact underflow cases.
45394 Force an underflow exception when setting errno for underflow.
45395 Determine underflow based on rounding to normal precision if
45396 TININESS_AFTER_ROUNDING.
45397 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45398 ERANGE for exact underflow cases.
45399 * stdlib/Makefile (tests): Add tst-tininess and
45400 tst-strtod-underflow.
45401 ($(objpfx)tst-tininess): Use $(link-libm).
45402 ($(objpfx)tst-strtod-underflow): Likewise.
45403
45404 2012-10-30 Andreas Jaeger <aj@suse.de>
45405
45406 [BZ#14767]
45407 * elf/Makefile (tests): Remove conditional for have-initfini-array
45408 since this is now always required and the variable does not exist
45409 anymore.
45410 (tests-static): Likewise.
45411 (modules-names): Likewise.
45412
45413 * po/eo.po: Add Esperanto translation from translation project.
45414
45415 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45416 merged with constructor/destructor.
45417 (init_array): Likewise.
45418 * elf/tst-array2dep.c (fini_array): Likewise.
45419 (init_array): Likewise.
45420
45421 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45422
45423 * manual/message.texi: Delete @cartouche tags.
45424
45425 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45426
45427 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45428 EOPNOTSUPP.
45429 * sysdeps/mach/hurd/fsync.c: Likewise.
45430
45431 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45432 [_POSIX_REALTIME_SIGNALS]: Change condition to
45433 [_POSIX_REALTIME_SIGNALS > 0].
45434
45435 2012-10-27 Andreas Jaeger <aj@suse.de>
45436
45437 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45438 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45440 [__WORDSIZE != 64]: Likewise.
45441
45442 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45443
45444 * iconvdata/tst-table.sh: Remove ${SHELL}.
45445 * iconvdata/tst-tables.sh: Likewise.
45446
45447 2012-10-25 David S. Miller <davem@davemloft.net>
45448
45449 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45450 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45451 of strtoull.
45452
45453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45454 ifunc-impl-list.c
45455 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45456 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45457 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45458 file.
45459
45460 2012-10-25 Roland McGrath <roland@hack.frob.com>
45461
45462 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45463 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45464 __getdirentries.
45465
45466 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45467 Jim Blandy <jimb@codesourcery.com>
45468
45469 * scripts/cross-test-ssh.sh: New file.
45470 * manual/install.texi (Configuring and compiling): Document use of
45471 cross-test-ssh.sh.
45472 * INSTALL: Regenerated.
45473
45474 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45475
45476 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45477 EOPNOTSUPP.
45478
45479 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45480
45481 * Makeconfig (run-program-prefix): Fix comment.
45482
45483 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45484 Jim Blandy <jimb@codesourcery.com>
45485
45486 * Makeconfig (test-wrapper): New variable,
45487 (test-wrapper-env): Likewise.
45488 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45489 (run-built-tests): Define to yes.
45490 (run-program-prefix): Use $(test-wrapper).
45491 (built-program-cmd): Likewise.
45492 * Rules (make-test-out): Use $(test-wrapper-env) and
45493 $(host-built-program-cmd).
45494 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45495 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45496 tst-pathopt.sh.
45497 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45498 $(test-wrapper-env) to tst-rtld-load-self.sh.
45499 ($(objpfx)order2.out): Use $(test-wrapper).
45500 ($(objpfx)tst-initorder.out): Likewise.
45501 ($(objpfx)tst-initorder2.out): Likewise.
45502 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45503 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45504 (test_wrapper_env): New variable. Use it to run ld.so.
45505 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45506 Use it to run ld.so.
45507 (test_wrapper_env): Likewise.
45508 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45509 $(test-wrapper) to run-iconv-test.sh.
45510 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45511 (ICONV): Use $test_wrapper.
45512 * posix/Makefile ($(objpfx)globtest.out): Pass
45513 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45514 globtest.sh, not $(run-program-prefix).
45515 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45516 (test_wrapper): Likewise.
45517 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45518 set together with run_via_rtld_prefix.
45519 (run_program_prefix): Define in terms of test_wrapper and
45520 run_via_rtld_prefix.
45521
45522 2012-10-24 Roland McGrath <roland@hack.frob.com>
45523
45524 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45525 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45526 Targets removed.
45527
45528 [BZ #14743]
45529 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45530 Declare __clock_getres, __clock_gettime, __clock_settime,
45531 __clock_nanosleep, and __clock_getcpuclockid.
45532 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45533 Remove librt_hidden_def (clock_gettime).
45534 * sysdeps/unix/clock_gettime.c: Likewise.
45535 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45536 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45537 * rt/clock_getres.c: Define __clock_getres as an alias.
45538 * sysdeps/posix/clock_getres.c: Likewise.
45539 * rt/clock_settime.c: Define __clock_settime as an alias.
45540 * sysdeps/unix/clock_settime.c: Likewise.
45541 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45542 * sysdeps/unix/clock_nanosleep.c: Likewise.
45543 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45544 * rt/clock-compat.c: New file.
45545 * rt/Makefile (librt-routines): Add clock-compat and move
45546 $(clock-routines) to ...
45547 (routines): ... here, new variable.
45548 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45549 Don't add get_clockfreq here.
45550 * rt/Versions (libc: GLIBC_2.17): New version set.
45551 Add clock_* symbols here.
45552 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45553 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45554 (GLIBC_2.17): Add clock_* symbols.
45555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45559 Likewise.
45560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45561 Likewise.
45562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45566 * NEWS: Mention the move.
45567
45568 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45569 Use __open, __read, __close rather than their public counterparts.
45570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45571 (__get_clockfreq_via_cpuinfo): Likewise.
45572 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45573 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45574
45575 * config.h.in (HAVE_IFUNC): New #undef.
45576 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45577 was successful.
45578 * configure: Regenerated.
45579
45580 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45581
45582 * configure.in: Move READELF check to start of file.
45583 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45584 libc_cv_asm_gnu_indirect_function in the process.
45585 * configure: Regenerated.
45586
45587 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45588
45589 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45590 send the output to /dev/null.
45591 (libc_cv_cc_with_libunwind): Likewise.
45592 (libc_cv_as_noexecstack): Likewise.
45593 * configure: Regenerate.
45594
45595 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45596
45597 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45598
45599 * posix/globtest.sh (TMPDIR): Do not set.
45600 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45601 (testout): Likewise.
45602
45603 2012-10-24 Andreas Jaeger <aj@suse.de>
45604
45605 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45606 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45607 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45608 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45609 posix_fadvise64, posix_fallocate64.
45610
45611 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45612 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45613 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45614 Likewise.
45615 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45616 Likewise.
45617 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45618
45619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45620 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45621 <bits/fcntl-linux.h>.
45622 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45623
45624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45625 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45626 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45627 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45628 [__WORDSIZE != 64]: Likewise.
45629
45630 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45631
45632 * Makeconfig (run-built-tests): New variable.
45633 * Rules [$(cross-compiling) = yes]: Change condition to
45634 [$(run-built-tests) = no].
45635 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45636 to [$(run-built-tests) = yes].
45637 * elf/Makefile [$(cross-compiling) = no]: Likewise
45638 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45639 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45640 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45641 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45642 * io/Makefile [$(cross-compiling) = no]: Likewise.
45643 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45644 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45645 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45646 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45647 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45648 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45649 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45650 * string/Makefile [$(cross-compiling) = no]: Likewise.
45651
45652 * posix/Makefile ($(objpfx)globtest.out): Pass
45653 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45654 $(rtld-installed-name).
45655 * posix/globtest.sh (elf_objpfx): Remove variable.
45656 (rtld_installed_name): Likewise.
45657 (library_path): Likewise.
45658 (run_program_prefix): New variable. Use for running globtest
45659 binary.
45660
45661 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45662 Joseph Myers <joseph@codesourcery.com>
45663
45664 * Makeconfig (host-built-program-cmd): New variable.
45665 * elf/Makefile (tst-stackguard1-ARGS): Use
45666 $(host-built-program-cmd).
45667 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45668 (tst-spawn-ARGS): Likewise.
45669 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45670
45671 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45672 Jim Blandy <jimb@codesourcery.com>
45673
45674 * Makeconfig (run-via-rtld-prefix): New variable.
45675 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45676 (built-program-cmd): Likewise.
45677
45678 2012-10-22 Andreas Jaeger <aj@suse.de>
45679
45680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45681 __O_RSYNC if it exists, otherwise to O_SYNC.
45682
45683 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45684 Joseph Myers <joseph@codesourcery.com>
45685
45686 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45687 /dev/null.
45688 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45689 from /dev/null
45690 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45691 /dev/null.
45692
45693 2012-10-22 Andreas Jaeger <aj@suse.de>
45694
45695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45696 Define always.
45697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45698
45699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45700 bits/fcntl-linux.h.
45701
45702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45703 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45704
45705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45706 to __O_LARGEFILE.
45707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45708 to __O_LARGEFILE.
45709
45710 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45711 Joseph Myers <joseph@codesourcery.com>
45712
45713 * config.make.in (NM): New variable.
45714
45715 2012-10-21 Andreas Jaeger <aj@suse.de>
45716
45717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45718 definitions and declarations that are provided by
45719 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45720
45721 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45722
45723 [BZ #14683]
45724 * elf/Makefile (tests-static): Add tst-leaks1-static.
45725 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45726 ($(objpfx)tst-leaks1-static): New rule.
45727 ($(objpfx)tst-leaks1-static-mem): Likewise.
45728 (tst-leaks1-static-ENV): New macro.
45729 * elf/dl-open.c (dl_open_worker): Check the main application
45730 only if SHARED is defined.
45731 * elf/tst-leaks1-static.c: New file.
45732
45733 2012-10-20 Andreas Jaeger <aj@suse.de>
45734
45735 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45736 generic values for Linux.
45737 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45738 and declarations that are provided by <bits/fcntl-linux.h> and
45739 include <bits/fcntl-linux.h>.
45740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45742
45743 2012-10-20 Roland McGrath <roland@hack.frob.com>
45744
45745 * io/fcntl.h: Move include of <bits/types.h> to the top and
45746 include it unconditionally.
45747
45748 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45749
45750 * wcsmbs/Makefile (tests-ifunc): New variable.
45751 (tests): Add $(tests-ifunc).
45752 * wcsmbs/test-wcschr-ifunc.c: New file.
45753 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45754 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45755 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45756 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45757 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45758
45759 * string/Makefile (tests-ifunc): New variable.
45760 (tests): Add $(tests-ifunc).
45761 * string/test-memccpy.c (TEST_NAME): New macro.
45762 * string/test-memchr.c (TEST_NAME): Likewise.
45763 * string/test-memcmp.c (TEST_NAME): Likewise.
45764 * string/test-memcpy.c (TEST_NAME): Likewise.
45765 * string/test-memmem.c (TEST_NAME): Likewise.
45766 * string/test-memmove.c (TEST_NAME): Likewise.
45767 * string/test-memset.c (TEST_NAME): Likewise.
45768 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45769 * string/test-stpcpy.c (TEST_NAME): Likewise.
45770 * string/test-stpncpy.c (TEST_NAME): Likewise.
45771 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45772 * string/test-strcasestr.c (TEST_NAME): Likewise.
45773 * string/test-strcat.c (TEST_NAME): Likewise.
45774 * string/test-strchr.c (TEST_NAME): Likewise.
45775 * string/test-strcmp.c(TEST_NAME): Likewise.
45776 * string/test-strcpy.c (TEST_NAME): Likewise.
45777 * string/test-strcspn.c (TEST_NAME): Likewise.
45778 * string/test-strlen.c (TEST_NAME): Likewise.
45779 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45780 * string/test-strncmp.c (TEST_NAME): Likewise.
45781 * string/test-strncpy.c (TEST_NAME): Likewise.
45782 * string/test-strnlen.c (TEST_NAME): Likewise.
45783 * string/test-strpbrk.c (TEST_NAME): Likewise.
45784 * string/test-strrchr.c (TEST_NAME): Likewise.
45785 * string/test-strspn.c (TEST_NAME): Likewise.
45786 * string/test-strstr.c (TEST_NAME): Likewise.
45787 * string/test-bcopy-ifunc.c: New file.
45788 * string/test-bzero-ifunc.c: Likewise.
45789 * string/test-memccpy-ifunc.c: Likewise.
45790 * string/test-memchr-ifunc.c: Likewise.
45791 * string/test-memcmp-ifunc.c: Likewise.
45792 * string/test-memcpy-ifunc.c: Likewise.
45793 * string/test-memmem-ifunc.c: Likewise.
45794 * string/test-memmove-ifunc.c: Likewise.
45795 * string/test-mempcpy-ifunc.c: Likewise.
45796 * string/test-memset-ifunc.c: Likewise.
45797 * string/test-rawmemchr-ifunc.c: Likewise.
45798 * string/test-stpcpy-ifunc.c: Likewise.
45799 * string/test-stpncpy-ifunc.c: Likewise.
45800 * string/test-strcasecmp-ifunc.c: Likewise.
45801 * string/test-strcasestr-ifunc.c: Likewise.
45802 * string/test-strcat-ifunc.c: Likewise.
45803 * string/test-strchr-ifunc.c: Likewise.
45804 * string/test-strchrnul-ifunc.c: Likewise.
45805 * string/test-strcmp-ifunc.c: Likewise.
45806 * string/test-strcpy-ifunc.c: Likewise.
45807 * string/test-strcspn-ifunc.c: Likewise.
45808 * string/test-strlen-ifunc.c: Likewise.
45809 * string/test-strncasecmp-ifunc.c: Likewise.
45810 * string/test-strncat-ifunc.c: Likewise.
45811 * string/test-strncmp-ifunc.c: Likewise.
45812 * string/test-strncpy-ifunc.c: Likewise.
45813 * string/test-strnlen-ifunc.c: Likewise.
45814 * string/test-strpbrk-ifunc.c: Likewise.
45815 * string/test-strrchr-ifunc.c: Likewise.
45816 * string/test-strspn-ifunc.c: Likewise.
45817 * string/test-strstr-ifunc.c: Likewise.
45818
45819 * debug/Makefile (tests-ifunc): New variable.
45820 (tests): Add $(tests-ifunc).
45821 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45822 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45823 * debug/test-stpcpy_chk-ifunc.c: New file.
45824 * debug/test-strcpy_chk-ifunc.c: Likewise.
45825
45826 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45827
45828 [BZ #13601]
45829 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45830 header is not read in.
45831
45832 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45833
45834 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45835 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45836 directly. Pass built executable to script as
45837 $(built-program-cmd).
45838 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45839 $testprogram without using LD_LIBRARY_PATH and $ldso.
45840
45841 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45842 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45843 $(rtld-installed-name).
45844 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45845 (rtld_installed_name): Likewise.
45846 (library_path): Likewise.
45847 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45848 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45849 $(run-program-prefix) to tst-tables.sh.
45850 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45851 it to run tst-table-from and tst-table-to.
45852 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45853 Pass it to tst-table.sh.
45854 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45855 $(run-program-prefix) to tst-gettext.sh.
45856 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45857 tst-translit.sh.
45858 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45859 tst-gettext2.sh.
45860 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45861 to run tst-gettext.
45862 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45863 to run tst-gettext2.
45864 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45865 to run tst-translit.
45866 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45867 $(run-program-prefix) to tst-mtrace.sh.
45868 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45869 to run tst-mtrace.
45870 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45871 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45872 $(rtld-installed-name).
45873 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45874 (rtld_installed_name): Likewise.
45875 (run_program_prefix): New variable. Use it to run wordexp-test.
45876
45877 * Makeconfig (ARCH): Remove all definitions.
45878 (machine): Likewise.
45879 [ARCH]: Remove conditional code.
45880 [!objdir]: Give error.
45881 [!objdir] (objpfx): Remove.
45882 [!objdir] (common-objpfx): Likewise.
45883 [!objdir] (common-objdir): Likewise.
45884 * configure.in (config_makefile): Remove. Hardcode Makefile in
45885 AC_CONFIG_FILES call.
45886 * configure: Regenerated.
45887
45888 [BZ #13888]
45889 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45890 or TMPDIR.
45891 (testout): Likewise.
45892
45893 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45894 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45895 $(rtld-installed-name).
45896 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45897 (rtld_installed_name): Likwise.
45898 (runit): Remove function.
45899 (run_getconf): New variable, Use it for running getconf binary.
45900
45901 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45902
45903 [BZ #14716]
45904 * string/test-memmem.c (check_result): New function.
45905 (do_one_test): Use it.
45906 (check1): New function.
45907 (test_main): Use it.
45908
45909 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45910
45911 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45912
45913 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45914
45915 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45916 (_G_LSEEK64): Likewise.
45917 (_G_MMAP64): Likewise.
45918 (_G_FSTAT64): Likewise.
45919 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45920 (_G_LSEEK64): Likewise.
45921 (_G_MMAP64): Likewise.
45922 (_G_FSTAT64): Likewise.
45923 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45924 unconditional. Call __mmap64 directly.
45925 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45926 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45927 __lseek64 directly.
45928 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45929 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45930 __mmap64 directly.
45931 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45932 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45933 __lseek64 directly.
45934 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45935 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45936 __lseek64 directly.
45937 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45938 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45939 __lseek64 directly.
45940 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45941 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45942 __fxstat64 directly.
45943 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45944 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45945 unconditional.
45946 (freopen64) [!_G_OPEN64]: Remove conditional code.
45947 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45948 unconditional.
45949 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45950 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45951 unconditional.
45952 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45953 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45954 unconditional.
45955 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45956 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45957 unconditional.
45958 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45959 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45960 unconditional.
45961 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45962 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45963 unconditional.
45964 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45965 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45966 unconditional.
45967 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45968
45969 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45970
45971 [BZ #12140]
45972 * manual/memory.texi (Malloc Tunable Parameters): Add note
45973 about free list pointers overwriting some perturb bytes.
45974 Wording suggested by Roland McGrath.
45975
45976 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45977
45978 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45979 (lgamma_test): Likewise.
45980 (tgamma_test): Likewise.
45981
45982 2012-10-16 Florian Weimer <fweimer@redhat.com>
45983
45984 [BZ #14700]
45985 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45986 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45987
45988 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45989
45990 * NEWS: Mention BZ #14716.
45991 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45992 when removing AVAILABLE1_USES_J macro.
45993
45994 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45995
45996 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45997 (__bswap_64): __uint64_t for unsigned 64-bit int.
45998
45999 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
46000
46001 * include/string.h (memmem): Declare libc hidden alias.
46002 * string/memmem.c (memmem): Define libc hidden alias.
46003 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46004 __read, __close instead of open, read, close.
46005
46006 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
46007
46008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46009 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46010 global and hidden.
46011 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46012 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46013 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46014 Likewise.
46015 (__rawmemchr_sse2): Likewise.
46016 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46017 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46018 (__strchr_sse2): Likewise.
46019 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46020 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46021 (__strcasecmp_sse2): Likewise.
46022 (__strncasecmp_sse2): Likewise.
46023 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46024 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46025 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46026 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46027 (__strrchr_sse2): Likewise.
46028 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46029 ifunc-impl-list.c.
46030 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46031 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46032 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46033 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46034 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46035 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46036 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46037 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46038 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46039 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46040 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46041 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46042 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46043 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46044 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46045 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46046 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46047 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46048 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46049 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46050 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46051 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46052 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46053 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46054 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46055 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46056 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46057 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46058 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46059 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46060
46061 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46062 global and hidden.
46063 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46064 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46065 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46066 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46067 Likewise.
46068 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46069 Likewise.
46070 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46071 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46072 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46073 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46074 ifunc-impl-list.c.
46075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46076 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46077 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46078 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46079 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46080 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46081 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46082 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46083 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46084 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46085 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46086 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46087 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46088 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46089 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46090 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46091 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46092 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46093 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46094 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46096 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46097 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46098 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46099 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46100 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46101 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46102 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46103 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46104 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46105 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46106 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46107 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46108 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46109 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46110 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46111 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46112 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46113 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46114 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46115 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46116
46117 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46118 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46119 * include/ifunc-impl-list.h: New file.
46120 * misc/ifunc-impl-list.c: Likewise.
46121 * misc/Makefile (routines): Add ifunc-impl-list.
46122 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46123 * string/test-string.h: Include <ifunc-impl-list.h>.
46124 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46125 TEST_NAME]: New variables.
46126 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46127 are defined.
46128 (test_init): Call __libc_ifunc_impl_list to initialize
46129 func_list if TEST_IFUNC and TEST_NAME are defined.
46130
46131 * string/Makefile (strop-tests): Add bcopy and bzero.
46132 * string/test-bcopy.c: New file.
46133 * string/test-bzero.c: Likewise.
46134 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46135 defined.
46136 * string/test-memset.c: Support bzero test if TEST_BZERO is
46137 defined.
46138 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46139 __libc_memmove.
46140 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46141 __libc_memset.
46142 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46143 of memset.
46144
46145 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46146
46147 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46148 * configure: Regenerated.
46149
46150 * Makeconfig (+link-static-before-libc): Don't include
46151 $(link-static-libc).
46152
46153 * libio/libio.h (_IO_pos_t): Remove.
46154
46155 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46156
46157 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46158 McGrath.
46159
46160 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46161
46162 * crypt/crypt-entry.c: Include fips-private.h.
46163 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46164 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46165 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46166 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46167
46168 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46169
46170 * crypt/crypt-private.h: Include stdbool.h.
46171 (_ufc_setup_salt_r): Return bool.
46172 * crypt/crypt-entry.c: Include errno.h.
46173 (__crypt_r): Return NULL with EINVAL for bad salt.
46174 * crypt/crypt_util.c (bad_for_salt): New.
46175 (_ufc_setup_salt_r): Check that salt is long enough and within
46176 the specified alphabet.
46177 * crypt/badsalttest.c: New file.
46178 * crypt/Makefile (tests): Add it.
46179 ($(objpfx)badsalttest): New.
46180
46181 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46182
46183 * NEWS: Add entry for BZ #14602.
46184
46185 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46186
46187 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46188 type-generic.
46189 * math/libm-test.inc: Update comment listing what functions and
46190 macros are tested.
46191 (isgreater_test): New function.
46192 (isgreaterequal_test): Likewise.
46193 (isless_test): Likewise.
46194 (islessequal_test): Likewise.
46195 (islessgreater_test): Likewise.
46196 (isunordered_test): Likewise.
46197 (main): Call the new functions.
46198
46199 2012-10-09 Roland McGrath <roland@hack.frob.com>
46200
46201 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46202 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46203 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46204 * sysdeps/i386/configure: Regenerated.
46205 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46206 * sysdeps/mach/configure: Regenerated.
46207 * sysdeps/mach/hurd/configure: Regenerated.
46208 * sysdeps/powerpc/configure: Regenerated.
46209 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46210 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46211 * sysdeps/s390/s390-32/configure: Regenerated.
46212 * sysdeps/s390/s390-64/configure: Regenerated.
46213 * sysdeps/sh/configure: Regenerated.
46214 * sysdeps/sparc/configure: Regenerated.
46215 * sysdeps/unix/sysv/linux/configure: Regenerated.
46216 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46217 * sysdeps/x86_64/configure: Regenerated.
46218
46219 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46220 defined. Don't check if MAP is NULL.
46221
46222 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46223
46224 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46225 (_G_stat64): Likewise.
46226 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46227 (_G_stat64): Likewise.
46228 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46229 instead of struct _G_stat64.
46230 * libio/fileops.c (mmap_remap_check): Likewise.
46231 (decide_maybe_mmap): Likewise.
46232 (_IO_new_file_seekoff): Likewise.
46233 (_IO_file_stat): Likewise.
46234 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46235 _G_off64_t.
46236 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46237 instead of struct _G_stat64.
46238 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46239
46240 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
46241
46242 [BZ #14602]
46243 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46244 Replace with ...
46245 (CHECK_EOL): New macro.
46246 (two_way_short_needle): Check beginning of haystack for EOL. Use
46247 CHECK_EOL.
46248 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46249 Replace with CHECK_EOL.
46250 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46251 Replace with CHECK_EOL.
46252
46253 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46254
46255 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46256 type-generic.
46257 * math/libm-test.inc: Update comment listing what functions and
46258 macros are tested.
46259 (finite_test): New function.
46260 (isinf_test): Likewise.
46261 (isnan_test): Likewise.
46262 (fpclassify_test): Test subnormal input.
46263 (isfinite_test): Likewise.
46264 (isnormal_test): Likewise.
46265 (main): Call the new functions.
46266
46267 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46268
46269 [BZ #14660]
46270 * Makerules (%.dynsym): Force C locale when running
46271 $(OBJDUMP) --dynamic-syms.
46272
46273 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46274
46275 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46276 <stdint.h>.
46277
46278 2012-10-06 David S. Miller <davem@davemloft.net>
46279
46280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46281 upper 32-bits of the length value in %o2 since we use branch-on-register
46282 tests which consider the entire 64-bit register.
46283
46284 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46285
46286 * string/test-strstr.c (check2): Add a test for page boundary.
46287
46288 2012-10-05 David S. Miller <davem@davemloft.net>
46289
46290 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46291 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46292 file.
46293 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46294 sysdep_routines.
46295 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46296 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46297 and bzero when HWCAP_SPARC_CRYPTO is present.
46298
46299 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46300
46301 [BZ #14602]
46302 * string/test-strstr.c (check2): New function.
46303 (test_main): Call check2.
46304
46305 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46306 and bug-strchr1.
46307 * string/bug-strcasestr1.c (do_test): Moved to ...
46308 * string/test-strcasestr.c (check1): Here. New function.
46309 (do_one_test): Break out result checking code into ...
46310 (check_result): This. New function.
46311 (do_one_test): Call check_result.
46312 (test_main): Call check1.
46313 * string/bug-strchr1.c (do_test): Moved to ...
46314 * string/test-strchr.c (check1): Here. New function.
46315 (do_one_test): Break out result checking code into ...
46316 (check_result): This. New function.
46317 (do_one_test): Call check_result.
46318 (test_main): Call check1.
46319 * string/bug-strstr1.c (main): Moved to ...
46320 * string/test-strstr.c (check1): Here. New function.
46321 (do_one_test): Break out result checking code into ...
46322 (check_result): This. New function.
46323 (do_one_test): Call check_result.
46324 (test_main): Call check1.
46325 * string/bug-strcasestr1.c: Removed.
46326 * string/bug-strchr1.c: Likewise.
46327 * string/bug-strstr1.c: Likewise.
46328
46329 * elf/Makefile (dl-routines): Add hwcaps.
46330 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46331 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46332 (_dl_important_hwcaps): Moved to ...
46333 * elf/dl-hwcaps.c: Here. New file.
46334 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46335
46336 [BZ #14557]
46337 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46338 if IS_IN_rtld isn't defined.
46339
46340 * elf/dl-support.c (_dl_sysinfo_map): New.
46341 Include "get-dynamic-info.h" and "setup-vdso.h".
46342 (_dl_non_dynamic_init): Call setup_vdso.
46343 * elf/dynamic-link.h: Don't include <assert.h>.
46344 (elf_get_dynamic_info): Moved to ...
46345 * elf/get-dynamic-info.h: Here. New file.
46346 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46347 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46348 * elf/setup-vdso.h: Here. New file.
46349 * elf/rtld.c: Include "setup-vdso.h".
46350 (dl_main): Call setup_vdso.
46351
46352 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46353
46354 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46355 creal in comment listing functions tested. List finite, isinf,
46356 isnan, isless, islessequal, isgreater, isgreaterequal,
46357 islessgreater, isunordered, lgamma_r and pow10 as functions and
46358 macros not tested. Mention which functions not tested are aliases
46359 for other functions. Fix typo. Note that signs of NaNs are not
46360 tested.
46361
46362 * scripts/config.guess: Update from config.git.
46363 * scripts/config.sub: Likewise.
46364
46365 2012-10-04 Roland McGrath <roland@hack.frob.com>
46366
46367 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46368 * misc/madvise.c (madvise): Renamed to __madvise.
46369 Make madvise a weak alias.
46370 * include/sys/mman.h: Declare __madvise.
46371 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46372 * sysdeps/unix/syscalls.list
46373 (madvise): Make __madvise the strong name, and madvise a weak alias.
46374 * sysdeps/unix/sysv/linux/syscalls.list
46375 (madvise, mmap): Remove redundant entries.
46376 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46377 * malloc/malloc.c (mtrim): Likewise.
46378 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46379
46380 2012-10-03 Roland McGrath <roland@hack.frob.com>
46381
46382 * sysdeps/mach/hurd/dl-cache.c: File removed.
46383 * config.h.in (USE_LDCONFIG): New #undef.
46384 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46385 * configure: Regenerated.
46386 * elf/Makefile (dl-routines): Add dl-cache only under
46387 [$(use-ldconfig) = yes].
46388 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46389 cache on [USE_LDCONFIG].
46390 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46391 [USE_LDCONFIG].
46392 * elf/rtld.c (dl_main): Likewise.
46393
46394 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46395
46396 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46397 _SC_LEVEL4_CACHE_LINESIZE.
46398
46399 2012-10-03 Roland McGrath <roland@hack.frob.com>
46400
46401 * sysdeps/unix/bsd/confstr.h: File removed.
46402
46403 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46404
46405 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46406 sys/sdt-config.h.
46407
46408 2012-10-02 Roland McGrath <roland@hack.frob.com>
46409
46410 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46411 Make 'mapoff' field ElfW(Off) rather than off_t.
46412
46413 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46414
46415 * nscd/Makefile: Remove nscd-cflags and all its users.
46416 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46417 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46418
46419 [BZ #10631]
46420 * malloc.c (malloc_printerr): Clarify error message.
46421
46422 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46423
46424 [BZ #14648]
46425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46426 Set bit_FMA_Usable if FMA is supported.
46427 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46428 macro.
46429 (bit_FMA4_Usable): Updated.
46430 (index_FMA_Usable): New macro.
46431 (CPUID_FMA): Likewise
46432 (HAS_FMA): Defined with bit_FMA_Usable.
46433
46434 2012-10-01 Roland McGrath <roland@hack.frob.com>
46435
46436 * bits/types.h (__swblk_t): Type removed.
46437 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46438 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46440 (__SWBLK_T_TYPE): Likewise.
46441 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46442 (__SWBLK_T_TYPE): Likewise.
46443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46444 (__SWBLK_T_TYPE): Likewise.
46445 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46446 (__SWBLK_T_TYPE): Likewise.
46447
46448 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46449 Honza Horak <hhorak@redhat.com>
46450
46451 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46452 (xdr_mapname): Use YPMAXMAP as maxsize.
46453 (xdr_peername): Use YPMAXPEER as maxsize.
46454 (xdr_keydat): Use YPAXRECORD as maxsize.
46455 (xdr_valdat): Use YPMAXRECORD as maxsize.
46456
46457 2012-10-01 Roland McGrath <roland@hack.frob.com>
46458
46459 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46460
46461 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46462 * csu/init-first.c: ... here.
46463 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46464 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46465 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46466 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46467 * sysdeps/i386/init-first.c: File removed.
46468 * sysdeps/sh/init-first.c: File removed.
46469
46470 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46471
46472 [BZ #14645]
46473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46474 if x * y might underflow to zero and z is zero.
46475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46477 * math/libm-test.inc (min_subnorm_value): New variable.
46478 (fma_test): Add more tests.
46479 (fma_test_towardzero): Likewise.
46480 (fma_test_downward): Likewise
46481 (fma_test_upward): Likewise.
46482 (initialize): Set min_subnorm_value.
46483
46484 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46485
46486 [BZ #14638]
46487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46488 0 + 0.
46489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46490 mode for addition resulting in exact zero.
46491 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46493 exact 0 + 0.
46494 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46495 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46496 * math/libm-test.inc (fma_test): Add more tests.
46497 (fma_test_towardzero): New function.
46498 (fma_test_downward): Likewise.
46499 (fma_test_upward): Likewise.
46500 (main): Call the new functions.
46501
46502 2012-09-28 David S. Miller <davem@davemloft.net>
46503
46504 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46505
46506 2012-09-28 Roland McGrath <roland@hack.frob.com>
46507
46508 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46509 instead of SIGALRM.
46510
46511 * sysdeps/gnu/_G_config.h: Moved to ...
46512 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46513 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46514 * sysdeps/generic/_G_config.h: ... here.
46515
46516 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46517
46518 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46519
46520 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46521 Conditionalize target on [libnss_test1.so-version].
46522
46523 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46524
46525 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46526 (elfobjdir): Move out of conditionals.
46527
46528 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46529 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46530 (__nss_lookup_function): Conditionalize label remove_from_tree on
46531 [!DO_STATIC_NSS || SHARED], matching its only use.
46532
46533 2012-09-28 David S. Miller <davem@davemloft.net>
46534
46535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46536 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46537 file.
46538 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46539 sysdep_routines.
46540 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46542 when HWCAP_SPARC_CRYPTO is present.
46543
46544 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46545
46546 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46547
46548 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46549
46550 [BZ #6530]
46551 * stdio-common/vfprintf.c (process_string_arg): Revert
46552 2000-07-22 change.
46553
46554 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46555
46556 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46557 for testcase.
46558 * stdio-common/tst-sprintf.c: Include <locale.h>
46559 (main): Test sprintf's handling of incomplete multibyte
46560 characters.
46561
46562 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46563
46564 * elf/dl-runtime.c (VERSYMIDX): Removed.
46565 * elf/dl-version.c (VERSYMIDX): Likewise.
46566 * elf/do-rel.h (VERSYMIDX): Likewise.
46567 (VALIDX): Likewise.
46568 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46569 * elf/rtld.c (VALIDX): Likewise.
46570 (ADDRIDX): Likewise.
46571 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46572 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46573 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46574 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46575 (VALIDX): Likewise.
46576 (ADDRIDX): Likewise.
46577
46578 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46579
46580 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46581
46582 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46583
46584 [BZ #11438]
46585 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46586 to global scope.
46587 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46588 addresses are in the same scope as 192.0.2/24.
46589 * posix/gai.conf: Document new scope table defaults.
46590
46591 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46592
46593 [BZ #5298]
46594 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46595 for ftell. Compute offsets from write pointers instead.
46596 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46597
46598 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46599
46600 [BZ #14543]
46601 * libio/Makefile (tests): New test case tst-fseek.
46602 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46603 combination works in wide mode.
46604 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46605 state when the external buffer state changes.
46606
46607 2012-09-27 David S. Miller <davem@davemloft.net>
46608
46609 [BZ #14376]
46610 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46611 pass reloc->r_addend in as the 'high' argument to
46612 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46613
46614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46615
46616 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46617
46618 * rt/tst-aio2.c: Include <pthread.h>.
46619 * rt/tst-aio3.c: Likewise.
46620
46621 2012-09-27 Steve Ellcey <sellcey@mips.com>
46622
46623 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46624
46625 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46626
46627 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46628 contents on [SHARED].
46629
46630 2012-09-26 Marek Polacek <polacek@redhat.com>
46631
46632 [BZ #14530]
46633 [BZ #13741]
46634 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46635 for C++ and GCC <4.3 as well as for non GCC compilers.
46636
46637 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46638
46639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46640
46641 2012-09-25 Roland McGrath <roland@hack.frob.com>
46642
46643 * Makefile.in (all, install): Declare with .PHONY.
46644 Reported by Michael Hope <michael.hope@linaro.org>.
46645
46646 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46647
46648 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46649 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46650 system header.
46651 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46652 Likewise.
46653 (sydep_routines): Add the new and the internal functions.
46654 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46655 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46657 (GLIBC_2.17): Add the new function.
46658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46659 (GLIBC_2.17): Likewise.
46660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46661 (GLIBC_2.17): Likewise.
46662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46663 (GLIBC_2.17): Likewise.
46664 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46665
46666 2012-09-25 Alan Modra <amodra@gmail.com>
46667
46668 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46669 Add release barrier before setting once_control to say
46670 initialisation is done. Add hints on lwarx. Use macro in
46671 place of isync.
46672 (clear_once_control): Add release barrier.
46673
46674 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46675
46676 [BZ #13629]
46677 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46678 specially.
46679 * math/s_clog10.c (__clog10): Likewise.
46680 * math/s_clog10f.c (__clog10f): Likewise.
46681 * math/s_clog10l.c (__clog10l): Likewise.
46682 * math/s_clogf.c (__clogf): Likewise.
46683 * math/s_clogl.c (__clogl): Likewise.
46684 * math/Makefile (libm-calls): Add x2y2m1.
46685 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46686 (__x2y2m1): Likewise.
46687 (__x2y2m1l): Likewise.
46688 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46689 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46690 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46691 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46692 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46693 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46694 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46695 * sysdeps/i386/fpu/libm-test-ulps: Update.
46696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46697
46698 [BZ #14621]
46699 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46700 int as type of variable DEPTH.
46701 (glob): Use size_t instead of int as type of variables NEWCOUNT
46702 and OLD_PATHC.
46703
46704 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46705
46706 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46707 Add s_sincosf-sse2.
46708 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46709 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46710 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46711 macros for using routine as __sincosf_ia32.
46712 Use macro for function declaration and weak_alias.
46713 * sysdeps/i386/fpu/libm-test-ulps: Update.
46714
46715 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46717
46718 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46719 subnormal argument.
46720 * math/s_cexpf.c (__cexpf): Likewise.
46721 * math/s_csinf.c (__csinf): Likewise.
46722 * math/s_csinhf.c (__csinhf): Likewise.
46723 * math/s_ctanf.c (__ctanf): Likewise.
46724 * math/s_ctanhf.c (__ctanhf): Likewise.
46725 * math/s_ccosh.c (__ccoshf): Likewise.
46726 * math/s_cexp.c (__cexpl): Likewise.
46727 * math/s_csin.c (__csin): Likewise.
46728 * math/s_csinh.c (__csinh): Likewise.
46729 * math/s_ctan.c (__ctan): Likewise.
46730 * math/s_ctanh.c (ctanh): Likewise.
46731 * math/s_ccoshl.c (__ccoshl): Likewise.
46732 * math/s_cexpl.c (__cexpl): Likewise.
46733 * math/s_csinl.c (__csinl): Likewise.
46734 * math/s_csinhl.c (__csinhl): Likewise.
46735 * math/s_ctanl.c (__ctanl): Likewise.
46736 * math/s_ctanhl.c (__ctanhl): Likewise.
46737
46738 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46739
46740 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46741 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46742 (_IO_off_t): Define to __off_t, not _G_off_t.
46743 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46744 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46745 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46746 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46747 type of __dummy and __dummy2 fields.
46748 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46749 (_G_ssize_t): Likewise.
46750 (_G_off_t): Likewise.
46751 (_G_pid_t): Likewise.
46752 (_G_uid_t): Likewise.
46753 (_G_wchar_t): Likewise.
46754 (_G_wint_t): Likewise.
46755 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46756 (_G_ssize_t): Likewise.
46757 (_G_off_t): Likewise.
46758 (_G_pid_t): Likewise.
46759 (_G_uid_t): Likewise.
46760 (_G_wchar_t): Likewise.
46761 (_G_wint_t): Likewise.
46762 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46763 (_G_ssize_t): Likewise.
46764 (_G_off_t): Likewise.
46765 (_G_pid_t): Likewise.
46766 (_G_uid_t): Likewise.
46767 (_G_wchar_t): Likewise.
46768 (_G_wint_t): Likewise.
46769
46770 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46771
46772 * malloc/arena.c: Include malloc-sysdep.h.
46773 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46774 is sufficient to shrink the heap or an unmap is needed.
46775 * sysdeps/generic/malloc-sysdep.h: New file. Define
46776 new function check_may_shrink_heap.
46777 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46778 new function check_may_shrink_heap.
46779
46780 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46781
46782 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46783 comments.
46784
46785 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46786
46787 * catgets/test-gencat.sh: Add "set -e".
46788 * elf/tst-pathopt.sh: Likewise.
46789 * grp/tst_fgetgrent.sh: Likewise.
46790 * iconvdata/run-iconv-test.sh: Likewise.
46791 * intl/tst-gettext.sh: Likewise.
46792 * intl/tst-gettext2.sh: Likewise.
46793 * intl/tst-gettext4.sh: Likewise.
46794 * intl/tst-gettext6.sh: Likewise.
46795 * intl/tst-translit.sh: Likewise.
46796 * io/ftwtest-sh: Likewise.
46797 * libio/test-freopen.sh: Likewise.
46798 * malloc/tst-mtrace.sh: Likewise.
46799 * posix/globtest.sh: Likewise.
46800 * posix/tst-getconf.sh: Likewise.
46801 * posix/wordexp-tst.sh: Likewise.
46802 * stdio-common/tst-printf.sh: Likewise.
46803 * stdio-common/tst-unbputc.sh: Likewise.
46804 * stdlib/tst-fmtmsg.sh: Likewise.
46805 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46806 * catgets/Makefile: Do not specify -e option when running
46807 testsuite shell scripts.
46808 * elf/Makefile: Likewise.
46809 * grp/Makefile: Likewise.
46810 * iconvdata/Makefile: Likewise.
46811 * intl/Makefile: Likewise.
46812 * io/Makefile: Likewise.
46813 * libio/Makefile: Likewise.
46814 * malloc/Makefile: Likewise.
46815 * posix/Makefile: Likewise.
46816 * stdio-common/Makefile: Likewise.
46817 * stdlib/Makefile: Likewise.
46818 * sysdeps/x86_64/Makefile: Likewise.
46819
46820 * io/ftwtest-sh: Add copyright header.
46821 * posix/globtest.sh: Likewise.
46822 * posix/tst-getconf.sh: Likewise.
46823 * posix/wordexp-tst.sh: Likewise.
46824 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46825
46826 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46827
46828 [BZ #13679]
46829 * Makeconfig (+link): Defined as $(+link-static) if
46830 $(build-shared) isn't yes.
46831 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46832 isn't yes.
46833 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46834
46835 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46836
46837 [BZ #14562]
46838 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46839 new chunk size with MALLOC_ALIGN_MASK.
46840
46841 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46842
46843 [BZ #5044]
46844 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46845 <rounding-mode.h>.
46846 (__printf_fphex): Determine rounding using get_rounding_mode and
46847 round_away.
46848 * stdio-common/tst-printf-round.c (struct hex_test): New
46849 structure.
46850 (hex_tests): New variable.
46851 (test_hex_in_one_mode): New function.
46852 (do_test): Also run tests for hex float output.
46853
46854 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46855
46856 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46857 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46858 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46859 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46860 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46861 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46862 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46863 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46864
46865 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46866
46867 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46868 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46869 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46870 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46871
46872 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46873
46874 [BZ #14579]
46875 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46876 mode only.
46877 * elf/tst-rtld-load-self.sh: New test.
46878 * elf/Makefile: Run it.
46879
46880 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46881
46882 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46883 (tst-writev-ENV): Remove.
46884 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46885
46886 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46887
46888 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46889
46890 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46891
46892 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46893 unconditional.
46894 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46895 Likewise.
46896 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46897 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46898 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46899 Likewise.
46900
46901 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46902
46903 [BZ #14587]
46904 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46905 * config.make.in (have-cpp-asm-debuginfo): Removed.
46906 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46907 * configure: Regenerated.
46908
46909 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46910
46911 [BZ #5044]
46912 * stdio-common/printf_fp.c: Include <stdbool.h> and
46913 <rounding-mode.h>.
46914 (___printf_fp): Determine rounding using get_rounding_mode and
46915 round_away.
46916 * stdio-common/tst-printf-round.c: New file.
46917 * stdio-common/Makefile (tests): Add tst-printf-round.
46918 (link-libm): New variable.
46919 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46920
46921 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46922
46923 [BZ #14576]
46924 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46925 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46926 Likewise.
46927 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46928 Likewise.
46929
46930 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46931
46932 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46933 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46934 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46935 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46936
46937 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46938
46939 [BZ #14518]
46940 * include/rounding-mode.h: New file.
46941 * sysdeps/generic/get-rounding-mode.h: Likewise.
46942 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46943 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46944 (MAX_VALUE): New macro.
46945 (MIN_VALUE): Likewise.
46946 (overflow_value): New function.
46947 (underflow_value): Likewise.
46948 (round_and_return): Use overflow_value and underflow_value to
46949 determine return values in overflow and underflow cases. Use
46950 round_away to determine rounding depending on rounding mode.
46951 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46952 determine return values in overflow and underflow cases.
46953 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46954 (struct test_results): New structure.
46955 (struct test): Use struct test_results to store expected results
46956 for all rounding modes.
46957 (TEST): Include expected results for all rounding modes.
46958 (test_in_one_mode): New function.
46959 (do_test): Use test_in_one_mode to compute and check results.
46960 Check results for all rounding modes.
46961 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46962 $(link-libm).
46963
46964 2012-12-09 Allan McRae <allan@archlinux.org>
46965
46966 * sysdeps/i386/fpu/libm-test-ulps: Update
46967
46968 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46969
46970 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46971 (_G_int32_t): Likewise.
46972 (_G_uint16_t): Likewise.
46973 (_G_uint32_t): Likewise.
46974 (_G_HAVE_BOOL): Likewise.
46975 (_G_HAVE_ATEXIT): Likewise.
46976 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46977 (_G_HAVE_IO_FILE_OPEN): Likewise.
46978 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46979 (_G_int32_t): Likewise.
46980 (_G_uint16_t): Likewise.
46981 (_G_uint32_t): Likewise.
46982 (_G_HAVE_BOOL): Likewise.
46983 (_G_HAVE_ATEXIT): Likewise.
46984 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46985 (_G_HAVE_IO_FILE_OPEN): Likewise.
46986 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46987 (_G_int32_t): Likewise.
46988 (_G_uint16_t): Likewise.
46989 (_G_uint32_t): Likewise.
46990 (_G_HAVE_BOOL): Likewise.
46991 (_G_HAVE_ATEXIT): Likewise.
46992 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46993 (_G_HAVE_IO_FILE_OPEN): Likewise.
46994
46995 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46996
46997 * csu/libc-tls.c: Update copyright years.
46998
46999 2012-09-10 Joseph Myers <joseph@codesourcery.com>
47000
47001 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47002 [!_G_USING_THUNKS]: Remove conditional code.
47003 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47004 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47005
47006 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47007 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47008 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47009 (_G_VTABLE_LABEL_PREFIX): Likewise.
47010 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47011 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47012 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47013 (_G_VTABLE_LABEL_PREFIX): Likewise.
47014 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47015 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47016 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47017 (_G_VTABLE_LABEL_PREFIX): Likewise.
47018 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47019
47020 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
47021
47022 * libio/Makefile: Include ../Makeconfig before tests.
47023 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47024 only if $(build-shared) is yes.
47025
47026 * iconv/gconv_db.c: Update copyright years.
47027
47028 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47029
47030 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47031 unwind info if defined PIC. Fix special cases description.
47032 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47033
47034 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47035 DP_HI_MASK entry.
47036 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47037
47038 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
47039
47040 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47041
47042 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47043 is NULL.
47044
47045 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47046 (LDLIBS-tst-chk4): This.
47047 (LDFLAGS-tst-chk5): Renamed to ...
47048 (LDLIBS-tst-chk5): This.
47049 (LDFLAGS-tst-chk6): Renamed to ...
47050 (LDLIBS-tst-chk6): This.
47051 (LDFLAGS-tst-lfschk4): Renamed to ...
47052 (LDLIBS-tst-lfschk4): This.
47053 (LDFLAGS-tst-lfschk5): Renamed to ...
47054 (LDLIBS-tst-lfschk5): This.
47055 (LDFLAGS-tst-lfschk6): Renamed to ...
47056 (LDLIBS-tst-lfschk6): This.
47057
47058 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47059 on $(common-objpfx)soversions.mk.
47060
47061 2012-09-07 Joseph Myers <joseph@codesourcery.com>
47062
47063 [BZ #10014]
47064 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47065 example host name.
47066
47067 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47068
47069 * malloc/arena.c (arena_get_retry): New function that gets
47070 another arena for the caller to try its request on.
47071 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47072 current arena cannot fulfill the request.
47073 (__libc_memalign): Likewise.
47074 (__libc_memalign): Likewise.
47075 (__libc_pvalloc): Likewise.
47076 (__libc_calloc): Likewise.
47077
47078 2012-09-05 John Tobey <john.tobey@gmail.com>
47079
47080 [BZ #13542]
47081 * manual/arith.texi (Operations on Complex): Fix description
47082 of carg branch cut.
47083
47084 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47085
47086 [BZ #10014]
47087 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47088 host name.
47089
47090 [BZ #10038]
47091 * manual/memory.texi (Memory): Make order of menu items match
47092 order of sections.
47093
47094 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47095
47096 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47097 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
47098 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47099
47100 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47101
47102 * csu/libc-tls.c (static_dtv): Renamed to ...
47103 (_dl_static_dtv): This. Make it global.
47104 (_dl_initial_dtv): Removed.
47105 (__libc_setup_tls): Updated.
47106 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47107 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47108 DL_INITIAL_DTV.
47109
47110 2012-09-06 Petr Machata <pmachata@redhat.com>
47111
47112 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47113 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47114 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47115 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47116
47117 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47118
47119 [BZ #14545]
47120 * csu/libc-tls.c (_dl_initial_dtv): New variable.
47121 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47122 freeing dtv[-1].
47123
47124 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47125
47126 [BZ #14544]
47127 * Makeconfig (link-static-before-libc): Replace $(+prector)
47128 with $(+prectorT).
47129 (link-static-after-libc): Replace $(+postctor) with
47130 $(+postctorT).
47131 (link-bounded): Replace $(+prector)/$(+postctor) with
47132 $(+prectorT)/$(+postctorT).
47133 (+prectorT): New macro.
47134 (+postctorT): Likewise.
47135
47136 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47137
47138 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47139 (round_str): Handle values above the maximum for IBM long double
47140 as inexact.
47141 * stdlib/tst-strtod-round.c (tests): Regenerated.
47142
47143 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47144
47145 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47146 assembler flag.
47147 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47148 zarch_nohighgprs around the zarch optimized routines.
47149 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47150 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47152 for zarch.
47153
47154 2012-09-05 David S. Miller <davem@davemloft.net>
47155
47156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47157
47158 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47159 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47160 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47161 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47162 entries.
47163
47164 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47165
47166 * malloc/arena.c: Fold copyright years.
47167 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47168
47169 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47170
47171 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47172
47173 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47174
47175 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47176
47177 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47178
47179 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47180 change internal state upon failure.
47181
47182 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47183
47184 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47185 * malloc/memusage.c (mmap): Likewise.
47186 (mmap64, mremap): Likewise. Adjust name in comment.
47187
47188 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47189
47190 * libio/fileops.c: Fix typos in comments.
47191 * libio/oldfileops.c: Likewise.
47192 * libio/wfileops.c: Likewise.
47193
47194 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47195
47196 [BZ #1349]
47197 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47198 (tst-malloc-usable-ENV): Set environment for test case.
47199 * malloc/hooks.c (malloc_check_get_size): New function to get
47200 requested size.
47201 * malloc/malloc.c (musable): Use malloc_check_get_size.
47202 * malloc/tst-malloc-usable.c: New test case.
47203
47204 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47205
47206 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47207
47208 2012-09-05 Allan McRae <allan@archlinux.org>
47209
47210 [BZ #13966]
47211 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47212 determine header location.
47213 * configure: Regenerated.
47214
47215 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47216
47217 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47218 float format.
47219 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47220 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47221 format.
47222 (test): Regenerate.
47223
47224 2012-09-04 David S. Miller <davem@davemloft.net>
47225
47226 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47227 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47228 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47229
47230 2012-09-04 Florian Weimer <fweimer@redhat.com>
47231
47232 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47233 failures.
47234
47235 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47236
47237 2012-09-04 Joseph Myers <joseph@codesourcery.com>
47238
47239 [BZ #9914]
47240 * libio/iogetdelim.c: Include <limits.h>.
47241 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47242 + len + 1 would overflow.
47243
47244 2012-09-03 Andreas Jaeger <aj@suse.de>
47245
47246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47247 * sysdeps/i386/fpu/libm-test-ulps: Update.
47248
47249 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47250
47251 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47252 Add s_sinf-sse2, s_conf-sse2.
47253
47254 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47255 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47256 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47257 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47258
47259 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47260 for using routine as __sinf_ia32.
47261 Use macro for function declaration and weak_alias.
47262 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47263 for using routine as __cosf_ia32.
47264 Use macro for function declaration and weak_alias.
47265
47266 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47267 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47268
47269 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47270 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47272
47273 * math/libm-test.inc (cos_test): Add more test cases.
47274 (sin_test): Likewise.
47275 (sincos_test): Likewise.
47276
47277 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47278
47279 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47280 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47281 hidden.
47282 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47283
47284 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47285
47286 [BZ #14538]
47287 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47288 first element of the GOT.
47289 (elf_machine_load_address): Return the difference between
47290 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47291
47292 2012-09-01 Allan McRae <allan@archlinux.org>
47293
47294 [BZ #13412]
47295 * configure.in (AWK): Require gawk version 3.0 or later.
47296 * configure: Regenerated.
47297
47298 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47299
47300 * sysdeps/unix/sysv/linux/kernel-features.h
47301 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47302 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47303 [__NR_clock_getres]: Make code unconditional.
47304 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47305 (clock_getcpuclockid): Remove code left unreachable by removal of
47306 conditionals.
47307 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47308 code unconditional.
47309 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47310 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47311 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47312 Make code unconditional.
47313 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47314 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47315 * sysdeps/unix/sysv/linux/clock_settime.c
47316 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47317 conditional code.
47318 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47319 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47320
47321 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47322
47323 [BZ #14476]
47324 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47325 scripts/test-installation.pl.
47326
47327 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47328 and $ld_so_version if it is set.
47329
47330 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47331
47332 [BZ #14516]
47333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47334 failure if reading from procfs failed.
47335 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47336
47337 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47338
47339 * sysdeps/unix/sysv/linux/kernel-features.h
47340 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47341 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47342 Remove conditional code.
47343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47344 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47345 Remove conditional code.
47346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47347 * sysdeps/unix/sysv/linux/i386/fxstat.c
47348 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47350 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47351 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47353 * sysdeps/unix/sysv/linux/i386/lxstat.c
47354 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47356 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47357 Remove conditional code.
47358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47359 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47360 Remove conditional code.
47361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47362 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47363 <kernel-features.h>.
47364 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47365 Remove.
47366 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47367 Remove conditional code.
47368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47369 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47370 Remove conditional.
47371
47372 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47373
47374 [BZ #5400]
47375 * NEWS: Add fixed bug number.
47376
47377 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47378
47379 [BZ #14519]
47380 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47381 underflowing exponent in case of negative sign.
47382 * stdlib/tst-strtod-round-data: Add more tests.
47383 * stdlib/tst-strtod-round.c (tests): Regenerated.
47384
47385 [BZ #3479]
47386 * stdlib/strtod_l.c (NDIG): Remove.
47387 (HEXNDIG): Likewise.
47388 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47389 smallest representable value.
47390 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47391 lie within an exact representation of 1/2 ulp of the result.
47392 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47393 unconditionally.
47394 (TENS_P9_IDX): Define unconditionally.
47395 (TENS_P9_SIZE): Likewise.
47396 (TENS_P10_IDX): Likewise.
47397 (TENS_P10_SIZE): Likewise.
47398 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47399 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47400 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47401 entries for 10^2^13 and 10^2^14.
47402 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47403 (TENS_P13_IDX): Define.
47404 (TENS_P13_SIZE): Likewise.
47405 (TENS_P14_IDX): Likewise.
47406 (TENS_P14_SIZE): Likewise.
47407 (_fpioconst_pow10): Change array size to
47408 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47409 unconditional.
47410 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47411 1024]: Add entries for 10^2^13 and 10^2^14.
47412 [LAST_POW10 > _LAST_POW10]: Remove #error.
47413 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47414 (_fpioconst_pow10): Change array size to
47415 FPIOCONST_POW10_ARRAY_SIZE.
47416 * stdlib/gen-fpioconst.c: New file.
47417 * stdlib/gen-tst-strtod-round.c: Likewise.
47418 * stdlib/tst-strtod-round-data: Likewise.
47419 * stdlib/tst-strtod-round.c: Likewise.
47420 * stdlib/Makefile (tests): Add tst-strtod-round.
47421
47422 [BZ #14459]
47423 * stdlib/strtod_l.c: Include <stdint.h>.
47424 (NDEBUG): Do not define.
47425 (round_and_return): Change EXPONENT parameter to type intmax_t.
47426 Rearrange calculations to avoid internal overflow possibilities.
47427 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47428 Rearrange calculations to avoid internal overflow possibilities.
47429 Assert that number fits inside MPNSIZE limbs.
47430 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47431 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47432 calculations and add assertions to avoid internal overflow
47433 possibilities. Add casts to avoid signed/unsigned operations.
47434 * stdlib/tst-strtod-overflow.c: New file.
47435 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47436
47437 2012-08-25 Marek Polacek <polacek@redhat.com>
47438
47439 * time/time.h: Fix some typos in comments.
47440
47441 2012-08-23 Roland McGrath <roland@hack.frob.com>
47442
47443 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47444 * posix/tst-rfc3484-2.c: Likewise.
47445 * posix/tst-rfc3484-3.c: Likewise.
47446
47447 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47448
47449 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47450 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47451
47452 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47453
47454 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47455 #include of fxstatat64.c.
47456
47457 2012-08-22 Roland McGrath <roland@hack.frob.com>
47458
47459 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47460 * shadow/getspent_r.c: Likewise.
47461 * shadow/getspnam.c: Likewise.
47462 * shadow/getspnam_r.c: Likewise.
47463 * gshadow/getsgent.c: Likewise.
47464 * gshadow/getsgent_r.c: Likewise.
47465 * gshadow/getsgnam.c: Likewise.
47466 * gshadow/getsgnam_r.c: Likewise.
47467 * inet/getnetbyad.c: Likewise.
47468 * inet/getnetbyad_r.c: Likewise.
47469 * inet/getnetbynm.c: Likewise.
47470 * inet/getnetbynm_r.c: Likewise.
47471 * inet/getnetent.c: Likewise.
47472 * inet/getnetent_r.c: Likewise.
47473 * inet/getproto.c: Likewise.
47474 * inet/getproto_r.c: Likewise.
47475 * inet/getprtent.c: Likewise.
47476 * inet/getprtent_r.c: Likewise.
47477 * inet/getprtname.c: Likewise.
47478 * inet/getprtname_r.c: Likewise.
47479 * inet/getrpcbyname.c: Likewise.
47480 * inet/getrpcbyname_r.c: Likewise.
47481 * inet/getrpcbynumber.c: Likewise.
47482 * inet/getrpcbynumber_r.c: Likewise.
47483 * inet/getrpcent.c: Likewise.
47484 * inet/getrpcent_r.c: Likewise.
47485 * inet/getaliasent.c: Likewise.
47486 * inet/getaliasent_r.c: Likewise.
47487 * inet/getaliasname.c: Likewise.
47488 * inet/getaliasname_r.c: Likewise.
47489 * nscd/getgrgid_r.c: Likewise.
47490 * nscd/getgrnam_r.c: Likewise.
47491 * nscd/gethstbyad_r.c: Likewise.
47492 * nscd/gethstbynm3_r.c: Likewise.
47493 * nscd/getpwnam_r.c: Likewise.
47494 * nscd/getpwuid_r.c: Likewise.
47495 * nscd/getsrvbynm_r.c: Likewise.
47496 * nscd/getsrvbypt_r.c: Likewise.
47497 * nscd/gai.c: Likewise.
47498
47499 * configure.in (build_nscd): New substituted variable, set
47500 by --disable-build-nscd and defaults to $use_nscd.
47501 * configure: Regenerated.
47502 * config.make.in (build-nscd): New substituted variable.
47503 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47504 Change conditional to require [$(build-nscd) = yes] as well.
47505 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47506
47507 [BZ# 13696]
47508 * configure.in (use_nscd): New substituted variable, set by
47509 --disable-nscd. If enabled, define USE_NSCD.
47510 * configure: Regenerated.
47511 * config.h.in: Add USE_NSCD.
47512 * config.make.in (use-nscd): New substituted variable.
47513 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47514 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47515 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47516 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47517 (CFLAGS-getgrnam_r.c): Likewise.
47518 (CFLAGS-initgroups.c): Likewise.
47519 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47520 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47521 Variables removed.
47522 * inet/getnetgrent_r.c
47523 (nscd_setnetgrent): New function, broken out of ...
47524 (setnetgrent): ... here. Call it.
47525 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47526 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47527 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47528 * nscd/Makefile (routines, aux): Move definitions after include of
47529 Makeconfig. Conditionalize on [$(use-nscd) != no].
47530 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47531 Conditionalize on [USE_NSCD].
47532 (is_nscd, nscd_init_cb): Likewise.
47533 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47534 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47535 * nss/nss_db/db-init.c: Likewise.
47536 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47537 [USE_NSCD].
47538 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47539 (make_request): Use it.
47540 (cache_valid_p): New function.
47541 (__check_pf): Use it.
47542 * NEWS: Add item for --disable-nscd.
47543
47544 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47545
47546 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47547 to support sed >= 4.2.1-20-ga9bf076.
47548 * configure: Regenerated.
47549
47550 2012-08-22 Roland McGrath <roland@hack.frob.com>
47551
47552 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47553 Conditionalize whole body on [IREL].
47554
47555 2012-08-22 Jeff Law <law@redhat.com>
47556
47557 [BZ #14505]
47558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47559 if the family is PF_UNSPEC.
47560
47561 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47562
47563 * Makerules (lib-version): Rename from V.
47564 (install-lib-nosubdir): Change V to lib-version.
47565
47566 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47567
47568 [BZ #14252]
47569 * powerpc32/power6/wcschr.c: New file.
47570 * powerpc32/power6/wcscpy.c: New file.
47571 * powerpc32/power6/wcsrchr.c: New file.
47572 * powerpc64/power6/wcschr.c: New file.
47573 * powerpc64/power6/wcscpy.c: New file.
47574 * powerpc64/power6/wcsrchr.c: New file.
47575
47576 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47577
47578 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47579 (two_way_short_needle): Use it.
47580 * string/strstr.c (AVAILABLE1_USES_J): Define.
47581 * string/strcasestr.c: Likewise.
47582
47583 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47584 array references.
47585 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47586
47587 [BZ #11607]
47588 * NEWS: Add an entry.
47589 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47590 define their defaults.
47591 (two_way_short_needle): Detect end-of-string on-the-fly.
47592 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47593 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47594 * string/bug-strcasestr1.c: New test.
47595 * string/Makefile: Run it.
47596
47597 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47598
47599 [BZ #11607]
47600 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47601 the first character.
47602
47603 2012-08-21 Roland McGrath <roland@hack.frob.com>
47604
47605 * csu/elf-init.c (__libc_csu_irel): Function removed.
47606 * csu/libc-start.c (apply_irel): New function.
47607 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47608
47609 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47610
47611 * sysdeps/unix/sysv/linux/kernel-features.h
47612 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47613 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47614 <kernel-features.h>.
47615 [__NR_fadvise64_64]: Make code unconditional.
47616 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47617 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47618 !__NR_fadvise64_64)]: Likewise.
47619 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47620 !__NR_fadvise64_64))]: Likewise.
47621 [__NR_fadvise64]: Make code unconditional.
47622 [!__NR_fadvise64]: Remove conditional code.
47623 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47624 <kernel-features.h>.
47625 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47626 unconditional.
47627 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47628 conditional code.
47629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47630 not include <kernel-features.h>.
47631 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47632 unconditional.
47633 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47634 conditional code.
47635 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47636 include <kernel-features.h>.
47637 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47638 unconditional.
47639 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47640 conditional code.
47641
47642 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47643
47644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47645 slight instruction rearrangements per scrollpipe analysis.
47646 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47647
47648 2012-08-20 Roland McGrath <roland@hack.frob.com>
47649
47650 * manual/syslog.texi (syslog; vsyslog, closelog):
47651 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47652 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47653
47654 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47655 DSOCAPS to match condition on defining it.
47656
47657 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47658
47659 * sysdeps/unix/sysv/linux/kernel-features.h
47660 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47662 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47663 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47665 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47666 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47668 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47669 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47670
47671 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47672 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47673
47674 * sysdeps/unix/sysv/linux/kernel-features.h
47675 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47676 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47677 unconditional.
47678 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47679 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47680 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47681 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47682 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47683 Make code unconditional.
47684 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47685 (__mmap64) [!__NR_mmap2]: Likewise.
47686 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47687 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47688 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47689 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47690 [__NR_mmap2]: Make code unconditional.
47691 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47692 (__mmap64) [!__NR_mmap2]: Likewise.
47693
47694 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47695
47696 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47697
47698 2012-08-18 Andreas Jaeger <aj@suse.de>
47699
47700 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47701
47702 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47703
47704 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47705 * include/unistd.h (__have_sock_cloexec): Likewise.
47706 (__have_pipe2): Likewise.
47707 (__have_dup3): Likewise.
47708
47709 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47710
47711 [BZ #9685]
47712 * include/unistd.h (__have_pipe2): Change define into an extern int.
47713 (__have_dup3): Likewise.
47714 * socket/have_sock_cloexec.c: Include fcntl.h.
47715 (__have_pipe2): New variable.
47716 (__have_dup3): Likewise.
47717
47718 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47719
47720 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47721
47722 2012-08-17 Marek Polacek <polacek@redhat.com>
47723
47724 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47725 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47726
47727 2012-08-17 Roland McGrath <roland@hack.frob.com>
47728
47729 * configure.in: Add AC_SUBST for sysheaders.
47730 * configure: Regenerated.
47731 * config.make.in (sysheaders): New substituted variable.
47732
47733 * sysdeps/unix/mkfifo.c: Moved ...
47734 * sysdeps/posix/mkfifo.c: ... here.
47735 * sysdeps/unix/mkfifoat.c: Moved ...
47736 * sysdeps/posix/mkfifoat.c: ... here.
47737
47738 * sysdeps/unix/utime.c: Moved ...
47739 * sysdeps/posix/utime.c: ... here.
47740
47741 * sysdeps/unix/time.c: Moved ...
47742 * sysdeps/posix/time.c: ... here.
47743 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47744 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47745
47746 * sysdeps/unix/nice.c: Moved ...
47747 * sysdeps/posix/nice.c: ... here.
47748
47749 * sysdeps/unix/alarm.c: Moved ...
47750 * sysdeps/posix/alarm.c: ... here.
47751
47752 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47753
47754 2012-08-17 Jeff Law <law@redhat.com>
47755
47756 * intl/Makefile (codeset_mo): New variable.
47757 ($(codeset_mo)): New target.
47758 (tst-codeset.out): Depend on that. Remove explicit rule.
47759 (tst-gettext3.out, tst-gettext5.out): Likewise.
47760 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47761 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47762 * intl/tst-codeset.sh: Remove.
47763 * intl/tst-gettext3.sh: Likewise.
47764 * intl/tst-gettext5.sh: Likewise.
47765
47766 2012-08-17 Roland McGrath <roland@hack.frob.com>
47767
47768 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47769 * sysdeps/unix/syscalls.list: ... here.
47770
47771 * sysdeps/posix/getaddrinfo.c
47772 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47773 (gaiconf_init, gaiconf_reload): Use them.
47774 [!_STATBUF_ST_NSEC]
47775 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47776 Define using time_t rather than struct timespec.
47777
47778 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47779 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47780 Macros removed.
47781 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47782 [!NO_THREADS].
47783 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47784 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47785 Likewise.
47786
47787 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47788 __libc_cleanup_push argument.
47789
47790 * bits/param.h: New file.
47791 * misc/sys/param.h: New file.
47792 * include/sys/param.h: New file.
47793 * misc/Makefile (headers): Add bits/param.h.
47794 * sysdeps/generic/sys/param.h: File removed.
47795 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47796 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47797 * sysdeps/mach/hurd/bits/param.h: New file.
47798 * sysdeps/mach/hurd/sys/param.h: File removed.
47799
47800 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47801 last change.
47802
47803 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47804 [_IO_MTSAFE_IO].
47805 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47806 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47807 New macros.
47808
47809 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47810 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47811 rather than -D_IO_MTSAFE_IO conditionally.
47812 * stdio-common/Makefile (CPPFLAGS): Likewise.
47813 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47814 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47815 Use $(libio-mtsafe).
47816 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47817 of -D_IO_MTSAFE_IO.
47818 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47819 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47820 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47821 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47822 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47823 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47824 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47825 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47826 (CFLAGS-fread_u_chk.c): Likewise.
47827 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47828 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47829 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47830 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47831 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47832 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47833 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47834 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47835 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47836
47837 * libio/Makefile: Test [$(libc-reentrant) = yes]
47838 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47839
47840 * Makeconfig
47841 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47842 * sysdeps/pthread/configure: File removed.
47843 * sysdeps/pthread/Makeconfig: New file.
47844 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47845 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47846
47847 2012-08-16 Gary Benson <gbenson@redhat.com>
47848
47849 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47850 unmapping the first object in a namespace.
47851
47852 2012-08-16 Roland McGrath <roland@hack.frob.com>
47853
47854 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47855 (__internal_setnetgrent): ... this. Add internal_function to
47856 definition. Add libc_hidden_def.
47857 (setnetgrent): Update caller.
47858 (internal_endnetgrent): Renamed to ...
47859 (__internal_endnetgrent): ... this. Add internal_function to
47860 definition. Add libc_hidden_def.
47861 (endnetgrent): Update caller.
47862 (internal_getnetgrent_r): Renamed to ...
47863 (__internal_getnetgrent_r): ... this. Add internal_function to
47864 definition. Add libc_hidden_def.
47865 (__getnetgrent_r): Update caller.
47866 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47867
47868 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47869
47870 * stdlib/longlong.h: Update from GCC.
47871
47872 2012-08-16 Roland McGrath <roland@hack.frob.com>
47873
47874 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47875 on _QL, which is set by umul_ppmm but never used.
47876 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47877 variables, which are set by GMP macros but never used.
47878 * stdio-common/_itowa.c (_itowa): Likewise.
47879 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47880 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47881
47882 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47883
47884 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47885 struct La_sh_regs is not constant.
47886 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47887 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47888 and struct La_sparc64_regs are not constant.
47889
47890 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47891
47892 * sysdeps/unix/sysv/linux/kernel-features.h
47893 (__ASSUME_POSIX_TIMERS): Remove.
47894 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47896 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47897 Make code unconditional.
47898 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47899 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47900 Make code unconditional.
47901 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47902 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47903 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47905 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47906 Make code unconditional.
47907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47908 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47909 (__libc_missing_posix_timers): Remove.
47910
47911 2012-08-15 Roland McGrath <roland@hack.frob.com>
47912
47913 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47914 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47915
47916 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47917
47918 * elf/dl-sym.c: Include <stdlib.h>.
47919
47920 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47921 constants, which avoids warnings in 32-bit builds.
47922
47923 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47924 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47925
47926 * misc/lseek.c: File moved to ...
47927 * io/lseek.c: ... here.
47928
47929 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47930
47931 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47932 shifting LEN more than 31 bits at once.
47933
47934 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47935
47936 [BZ #14195]
47937 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47938 segmentation fault for a case of two empty input strings.
47939 * string/test-strncasecmp.c (check1): Renamed to...
47940 (bz12205): ...this.
47941 (bz14195): Add new testcase for two empty input strings and N > 0.
47942 (test_main): Call new testcase, adapt for renamed function.
47943
47944 2012-08-15 Andreas Jaeger <aj@suse.de>
47945
47946 [BZ #14090]
47947 * crypt/md5test2.c: New test, based on test supplied by Serge
47948 Belyshev <belyshev@depni.sinp.msu.ru>.
47949 * crypt/Makefile (xtests): Add md5test-giant..
47950 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47951
47952 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47953
47954 [BZ #14090]
47955 * crypt/md5.c (md5_process_block): Don't assume the buffer
47956 length is less than 2**32.
47957 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47958 length is less than 2**64.
47959
47960 2012-08-15 Roland McGrath <roland@hack.frob.com>
47961
47962 * string/str-two-way.h: Include <sys/param.h>.
47963 (MAX): Macro removed.
47964
47965 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47966 Move #define and #undef of memmove to just before and after
47967 including <string.h>.
47968
47969 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47970 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47971 and after including <string.h>. Move declarations of
47972 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47973 to before #include "string/memmove.c".
47974
47975 * include/dirent.h: Declare __getdirentries.
47976
47977 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47978 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47979
47980 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47981
47982 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47983 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47984 * sysdeps/i386/configure: Regenerated.
47985 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47986 STABS_CURRENT_FILE, and STABS_FUN.
47987 (END): Remove call to STABS_FUN_END.
47988 (STABS_CURRENT_FILE1): Delete.
47989 (STABS_CURRENT_FILE): Likewise.
47990 (STABS_FUN): Likewise.
47991 (STABS_FUN_END): Likewise.
47992 (STABS_FUN2): Likewise.
47993 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47994 * sysdeps/x86_64/configure: Regenerated.
47995
47996 2012-08-14 Roland McGrath <roland@hack.frob.com>
47997
47998 * elf/dl-open.c: Include <atomic.h>.
47999 * elf/dl-lookup.c: Likewise.
48000
48001 2012-08-14 Joseph Myers <joseph@codesourcery.com>
48002
48003 * sysdeps/unix/sysv/linux/kernel-features.h
48004 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48005 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48006 unconditionally.
48007 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48008 unconditionally.
48009 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48010 condition on __ASSUME_CLONE_THREAD_FLAGS.
48011
48012 2012-08-14 Andreas Jaeger <aj@suse.de>
48013
48014 * sysdeps/i386/fpu/libm-test-ulps: Update.
48015
48016 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
48017
48018 * include/atomic.h (atomic_exchange_and_add): Split into ...
48019 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48020 New atomic macros.
48021
48022 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
48023
48024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48025
48026 2012-08-13 Jeff Law <law@redhat.com>
48027
48028 * manual/stdio.texi (snprintf): Clarify handling of the trailing
48029 null byte in the output string.
48030
48031 2012-08-10 Joseph Myers <joseph@codesourcery.com>
48032
48033 * sysdeps/unix/sysv/linux/kernel-features.h
48034 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48035 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48036 (__ASSUME_ARG_MAX_STACK_BASED): Define.
48037 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48038 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48039 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
48040 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48041
48042 2012-08-09 Jeff Law <law@redhat.com>
48043
48044 [BZ #13939]
48045 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48046 When avoid_arena is set, don't retry in the that arena. Pick the
48047 next one, whatever it might be.
48048 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48049 (arena_lock): Pass in new parameter to arena_get2.
48050 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48051 arena_get2.
48052 (__libc_malloc): Unify retrying after main arena failure with
48053 __libc_memalign version.
48054 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48055
48056 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
48057
48058 [BZ #14166]
48059 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48060 to __redirect_strstr.
48061 (__strstr_sse42): Use typeof __redirect_strstr.
48062 (__strstr_ia32): Likewise.
48063 (__libc_strstr): New prototype.
48064 (strstr): Renamed to ...
48065 (__libc_strstr): This.
48066 (strstr): New strong alias of __libc_strstr.
48067 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48068 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48069 __redirect_time.
48070 Include <time.h>.
48071 (__libc_time): New prototype.
48072 (time_ifunc): Replace time with __libc_time.
48073 (time): New strong alias and hidden definition of __libc_time.
48074 (__GI_time): Remove strong alias.
48075 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48076 Include <stddef.h>.
48077 (memmove): Redefined to __redirect_memmove.
48078 (__memmove_sse2): Use typeof __redirect_memmove.
48079 (__memmove_ssse3): Likewise.
48080 (__memmove_ssse3_back): Likewise.
48081 (__libc_memmove): New prototype.
48082 (memmove): Renamed to ...
48083 (__libc_memmove): This.
48084 (memmove): New strong alias of __libc_memmove.
48085
48086 2012-08-08 Mark Salter <msalter@redhat.com>
48087
48088 * elf/elf.h
48089 (R_MN10300_TLS_GD): Define.
48090 (R_MN10300_TLS_LD): Likewise.
48091 (R_MN10300_TLS_LDO): Likewise.
48092 (R_MN10300_TLS_GOTIE): Likewise.
48093 (R_MN10300_TLS_IE): Likewise.
48094 (R_MN10300_TLS_LE): Likewise.
48095 (R_MN10300_TLS_DTPMOD): Likewise.
48096 (R_MN10300_TLS_DTPOFF): Likewise.
48097 (R_MN10300_TLS_TPOFF): Likewise.
48098 (R_MN10300_SYM_DIFF): Likewise.
48099 (R_MN10300_ALIGN): Likewise.
48100 (R_MN10300_NUM): Update.
48101
48102 2012-08-08 Joseph Myers <joseph@codesourcery.com>
48103
48104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48105 Remove.
48106
48107 2012-08-08 Roland McGrath <roland@hack.frob.com>
48108
48109 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48110
48111 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48112 sysdeps/unix -> sysdeps/posix move.
48113 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48114
48115 2012-08-07 Allan McRae <allan@archlinux.org>
48116
48117 [BZ #14303]
48118 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48119 (SUNOS_CPP): Likewise.
48120 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48121 not found.
48122 (open_input): Call CPP using execvp.
48123
48124 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48125
48126 * sysdeps/unix/sysv/linux/kernel-features.h
48127 (__ASSUME_PROT_GROWSUPDOWN): Remove.
48128 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48129 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48130 (__ASSUME_WAITID_SYSCALL): Likewise.
48131 * sysdeps/unix/sysv/linux/dl-execstack.c
48132 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48133 code unconditional.
48134 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48135 conditional code.
48136 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48137 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48138 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48139 code.
48140 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48141 unconditional.
48142 [__ASSUME_WAITID_SYSCALL]: Likewise.
48143 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48144
48145 2012-08-07 Roland McGrath <roland@hack.frob.com>
48146
48147 * sysdeps/unix/closedir.c: Renamed to ...
48148 * sysdeps/posix/closedir.c: ... here.
48149 * sysdeps/unix/dirfd.c: Renamed to ...
48150 * sysdeps/posix/dirfd.c: ... here.
48151 * sysdeps/unix/dirstream.h: Renamed to ...
48152 * sysdeps/posix/dirstream.h: ... here.
48153 * sysdeps/unix/fdopendir.c: Renamed to ...
48154 * sysdeps/posix/fdopendir.c: ... here.
48155 * sysdeps/unix/opendir.c: Renamed to ...
48156 * sysdeps/posix/opendir.c: ... here.
48157 * sysdeps/unix/readdir.c: Renamed to ...
48158 * sysdeps/posix/readdir.c: ... here.
48159 * sysdeps/unix/readdir_r.c: Renamed to ...
48160 * sysdeps/posix/readdir_r.c: ... here.
48161 * sysdeps/unix/rewinddir.c: Renamed to ...
48162 * sysdeps/posix/rewinddir.c: ... here.
48163 * sysdeps/unix/seekdir.c: Renamed to ...
48164 * sysdeps/posix/seekdir.c: ... here.
48165 * sysdeps/unix/telldir.c: Renamed to ...
48166 * sysdeps/posix/telldir.c: ... here.
48167 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48168 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48169 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48170 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48171
48172 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48173 * bits/fcntl.h: ... here.
48174
48175 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48176 not 0.
48177 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48178 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48179 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48180 (struct flock): Move l_start, l_len to the beginning.
48181 Use __pid_t for l_pid.
48182 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48183 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48184 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48185 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48186 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48187 [__USE_LARGEFILE64] (struct flock64): New type.
48188 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48189
48190 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48191 * bits/dirent.h: ... here.
48192
48193 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48194 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48195
48196 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48197
48198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48199 Change from 2.6.0 to 2.6.16.
48200 * sysdeps/unix/sysv/linux/configure: Regenerated.
48201 * sysdeps/unix/sysv/linux/kernel-features.h
48202 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48203 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48204 version.
48205 (__ASSUME_UTIMES): Likewise.
48206 (__ASSUME_CLONE_STOPPED): Remove.
48207 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48208 architectures, not kernel version.
48209 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48210 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48211 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48212 (__ASSUME_WAITID_SYSCALL): Likewise.
48213 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48214 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48215 * README: State 2.6.16 as minimum Linux kernel version. Do not
48216 refer to older versions.
48217
48218 2012-08-06 Roland McGrath <roland@hack.frob.com>
48219
48220 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48221 Define alphasort64 as an alias.
48222 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48223 Define versionsort64 as an alias.
48224 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48225 Define scandir64 as an alias.
48226 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48227 Define scandirat64 as an alias.
48228 * dirent/alphasort64.c (alphasort64):
48229 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48230 * dirent/versionsort64.c: Likewise.
48231 * dirent/scandir64.c: Likewise.
48232 * dirent/scandirat64.c: Likewise.
48233 * sysdeps/wordsize-64/alphasort.c: File removed.
48234 * sysdeps/wordsize-64/alphasort64.c: File removed.
48235 * sysdeps/wordsize-64/scandir.c: File removed.
48236 * sysdeps/wordsize-64/scandir64.c: File removed.
48237 * sysdeps/wordsize-64/scandirat.c: File removed.
48238 * sysdeps/wordsize-64/scandirat64.c: File removed.
48239 * sysdeps/wordsize-64/versionsort.c: File removed.
48240 * sysdeps/wordsize-64/versionsort64.c: File removed.
48241 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48242 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48247 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48248 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48249
48250 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48252 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48254 [defined __arch64__ || defined __sparcv9]
48255 (__INO_T_MATCHES_INO64_T): New macro.
48256 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48257 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48258 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48259 * sysdeps/unix/sysv/linux/bits/dirent.h
48260 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48261 (_DIRENT_MATCHES_DIRENT64): New macro.
48262
48263 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48264 Define lockf64 as an alias.
48265 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48266 Define fseeko64 as an alias.
48267 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48268 Define ftello64 as an alias.
48269 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48270 Define _IO_fgetpos64 and fgetpos64 as aliases.
48271 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48272 Define _IO_fsetpos64 and fsetpos64 as aliases.
48273 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48274 Conditionalize body on this.
48275 * libio/fseeko64.c: Likewise.
48276 * libio/ftello64.c: Likewise.
48277 * libio/iofgetpos64.c: Likewise.
48278 * libio/iofsetpos64.c: Likewise.
48279 * sysdeps/wordsize-64/lockf.c: File removed.
48280 * sysdeps/wordsize-64/lockf64.c: File removed.
48281 * sysdeps/wordsize-64/fseeko.c: File removed.
48282 * sysdeps/wordsize-64/fseeko64.c: File removed.
48283 * sysdeps/wordsize-64/ftello.c: File removed.
48284 * sysdeps/wordsize-64/ftello64.c: File removed.
48285 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48286 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48287 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48288 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48289 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48290 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48291 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48292 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48293 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48294 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48295 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48296 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48297 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48298 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48299
48300 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48302 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48304 [defined __arch64__ || defined __sparcv9]
48305 (__OFF_T_MATCHES_OFF64_T): New macro.
48306 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48307 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48309 (__OFF_T_MATCHES_OFF64_T): New macro.
48310
48311 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48312
48313 * stdlib/secure-getenv.c (__secure_getenv): Replace
48314 GLIBC_2_16 with GLIBC_2_17.
48315
48316 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48317
48318 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48319 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48320
48321 2012-08-03 David S. Miller <davem@davemloft.net>
48322
48323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48324
48325 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48326
48327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48328 Remove.
48329 (__ASSUME_CORRECT_SI_PID): Likewise.
48330 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48331 (__ASSUME_TMPFS_NAME): Likewise.
48332 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48333 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48334 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48335 (HAVE_AUX_SECURE): Make definition unconditional.
48336 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48337 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48338
48339 2012-08-03 Roland McGrath <roland@hack.frob.com>
48340
48341 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48342 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48343 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48344 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48345 __eloop_threshold instead of SYMLOOP_MAX.
48346
48347 * sysdeps/generic/eloop-threshold.h: New file.
48348 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48349 of MAXSYMLINKS.
48350 * elf/chroot_canon.c (chroot_canon): Likewise.
48351
48352 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48353
48354 [BZ #13717]
48355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48356 Change to 2.6.0 everywhere.
48357 * sysdeps/unix/sysv/linux/configure: Regenerated.
48358 * sysdeps/unix/sysv/linux/kernel-features.h
48359 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48360 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48361 kernel versions.
48362 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48363 (__ASSUME_FUTEX_REQUEUE): Remove.
48364 (__ASSUME_STATFS64): Define unconditionally.
48365 (__ASSUME_AT_SECURE): Likewise.
48366 (__ASSUME_CORRECT_SI_PID): Likewise.
48367 (__ASSUME_TGKILL): Define without depending on kernel version for
48368 i386.
48369 (__ASSUME_UTIMES): Likewise.
48370 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48371 kernel version.
48372 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48373 (__ASSUME_TMPFS_NAME): Likewise.
48374 * README: Update reference to Linux kernel versions.
48375
48376 2012-08-02 Marek Polacek <polacek@redhat.com>
48377
48378 [BZ# 14150]
48379 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48380 libc_cv_asm_type_prefix with %.
48381 * configure: Regenerated.
48382 * include/libc-symbols.h: Remove comment about
48383 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48384 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48385 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48386 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48387 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48388 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48389 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48390 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48391 * elf/tst-unique2mod1.c: Likewise.
48392 * elf/tst-unique1mod2.c: Likewise.
48393 * elf/tst-unique1mod1.c: Likewise.
48394 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48395 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48396 Replace ASM_TYPE_DIRECTIVE with .type.
48397 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48398 * sysdeps/i386/sysdep.h: Likewise.
48399 * sysdeps/x86_64/sysdep.h: Likewise.
48400 * sysdeps/sh/sysdep.h: Likewise.
48401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48402 Do not define ASM_TYPE_DIRECTIVE.
48403 * sysdeps/powerpc/sysdep.h: Likewise.
48404 * sysdeps/powerpc/powerpc32/sysdep.h:
48405 Replace ASM_TYPE_DIRECTIVE with .type.
48406 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48407 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48408 * sysdeps/i386/fpu/e_powf.S: Likewise.
48409 * sysdeps/i386/fpu/e_expl.S: Likewise.
48410 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48411 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48412 * sysdeps/i386/fpu/e_pow.S: Likewise.
48413 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48414 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48415 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48416 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48417 * sysdeps/i386/fpu/e_log2.S: Likewise.
48418 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48419 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48420 * sysdeps/i386/fpu/e_powl.S: Likewise.
48421 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48422 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48423 * sysdeps/i386/fpu/e_logl.S: Likewise.
48424 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48425 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48426 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48427 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48428 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48429 * sysdeps/i386/fpu/e_log.S: Likewise.
48430 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48431 * sysdeps/i386/fpu/e_logf.S: Likewise.
48432 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48434 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48435 * sysdeps/i386/fpu/e_log10.S: Likewise.
48436 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48437 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48438 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48439 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48440 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48441 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48442 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48443 * sysdeps/i386/i686/strtok.S: Likewise.
48444 * sysdeps/i386/i386-mcount.S: Likewise.
48445 * sysdeps/i386/strtok.S: Likewise.
48446 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48447 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48449 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48450 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48451 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48452 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48453 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48454 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48455 * sysdeps/x86_64/_mcount.S: Likewise.
48456 * sysdeps/x86_64/strtok.S: Likewise.
48457 * sysdeps/sh/_mcount.S: Likewise.
48458
48459 2012-08-01 Roland McGrath <roland@hack.frob.com>
48460
48461 * libio/iofopen.c: Include <fcntl.h>.
48462 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48463 (_IO_fopen64, fopen64): Define as aliases.
48464 * libio/iofopen64.c: Include <fcntl.h>.
48465 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48466 Conditionalize body on this.
48467 * sysdeps/wordsize-64/iofopen.c: File removed.
48468 * sysdeps/wordsize-64/iofopen64.c: File removed.
48469
48470 2012-08-01 Marek Polacek <polacek@redhat.com>
48471
48472 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48473 Use dlfcn directly instead of a variable.
48474 (binfmt-subdir): Do not define.
48475 (dlfcn): Likewise.
48476
48477 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48478
48479 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48480 Remove all definitions.
48481 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48482 <kernel-features.h>.
48483 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48484 (miss_F_GETOWN_EX): Remove all definitions.
48485 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48486 macro definition.
48487 [!__ASSUME_FCNTL64]: Remove conditional code.
48488 [__ASSUME_FCNTL64]: Make code unconditional.
48489 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48490 <kernel-features.h>.
48491 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48492 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48493 (lockf64) [__NR_fcntl64]: Make code unconditional.
48494 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48495
48496 * sysdeps/unix/sysv/linux/kernel-features.h
48497 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48498 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48499 Make code unconditional.
48500 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48501 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48503 [__NR_vfork]: Make code unconditional.
48504 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48505 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48507 [__NR_vfork]: Make code unconditional.
48508 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48509 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48510
48511 2012-08-01 Roland McGrath <roland@hack.frob.com>
48512
48513 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48514 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48515
48516 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48517 Define mkstemp64 as an alias.
48518 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48519 Define mkstemps64 as an alias.
48520 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48521 Define mkostemp64 as an alias.
48522 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48523 Define mkostemps64 as an alias.
48524 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48525 Conditionalize body on this.
48526 * misc/mkostemp64.c: Likewise.
48527 * misc/mkostemps64.c: Likewise.
48528 * misc/mkstemps64.c: Likewise.
48529 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48530 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48531 * sysdeps/wordsize-64/mkostemp.c: File removed.
48532 * sysdeps/wordsize-64/mkstemp.c: File removed.
48533 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48534 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48535 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48536 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48537
48538 [BZ #14138]
48539 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48540 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48541 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48542 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48543
48544 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48545 compat_symbol macros from <shlib-compat.h> rather than the underlying
48546 default_symbol_version and symbol_version macros, so that DEFAULT
48547 lines in shlib-versions are respected.
48548 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48549
48550 2012-08-01 Florian Weimer <fweimer@redhat.com>
48551
48552 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48553 Declare with warn_unused_result.
48554 (setgid, setregid, setegid, setresgid): Likewise.
48555 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48556 Likewise.
48557 * WUR-REPORT: Remove set*id functions.
48558
48559 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48560
48561 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48562
48563 2012-07-31 Roland McGrath <roland@hack.frob.com>
48564
48565 [BZ #10191]
48566 * include/sys/socket.h (__libc_accept, __libc_accept4):
48567 Add attribute_hidden.
48568 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48569
48570 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48571 use of PTR_MANGLE.
48572 * inet/getnetgrent_r.c (setup): Likewise.
48573
48574 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48575
48576 2012-07-31 David S. Miller <davem@davemloft.net>
48577
48578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48579
48580 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48581
48582 [BZ #13629]
48583 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48584 value between 1.0 and 2.0 and smaller part has absolute value less
48585 than 1.0.
48586 * math/s_clog10.c (__clog10): Likewise.
48587 * math/s_clog10f.c (__clog10f): Likewise.
48588 * math/s_clog10l.c (__clog10l): Likewise.
48589 * math/s_clogf.c (__clogf): Likewise.
48590 * math/s_clogl.c (__clogl): Likewise.
48591 * math/libm-test.inc (clog_test): Add more tests.
48592 (clog10_test): Likewise.
48593 * sysdeps/i386/fpu/libm-test-ulps: Update.
48594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48595
48596 2012-07-31 Florian Weimer <fweimer@redhat.com>
48597
48598 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48599 Exit with zero in case no suitable GID is found, and write a
48600 message to standard error.
48601
48602 2012-07-30 Roland McGrath <roland@hack.frob.com>
48603
48604 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48605 rather than to 1.
48606 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48607 (MAXPATHLEN): Removed.
48608 (NOGROUP, NODEV): New macros.
48609 (setbit, clrbit, isset, isclr): New macros.
48610 (howmany, roundup, powerof2): New macros.
48611 (DEV_BSIZE): New macro.
48612
48613 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48614 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48615
48616 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48617 definition on [!__NO_LONG_DOUBLE_MATH].
48618
48619 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48620 PTR_MANGLE and PTR_DEMANGLE.
48621
48622 * socket/accept4.c (accept4): Rename to __libc_accept4.
48623 Define accept4 as a weak alias.
48624
48625 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48626 on [_DIRENT_HAVE_D_TYPE].
48627 * io/ftw.c (ftw_dir): Likewise.
48628
48629 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48630
48631 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48632
48633 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48634 Use the BSD numbers rather than the arbitrary ones we had.
48635 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48636 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48637 (SIGXCPU, SIGXFSZ): New macros.
48638 (_NSIG): Now 32.
48639
48640 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48641 initializer on [_LIBC_REENTRANT].
48642
48643 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48644 definitions inside [_POSIX_MAPPED_FILES].
48645
48646 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48647
48648 * dirent/opendir.c: Include <fcntl.h>.
48649
48650 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48651 (__libc_getspecific): Likewise.
48652 (__libc_key_create): Likewise.
48653
48654 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48655 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48656 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48657 (tmpfile64): Define as alias.
48658 * sysdeps/wordsize-64/tmpfile.c: File removed.
48659 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48660 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48661 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48662
48663 * stdio-common/vfscanf.c: Include <stdbool.h>.
48664 * nss/makedb.c: Likewise.
48665 * stdio-common/_i18n_number.h: Likewise.
48666 * argp/argp-help.c: Likewise.
48667 * posix/wordexp.c: Likewise.
48668 * sysdeps/posix/spawni.c: Likewise.
48669 * nss/nss_files/files-initgroups.c: Likewise.
48670 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48671 * nss/nss_files/files-initgroups.c: Likewise.
48672 * nss/nss_db/db-netgrp.c: Likewise.
48673 * nss/nss_db/db-initgroups.c: Likewise.
48674 * io/fchmodat.c: Include <sys/stat.h>.
48675
48676 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48677 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48678
48679 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48680 [HAVE_MMAP].
48681
48682 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48683 Add multiple inclusion protection.
48684
48685 2012-07-27 David S. Miller <davem@davemloft.net>
48686
48687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48688
48689 2012-07-27 Gary Benson <gbenson@redhat.com>
48690
48691 [BZ #14298]
48692 * elf/rtld.c: Include <stap-probe.h>.
48693 (dl_main): Added static probes "init_start" and "init_complete".
48694 * elf/dl-load.c: Include <stap-probe.h>.
48695 (lose): Take new parameter "nsid".
48696 Added static probe "map_failed".
48697 (_dl_map_object_from_fd): Pass namespace id to lose.
48698 Added static probe "map_start".
48699 (open_verify): Pass namespace id to lose.
48700 * elf/dl-open.c: Include <stap-probe.h>.
48701 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48702 and "reloc_complete".
48703 * elf/dl-close.c: Include <stap-probe.h>.
48704 (_dl_close_worker): Added static probes "unmap_start" and
48705 "unmap_complete".
48706 * elf/rtld-debugger-interface.txt: New file documenting the above.
48707
48708 2012-07-26 Roland McGrath <roland@hack.frob.com>
48709
48710 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48711 rather than a string variable.
48712 * sunrpc/rpc_main.c (h_output): Likewise.
48713 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48714
48715 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48716
48717 * inet/check_native.c: New file.
48718
48719 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48720
48721 [BZ #13629]
48722 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48723 if larger part has absolute value 1.0.
48724 * math/s_clog10.c (__clog10): Likewise.
48725 * math/s_clog10f.c (__clog10f): Likewise.
48726 * math/s_clog10l.c (__clog10l): Likewise.
48727 * math/s_clogf.c (__clogf): Likewise.
48728 * math/s_clogl.c (__clogl): Likewise.
48729 * math/libm-test.inc (clog_test): Add more tests.
48730 (clog10_test): Likewise.
48731 * sysdeps/i386/fpu/libm-test-ulps: Update.
48732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48733
48734 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48735 (pltexit): Likewise.
48736 (La_regs): Likewise.
48737 (La_retval): Likewise.
48738 (int_retval): Likewise.
48739 Update #error for removed macros to refer only to definitions in
48740 tst-audit.h.
48741 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48742 macro.
48743 (pltexit): Likewise.
48744 (La_regs): Likewise.
48745 (La_retval): Likewise.
48746 (int_retval): Likewise.
48747 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48748 macro.
48749 (pltexit): Likewise.
48750 (La_regs): Likewise.
48751 (La_retval): Likewise.
48752 (int_retval): Likewise.
48753 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48754 macro.
48755 (pltexit): Likewise.
48756 (La_regs): Likewise.
48757 (La_retval): Likewise.
48758 (int_retval): Likewise.
48759 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48760 macro.
48761 (pltexit): Likewise.
48762 (La_regs): Likewise.
48763 (La_retval): Likewise.
48764 (int_retval): Likewise.
48765 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48766 macro.
48767 (pltexit): Likewise.
48768 (La_regs): Likewise.
48769 (La_retval): Likewise.
48770 (int_retval): Likewise.
48771 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48772 macro.
48773 (pltexit): Likewise.
48774 (La_regs): Likewise.
48775 (La_retval): Likewise.
48776 (int_retval): Likewise.
48777 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48778 macro definitions in tst-audit.h.
48779 * sysdeps/i386/tst-audit.h: New file.
48780 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48781 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48782 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48783 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48784 * sysdeps/sh/tst-audit.h: Likewise.
48785 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48786 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48787 * sysdeps/x86_64/tst-audit.h: Likewise.
48788
48789 2012-07-26 Andreas Jaeger <aj@suse.de>
48790
48791 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48792 ptrace.
48793
48794 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48795 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48796 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48797 PTRACE_O_MASK.
48798 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48799 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48800 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48801
48802 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48803 value.
48804
48805 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48806 _sigsys.
48807 (si_call_addr, si_syscall, si_arch): Define new macro.
48808 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48809 _sigsys.
48810 (si_call_addr, si_syscall, si_arch): Define new marcro.
48811 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48812 _sigsys.
48813 (si_call_addr, si_syscall, si_arch): Define new macro.
48814 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48815 _sigsys.
48816 (si_call_addr, si_syscall, si_arch): Define new macro.
48817
48818 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48819
48820 [BZ #13717]
48821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48822 Change to 2.4.21 where previously 2.4.1.
48823 * sysdeps/unix/sysv/linux/configure: Regenerated.
48824 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48825 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48826 Linux kernel version.
48827 (__ASSUME_STD_AUXV): Remove.
48828 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48829 kernel version.
48830 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48831 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48832 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48833 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48834 (__ASSUME_NETLINK_SUPPORT): Likewise.
48835 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48836 (__no_netlink_support): Remove conditional definition.
48837 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48838 Remove.
48839 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48840 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48841 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48842 (if_nameindex_ioctl): Remove.
48843 (if_nameindex_netlink): Do not handle __no_netlink_support.
48844 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48845 code.
48846 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48847 Remove conditional code.
48848 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48849 code.
48850 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48851 unconditional.
48852 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48853 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48854 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48855 Remove.
48856 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48857 [!__ASSUME_STD_AUXV]: Remove conditional code.
48858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48859 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48860 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48862 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48863 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48864 code.
48865 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48867 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48868 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48869 conditional code.
48870 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48872 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48873 code.
48874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48875 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48876 conditional code.
48877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48878 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48879 code unconditional.
48880 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48881 conditional code.
48882 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48883 unconditional.
48884 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48885 conditional code.
48886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48887 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48888 unconditional.
48889 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48890 conditional code.
48891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48892 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48893 code unconditional.
48894 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48895 conditional code.
48896 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48897 unconditional.
48898 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48899 conditional code.
48900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48901 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48902 code unconditional.
48903 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48904 conditional code.
48905 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48906 unconditional.
48907 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48908 conditional code.
48909
48910 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48911
48912 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48913 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48914 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48915 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48916 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48917 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48918 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48919 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48920 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48921 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48922 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48923 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48924 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48925 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48926 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48927 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48928 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48929 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48930 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48932 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48933 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48934 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48935
48936 2012-07-25 Florian Weimer <fweimer@redhat.com>
48937
48938 * Versions.def: Add GLIBC_2.17.
48939 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48940 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48941 Introduce __libc_secure_getenv.
48942 * stdlib/Versions (2.17): Add secure_getenv
48943 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48944 * stdlib/secure-getenv.c: Rename __secure_getenv to
48945 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48946 symbol __secure_getenv for GLIBC_2.0.
48947 * stdlib/tst-secure-getenv.c: New.
48948 * stdlib/Makefile (tests): Add testcase.
48949 * manual/startup.texi (Environment Access): Document
48950 secure_getenv.
48951 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48952 __libc_secure_getenv.
48953 * inet/ruserpass.c (ruserpass): Likewise.
48954 * malloc/mtrace.c (mtrace): Likewise.
48955 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48956 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48957 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48958 * sysdeps/posix/tempname.c: Likewise. Evaluate
48959 HAVE_SECURE_GETENV.
48960 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48961 __secure_getenv to __libc_secure_getenv.
48962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48964 Likewise.
48965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48966 Likewise.
48967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48969 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48974
48975 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48976
48977 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48978 (struct La_i86_retval): Likewise.
48979 (struct La_x86_64_regs): Likewise.
48980 (struct La_x86_64_retval): Likewise.
48981 (struct La_x32_regs): Likewise.
48982 (struct La_x32_retval): Likewise.
48983 (struct La_ppc32_regs): Likewise.
48984 (struct La_ppc32_retval): Likewise.
48985 (struct La_ppc64_regs): Likewise.
48986 (struct La_ppc64_retval): Likewise.
48987 (struct La_sh_regs): Likewise.
48988 (struct La_sh_retval): Likewise.
48989 (struct La_s390_32_regs): Likewise.
48990 (struct La_s390_32_retval): Likewise.
48991 (struct La_s390_64_regs): Likewise.
48992 (struct La_s390_64_retval): Likewise.
48993 (struct La_sparc32_regs): Likewise.
48994 (struct La_sparc32_retval): Likewise.
48995 (struct La_sparc64_regs): Likewise.
48996 (struct La_sparc64_retval): Likewise.
48997 (struct audit_ifaces): Remove architecture-specific pltenter and
48998 pltexit members.
48999 * sysdeps/i386/ldsodefs.h: New file.
49000 * sysdeps/powerpc/ldsodefs.h: Likewise.
49001 * sysdeps/s390/ldsodefs.h: Likewise.
49002 * sysdeps/sh/ldsodefs.h: Likewise.
49003 * sysdeps/sparc/ldsodefs.h: Likewise.
49004 * sysdeps/x86_64/ldsodefs.h: Likewise.
49005
49006 2012-07-25 Marek Polacek <polacek@redhat.com>
49007
49008 [BZ #6808]
49009 * math/libm-test.inc (yn_test): Add another test.
49010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49011 to ERANGE when the result is +-Inf.
49012 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49013 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49014 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49015 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49016
49017 2012-07-24 Joseph Myers <joseph@codesourcery.com>
49018
49019 * conform/data/time.h-data (NULL): Use macro-constant. Require
49020 equal to 0.
49021 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
49022 clock_t.
49023 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
49024
49025 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
49026
49027 * configure.in <sysdeps resolving>: Correct printing
49028 Implies_before.
49029 * configure: Regenerate.
49030
49031 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
49032
49033 * math/w_ilogb.c: Include <limits.h>.
49034 * math/w_ilogbl.c: Likewise.
49035
49036 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49037
49038 * manual/lang.texi (__va_copy): Document primarily as ISO C99
49039 va_copy. Document allowing for unavailable va_copy only as
49040 pre-C99 compatibility.
49041 * manual/string.texi (Copying and Concatenation): Use va_copy
49042 instead of __va_copy in concat example.
49043
49044 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
49045
49046 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49047 (__sendto): Use create_address_port. Initialize APORT and deallocate
49048 it if not null.
49049
49050 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49051 with O_NOLINK passed to __file_name_lookup.
49052
49053 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49054 with O_NOLINK passed to __file_name_lookup.
49055
49056 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49057 negative N or less than NGIDS.
49058
49059 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49060 type to string_t. Set ERANGE as errno and return it if NAME is not big
49061 enough. Use memcpy instead of strncpy.
49062
49063 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49064
49065 * elf/Makefile (check-data): Remove.
49066 (localplt.data): New vpath directive.
49067 ($(objpfx)check-localplt.out): Use localplt.data from vpath
49068 instead of $(check-data).
49069 * scripts/data/localplt-generic.data: Move to ...
49070 * sysdeps/generic/localplt.data: ... here.
49071 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49072 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49073 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49075 ... here.
49076 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49078 ... here.
49079 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49081 ... here.
49082 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49084 ... here.
49085 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49087 ... here.
49088 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49090 ... here.
49091
49092 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49093
49094 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49095 PPC32 and PPC64 files.
49096 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49097 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49098
49099 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49100
49101 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49102 __makecontext_ret to ...
49103 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49104 ... here and call exit if uc_link is NULL. New file.
49105 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49106 __makecontext_ret.S.
49107 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49108 __makecontext_ret to ...
49109 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49110 ... here and call exit if uc_link is NULL. New file.
49111 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49112 __makecontext_ret.S.
49113
49114 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49115
49116 * elf/elf.h (R_390_IRELATIVE): New definition.
49117 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49118 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
49119 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49120 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49121 (elf_machine_lazy_rel): Likewise.
49122 * sysdeps/s390/dl-irel.h: New file.
49123 * sysdeps/s390/s390-64/memcpy.S: New asm code.
49124 * sysdeps/s390/s390-64/memset.S: New asm code.
49125 * sysdeps/s390/s390-64/memcmp.S: New asm code.
49126 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49127 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49128 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49129 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49130 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49132 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49133 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49134 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49135 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49136 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49137 * sysdeps/s390/s390-32/memset.S: New asm code.
49138 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49139
49140 2012-07-17 Marek Polacek <polacek@redhat.com>
49141
49142 [BZ #14349]
49143 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49144 * sysdeps/s390/s390-64/configure.in: Likewise.
49145 * sysdeps/sparc/configure.in: Likewise.
49146 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49147 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49148 * sysdeps/i386/configure.in: Likewise.
49149 * sysdeps/x86_64/configure.in: Likewise.
49150 * sysdeps/sh/configure.in: Likewise.
49151 * sysdeps/s390/s390-32/configure: Regenerated.
49152 * sysdeps/s390/s390-64/configure: Likewise.
49153 * sysdeps/x86_64/configure: Likewise.
49154 * sysdeps/sh/configure: Likewise.
49155 * sysdeps/powerpc/powerpc64/configure: Likewise.
49156 * sysdeps/powerpc/powerpc32/configure: Likewise.
49157 * sysdeps/sparc/configure: Likwise.
49158 * sysdeps/i386/configure: Likewise.
49159
49160 * elf/dl-open.c: Comment fixes.
49161
49162 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49163
49164 * Makefile [CXX] (check-data): Remove.
49165 [CXX] (c++-types.data): New vpath directive.
49166 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49167 vpath. Do not allow for C++ type data being missing.
49168 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49169 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49170 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49171 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49172 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49173 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49174 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49176 ... here.
49177 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49179 ... here.
49180 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49182 ... here.
49183 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49185 ... here.
49186 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49188 ... here.
49189 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49191 ... here.
49192 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49194 ... here.
49195 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49197
49198 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49199 definitions to architecture-specific files.
49200 (TLS_IE): Likewise.
49201 (TLS_LD): Likewise.
49202 (TLS_GD): Likewise.
49203 * sysdeps/i386/tls-macros.h: New file.
49204 * sysdeps/powerpc/tls-macros.h: Likewise.
49205 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49206 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49207 * sysdeps/sh/tls-macros.h: Likewise.
49208 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49209 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49210 * sysdeps/x86_64/tls-macros.h: Likewise.
49211
49212 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49213
49214 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49215 zero value for regular exit case.
49216
49217 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49218 (__start_context): Preserve zero value for regular exit case.
49219
49220 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49221 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49222
49223 * manual/setjmp.texi (setcontext): Clarify normal process
49224 termination when uc_link is the null pointer.
49225 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49226 exit call.
49227
49228 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
49229
49230 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49231 preprocessor. Test for each exception mask separately.
49232
49233 2012-07-16 Andreas Jaeger <aj@suse.de>
49234
49235 * po/ru.po: Update from translation team.
49236
49237 2012-07-15 Joseph Myers <joseph@codesourcery.com>
49238
49239 * conform/data/string.h-data (NULL): Use macro-constant. Require
49240 equal to 0.
49241 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49242 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49243 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49244 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49246
49247 2012-07-13 Andreas Jaeger <aj@suse.de>
49248
49249 * po/fr.po: Update from translation team.
49250
49251 2012-07-12 Marek Polacek <polacek@redhat.com>
49252
49253 [BZ #14173]
49254 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49255 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49256 loop condition.
49257
49258 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49259
49260 [BZ #13717]
49261 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49262 Change to 2.4.1 where previously 2.4.0.
49263 * sysdeps/unix/sysv/linux/configure: Regenerated.
49264 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49265 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49266 version.
49267 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49268 (__ASSUME_AT_CLKTCK): Remove.
49269 (__ASSUME_AT_PAGESIZE): Likewise.
49270 (__ASSUME_AT_XID): Likewise.
49271 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49272 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49273 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49274 unconditionally.
49275 (HAVE_AUX_PAGESIZE): Likewise.
49276 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49277 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49278 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49279
49280 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49281
49282 [BZ #14307]
49283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49284 the temporary buffer used to invoke __gethostbyname2_r,
49285 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49286 host_data / struct gaih_addrtuple.
49287 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49288 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49289 header file nss/nsswitch.h.
49290 * nss/nsswitch.h (global scope): Add definition of implementation
49291 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49292 resolv/nss_dns/dns-host.c).
49293
49294 2012-07-11 Andreas Jaeger <aj@suse.de>
49295
49296 * po/fr.po: Update from translation team.
49297
49298 * po/sv.po: Update from translation team
49299 * po/fr.po: Another update from translation team.
49300
49301 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49302
49303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49304 for subnormals or multiply small sinh result by itself.
49305 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49307
49308 2012-07-11 David S. Miller <davem@davemloft.net>
49309
49310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49311
49312 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49313
49314 [BZ #14347]
49315 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49316 (INTERNAL_MARK): Shift it here.
49317
49318 2012-07-10 Marek Polacek <polacek@redhat.com>
49319
49320 [BZ #14151]
49321 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49322 libc_cv_asm_global_directive with .globl.
49323 * configure: Regenerated.
49324 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49325 with .globl.
49326 * sysdeps/i386/configure: Regenerated.
49327 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49328 with .globl.
49329 * sysdeps/x86_64/configure: Regenerated.
49330 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49331 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49332 * elf/tst-unique2mod2.c: Likewise.
49333 * elf/tst-unique2mod1.c: Likewise.
49334 * elf/tst-unique1mod2.c: Likewise.
49335 * elf/tst-unique1mod1.c: Likewise.
49336 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49337 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49339 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49340 * sysdeps/mach/sysdep.h: Likewise.
49341 * sysdeps/i386/sysdep.h: Likewise.
49342 * sysdeps/i386/i386-mcount.S: Likewise.
49343 * sysdeps/x86_64/_mcount.S: Likewise.
49344 * sysdeps/x86_64/sysdep.h: Likewise.
49345 * sysdeps/sh/_mcount.S: Likewise.
49346 * sysdeps/sh/sysdep.h: Likewise.
49347 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49348 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49349 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49350 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49351 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49352 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49353 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49354 * locale/localeinfo.h: Likewise.
49355 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49356 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49357
49358 2012-07-09 Roland McGrath <roland@hack.frob.com>
49359
49360 [BZ #14336]
49361 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49362 system".
49363 * manual/message.texi (The Uniforum approach): Likewise.
49364 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49365 (glibc iconv Implementation): Likewise.
49366
49367 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49368
49369 [BZ #14337]
49370 * math/s_clog.c (__clog): Avoid scaling a value down where that
49371 could result in underflow.
49372 * math/s_clog10.c (__clog10): Likewise.
49373 * math/s_clog10f.c (__clog10f): Likewise.
49374 * math/s_clog10l.c (__clog10l): Likewise.
49375 * math/s_clogf.c (__clogf): Likewise.
49376 * math/s_clogl.c (__clogl): Likewise.
49377 * math/libm-test.inc (clog_test): Add more tests.
49378 (clog10_test): Likewise.
49379 * sysdeps/i386/fpu/libm-test-ulps: Update.
49380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49381
49382 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49383
49384 [BZ #14283]
49385 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49386 by 7 not 8 to examine high bit of fractional part.
49387
49388 [BZ #14042]
49389 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49390 for call to __mcount_internal.
49391 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49392 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49393 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49394
49395 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49396
49397 [BZ #14154]
49398 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49399 approximation for values within 0x1p-13f of an odd multiple of
49400 pi/4.
49401 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49402 exception. Add more tests.
49403 * sysdeps/i386/fpu/libm-test-ulps: Update.
49404
49405 [BZ #6778]
49406 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49407 inputs and return -1 for them. Do not check for +Inf in case not
49408 reachable for +Inf.
49409 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49410 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49411 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49412 and return -1 for them. Do not check for +Inf in case not
49413 reachable for +Inf.
49414 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49415 define.
49416 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49417 and return -1 for them. Do not check for +Inf in case not
49418 reachable for +Inf.
49419 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49420 spurious underflow.
49421 * sysdeps/i386/fpu/libm-test-ulps: Update.
49422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49423
49424 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49425
49426 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49427
49428 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49429
49430 [BZ #14157]
49431 [BZ #14331]
49432 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49433 could result in spurious underflow. Scale down values above
49434 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49435 * math/s_csqrtf.c (__csqrtf): Likewise.
49436 * math/s_csqrtl.c (__csqrtl): Likewise.
49437 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49438 spurious underflow.
49439 * sysdeps/i386/fpu/libm-test-ulps: Update.
49440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49441
49442 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49443
49444 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49445 xopen-msg.sed.
49446 * catgets/xopen-msg.awk: New file.
49447 * catgets/xopen-msg.sed: Removed.
49448
49449 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49450 po2text.sed.
49451 * intl/po2test.awk: New file.
49452 * intl/po2test.sed: Removed.
49453
49454 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49455
49456 [BZ #14328]
49457 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49458 or multiply small sinh result by itself.
49459 * math/s_ctanf.c (__ctanf): Likewise.
49460 * math/s_ctanh.c (__ctanh): Likewise.
49461 * math/s_ctanhf.c (__ctanhf): Likewise.
49462 * math/s_ctanhl.c (__ctanhl): Likewise.
49463 * math/s_ctanl.c (__ctanl): Likewise.
49464 * math/libm-test.inc (ctan_test_tonearest): New function.
49465 (ctan_test_towardzero): Likewise.
49466 (ctan_test_downward): Likewise.
49467 (ctan_test_upward): Likewise.
49468 (ctanh_test_tonearest): Likewise.
49469 (ctanh_test_towardzero): Likewise.
49470 (ctanh_test_downward): Likewise.
49471 (ctanh_test_upward): Likewise.
49472 (main): Call these new functions.
49473 * sysdeps/i386/fpu/libm-test-ulps: Update.
49474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49475
49476 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49477
49478 * .gitignore: Delete /ports entry.
49479
49480 2012-07-03 Andreas Jaeger <aj@suse.de>
49481
49482 * po/bg.po: Update from translation team.
49483 * po/cs.po: Likewise.
49484 * po/de.po: Likewise.
49485 * po/hr.po: Likewise.
49486 * po/nl.pl: Likewise.
49487 * po/pl.po: Likewise.
49488 * po/vi.po: Likewise.
49489
49490 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49491
49492 * Makeconfig [!+link] (+link-before-libc): New variable.
49493 [!+link] (+link-after-libc): Likewise.
49494 [!+link] (+link-tests): Likewise.
49495 [!+link] (+link): Define in terms of $(+link-before-libc) and
49496 $(+link-after-libc).
49497 [!+link-static] (+link-static-before-libc): New variable.
49498 [!+link-static] (+link-static-after-libc): Likewise.
49499 [!+link-static] (+link-static-tests): Likewise.
49500 [!+link-static] (+link-static): Define in terms of
49501 $(+link-static-before-libc) and $(+link-static-after-libc).
49502 [build-shared] (link-libc-before-gnulib): New variable.
49503 [build-shared] (link-libc-tests): Likewise.
49504 [build-shared] (link-libc): Define in terms of
49505 $(link-libc-before-gnulib).
49506 [!build-shared] (link-libc-tests): New variable.
49507 (link-libc-static-tests): New variable.
49508 [!gnulib] (gnulib-arch): New variable.
49509 [!gnulib] (gnulib-tests): Likewise.
49510 [!gnulib] (static-gnulib-arch): Likewise.
49511 [!gnulib] (static-gnulib-tests): Likewise.
49512 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49513 Define with "=" instead of ":=".
49514 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49515 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49516 * Rules (binaries-all-notests): New variable.
49517 (binaries-all-tests): Likewise.
49518 (binaries-static-notests): Likewise.
49519 (binaries-static-tests): Likewise.
49520 (binaries-all): Define using $(binaries-all-notests) and
49521 $(binaries-all-tests).
49522 (binaries-static): Define using $(binaries-static-notests) and
49523 $(binaries-static-tests).
49524 (binaries-shared-tests): New variable.
49525 (binaries-shared-notests): Likewise.
49526 (binaries-shared): Remove variable.
49527 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49528 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49529 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49530 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49531 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49532 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49533 * elf/Makefile (sln-modules): New variable.
49534 (extra-objs): Add $(sln-modules:=.o).
49535 (ldconfig-modules): Add static-stubs.
49536 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49537 * elf/static-stubs.c: New file.
49538
49539 [BZ #14283]
49540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49541 by 7 not 8 to examine high bit of fractional part. Use volatile
49542 variables when splitting into final array of floats if
49543 __FLT_EVAL_METHOD__ != 0.
49544 * math/libm-test.inc (cos_test): Add another test.
49545 (sin_test): Likewise.
49546 * sysdeps/i386/fpu/libm-test-ulps: Update.
49547
49548 [BZ #14273]
49549 * math/libm-test.inc (cosh_test): Add more tests.
49550
49551 * version.h (RELEASE): Set to "development".
49552 (VERSION): Set to "2.16.90".
49553
49554 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49555
49556 * NEWS: Update copyright. Remove last-updated date.
49557 Mention math library bug fixes and timezone data changes.
49558 * README: Mention GNU/Hurd, x32, and HPPA support status.
49559
49560 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49561
49562 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49563
49564 2012-06-27 Andreas Jaeger <aj@suse.de>
49565
49566 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49567
49568 2012-06-25 Andreas Jaeger <aj@suse.de>
49569
49570 * sysdeps/s390/fpu/libm-test-ulps: Update.
49571
49572 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49573 Thomas Schwinge <thomas@codesourcery.com>
49574
49575 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49576 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49578 fanotify_mark.
49579
49580 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49581
49582 * sysdeps/mach/start.c: Remove file.
49583 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49584 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49585 * sysdeps/sh/init-first.c: Likewise.
49586
49587 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49588 registers for frame unwinding purposes, add CFI directives.
49589 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49591 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49592 Likewise.
49593
49594 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49595 __fortify_fail returning.
49596 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49597
49598 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49599 sysdeps/sh/____longjmp_chk.S.
49600 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49601 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49602 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49603 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49604
49605 * sysdeps/sh/abort-instr.h: New file.
49606 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49607 process in case exit returns.
49608
49609 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49610 initialize the GOT register before use.
49611
49612 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49613 calculation of ARGC > 4.
49614
49615 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49616 meaningful names to some local labels.
49617
49618 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49619 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49620
49621 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49622 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49623 (__arch_compare_and_exchange_val_16_acq): Likewise.
49624 (__arch_compare_and_exchange_val_32_acq): Likewise.
49625 (atomic_exchange_and_add): Fix gUSA sequence.
49626 (atomic_add): Likewise.
49627 (atomic_add_negative): Likewise.
49628 (atomic_add_zero): Likewise.
49629 (atomic_bit_test_set): Likewise.
49630
49631 2012-06-22 Andreas Schwab <schwab@redhat.com>
49632
49633 [BZ #13579]
49634 * include/link.h (struct link_map): Add l_free_initfini.
49635 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49636 l_initfini.
49637 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49638 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49639 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49640 set.
49641
49642 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49643
49644 * configure.in: Use AC_LANG_SOURCE.
49645 * configure: Regenerate.
49646
49647 2012-06-22 Roland McGrath <roland@hack.frob.com>
49648
49649 * configure.in (libc_cv_localstatedir): New substituted variable.
49650 * configure: Regenerated.
49651 * config.make.in (localstatedir): New variable, substituted from
49652 libc_cv_localstatedir.
49653 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49654 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49655 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49656 * sysdeps/gnu/configure: Regenerated.
49657
49658 2012-06-21 Jeff Law <law@redhat.com>
49659
49660 [BZ #14277]
49661 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49662 free. Simplify list management for _LIBC case.
49663
49664 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49665
49666 [BZ #14273]
49667 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49668 Clear sign bit of 64-bit integer value before comparing against
49669 overflow value.
49670
49671 * sysdeps/mach/configure: Regenerated.
49672
49673 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49674
49675 [BZ #14278]
49676 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49677
49678 2012-06-21 Jeff Law <law@redhat.com>
49679
49680 [BZ #13882]
49681 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49682 uint16_t for elements in the "seen" array to avoid char overflows.
49683 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49684 * elf/dl-open.c (dl_open_worker): Likewise.
49685
49686 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49687
49688 * scripts/list-sources.sh: Scan PORTS for translations.
49689 * po/libc.pot: Regenerated.
49690
49691 2012-06-21 Andreas Jaeger <aj@suse.de>
49692
49693 [BZ #12194]
49694 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49695 warning.
49696 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49697 * bits/byteswap-16.h (__bswap_16): Likewise.
49698 * bits/byteswap.h (__bswap_constant_16): Likewise.
49699
49700 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49701
49702 [BZ #14117]
49703 * sysdeps/i386/fpu_control.h: Removed.
49704 * sysdeps/x86_64/fpu_control.h: Moved to ...
49705 * sysdeps/x86/fpu_control.h: Here.
49706
49707 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49708 (_FPU_SETCW): Likewise.
49709
49710 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49711
49712 [BZ #14117]
49713 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49714 * sysdeps/x86/fpu/bits/mathinline.h: This.
49715 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49716
49717 [BZ #14050]
49718 [BZ #14117]
49719 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49720 functions if __x86_64__ is defined.
49721
49722 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49723
49724 * string/endian.h: Add !__ASSEMBLER__ condition for including
49725 conversion interfaces.
49726
49727 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49728
49729 [BZ #14241]
49730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49731 of ABS(x) in calculating zero to negative powers other than odd
49732 integers.
49733 * math/libm-test.inc (pow_test): Add more tests.
49734
49735 2012-06-15 Andreas Jaeger <aj@suse.de>
49736
49737 * manual/contrib.texi (Contributors): Update entry of Liubov
49738 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49739 Machado Filho.
49740
49741 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49742
49743 * string/string.h: Add __wur to GNU version of strerror_r.
49744
49745 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49746
49747 [BZ #14229]
49748 * string/Makefile (tests): Add tst-strtok_r.
49749 * string/tst-strtok_r.c: New file.
49750 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49751 RAX_LP/RDX_LP on SAVE_PTR.
49752
49753 2012-06-14 Roland McGrath <roland@hack.frob.com>
49754
49755 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49756
49757 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49758
49759 * libm_test.inc (csqrt_test): Allow more spurious underflow
49760 exceptions.
49761 (j0_test): Likewise.
49762 (j1_test): Likewise.
49763 (y0_test): Likewise.
49764 (y1_test): Likewise.
49765
49766 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49767
49768 * po/Makefile (libc.pot): Use UTF-8 charset.
49769
49770 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49771
49772 [BZ #14210]
49773 Suppress sign-conversion warning from FD_SET.
49774 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49775 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49776 not unsigned long int.
49777 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49778
49779 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49780
49781 [BZ #14050]
49782 [BZ #14117]
49783 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49784 __extern_always_inline instead of __extern_inline.
49785 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49786 (__signbit): Likewise.
49787 (__signbitl): Support C++ namespace.
49788 (lrintf): New inline function.
49789 (lrint): Likewise.
49790 (llrintf): Likewise.
49791 (llrint): Likewise.
49792 (fmaxf): Likewise.
49793 (fmax): Likewise.
49794 (fminf): Likewise.
49795 (fmin): Likewise.
49796 (rint): Likewise.
49797 (rintf): Likewise.
49798 (ceil): Likewise.
49799 (ceilf): Likewise.
49800 (floor): Likewise.
49801 (floorf): Likewise.
49802 (nearbyint): Likewise.
49803 (nearbyintf): Likewise.
49804
49805 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49806
49807 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49808 non-default versions.
49809
49810 2012-06-11 Roland McGrath <roland@hack.frob.com>
49811
49812 [BZ #14218]
49813 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49814
49815 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49816
49817 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49818 (FE_UPWARD, FE_DOWNWARD): Don't define.
49819 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49820 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49821
49822 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49823 reading it.
49824 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49825 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49826
49827 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49828
49829 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49831 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49832 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49833
49834 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49835
49836 [BZ #14117]
49837 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49838 * sysdeps/i386/fpu/Implies: New file.
49839 * sysdeps/x86_64/fpu/Implies: Likewise.
49840 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49841 * sysdeps/x86/fpu/bits/fenv.h: This.
49842
49843 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49844 __SSE_MATH__.
49845
49846 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49847
49848 [BZ #14134]
49849 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49850 character 0xffff that matches the last element of the
49851 conversion table.
49852
49853 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49854
49855 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49856 fmodl commit.
49857
49858 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49859
49860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49861 values higher than 25.6283.
49862
49863 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49864
49865 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49866 subnormal exponent extraction and add some __builtin_expect.
49867 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49868 Fix for subnormal mantissa calculation.
49869
49870 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49871
49872 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49873 cpu2 is -1 and errno is not ENOSYS.
49874
49875 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49876
49877 [BZ #14117]
49878 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49879 * sysdeps/x86/bits/string.h: This.
49880 * sysdeps/x86_64/bits/string.h: Removed.
49881
49882 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49883 if not compiling for x86-64, but compiling for >= i486.
49884
49885 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49886 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49887
49888 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49889 New macro from Linux kernel 3.4.0.
49890 (FP_XSTATE_MAGIC2): Likewise.
49891 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49892 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49893 (struct _fpx_sw_bytes): New struct.
49894 (struct _xsave_hdr): Likewise.
49895 (struct _ymmh_state): Likewise.
49896 (struct _xstate): Likewise.
49897
49898 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49899 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49900 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49901 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49902 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49903 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49904
49905 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49906 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49907 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49908 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49909 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49910 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49911
49912 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49913
49914 [BZ #13743]
49915 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49916 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49917 (sysdep_headers): Include sys/platform/ppc.h.
49918 * sysdeps/powerpc/test-gettimebase.c: Test for
49919 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49920 * manual/Makefile (appendices): Include platform.texi.
49921 * manual/contrib.texi (Contributors): Update @node pointers.
49922 * manual/maint.texi (Maintenance): Likewise.
49923 (Platform): New node.
49924 * manual/platform.texi: New file. Document the new features.
49925
49926 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49927 Jakub Jelinek <jakub@redhat.com>
49928
49929 [BZ #14188]
49930 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49931 where __builtin_expect is unavailable.
49932
49933 2012-06-03 David S. Miller <davem@davemloft.net>
49934
49935 * stdlib/longlong.h: Updated from GCC.
49936
49937 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49938
49939 [BZ #14042]
49940 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49941 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49942 __mcount_internal.
49943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49944 (GLIBC_2.16): Likewise.
49945
49946 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49947
49948 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49949
49950 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49951
49952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49953 (default-abi): New variable.
49954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49955 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49956 variable.
49957 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49958 Likewise.
49959 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49960 Likewise.
49961 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49962 Likewise.
49963
49964 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49965 definition. Document in comment.
49966
49967 2012-06-01 David S. Miller <davem@davemloft.net>
49968
49969 * stdlib/longlong.h: Updated from GCC.
49970
49971 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49972
49973 [BZ #14117]
49974 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49975 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49976 sys/debugreg.h sys/io.h here.
49977 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49978 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49979 sys/io.h.
49980 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49981 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49982 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49983 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49984 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49985 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49986
49987 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49988 Define only if __x86_64__ is defined.
49989
49990 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49991
49992 [BZ #14048]
49993 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49994 Use int64_t for variable i.
49995 * math/libm-test.inc (fmod_test): Add more tests.
49996
49997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49998 z computation is not scheduled after fetestexcept.
49999 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50000 Use math_force_eval instead of asm to ensure calculation scheduled
50001 before exception test.
50002 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50003 Ensure a1 + u.d computation is not scheduled after fetestexcept.
50004
50005 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
50006
50007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50008 computation is not scheduled after fetestexcept.
50009
50010 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50011
50012 [BZ #14117]
50013 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50014 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50015
50016 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50017
50018 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50019 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50020
50021 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50022
50023 [BZ #14117]
50024 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50025 <bits/wordsize.h>.
50026 (__WCHAR_MIN): Support __WORDSIZE == 64.
50027 (__WCHAR_MAX): Likewise.
50028
50029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50030 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50031
50032 [BZ #14183]
50033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50034 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50035
50036 [BZ #14117]
50037 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50038 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50039
50040 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50041 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50042
50043 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50044 Defined to 1 if __x86_64__ isn't defined.
50045 (_STAT_VER_LINUX_OLD): New.
50046 (st_atime): Remove duplicate.
50047 (st_mtime): Likewise.
50048 (st_ctime): Likewise.
50049
50050 2012-05-31 David S. Miller <davem@davemloft.net>
50051
50052 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50053 entries.
50054
50055 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
50056
50057 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50058 gen-libm-test.pl.
50059
50060 [BZ #14132]
50061 * elf/dl-reloc.c: Include <_itoa.h>.
50062 (_dl_reloc_bad_type): Remove use of INTUSE.
50063 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50064 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50065 * stdio-common/psiginfo.c (psiginfo): Likewise.
50066 * stdio-common/psignal.c (psignal): Likewise.
50067 * string/strsignal.c (strsignal): Likewise.
50068 * include/signal.h (_sys_siglist): Declare hidden proto.
50069 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
50070 INTVARDEF with libc_hidden_data_def.
50071 * stdio-common/itoa-udigits.c: Likewise.
50072 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50073 (_itoa_lower_digits_internal): Remove declaration.
50074 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50075 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50076 (_sys_sigabbrev_internal): Remove aliases.
50077 (_sys_siglist): Define hidden alias.
50078
50079 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
50080
50081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50082 bits/sysctl.h.
50083
50084 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50085
50086 [BZ #14117]
50087 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50088 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50089
50090 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50091 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50092 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50093 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50094 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50095 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50096
50097 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50098 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50099 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50100
50101 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50102 with __addr.
50103 (insw): Likewise.
50104 (insl): Likewise.
50105 (outsb): Likewise.
50106 (outsw): Likewise.
50107 (outsl): Likewise.
50108
50109 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50111 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50112
50113 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50114 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50115 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50116 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50117 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50118 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50119
50120 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50121 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50122
50123 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50124 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50125
50126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50127 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50128 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50129
50130 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50131 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50132 to ...
50133 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50134
50135 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50136 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50137 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50138
50139 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50140 for x86-64.
50141 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50142
50143 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50144
50145 * math/math.h (M_El): Use two more decimal places.
50146 (M_LOG2El): Likewise.
50147 (M_LOG10El): Likewise.
50148 (M_LN2l): Likewise.
50149 (M_LN10l): Likewise.
50150 (M_PIl): Likewise.
50151 (M_PI_2l): Likewise.
50152 (M_PI_4l): Likewise.
50153 (M_1_PIl): Likewise.
50154 (M_2_PIl): Likewise.
50155 (M_2_SQRTPIl): Likewise.
50156 (M_SQRT2l): Likewise.
50157 (M_SQRT1_2l): Likewise.
50158
50159 2012-05-31 David S. Miller <davem@davemloft.net>
50160
50161 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50162 values between float registers.
50163 * sysdeps/sparc/sparc64/memset.S: Likewise.
50164 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50165
50166 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50167
50168 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50169 -D_FORTIFY_SOURCE=1.
50170 (CPPFLAGS-tst-longjmp_chk.c): Define.
50171 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50172 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50173 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50174 CFLAGS-tst-wchar-h.c.
50175
50176 2012-05-31 Marek Polacek <polacek@redhat.com>
50177
50178 [BZ #14132]
50179 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50180 __endmntent_internal): Remove declaration.
50181 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50182 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50183 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50184
50185 2012-05-30 David S. Miller <davem@davemloft.net>
50186
50187 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50188 (___Q_simulate_exceptions): Use real FP ops rather than writing
50189 into the %fsr.
50190 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50191 Likewise.
50192
50193 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50194
50195 [BZ #14117]
50196 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50197 * sysdeps/x86/bits/xtitypes.h: This.
50198
50199 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50200 * sysdeps/x86/bits/wordsize.h: This.
50201
50202 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50203 * sysdeps/x86/bits/huge_vall.h: This.
50204
50205 * sysdeps/i386/bits/select.h: Removed.
50206 * sysdeps/x86_64/bits/select.h: Renamed to ...
50207 * sysdeps/x86/bits/select.h: This.
50208
50209 * sysdeps/i386/bits/setjmp.h: Removed.
50210 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50211 * sysdeps/x86/bits/setjmp.h: This.
50212
50213 * sysdeps/i386/bits/mathdef.h: Removed.
50214 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50215 * sysdeps/x86/bits/mathdef.h: This.
50216
50217 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50218
50219 [BZ #14132]
50220 * include/sys/socket.h (__connect_internal)
50221 (__libc_sa_len_internal): Remove declaration.
50222 (__connect, __libc_sa_len): Declare hidden_proto.
50223 (SA_LEN): Remove use of INTUSE.
50224 * socket/connect.c: Add libc_hidden_def.
50225 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50226 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50227 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50228 alias.
50229 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50230 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50231 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50232 of adding _internal alias.
50233
50234 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50235
50236 [BZ #14117]
50237 * sysdeps/i386/bits/link.h: Removed.
50238 * sysdeps/i386/bits/linkmap.h: Likewise.
50239 * sysdeps/x86_64/bits/link.h: Renamed to ...
50240 * sysdeps/x86/bits/link.h: This.
50241 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50242 * sysdeps/x86/bits/linkmap.h: This.
50243
50244 * sysdeps/i386/bits/endian.h: Removed.
50245 * sysdeps/x86_64/bits/endian.h: Renamed to ...
50246 * sysdeps/x86/bits/endian.h: This.
50247
50248 * sysdeps/i386/bits/byteswap.h: Removed.
50249 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50250 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50251 * sysdeps/x86/bits/byteswap.h: This.
50252 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50253 * sysdeps/x86/bits/byteswap-16.h: This.
50254 * sysdeps/i386/Implies: Add x86.
50255 * sysdeps/x86_64/Implies: Likewise.
50256
50257 2012-05-30 David S. Miller <davem@davemloft.net>
50258
50259 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50260 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50261 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50262 (FP_TRAPPING_EXCEPTIONS): Define.
50263 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50264 (FP_TRAPPING_EXCEPTIONS): Define.
50265 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50266 subnormals only when inexact has been signalled or underflow
50267 exceptions are enabled.
50268 (_FP_PACK_CANONICAL): Likewise.
50269
50270 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50271
50272 [BZ #14183]
50273 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50274 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50275
50276 2012-05-30 Richard Henderson <rth@twiddle.net>
50277
50278 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50279 with #ifndef NOT_IN_libc.
50280
50281 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50282 marked to avoid plt entry.
50283
50284 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50285
50286 [BZ #14112]
50287 * Makeconfig (default-abi): New macro.
50288 (abi-includes): Likewise.
50289 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50290 $(abi-$(default-abi)-lib-soname) for soname if defined.
50291 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50292 abi-variants.
50293 * Makefile (installed-stubs): Likewise.
50294 * include/stubs-biarch.h: Removed.
50295 * scripts/lib-names.awk: Only handle one library at a time.
50296 * scripts/soversions.awk: Remove WORDSIZE support.
50297 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50298 entries.
50299 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50300 Removed.
50301 (syscall-list-default-condition): Likewise.
50302 (syscall-list-default-condition): Likewise.
50303 (syscall-list-includes): Likewise.
50304 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50305 syscall-list-* with abi-*. Handle undefined abi-variants.
50306 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50307 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50308 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50309 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50310 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50311 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50312 Removed.
50313 (syscall-list-32-options): Likewise.
50314 (syscall-list-32-condition): Likewise.
50315 (syscall-list-64-options): Likewise.
50316 (syscall-list-64-condition): Likewise.
50317 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50318 macro.
50319 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50320 Renamed to ...
50321 (abi-*): This.
50322 (abi-64-ld-soname): New macro.
50323 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50324 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50325 Renamed to ...
50326 (abi-*): This.
50327 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50328 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50329
50330 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50331
50332 * sysdeps/unix/sysv/linux/kernel-features.h
50333 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50334 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50335 include <kernel-features.h>.
50336 [!__NR_ftruncate64]: Remove conditional code.
50337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50338 [__NR_ftruncate64]: Make code unconditional.
50339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50340 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50341 include <kernel-features.h>.
50342 [!__NR_ftruncate64]: Remove conditional code.
50343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50344 [__NR_ftruncate64]: Make code unconditional.
50345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50347 include <kernel-features.h>.
50348 [!__NR_ftruncate64]: Remove conditional code.
50349 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50350 [__NR_ftruncate64]: Make code unconditional.
50351 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50353 include <kernel-features.h>.
50354 [!__NR_ftruncate64]: Remove conditional code.
50355 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50356 [__NR_ftruncate64]: Make code unconditional.
50357 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50358
50359 * configure.in (libc_cv_fpie): Weaken to a compile test using
50360 LIBC_TRY_CC_OPTION.
50361 * configure: Regenerated.
50362
50363 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50364
50365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50369 Refreshed.
50370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50376 Refreshed.
50377
50378 2012-05-27 David S. Miller <davem@davemloft.net>
50379
50380 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50381 (___Q_zero): New.
50382 (__Q_simulate_exceptions): Return void. Change to simulate
50383 exceptions by writing into the %fsr.
50384 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50385 (__Qp_handle_exceptions): Likewise.
50386 (numbers): Delete.
50387 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50388 __Qp_handle_exceptions.
50389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50390 __Qp_handle_exceptions.
50391 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50392 as unused and give dummy FP_RND_NEAREST initializer.
50393 (FP_INHIBIT_RESULTS): Define.
50394 (___Q_simulate_exceptions): Update declaration.
50395 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50396 formatting.
50397 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50398 as unused and give dummy FP_RND_NEAREST initializer.
50399 (__Qp_handle_exceptions): Update declaration.
50400 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50401 formatting.
50402
50403 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50404
50405 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50406 the temporary FPU control word.
50407 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50408 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50409 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50410 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50411 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50412 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50413 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50414 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50415 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50416 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50417 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50418
50419 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50420
50421 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50422 fields.
50423
50424 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50425
50426 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50427 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50428 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50429 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50430 Likewise.
50431 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50432 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50433 Likewise.
50434
50435 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50436
50437 * po/h.po: Update from translation team.
50438
50439 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50440
50441 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50442
50443 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50444 handling of denormals.
50445 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50446 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50447 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50448 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50449 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50452 Likewise.
50453
50454 2012-05-26 Marek Polacek <polacek@redhat.com>
50455
50456 [BZ #14152]
50457 * math/libm-test.inc (fma_test): Don't always expect underflow
50458 exception.
50459
50460 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50461
50462 [BZ #12416]
50463 * elf/tst-execstack.c: Include stackinfo.h.
50464 (do_test): Adjust test case to ensure that pthread_getattr_np
50465 behaviour remains the same after marking stack executable.
50466
50467 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50468
50469 * sysdeps/unix/sysv/linux/kernel-features.h
50470 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50471 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50472 kernel-features.h.
50473 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50474 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50475 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50476 kernel-features.h.
50477 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50478 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50479
50480 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50481
50482 * configure.in: Define the default includes to being none.
50483 * configure: Regenerated.
50484
50485 2012-05-25 Roland McGrath <roland@hack.frob.com>
50486
50487 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50488 * sysdeps/x86_64/setjmp.S: Likewise.
50489 * sysdeps/i386/bsd-setjmp.S: Likewise.
50490 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50491 * sysdeps/i386/setjmp.S: Likewise.
50492 * sysdeps/i386/__longjmp.S: Likewise.
50493 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50494 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50495
50496 * include/stap-probe.h: New file.
50497 * configure.in: Handle --enable-systemtap.
50498 * configure: Regenerated.
50499 * config.h.in (USE_STAP_PROBE): New #undef.
50500 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50501 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50502 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50503
50504 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50505
50506 [BZ #13717]
50507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50508 to 2.4.0 where earlier.
50509 * sysdeps/unix/sysv/linux/configure: Regenerated.
50510 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50511 <kernel-features.h>.
50512 [__ASSUME_32BITUIDS]: Make code unconditional.
50513 [!__ASSUME_32BITUIDS]: Remove conditional code.
50514 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50515 <kernel-features.h>.
50516 [__ASSUME_32BITUIDS]: Make code unconditional.
50517 [!__ASSUME_32BITUIDS]: Remove conditional code.
50518 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50519 [__ASSUME_32BITUIDS]: Make code unconditional.
50520 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50521 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50522 <kernel-features.h>.
50523 [__ASSUME_32BITUIDS]: Make code unconditional.
50524 [!__ASSUME_32BITUIDS]: Remove conditional code.
50525 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50526 <kernel-features.h>.
50527 [__ASSUME_32BITUIDS]: Make code unconditional.
50528 [!__ASSUME_32BITUIDS]: Remove conditional code.
50529 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50530 <kernel-features.h>.
50531 [__ASSUME_32BITUIDS]: Make code unconditional.
50532 [!__ASSUME_32BITUIDS]: Remove conditional code.
50533 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50534 <kernel-features.h>.
50535 [__ASSUME_32BITUIDS]: Make code unconditional.
50536 [!__ASSUME_32BITUIDS]: Remove conditional code.
50537 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50538 <kernel-features.h>.
50539 [__ASSUME_32BITUIDS]: Make code unconditional.
50540 [!__ASSUME_32BITUIDS]: Remove conditional code.
50541 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50542 <kernel-features.h>.
50543 [__ASSUME_32BITUIDS]: Make code unconditional.
50544 [!__ASSUME_32BITUIDS]: Remove conditional code.
50545 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50546 <kernel-features.h>.
50547 [__ASSUME_32BITUIDS]: Make code unconditional.
50548 [!__ASSUME_32BITUIDS]: Remove conditional code.
50549 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50550 <kernel-features.h>.
50551 [__ASSUME_32BITUIDS]: Make code unconditional.
50552 [!__ASSUME_32BITUIDS]: Remove conditional code.
50553 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
50562 <kernel-features.h>.
50563 [__NR_setresgid] (__setresgid): Do not declare.
50564 [__ASSUME_32BITUIDS]: Make code unconditional.
50565 [!__ASSUME_32BITUIDS]: Remove conditional code.
50566 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50567 <kernel-features.h>.
50568 [__NR_setresuid] (__setresuid): Do not declare.
50569 [__ASSUME_32BITUIDS]: Make code unconditional.
50570 [!__ASSUME_32BITUIDS]: Remove conditional code.
50571 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50572 <kernel-features.h>.
50573 [__ASSUME_32BITUIDS]: Make code unconditional.
50574 [!__ASSUME_32BITUIDS]: Remove conditional code.
50575 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50576 <kernel-features.h>.
50577 [__ASSUME_32BITUIDS]: Make code unconditional.
50578 [!__ASSUME_32BITUIDS]: Remove conditional code.
50579 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50580 <kernel-features.h>.
50581 [__ASSUME_32BITUIDS]: Make code unconditional.
50582 [!__ASSUME_32BITUIDS]: Remove conditional code.
50583 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50584 <kernel-features.h>.
50585 [__ASSUME_32BITUIDS]: Make code unconditional.
50586 [!__ASSUME_32BITUIDS]: Remove conditional code.
50587 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50588 <kernel-features.h>.
50589 [__ASSUME_32BITUIDS]: Make code unconditional.
50590 [!__ASSUME_32BITUIDS]: Remove conditional code.
50591 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50592 <kernel-features.h>.
50593 [__ASSUME_32BITUIDS]: Make code unconditional.
50594 [!__ASSUME_32BITUIDS]: Remove conditional code.
50595 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50596 <kernel-features.h>.
50597 [__ASSUME_32BITUIDS]: Make code unconditional.
50598 [!__ASSUME_32BITUIDS]: Remove conditional code.
50599 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50600 <kernel-features.h>.
50601 [__ASSUME_32BITUIDS]: Make code unconditional.
50602 [!__ASSUME_32BITUIDS]: Remove conditional code.
50603 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50604 <kernel-features.h>.
50605 [__ASSUME_32BITUIDS]: Make code unconditional.
50606 [!__ASSUME_32BITUIDS]: Remove conditional code.
50607 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50608 <kernel-features.h>.
50609 [__ASSUME_32BITUIDS]: Make code unconditional.
50610 [!__ASSUME_32BITUIDS]: Remove conditional code.
50611 * sysdeps/unix/sysv/linux/kernel-features.h
50612 (__ASSUME_SETRESUID_SYSCALL): Remove.
50613 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50614 (__ASSUME_32BITUIDS): Likewise.
50615 (__ASSUME_LDT_WORKS): Likewise.
50616 (__ASSUME_O_DIRECTORY): Likewise.
50617 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50618 architecture but not kernel version.
50619 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50620 (__ASSUME_MMAP2_SYSCALL): Likewise.
50621 (__ASSUME_STAT64_SYSCALL): Likewise.
50622 (__ASSUME_IPC64): Likewise.
50623 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50624 <kernel-features.h>.
50625 [__ASSUME_32BITUIDS]: Make code unconditional.
50626 [!__ASSUME_32BITUIDS]: Remove conditional code.
50627 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50628 <kernel-features.h>.
50629 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50630 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50631 132096]: Remove conditional code.
50632 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50633 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50634 <kernel-features.h>.
50635 [__ASSUME_32BITUIDS]: Make code unconditional.
50636 [!__ASSUME_32BITUIDS]: Remove conditional code.
50637 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50638 <kernel-features.h>.
50639 [__ASSUME_32BITUIDS]: Make code unconditional.
50640 [!__ASSUME_32BITUIDS]: Remove conditional code.
50641 * sysdeps/unix/sysv/linux/setegid.c: Do not include
50642 <kernel-features.h>.
50643 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50644 unconditional.
50645 (__setresgid): Do not declare.
50646 [__ASSUME_32BITUIDS]: Make code unconditional.
50647 [!__ASSUME_32BITUIDS]: Remove conditional code.
50648 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50649 <kernel-features.h>.
50650 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50651 unconditional.
50652 (__setresuid): Do not declare.
50653 [__ASSUME_32BITUIDS]: Make code unconditional.
50654 [!__ASSUME_32BITUIDS]: Remove conditional code.
50655 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50656 <kernel-features.h>.
50657 [__ASSUME_32BITUIDS]: Make code unconditional.
50658 [!__ASSUME_32BITUIDS]: Remove conditional code.
50659 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50660 <kernel-features.h>.
50661 [__ASSUME_32BITUIDS]: Make code unconditional.
50662 [!__ASSUME_32BITUIDS]: Remove conditional code.
50663
50664 2012-05-25 Richard Henderson <rth@twiddle.net>
50665
50666 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50667 dl_hwcap to ifunc resolver.
50668 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50669 elf_ifunc_invoke.
50670 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50671 dl_hwcap to ifunc resolver.
50672 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50673
50674 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50675
50676 [BZ #14153]
50677 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50678 for |x| <= 2**-26, not 2**-57.
50679 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50680 exception.
50681
50682 2012-05-24 Jeff Law <law@redhat.com>
50683
50684 * stdio-common/Makefile (tests): Add bug25.
50685 * stdio-common/bug25.c: New test.
50686
50687 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50688
50689 [BZ #13576]
50690 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50691 multiple of MALLOC_ALIGNMENT in size.
50692 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50693
50694 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50695
50696 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50697 Require >= 256.
50698 (FILENAME_MAX): Use macro-int-constant.
50699 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50700 (_IOFBF): Use macro-int-constant.
50701 (_IOLBF): Likewise.
50702 (_IONBF): Likewise.
50703 (SEEK_CUR): Likewise.
50704 (SEEK_END): Likewise.
50705 (SEEK_SET): Likewise.
50706 (TMP_MAX): Likewise.
50707 (EOF): Use macro-int-constant. Require < 0.
50708 (NULL): Use macro-constant. Require == 0.
50709 (stdin): Require type to be FILE *.
50710 (stdout): Likewise.
50711 (stderr): Likewise.
50712 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50713 macro-int-constant.
50714 (EXIT_SUCCESS): Likewise.
50715 (NULL): Use macro-constant. Require == 0.
50716 (RAND_MAX): Use macro-int-constant.
50717 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50718 [C99-based standards] (strtof): Require function.
50719 [C99-based standards] (strtold): Likewise.
50720 [C99-based standards] (strtoll): Likewise.
50721 [C99-based standards] (strtoull): Likewise.
50722 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50723 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50724 [ISO || ISO99 || ISO11] (math.h): Likewise.
50725 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50726 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50728
50729 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50730
50731 [BZ #14132]
50732 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50733 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50734 * intl/dgettext.c (DCGETTEXT): Likewise.
50735 * intl/gettext.c (DCGETTEXT): Likewise.
50736 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50737 * posix/regex_internal.h (gettext): Likewise.
50738 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50739 Remove declaration.
50740 * include/argz.h (__argz_count_internal)
50741 (__argz_stringify_internal): Remove declaration.
50742 (__argz_count, __argz_stringify): Declare hidden proto.
50743 * intl/dcgettext.c: Remove use of INTDEF.
50744 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50745 * string/argz-stringify.c: Likewise.
50746 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50747 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50748 Declare hidden proto.
50749 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50750 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50751 Declare hidden proto.
50752 * include/stdio.h (__asprintf_internal): Don't declare.
50753 (__asprintf): Don't define as macro. Declare hidden proto.
50754 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50755 (__fsetlocking): Declare hidden proto.
50756 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50757 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50758 hidden proto.
50759 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50760 (_IO_setlinebuf): Remove use of INTUSE.
50761 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50762 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50763 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50764 Remove declaration.
50765 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50766 (_IO_do_flush): Remove use of INTUSE.
50767 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50768 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50769 (_IO_adjust_column, _IO_least_wmarker)
50770 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50771 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50772 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50773 (_IO_default_doallocate, _IO_wdefault_doallocate)
50774 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50775 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50776 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50777 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50778 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50779 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50780 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50781 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50782 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50783 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50784 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50785 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50786 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50787 proto.
50788 (_IO_flush_all_internal, _IO_adjust_column_internal)
50789 (_IO_default_uflow_internal, _IO_default_finish_internal)
50790 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50791 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50792 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50793 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50794 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50795 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50796 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50797 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50798 (_IO_file_close_internal, _IO_file_close_it_internal)
50799 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50800 (_IO_file_init_internal, _IO_file_attach_internal)
50801 (_IO_file_fopen_internal, _IO_file_read_internal)
50802 (_IO_file_sync_internal, _IO_file_seek_internal)
50803 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50804 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50805 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50806 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50807 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50808 (_IO_list_all_internal, _IO_link_in_internal)
50809 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50810 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50811 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50812 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50813 (_IO_do_write_internal, _IO_padn_internal)
50814 (_IO_getline_info_internal, _IO_getline_internal)
50815 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50816 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50817 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50818 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50819 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50820 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50821 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50822 with libc_hidden_ver, remove use of INTUSE.
50823 * libio/genops.c: Likewise.
50824 * libio/freopen.c: Likewise.
50825 * libio/freopen64.c: Likewise.
50826 * libio/iofclose.c: Likewise.
50827 * libio/iofdopen.c: Likewise.
50828 * libio/iofflush.c: Likewise.
50829 * libio/iofflush_u.c: Likewise.
50830 * libio/iofgets.c: Likewise.
50831 * libio/iofgets_u.c: Likewise.
50832 * libio/iofopen.c: Likewise.
50833 * libio/iofopncook.c: Likewise.
50834 * libio/iofread.c: Likewise.
50835 * libio/iofread_u.c: Likewise.
50836 * libio/ioftell.c: Likewise.
50837 * libio/iofwrite.c: Likewise.
50838 * libio/iogetline.c: Likewise.
50839 * libio/iogets.c: Likewise.
50840 * libio/iogetwline.c: Likewise.
50841 * libio/iopadn.c: Likewise.
50842 * libio/iopopen.c: Likewise.
50843 * libio/ioseekoff.c: Likewise.
50844 * libio/ioseekpos.c: Likewise.
50845 * libio/iosetbuffer.c: Likewise.
50846 * libio/iosetvbuf.c: Likewise.
50847 * libio/ioungetc.c: Likewise.
50848 * libio/ioungetwc.c: Likewise.
50849 * libio/iovdprintf.c: Likewise.
50850 * libio/iovsprintf.c: Likewise.
50851 * libio/iovsscanf.c: Likewise.
50852 * libio/memstream.c: Likewise.
50853 * libio/obprintf.c: Likewise.
50854 * libio/oldfileops.c: Likewise.
50855 * libio/oldiofclose.c: Likewise.
50856 * libio/oldiofdopen.c: Likewise.
50857 * libio/oldiofopen.c: Likewise.
50858 * libio/oldiopopen.c: Likewise.
50859 * libio/oldstdfiles.c: Likewise.
50860 * libio/putc.c: Likewise.
50861 * libio/setbuf.c: Likewise.
50862 * libio/setlinebuf.c: Likewise.
50863 * libio/stdfiles.c: Likewise.
50864 * libio/strops.c: Likewise.
50865 * libio/vasprintf.c: Likewise.
50866 * libio/vscanf.c: Likewise.
50867 * libio/vsnprintf.c: Likewise.
50868 * libio/vswprintf.c: Likewise.
50869 * libio/wfiledoalloc.c: Likewise.
50870 * libio/wfileops.c: Likewise.
50871 * libio/wgenops.c: Likewise.
50872 * libio/wmemstream.c: Likewise.
50873 * libio/wstrops.c: Likewise.
50874 * libio/__fpurge.c: Likewise.
50875 * libio/__fsetlocking.c: Likewise.
50876 * assert/assert.c: Likewise.
50877 * debug/fgets_chk.c: Likewise.
50878 * debug/fgets_u_chk.c: Likewise.
50879 * debug/fread_chk.c: Likewise.
50880 * debug/fread_u_chk.c: Likewise.
50881 * debug/gets_chk.c: Likewise.
50882 * debug/obprintf_chk.c: Likewise.
50883 * debug/vasprintf_chk.c: Likewise.
50884 * debug/vdprintf_chk.c: Likewise.
50885 * debug/vsnprintf_chk.c: Likewise.
50886 * debug/vsprintf_chk.c: Likewise.
50887 * malloc/mtrace.c: Likewise.
50888 * misc/error.c: Likewise.
50889 * misc/syslog.c: Likewise.
50890 * stdio-common/asprintf.c: Likewise.
50891 * stdio-common/fxprintf.c: Likewise.
50892 * stdio-common/getw.c: Likewise.
50893 * stdio-common/isoc99_fscanf.c: Likewise.
50894 * stdio-common/isoc99_scanf.c: Likewise.
50895 * stdio-common/isoc99_vfscanf.c: Likewise.
50896 * stdio-common/isoc99_vscanf.c: Likewise.
50897 * stdio-common/isoc99_vsscanf.c: Likewise.
50898 * stdio-common/printf-prs.c: Likewise.
50899 * stdio-common/printf_fp.c: Likewise.
50900 * stdio-common/printf_fphex.c: Likewise.
50901 * stdio-common/printf_size.c: Likewise.
50902 * stdio-common/putw.c: Likewise.
50903 * stdio-common/scanf.c: Likewise.
50904 * stdio-common/sprintf.c: Likewise.
50905 * stdio-common/tmpfile.c: Likewise.
50906 * stdio-common/vfprintf.c: Likewise.
50907 * stdio-common/vfscanf.c: Likewise.
50908 * stdlib/strfmon_l.c: Likewise.
50909 * sunrpc/openchild.c: Likewise.
50910 * sunrpc/xdr_stdio.c: Likewise.
50911 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50912 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50913
50914 2012-05-24 Roland McGrath <roland@hack.frob.com>
50915
50916 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50917
50918 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50919 in the third column, to generate for the shared library an IFUNC
50920 that uses _dl_vdso_vsym.
50921 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50922 * Makeconfig (object-suffixes-noshared): New variable.
50923
50924 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50925 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50926 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50927 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50928
50929 [BZ #14132]
50930 * include/sys/time.h (__gettimeofday): Remove macro.
50931 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50932 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50933 Remove INTDEF.
50934 (__gettimeofday): Add libc_hidden_def.
50935 (gettimeofday): Add libc_hidden_weak.
50936 * sysdeps/mach/gettimeofday.c: Likewise.
50937 * sysdeps/posix/gettimeofday.c: Likewise.
50938 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50939 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50941 (__gettimeofday_internal): Remove strong_alias.
50942 (__gettimeofday): Add libc_hidden_def.
50943 (gettimeofday): Add libc_hidden_weak.
50944 * sysdeps/unix/syscalls.list (gettimeofday):
50945 Remove __gettimeofday_internal alias.
50946
50947 2012-05-24 Daniel Jacobowitz <drow@false.org>
50948 H.J. Lu <hongjiu.lu@intel.com>
50949
50950 [BZ #12495]
50951 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50952 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50953 (largebin_index_32_big): New.
50954 (largebin_index): Use it for 16-byte alignment.
50955 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50956 correction with front_misalign.
50957
50958 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50959
50960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50962 Likewise.
50963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50964 Likewise.
50965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50966 Likewise.
50967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50968 Likewise.
50969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50970 Likewise.
50971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50972 Likewise.
50973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50974 Likewise.
50975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50976 Likewise.
50977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50978 Likewise.
50979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50980 Likewise.
50981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50982 Likewise.
50983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50984 Likewise.
50985
50986 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50987 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50988
50989 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50990
50991 [BZ #10846]
50992 [BZ #14036]
50993 * math/libm-test.inc (exp_test): Add test from bug 14036.
50994 (pow_test): Add test from bug 10846.
50995
50996 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50997 and other flags.
50998 (special_function): Do not include flags in test name.
50999 (parse_args): Likewise.
51000 * sysdeps/i386/fpu/libm-test-ulps: Update.
51001 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51002 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51003 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51005
51006 * math/gen-libm-test.pl (%beautify): Add entries for underflow
51007 exceptions.
51008 * math/libm-test.inc ("Philosophy"): Update comment about
51009 exception testing.
51010 (UNDERFLOW_EXCEPTION): New macro.
51011 (UNDERFLOW_EXCEPTION_OK): Likewise.
51012 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51013 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51014 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51015 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51016 (INVALID_EXCEPTION_OK): Update value.
51017 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51018 (OVERFLOW_EXCEPTION_OK): Likewise.
51019 (IGNORE_ZERO_INF_SIGN): Likewise.
51020 (test_exceptions): Handle underflow exceptions.
51021 (acos_test): Update for underflow exception expectations.
51022 (cexp_test): Likewise.
51023 (clog_test): Likewise.
51024 (clog10_test): Likewise.
51025 (csqrt_test): Likewise.
51026 (ctan_test): Likewise.
51027 (ctanh_test): Likewise.
51028 (exp_test): Likewise.
51029 (exp10_test): Likewise.
51030 (exp2_test): Likewise.
51031 (expm1_test): Likewise.
51032 (fma_test): Likewise.
51033 (j0_test): Likewise.
51034 (jn_test): Likewise.
51035 (nexttoward_test): Likewise.
51036 (pow_test): Likewise.
51037 (scalbn_test): Likewise.
51038 (scalbln_test): Likewise.
51039 (tan_test): Likewise.
51040 (y1_test): Likewise.
51041 * sysdeps/i386/fpu/libm-test-ulps: Update.
51042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51043
51044 2012-05-23 David S. Miller <davem@davemloft.net>
51045
51046 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51047 (__libc_sigaction): Remove unused local variables.
51048
51049 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51050
51051 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51052
51053 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
51054
51055 mktime: avoid signed integer overflow
51056 * time/mktime.c (__mktime_internal): Do not mishandle the case
51057 where diff == INT_MIN.
51058
51059 mktime: simplify computation of average
51060 * time/mktime.c (ranged_convert): Use new time_t_avg function
51061 instead of rolling our own (probably-slower) code.
51062
51063 mktime: do not assume signed right shift propagates sign bit
51064 * time/mktime.c (isdst_differ): New static function.
51065 (__mktime_internal): No need to normalize tm_isdst now.
51066 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51067 tm_isdst values.
51068
51069 mktime: merge another wrapv change from gnulib
51070 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51071 from some compilers.
51072
51073 mktime: remove incorrect attempt at unusual arithmetics
51074 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51075 The code didn't really work on such machines anyway.
51076 (TYPE_MINIMUM): Assume two's complement.
51077 (twos_complement_arithmetic): Verify that long_int and time_t
51078 are two's complement (or unsigned, in the latter case).
51079
51080 mktime: check signed shifts on long_int and time_t, too
51081 * time/mktime.c (SHR): Check that shifts work as desired
51082 on the types long_int and time_t too, as SHR is used on
51083 such types.
51084
51085 mktime: do not assume 'long' is wide enough
51086 * time/mktime.c (verify): Move decl up.
51087 (long_int): New type.
51088 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51089 to remove assumption in the code that 'long' is wide enough to
51090 store year values. This assumption is not true on x32 and on
51091 some non-glibc platforms.
51092
51093 mktime: merge wrapv change from gnulib
51094 * time/mktime.c (WRAPV): New macro.
51095 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51096 (guess_time_tm, __mktime_internal): Do not assume that signed
51097 integer overflow wraps around; modern compilers generate code
51098 where this assumption is no longer valid.
51099
51100 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51101
51102 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51103 Replace "jmp L(pseudo_end)" with "ret".
51104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51105 Likewise.
51106
51107 2012-05-23 Andreas Jaeger <aj@suse.de>
51108
51109 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51110 * sysdeps/unix/sysv/linux/poll.c: Remove file.
51111
51112 2012-05-23 Andreas Jaeger <aj@suse.de>
51113 Maximilian Attems <max@stro.at>
51114
51115 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51116 New macros.
51117
51118 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51119
51120 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51121 code so that pseudo_end is just ret and the stack pointer is
51122 correct also for static library in error case.
51123
51124 2012-05-23 Joseph Myers <joseph@codesourcery.com>
51125
51126 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51127 move to syscalls.list.
51128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51132
51133 * manual/install.texi (Running make install): Do not mention Linux
51134 kernel version for which pt_chown is not needed.
51135 (Linux): Do not mention problems with nscd with 2.0 kernels.
51136 * INSTALL: Regenerated.
51137
51138 2012-05-23 Andreas Jaeger <aj@suse.de>
51139
51140 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51141 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51142 macro.
51143 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51144 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51145 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51147 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51149 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51151 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51152 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51153 * sysdeps/unix/sysv/linux/bits/in.h
51154 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51155
51156 2012-05-22 Roland McGrath <roland@hack.frob.com>
51157
51158 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51159 (PREPARE_VERSION): Just use assert instead, it will be elided
51160 under [NDEBUG] anyway.
51161
51162 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51163
51164 * sysdeps/unix/sysv/linux/Makefile: Include
51165 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51166 (sysdep_routines): Remove sysctl.
51167 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51168 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51169 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51170 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51171 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51172
51173 2012-05-22 Andreas Jaeger <aj@suse.de>
51174
51175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51176 that pseudo_end is just ret and the stack pointer is correct also
51177 for static library in error case.
51178
51179 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51180
51181 [BZ #14122]
51182 * nss/nsswitch.c (defconfig_entries): New variable.
51183 (__nss_database_lookup): Don't leak defconfig entries.
51184 (nss_parse_service_list): Don't leak on error paths.
51185 (free_database_entries): New function.
51186 (free_defconfig): New function.
51187 (free_mem): Move common code to free_database_entries.
51188
51189 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51190
51191 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51192 Add arch_prctl.
51193 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51194
51195 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51196 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51198 New macro.
51199 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51200 (INTERNAL_SYSCALL_TYPES): Likewise.
51201 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51202 (LOAD_REGS_TYPES_[1-6]): Likewise.
51203 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51204 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51205
51206 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51207
51208 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51209 copysignl for GLIBC_2_0.
51210 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51211 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51213 logbl for GLIBC_2_0.
51214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51215 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51216
51217 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51218
51219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51220 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51221
51222 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51223 Use "neg %eax".
51224
51225 * time/mktime.c: Update copyright years.
51226
51227 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
51228
51229 mktime: merge comment-quoting-style change from gnulib
51230 * time/mktime.c: Quote 'like this' in comments.
51231 The GNU coding standards suggest that we no longer quote `like this',
51232 as "`" and "'" are typically rendered asymmetrically nowadays.
51233 The typical gnulib style is to quote 'like this' when quoting
51234 code, and "like this" when quoting English.
51235
51236 * time/mktime.c (compile-command): Add "-I.".
51237
51238 mktime: merge mktime-internal.h change from gnulib
51239 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51240
51241 mktime: merge time_r change from gnulib
51242 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51243
51244 mktime: merge DEBUG change from gnulib
51245 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51246 case system <time.h> has a #define.
51247
51248 mktime: merge <sys/types.h> change from gnulib
51249 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51250 since <time.t> is now guaranteed to define time_t.
51251
51252 mktime: merge HAVE_CONFIG_H change from gnulib
51253 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51254
51255 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51256
51257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51258 Use "neg %eax".
51259
51260 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51261 __rlim_t cast.
51262 (struct rusage): Use anonymous union to pad each field to
51263 __syscall_slong_t.
51264
51265 2012-05-21 David S. Miller <davem@davemloft.net>
51266
51267 * Makefules (o-iterator): Remove .s cases.
51268 (compile-command.s): Delete.
51269 (COMPILE.s): Delete.
51270 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51271
51272 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51273
51274 * configure.in (libc_cv_predef_stack_protector): Only consider
51275 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51276 * configure: Regenerated.
51277
51278 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51279
51280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51281 New macro. Use R*LP on int and pointer.
51282 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51283 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51284 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51285 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51286
51287 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51288 [__WORDSIZE_TIME64_COMPAT32] instead of
51289 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51290 (struct utmp): Likewise.
51291 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51292 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51293 Renamed to ...
51294 (__WORDSIZE_TIME64_COMPAT32): This.
51295 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51296 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51297 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51298 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51299 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51300 (__WORDSIZE_TIME64_COMPAT32): New macro.
51301
51302 2012-05-21 Andreas Jaeger <aj@suse.de>
51303
51304 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51305 only if [SHARED]. Add prototype for __wcschr_ia32.
51306
51307 2012-05-21 Roland McGrath <roland@hack.frob.com>
51308
51309 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51310 of %rbp unmolested in the jmp_buf while mangling the low bits.
51311 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51312 unmolested high bits of %rbp while demangling the low bits.
51313 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51314
51315 2012-05-21 Andreas Jaeger <aj@suse.de>
51316
51317 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51318 * sunrpc/svc_simple.c: Use it for registerrpc.
51319 * sunrpc/xcrypt.c: Use it for passwd2des.
51320
51321 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51322
51323 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51324
51325 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51326 Don't define if [__SYSCALL_WORDSIZE != 32].
51327 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51328 New macro.
51329
51330 2012-05-21 Bruno Haible <bruno@clisp.org>
51331 Andreas Jaeger <aj@suse.de>
51332
51333 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51334 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51335 inptr and inend for must_buffer_ch.
51336 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51337 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51338 * stdio-common/Makefile (tests): Remove bug15.
51339 (bug15-ENV): Remove macro.
51340 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51341 anymore.
51342
51343 2012-05-19 Andreas Jaeger <aj@suse.de>
51344 Roland McGrath <roland@hack.frob.com>
51345
51346 * manual/contrib.texi: Completely rewritten. It contains now an
51347 alphabetical list of contributors and their contributions.
51348
51349 2012-05-21 Richard Henderson <rth@twiddle.net>
51350
51351 * misc/getauxval.c (__getauxval): Use unsigned long int.
51352 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51353 (getauxval): Use unsigned long int.
51354
51355 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51356
51357 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51358
51359 2012-05-21 Roland McGrath <roland@hack.frob.com>
51360
51361 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51362 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51363 __alignof__ (long double).
51364
51365 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51366
51367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51368
51369 2012-05-20 Richard Henderson <rth@twiddle.net>
51370
51371 * misc/getauxval.c: New file.
51372 * misc/sys/auxv.h: New file.
51373 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51374 (routines): Add getauxval.
51375 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51376 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51377 * elf/dl-sysdep.c (_dl_auxv): Remove.
51378 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51379 * elf/dl-support.c (_dl_auxv): New variable.
51380 (_dl_aux_init): Initialize it.
51381 * manual/startup.texi (Auxiliary Vector): New node.
51382 * sysdeps/generic/bits/hwcap.h: New file.
51383 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51384 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51385 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51386 * sysdeps/sparc/sysdep.h: ... here. Include it.
51387 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51388 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51390 Update.
51391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51394 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51399
51400 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51401
51402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51403
51404 2012-05-19 David S. Miller <davem@davemloft.net>
51405
51406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51407
51408 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51409
51410 [BZ #14123]
51411 * math/s_ccosh.c: Include <float.h>
51412 (__ccosh): Avoid internal overflow calculating sinh and cosh
51413 values before multiplying by sin and cos values.
51414 * math/s_ccoshf.c: Likewise.
51415 * math/s_ccoshl.c: Likewise.
51416 * math/s_csin.c: Likewise.
51417 * math/s_csinf.c: Likewise.
51418 * math/s_csinl.c: Likewise.
51419 * math/s_csinh.c: Likewise.
51420 * math/s_csinhf.c: Likewise.
51421 * math/s_csinhl.c: Likewise.
51422 * math/libm-test.inc (ccos_test): Add more tests.
51423 (ccosh_test): Likewise.
51424 (csin_test): Likewise.
51425 (csinh_test): Likewise.
51426 * sysdeps/i386/fpu/libm-test-ulps: Update.
51427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51428
51429 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51430
51431 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51432 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51433
51434 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51435
51436 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51437
51438 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51439 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51440 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51441 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51442 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51443 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51444 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51445 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51446 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51447 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51448 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51449 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51450 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51451 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51452 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51453 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51454 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51455 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51456 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51457 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51458 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51459 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51460 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51461 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51462 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51463 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51464 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51465 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51466 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51467 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51468 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51469
51470 2012-05-18 Andreas Jaeger <aj@suse.de>
51471
51472 * csu/.gitignore: Delete.
51473
51474 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51475
51476 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51477 (timex): Use __syscall_slong_t.
51478
51479 2012-05-18 Andreas Jaeger <aj@suse.de>
51480 Carlos O'Donell <carlos_odonell@mentor.com>
51481
51482 * manual/install.texi (Configuring and compiling): Update
51483 description about files modified in the source directory.
51484 * INSTALL: Regenerated.
51485
51486 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51487
51488 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51489 value. Use "or" to set return value to -1.
51490 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51491 negate return value.
51492
51493 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51494
51495 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51496 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51497 failure if the compiler has Graphite support disabled.
51498 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51499 Likewise.
51500 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51501 (CFLAGS-memmove.c): Likewise.
51502 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51503 Likewise.
51504
51505 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51506
51507 * sysdeps/x86_64/x32/_itoa.h: New file.
51508
51509 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51510 getdents system call only if kernel and user dirents have the
51511 same d_ino and d_off.
51512
51513 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51514 LLONG_MAX != LONG_MAX.
51515 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51516 (_fitoa_word): Likewise.
51517
51518 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51519 years.
51520 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51521 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51522 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51523
51524 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51525 include <bits/wordsize.h>. Check __x86_64__ instead of
51526 __WORDSIZE.
51527 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51528 if __x86_64__ is defined. Use anonymous union on fpstate.
51529
51530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51531 anonymous union.
51532
51533 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51534
51535 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51536 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51537 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51538 Refer to _rtld_local_ro instead of _rtld_global_ro.
51539 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51540 Likewise.
51541 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51542 Likewise.
51543 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51544 Likewise.
51545 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51546 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51547 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51548
51549 [BZ #10882]
51550 * sysdeps/powerpc/powerpc32/dl-machine.c
51551 (__elf_machine_runtime_setup) [PROF]: Don't reference
51552 _dl_prof_resolve.
51553
51554 2012-05-18 Andreas Jaeger <aj@suse.de>
51555
51556 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51557 function only available for GCCs before 3.4 since GCC 3.4
51558 introduced a builtin.
51559 (lrint): Likewise.
51560 (llrintf): Likewise.
51561 (llrint): Likewise.
51562 (fmaxf): Likewise.
51563 (fmax): Likewise.
51564 (fminf): Likewise.
51565 (fmin): Likewise.
51566 (rint): Likewise.
51567 (rintf): Likewise.
51568 (nearbyint): Likewise.
51569 (nearbyintf): Likewise.
51570 (ceil): Likewise.
51571 (ceilf): Likewise.
51572 (floor): Likewise.
51573 (floorf): Likewise.
51574
51575 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51576
51577 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51578 on both fields and cast pointer to __syscall_ulong_t.
51579
51580 * bits/types.h (__fsword_t): New type.
51581 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51582 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51584 (__FSWORD_T_TYPE): Likewise.
51585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51586 (__FSWORD_T_TYPE): Likewise.
51587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51588 (__FSWORD_T_TYPE): Likewise.
51589 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51590 (__FSWORD_T_TYPE): Likewise.
51591 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51592 __SWORD_TYPE with __fsword_t.
51593 (statfs64): Likewise.
51594
51595 2012-05-17 David S. Miller <davem@davemloft.net>
51596
51597 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51598
51599 2012-05-17 Andreas Jaeger <aj@suse.de>
51600
51601 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51602 warning.
51603
51604 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51605
51606 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51607
51608 2012-05-17 Andreas Jaeger <aj@suse.de>
51609
51610 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51611 when it is used.
51612
51613 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51614
51615 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51616
51617 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51618
51619 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51620 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51621
51622 2012-05-17 Andreas Jaeger <aj@suse.de>
51623 Carlos O'Donell <carlos_odonell@mentor.com>
51624
51625 [BZ #14059]
51626 * sysdeps/x86_64/multiarch/init-arch.h
51627 (bit_YMM_Usable): Rename to...
51628 (bit_AVX_Usable): ... this.
51629 (bit_FMA4_Usable): New macro.
51630 (bit_XMM_state): New macro.
51631 (bit_YMM_state): New macro.
51632 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51633 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51634 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51635 (CPUID_OSXSAVE): New macro.
51636 (CPUID_AVX): New macro.
51637 (CPUID_FMA4): New macro.
51638 (index_YMM_Usable): Rename to...
51639 (index_AVX_Usable): ... this.
51640 (HAS_AVX): Use HAS_ARCH_FEATURE.
51641 (HAS_FMA4): Likewise.
51642 (HAS_YMM_USABLE): Remove.
51643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51644 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51645 are present.
51646 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51647 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51648 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51649 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51650 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51651
51652 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51653
51654 * math/libm-test.c: Support platforms without multiple rounding modes.
51655 * math/bug-nextafter.c: Support platforms without FP exceptions.
51656 * math/bug-nexttoward.c: Likewise.
51657 * math/test-fenv.c: Likewise.
51658 * math/test-misc.c: Likewise.
51659 * stdlib/bug-getcontext.c: Likewise.
51660
51661 2012-05-17 Andreas Jaeger <aj@suse.de>
51662
51663 * manual/examples/search.c (critter_cmp): Change signature to
51664 avoid warnings.
51665 * manual/string.texi (Collation Functions): Likewise.
51666
51667 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51668
51669 * bits/types.h: Fold copyright years.
51670 * bits/typesizes.h: Likewise.
51671 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51672 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51675 * time/time.h: Likewise.
51676
51677 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51678
51679 [BZ #208]
51680 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51681 in instead of returning them. Return void.
51682 (__libc_mallinfo): Accumulate over all arenas.
51683 (__malloc_stats): Adjust for change in int_mallinfo interface.
51684
51685 2012-05-16 Roland McGrath <roland@hack.frob.com>
51686
51687 [BZ #10375]
51688 * configure.in (NM): Add AC_CHECK_TOOL for it.
51689 (libc_extra_cflags): New substituted variable.
51690 Check for -fstack-protector being used implicitly.
51691 * configure: Regenerated.
51692 * config.make.in (config-extra-cflags): New variable,
51693 gets @libc_extra_cflags@.
51694 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51695
51696 [BZ #10375]
51697 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51698 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51699 * configure: Regenerated.
51700 * config.make.in (CPPUNDEFS): New substituted variable.
51701 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51702 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51703 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51704
51705 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51706
51707 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51708 (mq_attr): Use __syscall_slong_t.
51709
51710 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51711
51712 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51713 Check __x86_64__ instead of __WORDSIZE.
51714 (_STAT_VER_LINUX): Likewise.
51715 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51716 __syscall_ulong_t and __syscall_slong_t.
51717 (stat64): Likewise.
51718
51719 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51720
51721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51722
51723 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51724
51725 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51726
51727 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51728
51729 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51730 __syscall_ulong_t.
51731
51732 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51733 include <bits/wordsize.h>. Check __x86_64__ instead of
51734 __WORDSIZE.
51735 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51736 defined.
51737 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51738
51739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51740 include <bits/wordsize.h>. Check __x86_64__ instead of
51741 __WORDSIZE.
51742 (user_regs_struct): Use "__extension__ unsigned long long"
51743 instead of "unsigned long" if __x86_64__ is defined.
51744 (user): Likewise. Pad after pointer field if __ILP32__ is
51745 defined.
51746
51747 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51748
51749 * configure.in (makeinfo): Require version 4.5 or later. Allow
51750 versions 5 to 9.
51751 * configure: Regenerated.
51752 * manual/install.texi (texinfo): Increase version requirement to
51753 4.5 or later.
51754 * INSTALL: Regenerated.
51755
51756 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51757
51758 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51759
51760 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51761
51762 * sysdeps/x86_64/x32/ffs.c: New file.
51763
51764 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51765 __syscall_ulong_t.
51766 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51767 defined. Use __syscall_ulong_t.
51768 (shminfo): Use __syscall_ulong_t.
51769 (shm_info): Likewise.
51770
51771 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51772 __syscall_ulong_t.
51773
51774 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51775 <bits/wordsize.h>.
51776 (msgqnum_t): Use __syscall_ulong_t.
51777 (msglen_t): Likewise.
51778 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51779 __syscall_ulong_t.
51780
51781 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51782 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51783
51784 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51785
51786 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51787 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51788
51789 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51790 __syscall_slong_t.
51791
51792 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51793 include <bits/wordsize.h>. Check __x86_64__ instead of
51794 __WORDSIZE.
51795
51796 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51797 "unsigned long long int" if __x86_64__ is defined.
51798 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51799
51800 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51801 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51802 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51803
51804 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51805 <stdint.h>.
51806 (GET_PC): Cast to uintptr_t first.
51807 (GET_FRAME): Likewise.
51808 (GET_STACK): Likewise.
51809
51810 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51811 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51812 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51813 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51814 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51815 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51816 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51817 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51818 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51819 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51820 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51821 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51822 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51823 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51824 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51825 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51826 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51827 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51828 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51829 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51830 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51831 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51832 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51833 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51834 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51835 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51836 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51837 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51838 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51839
51840 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51841
51842 * Makerules (+depfiles): Also collect depfiles from .oS in
51843 $(extra-objs).
51844 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51845 .oS, $(libnldbl-routines)).
51846
51847 * Makerules (native-compile-mkdep-flags): Define.
51848 * sunrpc/Makefile (extra-objs): Add $(addprefix
51849 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51850 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51851 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51852 calling $(make-target-directory).
51853
51854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51855
51856 * bits/types.h (__snseconds_t): Removed.
51857 * time/time.h (struct timespec): Replace __snseconds_t with
51858 __syscall_slong_t.
51859 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51860 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51861 Likewise.
51862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51863 (__SNSECONDS_T_TYPE): Likewise.
51864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51865 (__SNSECONDS_T_TYPE): Likewise.
51866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51867 (__SNSECONDS_T_TYPE): Likewise.
51868
51869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51870
51871 * sysdeps/mach/hurd/bits/typesizes.h
51872 (__SYSCALL_SLONG_TYPE): New macro.
51873 (__SYSCALL_ULONG_TYPE): Likewise.
51874
51875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51876
51877 * bits/types.h (__syscall_slong_t): New type.
51878 (__syscall_ulong_t): Likewise.
51879
51880 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51881 (__SYSCALL_ULONG_TYPE): Likewise.
51882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51883 (__SYSCALL_SLONG_TYPE): Likewise.
51884 (__SYSCALL_ULONG_TYPE): Likewise.
51885 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51886 (__SYSCALL_SLONG_TYPE): Likewise.
51887 (__SYSCALL_ULONG_TYPE): Likewise.
51888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51889 (__SYSCALL_SLONG_TYPE): Likewise.
51890 (__SYSCALL_ULONG_TYPE): Likewise.
51891
51892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51893
51894 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51895 Add sigaltstack-offsets.sym.
51896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51897 <sigaltstack-offsets.h>.
51898 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51899 longjmp_msg pointer.
51900 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51901 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51902 signal stack.
51903 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51904
51905 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51906
51907 * elf/stackguard-macros.h: Remove file.
51908 * sysdeps/generic/stackguard-macros.h: New file.
51909 * sysdeps/i386/stackguard-macros.h: Likewise.
51910 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51911 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51912 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51913 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51914 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51915 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51916 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51917 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51918 <elf/stackguard-macros.h>.
51919
51920 [BZ #14109]
51921 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51922 __aligned__ in attribute.
51923 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51924 (gregset_t): Likewise.
51925
51926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51927
51928 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51929 * sysdeps/x86_64/64/Implies-after: Here. New file.
51930 * sysdeps/x86_64/x32/Implies-after: New file.
51931
51932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51933
51934 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51935 and access return value for _dl_profile_fixup. Use R10_LP to
51936 load frame size.
51937
51938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51939
51940 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51941
51942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51943
51944 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51945 * sysdeps/x86_64/x32/sysdep.h: New file.
51946
51947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51948
51949 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51950 * sysdeps/x86_64/setjmp.S: Likewise.
51951
51952 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51953
51954 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51955 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51956 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51957 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51958 remove unused global constant.
51959
51960 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51961
51962 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51963 include of <not-cancel.h>.
51964
51965 2012-05-15 Roland McGrath <roland@hack.frob.com>
51966
51967 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51968
51969 2012-05-15 Jeff Law <law@redhat.com>
51970 Andreas Jaeger <aj@suse.de>
51971
51972 [BZ #13594]
51973 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51974 out from...
51975 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51976 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51977 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51978 code changing __hst_map_handle.map.
51979
51980 2012-05-15 Roland McGrath <roland@hack.frob.com>
51981
51982 * configure.in (sysnames): Look for Implies-before and Implies-after
51983 files.
51984 * configure: Regenerated.
51985
51986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51987
51988 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51989 8-byte data alignment with LP_SIZE alignment.
51990
51991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51992
51993 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51994 into R10_LP.
51995
51996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51997
51998 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51999
52000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52001
52002 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52003 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52004 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52005 Likewise.
52006 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52007
52008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52009
52010 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52011 (stackinfo_sub_sp): Likewise.
52012
52013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52014
52015 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52016 RAX_LP.
52017
52018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52019
52020 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52021 into R*_LP.
52022
52023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52024
52025 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52026 sizes into R*_LP.
52027
52028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52029
52030 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52031
52032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52033
52034 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52035 into R11_LP and load __x86_64_shared_cache_size_half into
52036 R8_LP.
52037
52038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52039
52040 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52041 R8_LP.
52042
52043 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52044
52045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52046 logb for POWER7.
52047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52048 logbf for POWER7.
52049 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52050 logbl for POWER7.
52051 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52052 powerpc32/power7/fpu/s_logb.c via #include.
52053 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52054 powerpc32/power7/fpu/s_logbf.c via #include.
52055 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52056 powerpc32/power7/fpu/s_logbl.c via #include.
52057
52058 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52059
52060 * README.libm: Remove file.
52061
52062 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52063
52064 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52065 count for x32. Use R*_LP and omit operand-size suffix.
52066
52067 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52068
52069 * shlib-versions: Move x86_64-.*-linux.* entries to ...
52070 * sysdeps/x86_64/64/shlib-versions: Here. New file.
52071 * sysdeps/x86_64/x32/shlib-versions: New file.
52072
52073 2012-05-14 Roland McGrath <roland@hack.frob.com>
52074
52075 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52076 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52077 Use _dl_fatal_printf instead.
52078
52079 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52080
52081 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52082 set if not set by the user. Do not allow for being unset.
52083 * sysdeps/unix/sysv/linux/configure: Regenerated.
52084
52085 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52086
52087 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52088 the `q' suffix from lea and replace .quad with ASM_ADDR.
52089
52090 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52091
52092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52093 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
52094 instead of $17.
52095 (PTR_DEMANGLE): Likewise.
52096
52097 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52098
52099 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52100 (LP_OP): Likewise.
52101 (ASM_ADDR): Likewise.
52102 (RAX_LP): Likewise.
52103 (RBP_LP): Likewise.
52104 (RBX_LP): Likewise.
52105 (RCX_LP): Likewise.
52106 (RDI_LP): Likewise.
52107 (RSI_LP): Likewise.
52108 (RSP_LP): Likewise.
52109 (R8_LP): Likewise.
52110 (R9_LP): Likewise.
52111 (R10_LP): Likewise.
52112 (R10_LP): Likewise.
52113 (R11_LP): Likewise.
52114 (R12_LP): Likewise.
52115 (R13_LP): Likewise.
52116 (R14_LP): Likewise.
52117 (R15_LP): Likewise.
52118
52119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52120
52121 * sysdeps/x86_64/x32/dl-machine.h: New file.
52122
52123 2012-05-14 Andreas Jaeger <aj@suse.de>
52124
52125 * manual/Makefile (subdir): Remove export of subdir.
52126 (all): Remove target.
52127 (.PHONY): Remove all from list.
52128 (mkinstalldirs): Remove.
52129 (.PHONY): Remove installdirs from list.
52130 ($(inst_infodir)/libc.info): Use make-target-directory.
52131 (installdirs): Remove.
52132 (subdir_%): Remove.
52133 (glibc-targets): Remove.
52134 (lib): Remove.
52135 (stubs): Remove.
52136 ($(objpfx)stubs ../po/manual.pot): Remove.
52137 ($(objpfx)stamp%): Remove.
52138 (make-target-directory): Remove.
52139 (subdir_install): Remove.
52140 (routines): Remove.
52141 (aux): Remove.
52142 (sources): Remove.
52143 (objects): Remove.
52144 (headers): Remove.
52145
52146 [BZ #13750]
52147 * manual/.gitignore: Remove, it's not needed anymore.
52148 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52149 all files in it.
52150 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52151 directory.
52152 (texis): Renamed to $(objpfx)texis.
52153 (texis-path): New, contains path to generated files.
52154 (chapters.%): Use texis-path for complete path, add extra argument
52155 libc-texinfo.sh.
52156 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52157 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52158 (summary,texi, stamp-summary): Use complete path of
52159 files. Generate files in build dir.
52160 (dir-add.texi): Build in build dir.
52161 (libm-err.texi,stamp-libm-err): Likewise.
52162 (version.texi, stamp-version): Likewise.
52163 (.%c.texi): Likewise.
52164 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52165 (mostlyclean): Remove target.
52166 (realclean): Remove target.
52167 (generated): Add new variable with contents from mostlyclean and
52168 realclean, remove entries duplicated in common-mostlyclean, add
52169 stamp-libm-err and stamp-version.
52170 (generated-dirs): Add libc directory.
52171 ($(inst_infodir)/libc.info): Install files from build dir.
52172
52173 * manual/install.texi (Configuring and compiling): Adjust since
52174 the info files are not part of the tar ball anymore.
52175
52176 2012-05-14 Andreas Jaeger <aj@suse.de>
52177
52178 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52179 variable.
52180
52181 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52182
52183 [BZ #13717]
52184 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52185 to 2.2.0 where earlier.
52186 * sysdeps/unix/sysv/linux/configure: Regenerated.
52187 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52188 Remove conditional code.
52189 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52190 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52191 Remove conditional code.
52192 [!__NR_lchown]: Likewise.
52193 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52194 [__NR_lchown]: Likewise.
52195 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52196 comment referencing __ASSUME_LCHOWN_SYSCALL.
52197 * sysdeps/unix/sysv/linux/i386/sigaction.c
52198 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52199 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52200 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52201 Remove conditional code.
52202 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52203 (__protocol_available): Remove #if 0 code.
52204 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52205 conditional code.
52206 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52207 * sysdeps/unix/sysv/linux/kernel-features.h
52208 (__ASSUME_GETCWD_SYSCALL): Don't define.
52209 (__ASSUME_REALTIME_SIGNALS): Likewise.
52210 (__ASSUME_PREAD_SYSCALL): Likewise.
52211 (__ASSUME_PWRITE_SYSCALL): Likewise.
52212 (__ASSUME_POLL_SYSCALL): Likewise.
52213 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52214 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52215 non-SPARC.
52216 (__ASSUME_SIOCGIFNAME): Don't define.
52217 (__ASSUME_MSG_NOSIGNAL): Likewise.
52218 (__ASSUME_SENDFILE): Define unconditionally.
52219 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52220 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52221 conditional code.
52222 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52223 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52224 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52225 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52226 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52227 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52228 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52230 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52233 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52236 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52237 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52239 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52240 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52242 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52243 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52245 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52246 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52248 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52251 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52252 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52253 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52254 Remove conditional code.
52255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52256 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52257 Remove conditional code.
52258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52259 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52260 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52261 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52262 Remove conditional code.
52263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52264 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52265 Remove conditional code.
52266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52267 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52268 Remove conditional code.
52269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52270 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52271 Remove conditional code.
52272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52273 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52274 Remove conditional code.
52275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52276 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52277 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52279 * sysdeps/unix/sysv/linux/sigaction.c
52280 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52281 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52282 * sysdeps/unix/sysv/linux/sigpending.c
52283 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52284 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52285 * sysdeps/unix/sysv/linux/sigprocmask.c
52286 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52287 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52288 * sysdeps/unix/sysv/linux/sigsuspend.c
52289 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52290 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52291 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52292 (__libc_missing_rt_sigs): Remove.
52293 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52294 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52295 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52296 Remove conditional code.
52297 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52298 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52299 return 1.
52300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52301 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52302 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52303 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52304
52305 2012-05-14 Andreas Jaeger <aj@suse.de>
52306
52307 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52308 it's not used in glibc.
52309 (__coshm1): Likewise.
52310 (__acosh1p): Likewise.
52311 (__sgn): Likewise.
52312
52313 * manual/string.texi (Copying and Concatenation): Add missing
52314 variable in concat example.
52315 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52316
52317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52318
52319 [BZ #14103]
52320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52321 __builtin_clzl with __builtin_clzll.
52322
52323 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52324
52325 [BZ #14104]
52326 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52327 libc_freeres_ptr.
52328
52329 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52330
52331 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52332 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52333 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52334 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52335
52336 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52337
52338 * NEWS: Update ia64 info.
52339
52340 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52341
52342 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52343 used as bcopy.
52344
52345 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52346
52347 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52348 * sysdeps/unix/syscalls.list (dup3): Likewise.
52349 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52350 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52351
52352 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52353
52354 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52355 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52356
52357 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52358
52359 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52360 thread pointer.
52361 (TLS_IE): Use mov/add instead of movq/addq to load thread
52362 pointer.
52363 (TLS_GD_PREFIX): New.
52364 (TLS_GD): Use it.
52365
52366 2012-05-11 David S. Miller <davem@davemloft.net>
52367
52368 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52369 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52370 (_FPU_SETCW): Likewise.
52371
52372 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52373
52374 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52375 is 32-byte aligned.
52376
52377 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52378
52379 [BZ #11837]
52380 * iconvdata/gb18030.c: Update tables.
52381 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52382 characters specially.
52383 (BODY for TO_LOOP): Add encoding of missing ranges.
52384
52385 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52386
52387 [BZ #13673]
52388 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52389 * sysdeps/mach/hurd/dup3.c: Likewise.
52390 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52391 * sysdeps/powerpc/memmove.c:: Likewise.
52392
52393 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52394
52395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52396 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52397
52398 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52399
52400 * elf/elf.h (R_X86_64_RELATIVE64): New.
52401 (R_X86_64_NUM): Updated.
52402 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52403 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52404 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52405 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52406 tst-quad1pie tst-quad2pie
52407 (modules-names): Add tst-quadmod1 tst-quadmod2.
52408 ($(objpfx)tst-quad1): New dependency.
52409 ($(objpfx)tst-quad2): Likewise.
52410 ($(objpfx)tst-quad1pie): Likewise.
52411 ($(objpfx)tst-quad2pie): Likewise.
52412 * sysdeps/x86_64/tst-quad1.c: New file.
52413 * sysdeps/x86_64/tst-quad1pie.c: New file.
52414 * sysdeps/x86_64/tst-quad2.c: Likewise.
52415 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52416 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52417 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52418 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52419 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52420
52421 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52422
52423 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52424 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52425 * streams/stropts.h (t_scalar_t): Define type.
52426
52427 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52428 (_PATH_PRESERVE): Set to "/var/lib".
52429 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52430
52431 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52432 instead of int.
52433
52434 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52435 if __dir_mkfile succeeded.
52436
52437 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52438 checking for _hurd_dtablesize. Unlock it right after having
52439 finished _hurd_dtable allocation.
52440
52441 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52442
52443 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52444 * sysdeps/mach/hurd/configure: Regenerated.
52445 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52446 special-casing to...
52447 * sysdeps/gnu/configure.in: ... this new file.
52448 * sysdeps/unix/sysv/linux/configure: Regenerated.
52449 * sysdeps/gnu/configure: New generated file.
52450
52451 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52452 for Linux: use nsec instead of usec, as well as:
52453 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52454 members of type struct timespec.
52455 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52456 New macros.
52457 (struct stat64): Likewise.
52458 (_STATBUF_ST_NSEC): New macro.
52459 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52460
52461 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52462 __strtoul_internal rather than strtoul.
52463
52464 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52465
52466 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52467 and reject them.
52468
52469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52470
52471 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52472 which preserves existing values.
52473 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52474
52475 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52476
52477 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52478 TIMEOUT values. Return EINVAL for NFDS values either negative or
52479 greater than FD_SETSIZE.
52480
52481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52482
52483 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52484 allocated, call __vm_protect to finish enabling the existing space, and
52485 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52486 allocate the remainder.
52487
52488 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52489
52490 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52491 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52492
52493 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52494
52495 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52496 sysdeps/mach/hurd/readlink.c.
52497
52498 * posix/tst-sysconf.c (posix_options): Only use
52499 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52500 _POSIX_SYNCHRONIZED_IO when they are defined
52501 * sysdeps/mach/hurd/bits/posix_opt.h:
52502 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52503 (_XOPEN_REALTIME): Undefine macro.
52504 (_XOPEN_REALTIME_THREADS): Undefine macro.
52505 (_XOPEN_SHM): Undefine macro.
52506 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52507 macro to -1.
52508 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52509 macro to -1.
52510 (_POSIX_ASYNC_IO): Undefine macro.
52511 (_POSIX_PRIORITIZED_IO): Undefine macro.
52512 (_POSIX_SPIN_LOCKS): Define macro to -1.
52513
52514 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52515 SA_NODEFER, SA_RESETHAND.
52516 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52517 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52518 F_DUPFD_CLOEXEC.
52519
52520 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52521
52522 * elf/Makefile (pldd-modules): Define unconditionally.
52523
52524 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52525
52526 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52527
52528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52529
52530 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52531 Return ENOENT when name is empty.
52532 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52533
52534 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52535
52536 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52537
52538 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52539
52540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52541
52542 Fix mlock in all cases except non-readable pages.
52543 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52544 instead of VM_PROT_ALL as parameter to __vm_wire function.
52545
52546 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52547 (__mkdir): When path is `/', just fail with EEXIST.
52548 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52549
52550 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52551
52552 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52553 <sys/uio.h> (for writev).
52554 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52555 and <sys/param.h> (for MIN).
52556
52557 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52558
52559 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52560 REQUESTED_TIME. Properly set the remaining time and return EINTR
52561 if interrupted.
52562
52563 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52564
52565 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52566 Depend on against $(link-rpcuserlibs).
52567
52568 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52569
52570 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52571 (__libc_stack_end): Do not use attribute_relro.
52572 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52573 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52574 to libthread-provided value.
52575 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52576 attribute_relro.
52577
52578 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52579
52580 [BZ #3748]
52581 * bits/libc-lock.h (__libc_once_get): New macro.
52582 * sysdeps/mach/bits/libc-lock.h: Likewise.
52583 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52585 instead of using implementation details.
52586
52587 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52588 * libio/freopen.c: Likewise.
52589 * libio/freopen64.c: Likewise.
52590 * misc/syslog.c: Likewise.
52591 * nscd/connections.c: Likewise.
52592 * nscd/netgroupcache.c: Likewise.
52593 * sysdeps/posix/getcwd.c: Likewise.
52594
52595 2012-05-10 Roland McGrath <roland@hack.frob.com>
52596
52597 * math/w_ilogbf.c: Add #include <limits.h>.
52598
52599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52600
52601 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52602 path instead of returning without unlocking.
52603
52604 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52605 immediate-write ioctls.
52606 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52607
52608 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52609
52610 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52611 __builtin_frame_address instead of making assumptions about the
52612 location of the return address relative to DATA. Force early load of
52613 the return address.
52614 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52615 __builtin_frame_address.
52616
52617 dup3 for GNU Hurd.
52618 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52619 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52620 implement dup3 and do some further code clean-ups.
52621 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52622 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52623
52624 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52625
52626 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52627
52628 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52629 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52630 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52631 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52632 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52633 d->port.lock.
52634
52635 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52636 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52637 when handler == SIG_ERR, not when handler != SIG_ERR.
52638
52639 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52640
52641 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52642 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52643 definitions.
52644
52645 accept4 for GNU Hurd.
52646 * include/sys/socket.h (__libc_accept4): New prototype.
52647 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52648 to implement __libc_accept4.
52649 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52650 __libc_accept4.
52651 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52652
52653 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52654 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52655 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52656 signal-defines.sym.
52657
52658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52659
52660 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52661
52662 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52663
52664 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52665 assertion on O_CLOEXEC flag.
52666 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52667 * hurd/intern-fd.c: Likewise.
52668 * hurd/port2fd.c: Likewise.
52669
52670 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52671
52672 [BZ #3906]
52673 * bits/in.h (IPV6_PKTINFO): Define new macro.
52674 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52675
52676 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52677
52678 [BZ #13954]
52679 [BZ #13955]
52680 [BZ #13956]
52681 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52682 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52683 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52684 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52685 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52686 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52687 * math/libm-test.inc (logb_test) : Additional logb tests.
52688
52689 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52690 Andreas Jaeger <aj@suse.de>
52691
52692 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52693 * configure: Regenerated.
52694 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52695 * config.make.in (link-obsolete-rpc): New substituted variable.
52696 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52697 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52698 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52699 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52700 so that libc.a contains the symbols.
52701 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52702 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52703 * sunrpc/auth_none.c: Likewise.
52704 * sunrpc/auth_unix.c: Likewise.
52705 * sunrpc/authdes_prot.c: Likewise.
52706 * sunrpc/authuxprot.c: Likewise.
52707 * sunrpc/clnt_gen.c: Likewise.
52708 * sunrpc/clnt_perr.c: Likewise.
52709 * sunrpc/clnt_raw.c: Likewise.
52710 * sunrpc/clnt_simp.c: Likewise.
52711 * sunrpc/clnt_tcp.c: Likewise.
52712 * sunrpc/clnt_udp.c: Likewise.
52713 * sunrpc/clnt_unix.c: Likewise.
52714 * sunrpc/des_crypt.c: Likewise.
52715 * sunrpc/des_soft.c: Likewise.
52716 * sunrpc/get_myaddr.c: Likewise.
52717 * sunrpc/key_call.c: Likewise.
52718 * sunrpc/key_prot.c: Likewise.
52719 * sunrpc/netname.c: Likewise.
52720 * sunrpc/pm_getmaps.c: Likewise.
52721 * sunrpc/pm_getport.c: Likewise.
52722 * sunrpc/pmap_clnt.c: Likewise.
52723 * sunrpc/pmap_prot.c: Likewise.
52724 * sunrpc/pmap_prot2.c: Likewise.
52725 * sunrpc/pmap_rmt.c: Likewise.
52726 * sunrpc/publickey.c: Likewise.
52727 * sunrpc/rpc_cmsg.c: Likewise.
52728 * sunrpc/rpc_common.c: Likewise.
52729 * sunrpc/rpc_dtable.c: Likewise.
52730 * sunrpc/rpc_prot.c: Likewise.
52731 * sunrpc/rpc_thread.c: Likewise.
52732 * sunrpc/rtime.c: Likewise.
52733 * sunrpc/svc.c: Likewise.
52734 * sunrpc/svc_auth.c: Likewise.
52735 * sunrpc/svc_raw.c: Likewise.
52736 * sunrpc/svc_run.c: Likewise.
52737 * sunrpc/svc_tcp.c: Likewise.
52738 * sunrpc/svc_udp.c: Likewise.
52739 * sunrpc/svc_unix.c: Likewise.
52740 * sunrpc/svcauth_des.c: Likewise.
52741 * sunrpc/xcrypt.c: Likewise.
52742 * sunrpc/xdr.c: Likewise.
52743 * sunrpc/xdr_array.c: Likewise.
52744 * sunrpc/xdr_float.c: Likewise.
52745 * sunrpc/xdr_intXX_t.c: Likewise.
52746 * sunrpc/xdr_mem.c: Likewise.
52747 * sunrpc/xdr_rec.c: Likewise.
52748 * sunrpc/xdr_ref.c: Likewise.
52749 * sunrpc/xdr_sizeof.c: Likewise.
52750 * sunrpc/xdr_stdio.c: Likewise.
52751
52752 2012-05-10 Roland McGrath <roland@hack.frob.com>
52753
52754 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52755 change. Update copyright years.
52756
52757 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52758
52759 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52760
52761 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52762 Joseph Myers <joseph@codesourcery.com>
52763 Paul Pluzhnikov <ppluzhnikov@google.com>
52764
52765 [BZ #14012]
52766 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52767 requiring rpcgen.
52768 [cross-compiling] (extra-libs): Likewise.
52769 [cross-compiling] (extra-libs-others): Likewise.
52770 [cross-compiling] (librpcsvc-routines): Likewise.
52771 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52772 [cross-compiling] (omit-deps): Likewise.
52773 (sunrpc-CPPFLAGS): New variable.
52774 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52775 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52776 (cross-rpcgen-objs): New variable.
52777 (extra-objs): Append $(cross-rpcgen-objs).
52778 ($(cross-rpcgen-objs)): New rule.
52779 ($(objpfx)cross-rpcgen): Likewise.
52780 (rpcgen-cmd): Define to use $(built-program-file). Expand
52781 comment.
52782 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52783 ($(objpfx)x%.stmp): Likewise.
52784 * sunrpc/proto.h [IS_IN_build] (_): Define.
52785 [IS_IN_build] (_libc_intl_domainname): Likewise.
52786
52787 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52788
52789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52790 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52791 and R_X86_64_TPOFF64.
52792
52793 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52794
52795 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52796 sysdeps/unix/sysv/syscalls.list.
52797 (stime): Likewise.
52798 (utime): Likewise.
52799 * sysdeps/unix/sysv/syscalls.list: Remove file.
52800
52801 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52802
52803 [BZ #3440]
52804 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52805 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52806 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52807 (__LC_IDENTIFICATION): Make these macros useful in #if
52808 expressions, as required by C99.
52809
52810 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52811
52812 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52813 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52814 after this.
52815
52816 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52817
52818 * stdlib/longlong.h: Updated from GCC.
52819
52820 2012-05-09 Andreas Jaeger <aj@suse.de>
52821
52822 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52823 default is first entry.
52824 (run_mode): Set type.
52825 (main): Remove informal message about syslog.
52826 (options): Fix typo.
52827
52828 [BZ #14053]
52829 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52830 to asm.
52831 (lrint): Likewise.
52832 (llrintf): Likewise.
52833 (llrint): Likewise.
52834 (rint): Likewise.
52835 (rintf): Likewise.
52836 (nearbyint): Likewise.
52837 (nearbyintf): Likewise.
52838
52839 2012-05-09 Andreas Jaeger <aj@suse.de>
52840 Pedro Alves <palves@redhat.com>
52841
52842 * nscd/nscd.c (run_mode): Use enum.
52843 (main): Cleanup coding style issue.
52844
52845 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52846 Andreas Jaeger <aj@suse.de>
52847
52848 * nscd/nscd.c (go_background): Replaced with...
52849 (run_mode): ... this.
52850 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52851 (options): Add -F --foreground.
52852 (main): Implement it.
52853 (parse_opt): Parse it.
52854
52855 2012-05-09 Andreas Jaeger <aj@suse.de>
52856
52857 [BZ #14083]
52858 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52859 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52860 -Wconversion warning.
52861 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52862 Likewise.
52863
52864 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52865
52866 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52867 == 0.
52868 (LC_ALL): Use macro-int-constant.
52869 (LC_COLLATE): Likewise.
52870 (LC_CTYPE): Likewise.
52871 (LC_MESSAGES): Likewise.
52872 (LC_MONETARY): Likewise.
52873 (LC_NUMERIC): Likewise.
52874 (LC_TIME): Likewise.
52875 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52876 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52878 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52879 Specify type.
52880 [C99-based standards] (float_t): Expect type.
52881 [C99-based standards] (double_t): Expect type.
52882 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52883 type.
52884 [C99-based standards] (HUGE_VALL): Likewise.
52885 [C99-based standards] (INFINITY): Likewise.
52886 [C99-based standards] (NAN): Likewise.
52887 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52888 [C99-based standards] (FP_NAN): Likewise.
52889 [C99-based standards] (FP_NORMAL): Likewise.
52890 [C99-based standards] (FP_SUBNORMAL): Likewise.
52891 [C99-based standards] (FP_ZERO): Likewise.
52892 [C99-based standards] (FP_FAST_FMA): Use
52893 optional-macro-int-constant. Specify type. Require == 1.
52894 [C99-based standards] (FP_FAST_FMAF): Likewise.
52895 [C99-based standards] (FP_FAST_FMAL): Likewise.
52896 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52897 [C99-based standards] (FP_ILOGBNAN): Likewise.
52898 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52899 Specify type.
52900 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52901 [C99-based standards] (math_errhandling): Specify type.
52902 [ISO99 || ISO11] (signgam): Do not allow.
52903 [non-C99-based standards] (copysignf): Do not allow.
52904 [non-C99-based standards] (exp2f): Likewise.
52905 [non-C99-based standards] (log2f): Likewise.
52906 [non-C99-based standards] (modff): Allow.
52907 [non-C99-based standards] (erff): Do not allow.
52908 [non-C99-based standards] (erfcf): Likewise.
52909 [non-C99-based standards] (gammaf): Likewise.
52910 [non-C99-based standards] (hypotf): Likewise.
52911 [non-C99-based standards] (j0f): Likewise.
52912 [non-C99-based standards] (j1f): Likewise.
52913 [non-C99-based standards] (jnf): Likewise.
52914 [non-C99-based standards] (lgammaf): Likewise.
52915 [non-C99-based standards] (tgammaf): Likewise.
52916 [non-C99-based standards] (y0f): Likewise.
52917 [non-C99-based standards] (y1f): Likewise.
52918 [non-C99-based standards] (ynf): Likewise.
52919 [non-C99-based standards] (isnanf): Likewise.
52920 [non-C99-based standards] (acoshf): Likewise.
52921 [non-C99-based standards] (asinhf): Likewise.
52922 [non-C99-based standards] (atanhf): Likewise.
52923 [non-C99-based standards] (cbrtf): Likewise.
52924 [non-C99-based standards] (expm1f): Likewise.
52925 [non-C99-based standards] (ilogbf): Likewise.
52926 [non-C99-based standards] (log1pf): Likewise.
52927 [non-C99-based standards] (logbf): Likewise.
52928 [non-C99-based standards] (nextafterf): Likewise.
52929 [non-C99-based standards] (remainderf): Likewise.
52930 [non-C99-based standards] (rintf): Likewise.
52931 [non-C99-based standards] (scalbf): Likewise.
52932 [non-C99-based standards] (copysignl): Likewise.
52933 [non-C99-based standards] (exp2l): Likewise.
52934 [non-C99-based standards] (log2l): Likewise.
52935 [non-C99-based standards] (modfl): Allow.
52936 [non-C99-based standards] (erfl): Do not allow.
52937 [non-C99-based standards] (erfcl): Likewise.
52938 [non-C99-based standards] (gammal): Likewise.
52939 [non-C99-based standards] (hypotl): Likewise.
52940 [non-C99-based standards] (j0l): Likewise.
52941 [non-C99-based standards] (j1l): Likewise.
52942 [non-C99-based standards] (jnl): Likewise.
52943 [non-C99-based standards] (lgammal): Likewise.
52944 [non-C99-based standards] (tgammal): Likewise.
52945 [non-C99-based standards] (y0l): Likewise.
52946 [non-C99-based standards] (y1l): Likewise.
52947 [non-C99-based standards] (ynl): Likewise.
52948 [non-C99-based standards] (isnanl): Likewise.
52949 [non-C99-based standards] (acoshl): Likewise.
52950 [non-C99-based standards] (asinhl): Likewise.
52951 [non-C99-based standards] (atanhl): Likewise.
52952 [non-C99-based standards] (cbrtl): Likewise.
52953 [non-C99-based standards] (expm1l): Likewise.
52954 [non-C99-based standards] (ilogbl): Likewise.
52955 [non-C99-based standards] (log1pl): Likewise.
52956 [non-C99-based standards] (logbl): Likewise.
52957 [non-C99-based standards] (nextafterl): Likewise.
52958 [non-C99-based standards] (remainderl): Likewise.
52959 [non-C99-based standards] (rintl): Likewise.
52960 [non-C99-based standards] (scalbl): Likewise.
52961 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52962 [non-C99-based standards] (FP_*): Do not allow.
52963 [C99-based standards] (FP_*): Change to
52964 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52965 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52966 allow.
52967 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52968 (SIG_ERR): Likewise.
52969 [X/Open-based standards] (SIG_HOLD): Likewise.
52970 (SIG_IGN): Likewise.
52971 (SIGABRT): Use macro-int-constant. Specify type. Require
52972 positive value.
52973 (SIGFPE): Likewise.
52974 (SIGILL): Likewise.
52975 (SIGINT): Likewise.
52976 (SIGSEGV): Likewise.
52977 (SIGTER): Likewise.
52978 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52979 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52980 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52981 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52982 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52983 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52984 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52985 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52986 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52987 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52988 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52989 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52990 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52991 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52992 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52993 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52994 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52995 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52996 [X/Open-based standards] (SIGTRAP): Likewise.
52997 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52998 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52999 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53000 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53001 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53002 allow.
53003
53004 2012-05-08 Ian Wienand <ianw@vmware.com>
53005
53006 [BZ #14080]
53007 * time/tzset.c (__tzset_parse_tz): Update default rules for
53008 daylight time changes in the Energy Policy Act of 2005.
53009
53010 2012-05-09 Andreas Jaeger <aj@suse.de>
53011
53012 [BZ #13983]
53013 * elf/ldconfig.c (parse_conf): Change string to make clear that
53014 ldconfig only issued a warning if ld.so.conf does not exist.
53015
53016 2012-05-08 David S. Miller <davem@davemloft.net>
53017
53018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53019 movxtod instead of popping the value on the stack.
53020
53021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53022
53023 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
53024
53025 * config.h.in: Add HAVE_ARM_PCS_VFP.
53026
53027 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
53028
53029 [BZ #13979]
53030 * include/features.h: Warn if user requests __FORTIFY_SOURCE
53031 checking but the checks are disabled for any reason.
53032
53033 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
53034
53035 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53036 and ELF64_R_TYPE with ELFW(R_TYPE).
53037
53038 2012-05-08 Joseph Myers <joseph@codesourcery.com>
53039
53040 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53041 (ulimit): Likewise.
53042
53043 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53044 (settimeofday): Likewise.
53045
53046 2012-05-08 Mike Frysinger <vapier@gentoo.org>
53047
53048 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
53049 a struct th_u2 inside the union, and move tu_block/tu_code into
53050 a new th_u3 union of tu_block/tu_code inside of that. Move
53051 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
53052 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
53053 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53054 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53055 (th_stuff): Change to th_u1.tu_stuff.
53056 (th_data): Define.
53057 (th_msg): Change to th_u1.th_u2.tu_data.
53058
53059 2012-05-07 David S. Miller <davem@davemloft.net>
53060
53061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53062
53063 [BZ #14074]
53064 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53065 (SETUP_PIC_REG): Use it.
53066 (SETUP_PIC_REG_LEAF): Use it.
53067
53068 2012-05-07 Joseph Myers <joseph@codesourcery.com>
53069
53070 [BZ #13885]
53071 [BZ #13923]
53072 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53073 USE_AS_EXPM1L.
53074 (EXPL_FINITE): Likewise.
53075 (FLDLOG): Likewise.
53076 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53077 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53078 e_expl.S.
53079 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53080 USE_AS_EXPM1L.
53081 (EXPL_FINITE): Likewise.
53082 (FLDLOG): Likewise.
53083 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53084 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53085 e_expl.S.
53086 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
53087 test of -max_value argument for long double.
53088 * sysdeps/i386/fpu/libm-test-ulps: Update.
53089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53090
53091 2012-05-06 David S. Miller <davem@davemloft.net>
53092
53093 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53094 quad soft-float symbols whose references which are compiler
53095 generated.
53096 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53097
53098 2012-05-06 Joseph Myers <joseph@codesourcery.com>
53099
53100 [BZ #13884]
53101 [BZ #13914]
53102 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53103 USE_AS_EXP10L.
53104 (EXPL_FINITE): Likewise.
53105 (FLDLOG): Likewise.
53106 (c0): Likewise.
53107 (c1): Likewise.
53108 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53109 Adjust comments for base varying.
53110 (__expl_finite): Change alias to EXPL_FINITE.
53111 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53112 e_expl.S.
53113 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53114 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53115 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53116 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53117 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53118 USE_AS_EXP10L.
53119 (EXPL_FINITE): Likewise.
53120 (FLDLOG): Likewise.
53121 (c0): Likewise.
53122 (c1): Likewise.
53123 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53124 Adjust comments for base varying.
53125 (__expl_finite): Change alias to EXPL_FINITE.
53126 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
53127 tests for bugs.
53128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53129
53130 [BZ #14064]
53131 * math/libm-test.inc (check_float_internal): Correct ulp
53132 calculation for subnormal expected results.
53133
53134 2012-05-06 Andreas Jaeger <aj@suse.de>
53135
53136 * Makeconfig (+math-flags): New, set to -frounding-math.
53137 (+cflags): Add +math-flags so that all of glibc gets compiled with
53138 it.
53139
53140 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53141
53142 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53143
53144 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53145 Disable one test.
53146
53147 [BZ #13787]
53148 [BZ #13922]
53149 [BZ #14036]
53150 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53151 (__ieee754_expl): Allow for and saturate large arguments.
53152 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53153 (u_threshold): Likewise.
53154 (__exp): Call __ieee754_exp before checking for overflow and
53155 underflow.
53156 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53157 (u_threshold): Likewise.
53158 (__expf): Call __ieee754_expf before checking for overflow and
53159 underflow.
53160 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53161 (u_threshold): Likewise.
53162 (__expl): Call __ieee754_expl before checking for overflow and
53163 underflow.
53164 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53165 (__ieee754_expl): Allow for and saturate large arguments.
53166 * math/libm-test.inc (exp_test): Add another test. Do not allow
53167 missing overflow exception on overflow.
53168 (expm1_test): Do not allow missing overflow exception on overflow.
53169
53170 * sysdeps/i386/fpu/e_expl.c: Move to ...
53171 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53172 rather than using inline asm.
53173 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53174 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53175 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53176
53177 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53178 (nice): Likewise.
53179 (poll): Likewise.
53180 (signal): Likewise.
53181 (time): Likewise.
53182 (times): Likewise.
53183
53184 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53185
53186 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53187 sysdeps/unix/common/syscalls.list.
53188 (fchmod): Likewise.
53189 (fchown): Likewise.
53190 (ftruncate): Likewise.
53191 (getrusage): Likewise.
53192 (gettimeofday): Likewise.
53193 (setpgid): Likewise.
53194 (setregid): Likewise.
53195 (setreuid): Likewise.
53196 (sigaction): Likewise.
53197 (truncate): Likewise.
53198 (vhangup): Likewise.
53199 * sysdeps/unix/common/syscalls.list: Remove file.
53200 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53201 * sysdeps/unix/sysv/linux/Implies: Likewise.
53202
53203 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53204
53205 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53207 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53208 Moved to ...
53209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53210 Here.
53211 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53212 to ...
53213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53214 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53215 to ...
53216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53217 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53218 to ...
53219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53220 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53221 to ...
53222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53223 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53224 to ...
53225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53226 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53227 to ...
53228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53229 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53230 to ...
53231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53232 Here.
53233 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53234 to ...
53235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53236 Here.
53237 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53238 to ...
53239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53240 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53241 Moved to ...
53242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53243 Here.
53244 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53245 to ...
53246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53247
53248 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53249
53250 * sysdeps/unix/common/bits/dirent.h: Remove file.
53251 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53252
53253 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53254 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53255 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53256 * sysdeps/unix/bsd/isatty.c: Likewise.
53257 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53258 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53259 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53260
53261 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53262
53263 [BZ #13563]
53264 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53265 long double comparison inaccuracies.
53266 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53268
53269 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53270
53271 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53273
53274 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53275
53276 [BZ #14049]
53277 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53278 nonzero digits before rounding a hex value.
53279 * stdlib/tst-strtod.c (tests): Add another test.
53280
53281 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53282
53283 * sysdeps/s390/fpu/libm-test-ulps: Update.
53284
53285 2012-05-03 Andreas Jaeger <aj@suse.de>
53286
53287 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53288 does not get optimized out.
53289 (malloc_opt_barrier): New.
53290
53291 2012-05-03 Andreas Jaeger <aj@suse.de>
53292 Roland McGrath <roland@hack.frob.com>
53293
53294 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53295 intermediate file deletion.
53296 (generated): Add .symlist files.
53297
53298 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53299
53300 [BZ #13775]
53301 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53302 Redirect under this condition.
53303 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53304 [__USE_GNU] (__dprintf_chk): Not under this condition.
53305 [__USE_GNU] (__vdprintf_chk): Likewise.
53306 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53307 under this condition.
53308 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53309 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53310 [__USE_XOPEN2K8] (vdprintf): Likewise.
53311 [__USE_GNU] (__dprintf_chk): Not under this condition.
53312 [__USE_GNU] (__vdprintf_chk): Likewise.
53313 [__USE_GNU] (dprintf): Likewise.
53314 [__USE_GNU] (vdprintf): Likewise.
53315
53316 2012-05-03 Roland McGrath <roland@hack.frob.com>
53317
53318 * elf/Makefile (common-generated): Set this instead of generated for
53319 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53320 $(all-built-dso)-derived lists.
53321
53322 2012-05-03 Andreas Jaeger <aj@suse.de>
53323
53324 * sysdeps/i386/fpu/libm-test-ulps: Update.
53325
53326 * FAQ: Removed.
53327 * FAQ.in: Likewise.
53328 * scripts/gen-FAQ.pl: Likewise.
53329 * manual/install.texi (Installation): Point to online location of
53330 FAQ.
53331 * Makefile (files-for-dist): Remove FAQ.
53332 (FAQ): Remove.
53333
53334 2012-05-02 Allan McRae <allan@archlinux.org>
53335
53336 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53337 (LDFLAGS-reldepmod5.so): Likewise.
53338 (LDFLAGS-reldep6mod1.so): Likewise.
53339 (LDFLAGS-reldep6mod4.so): Likewise.
53340 (LDFLAGS-reldep8mod3.so): Likewise.
53341 (LDFLAGS-unload4mod1.so): Likewise.
53342 (LDFLAGS-unload4mod2.so): Likewise.
53343 (LDFLAGS-tst-initorder): Likewise.
53344 (LDFLAGS-tst-initordera2.so): Likewise.
53345 (LDFLAGS-tst-initordera3.so): Likewise.
53346 (LDFLAGS-tst-initordera4.so): Likewise.
53347 (LDFLAGS-tst-initorderb2.so): Likewise.
53348 (LDFLAGS-noload): Likewise.
53349 (LDFLAGS-next): Likewise.
53350 (LDFLAGS-order2mod1.so): Likewise.
53351 (LDFLAGS-order2mod2.so): Likewise.
53352 (LDFLAGS-tst-initorder2): Likewise.
53353 (LDFLAGS-tst-initorder2a.so): Likewise.
53354 (LDFLAGS-tst-initorder2b.so): Likewise.
53355 (LDFLAGS-tst-initorder2c.so): Likewise.
53356 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53357
53358 2012-05-02 David S. Miller <davem@davemloft.net>
53359
53360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53361
53362 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53363
53364 [BZ #14055]
53365 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53366
53367 2012-05-02 Andreas Jaeger <aj@suse.de>
53368
53369 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53370 since we manipulate rounding mode.
53371 (CPPFLAGS-test-idouble.c): Likewise.
53372 (CPPFLAGS-test-ifloat.c): Likewise.
53373 (CFLAGS-test-ldouble.c): Likewise.
53374 (CFLAGS-test-double.c): Likewise.
53375 (CFLAGS-test-float.c): Likewise.
53376 (CFLAGS-test-misc.c): Likewise.
53377 (CFLAGS-test-test-fenv.c): Likewise.
53378
53379 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53380
53381 [BZ #2550]
53382 [BZ #2570]
53383 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53384 comparisons to determine direction to adjust input.
53385
53386 2012-05-01 Roland McGrath <roland@hack.frob.com>
53387
53388 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53389 output to the target.
53390
53391 * scripts/localplt.awk: New file.
53392 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53393 (check-localplt-CFLAGS): Variable removed.
53394 ($(all-built-dso:=.jmprel)): New static pattern rule.
53395 (generated): Add those targets.
53396 (localplt-built-dso): New variable.
53397 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53398
53399 * elf/check-localplt.c: File removed.
53400
53401 * scripts/check-execstack.awk: New file.
53402 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53403 (check-execstack-CFLAGS): Variable removed.
53404 ($(objpfx)check-execstack.h): Target removed.
53405 ($(objpfx)execstack-default): New target.
53406 (generated): Add that instead of check-execstack.h.
53407 ($(all-built-dso:=.phdr)): New static pattern rule.
53408 (generated): Add those targets.
53409 * elf/check-execstack.c: File removed.
53410
53411 * scripts/check-textrel.awk: New file.
53412 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53413 (check-textrel-CFLAGS): Variable removed.
53414 (all-built-dso): Use := to define.o
53415 ($(all-built-dso:=.dyn)): New static pattern rule.
53416 (generated): Add those targets.
53417 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53418 * config.make.in (READELF): New substituted variable.
53419 * elf/check-textrel.c: File removed.
53420
53421 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53422
53423 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53424 allow.
53425 * conform/data/ctype.h-data [C99-based standards] (isblank):
53426 Expect function.
53427 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53428 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53430 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53431 Specify type. Require positive value.
53432 (EILSEQ): Likewise.
53433 (ERANGE): Likewise.
53434 [ISO || POSIX] (EILSEQ): Do not expect.
53435 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53436 Specify type. Require positive value.
53437 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53438 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53439 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53440 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53441 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53442 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53443 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53444 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53445 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53446 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53447 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53448 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53449 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53450 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53451 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53452 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53453 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53454 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53455 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53456 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53457 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53458 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53459 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53460 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53461 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53462 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53463 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53464 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53465 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53466 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53467 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53468 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53469 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53470 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53471 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53472 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53473 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53474 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53475 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53476 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53477 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53478 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53479 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53480 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53481 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53482 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53483 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53484 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53485 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53486 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53487 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53488 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53489 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53490 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53491 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53492 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53493 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53494 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53495 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53496 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53497 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53498 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53499 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53500 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53501 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53502 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53503 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53504 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53505 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53506 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53507 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53508 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53509 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53510 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53511 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53512 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53513 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53514 Require >= 2.
53515 (FLT_ROUNDS): Expect as macro, not constant.
53516 (FLT_MANT_DIG): Use macro-int-constant.
53517 (DBL_MANT_DIG): Likewise.
53518 (LDBL_MANT_DIG): Likewise.
53519 (FLT_DIG): Likewise.
53520 (DBL_DIG): Likewise.
53521 (LDBL_DIG): Likewise.
53522 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53523 (DBL_MIN_EXP): Likewise.
53524 (LDBL_MIN_EXP): Likewise.
53525 (FLT_MAX_EXP): Use macro-int-constant.
53526 (DBL_MAX_EXP): Likewise.
53527 (LDBL_MAX_EXP): Likewise.
53528 (FLT_MAX_10_EXP): Likewise.
53529 (DBL_MAX_10_EXP): Likewise.
53530 (LDBL_MAX_10_EXP): Likewise.
53531 (FLT_MAX): Use macro-constant.
53532 (DBL_MAX): Likewise.
53533 (LDBL_MAX): Likewise.
53534 (FLT_EPSILON): Use macro-constant. Give upper bound.
53535 (DBL_EPSILON): Likewise.
53536 (LDBL_EPSILON): Likewise.
53537 (FLT_MIN): Likewise.
53538 (DBL_MIN): Likewise.
53539 (LDBL_MIN): Likewise.
53540 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53541 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53542 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53543 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53544 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53545 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53546 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53547 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53548 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53549 [ISO11] (FLT_TRUE_MIN): Likewise.
53550 [ISO11] (LDBL_TRUE_MIN): Likewise.
53551 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53552 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53553 (SCHAR_MIN): Use macro-int-constant. Specify type.
53554 (SCHAR_MAX): Likewise.
53555 (UCHAR_MAX): Likewise.
53556 (CHAR_MIN): Likewise.
53557 (CHAR_MAX): Likewise.
53558 (MB_LEN_MAX): Use macro-int-constant.
53559 (SHRT_MIN): Use macro-int-constant. Specify type.
53560 (SHRT_MAX): Likewise.
53561 (USHRT_MAX): Likewise.
53562 (INT_MAX): Likewise.
53563 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53564 bound negative.
53565 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53566 bound with "U".
53567 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53568 bound with "L".
53569 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53570 bound negative. Suffix upper bound with "L".
53571 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53572 bound with "UL".
53573 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53574 Specify type.
53575 [C99-based standards] (LLONG_MAX): Likewise.
53576 [C99-based standards] (ULLONG_MAX): Likewise.
53577 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53578 == 0.
53579 [ISO11] (max_align_t): Require type.
53580 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53581
53582 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53583 from $CFLAGS, without defining away __attribute__ calls.
53584 (checknamespace): Use $CFLAGS_namespace.
53585
53586 * conform/conformtest.pl (@keywords): Only include C99 keywords
53587 for standards based on C99 or C11.
53588
53589 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53590 Disable tests.
53591 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53592 UNIX98]: Likewise.
53593
53594 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53595 usability of symbols in #if.
53596
53597 * conform/conformtest.pl: If macro or constant types start
53598 "promoted:", expect the symbol to be of the following type
53599 promoted by the integer promotions.
53600
53601 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53602 in one place. Also handle "macro-constant".
53603
53604 * conform/conformtest.pl: Only accept expected macro values with
53605 "==". Parse all "macro" lines in one place.
53606 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53607
53608 * conform/conformtest.pl: Handle braced types on "constant" lines
53609 instead of handling "typed-constant".
53610 * conform/data/signal.h-data: Use "constant" instead of
53611 "typed-constant".
53612
53613 * conform/conformtest.pl: Handle "optional-" at start of lines in
53614 one place rather than duplicating several cases. Handle each
53615 format of "macro" line with initial "optional-".
53616
53617 * conform/conformtest.pl: Only accept expected constant or
53618 optional-constant values with "==". Parse all "constant" lines in
53619 one place. Parse all "optional-constant" lines in one place.
53620 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53621 * conform/data/fmtmsg.h-data: Likewise.
53622 * conform/data/netinet/in.h-data: Likewise.
53623 * conform/data/tar.h-data: Likewise.
53624 * conform/data/limits.h-data: Use "==" form on "constant" and
53625 "optional-constant" lines.
53626
53627 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53628 Use -std=c99 for XOPEN2K.
53629 (@knownproblems): Remove.
53630 (newtoken): Don't check %isknown.
53631
53632 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53633 Do not expect macro.
53634 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53635 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53636 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53637 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53638 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53639 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53640 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53641 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53642 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53643 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53644 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53645 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53646 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53647 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53648 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53649 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53650 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53651 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53652 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53653 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53654 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53655 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53656 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53657 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53658 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53659 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53660 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53661 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53662 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53663 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53664 [XPG3] (acosh): Likewise.
53665 [XPG3] (asinh): Likewise.
53666 [XPG3] (atanh): Likewise.
53667 [XPG3] (cbrt): Likewise.
53668 [XPG3] (expm1): Likewise.
53669 [XPG3] (ilogb): Likewise.
53670 [XPG3] (log1p): Likewise.
53671 [XPG3] (logb): Likewise.
53672 [XPG3] (nextafter): Likewise.
53673 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53674 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53675 [XPG3] (remainder): Likewise.
53676 [XPG3] (rint): Likewise.
53677 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53678 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53679 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53680 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53681 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53682 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53683 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53684 [UNIX98 || XOPEN2K] (scalb): Expect.
53685 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53686 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53687 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53688 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53689 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53690 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53691 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53692 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53693 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53694 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53695 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53696 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53697 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53698 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53699 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53700 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53701 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53702 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53703 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53704 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53705 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53706 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53707 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53708 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53709 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53710 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53711 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53712 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53713 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53714 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53715 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53716 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53717 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53718 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53719 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53720 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53721 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53722 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53723 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53724 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53725 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53726 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53727 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53728 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53729 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53730 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53731 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53732 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53733 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53734 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53735 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53736 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53737 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53738 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53739 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53740 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53741 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53742 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53743 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53744 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53745 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53746 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53747 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53748 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53749 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53750 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53751 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53752 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53753 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53754 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53755 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53756 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53757 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53758 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53759 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53760 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53761 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53762 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53763 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53764 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53765 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53766 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53767 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53768 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53769 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53770 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53771 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53772 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53773 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53774 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53775 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53776 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53777 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53778 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53779 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53780 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53781 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53782 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53783 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53784 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53785 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53786 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53787 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53788 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53789 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53790 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53791 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53792 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53793 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53794 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53795 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53796 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53797 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53798 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53799 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53800 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53801 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53802 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53803 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53804 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53805 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53806 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53807 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53808 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53809 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53810 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53811 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53812 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53813 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53814 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53815 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53816 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53817 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53818 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53819 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53820 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53821 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53822
53823 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53824 _XOPEN_SOURCE_EXTENDED for XPG4.
53825
53826 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53827
53828 * Makeconfig (localtime): Remove variable.
53829 (inst_localtime-file): Likewise.
53830
53831 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53832
53833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53834 Update.
53835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53836 Update.
53837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53838 Update.
53839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53840 Update.
53841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53842 Update.
53843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53844 Update.
53845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53846 Update.
53847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53848 Update.
53849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53850 Update.
53851
53852 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53853
53854 [BZ #2550]
53855 [BZ #2570]
53856 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53857 comparisons to determine direction to adjust input.
53858 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53859 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53860 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53861 Likewise.
53862 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53863 Likewise.
53864 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53865 Likewise.
53866 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53867 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53868 Likewise.
53869 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53870 Likewise.
53871 * math/libm-test.inc (nexttoward_test): Add more tests.
53872
53873 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53874
53875 [BZ #14040]
53876 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53877 in version GLIBC_2.1, not GLIBC_2.0.
53878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53879 Likewise.
53880
53881 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53882
53883 [BZ #13942]
53884 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53885 (1 - x) * (1 + x).
53886 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53887 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53888 * math/libm-test.inc (acos_test): Add more tests.
53889 (asin_test): Likewise.
53890 * sysdeps/i386/fpu/libm-test-ulps: Update.
53891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53892
53893 [BZ #14034]
53894 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53895 of square root.
53896 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53897 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53898 * math/libm-test.inc (acos_test_tonearest): New function.
53899 (acos_test_towardzero): Likewise.
53900 (acos_test_downward): Likewise.
53901 (acos_test_upward): Likewise.
53902 (asin_test_tonearest): Likewise.
53903 (asin_test_towardzero): Likewise.
53904 (asin_test_downward): Likewise.
53905 (asin_test_upward): Likewise.
53906 (main): Call the new functions.
53907 * sysdeps/i386/fpu/libm-test-ulps: Update.
53908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53909
53910 [BZ #13884]
53911 [BZ #13924]
53912 * math/e_exp10.c: Include <float.h>.
53913 (__ieee754_exp10): Handle underflow here rather than multiplying
53914 large negative argument by M_LN10.
53915 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53916 of __ieee754_expf.
53917 * math/e_exp10l.c: Include <float.h>.
53918 (__ieee754_exp10l): Handle underflow here rather than multiplying
53919 large negative argument by M_LN10l.
53920 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53921 spurious overflow exception on underflow.
53922
53923 2012-04-29 Marek Polacek <polacek@redhat.com>
53924
53925 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53926 (__fortify_function): New macro.
53927 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53928 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53929 __extern_always_inline.
53930 * libio/bits/stdio2.h: Likewise.
53931 * libio/bits/stdio.h: Likewise.
53932 * string/string.h: Likewise.
53933 * string/bits/string3.h: Likewise.
53934 * include/stdio.h: Likewise.
53935 * stdlib/bits/stdlib.h: Likewise.
53936 * stdlib/stdlib.h: Likewise.
53937 * rt/bits/mqueue2.h: Likewise.
53938 * rt/mqueue.h: Likewise.
53939 * posix/bits/unistd.h: Likewise.
53940 * posix/unistd.h: Likewise.
53941 * io/bits/poll2.h: Likewise.
53942 * io/bits/fcntl2.h: Likewise.
53943 * io/fcntl.h: Likewise.
53944 * io/sys/poll.h: Likewise.
53945 * misc/bits/syslog.h: Likewise.
53946 * misc/bits/syslog-ldbl.h: Likewise.
53947 * misc/sys/syslog.h: Likewise.
53948 * socket/bits/socket2.h: Likewise.
53949 * socket/sys/socket.h: Likewise.
53950 * debug/tst-chk1.c: Likewise.
53951 * wcsmbs/bits/wchar2.h: Likewise.
53952 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53953 * wcsmbs/wchar.h: Likewise.
53954
53955 2012-04-29 Andreas Jaeger <aj@suse.de>
53956
53957 * Makerules (tests): Remove enable-check-abi protection.
53958 (check-abi-warn): Remove.
53959 (check-abi-%): Remove check-abi-warn usage.
53960
53961 * configure.in: Remove check-abi configure option.
53962 * configure: Regenerated.
53963 * config.make.in (enable-check-abi): Remove.
53964
53965 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53966
53967 [BZ #14033]
53968 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53969 double functions to double *_finite functions.
53970
53971 [BZ #13941]
53972 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53973 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53974 LDBL_MIN_EXP.
53975 * stdio-common/Makefile (tests): Add tst-sprintf3.
53976 * stdio-common/tst-sprintf3.c: New file.
53977
53978 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53979 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53980
53981 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53982
53983 * conform/conformtest.pl: Remove duplicate typed-constant
53984 handling.
53985
53986 2012-04-28 David S. Miller <davem@davemloft.net>
53987
53988 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53989 (check-abi-%): Remove AWK script prerequisite and explicit
53990 abilist directory.
53991 (check-abi): Rewrite to just diff the symlist with the abilist.
53992 (config-tls, config-abi-config): Delete, no longer used.
53993 (update-abi-%): Remove AWK script and explicit abilist directory.
53994 (update-abi): Rewrite to simply compare and conditionally copy the
53995 symlist and the sysdep abilist file. Remove update-abi-config
53996 checks.
53997 * abilist/ld.abilist: Remove.
53998 * abilist/libBrokenLocale.abilist: Remove.
53999 * abilist/libanl.abilist: Remove.
54000 * abilist/libcrypt.abilist: Remove.
54001 * abilist/libdl.abilist: Remove.
54002 * abilist/librt.abilist: Remove.
54003 * abilist/libthread_db.abilist: Remove.
54004 * abilist/libutil.abilist: Remove.
54005 * scripts/extract-abilist.awk: Remove.
54006 * scripts/merge-abilist.awk: Remove.
54007 * sysdeps/generic/libcidn.abilist: New file.
54008 * sysdeps/generic/libnss_compat.abilist: New file.
54009 * sysdeps/generic/libnss_db.abilist: New file.
54010 * sysdeps/generic/libnss_dns.abilist: New file.
54011 * sysdeps/generic/libnss_files.abilist: New file.
54012 * sysdeps/generic/libnss_hesiod.abilist: New file.
54013 * sysdeps/generic/libnss_nis.abilist: New file.
54014 * sysdeps/generic/libnss_nisplus.abilist: New file.
54015 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54016 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54017 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54018 file.
54019 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54020 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54021 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54022 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54023 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54024 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54025 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54026 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54027 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54028 file.
54029 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54030 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54031 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54032 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54033 file.
54034 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54035 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54036 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54037 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54038 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54039 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54040 file.
54041 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54042 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54043 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54044 file.
54045 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54047 New file.
54048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54049 New file.
54050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54051 New file.
54052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54053 New file.
54054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54055 New file.
54056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54057 New file.
54058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54059 New file.
54060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54061 New file.
54062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54063 New file.
54064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54065 New file.
54066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54067 New file.
54068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54069 New file.
54070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54071 New file.
54072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54073 file.
54074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54075 New file.
54076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54077 New file.
54078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54079 file.
54080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54081 New file.
54082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54083 New file.
54084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54085 file.
54086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54087 New file.
54088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54089 New file.
54090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54091 New file.
54092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54093 New file.
54094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54095 New file.
54096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54097 New file.
54098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54100 file.
54101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54102 New file.
54103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54104 file.
54105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54106 file.
54107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54108 file.
54109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54110 file.
54111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54112 file.
54113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54114 New file.
54115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54116 file.
54117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54118 file.
54119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54120 New file.
54121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54122 file.
54123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54125 file.
54126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54127 New file.
54128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54129 file.
54130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54131 file.
54132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54133 file.
54134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54135 file.
54136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54137 file.
54138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54139 New file.
54140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54141 file.
54142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54143 file.
54144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54145 New file.
54146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54147 file.
54148 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54149 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54150 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54151 file.
54152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54153 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54154 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54155 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54156 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54157 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54158 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54159 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54160 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54161 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54164 file.
54165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54166 New file.
54167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54168 file.
54169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54170 file.
54171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54172 file.
54173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54174 file.
54175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54176 file.
54177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54178 New file.
54179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54180 New file.
54181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54182 file.
54183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54184 New file.
54185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54186 file.
54187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54189 file.
54190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54191 New file.
54192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54193 file.
54194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54195 file.
54196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54197 file.
54198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54199 file.
54200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54201 file.
54202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54203 New file.
54204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54205 New file.
54206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54207 file.
54208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54209 New file.
54210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54211 file.
54212
54213 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54214
54215 * conform/conformtest.pl: Fix typo in handling typed-constant from
54216 allow-header.
54217
54218 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54219
54220 * README: Cut down references to pre-2.6 Linux kernels and
54221 Linuxthreads. Update lists of configurations in libc and ports
54222 and sort alphabetically. Say "or newer" with Linux kernel version
54223 requirements.
54224
54225 * config.h.in [IS_IN_build]: Allow compiling without optimization.
54226
54227 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54228
54229 [BZ #887]
54230 * math/libm-test.inc (logb_test_downward): New test to expose
54231 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54232 rounding mode.
54233
54234 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54235
54236 [BZ #14027]
54237 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54238 to be done.
54239 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54240 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54241
54242 2012-04-26 Joseph Myers <joseph@codesourcery.com>
54243
54244 * sysdeps/unix/i386/brk.S: Remove file.
54245 * sysdeps/unix/i386/dl-brk.S: Likewise.
54246 * sysdeps/unix/i386/pipe.S: Likewise.
54247 * sysdeps/unix/i386/sigreturn.S: Likewise.
54248 * sysdeps/unix/i386/syscall.S: Likewise.
54249 * sysdeps/unix/i386/vfork.S: Likewise.
54250 * sysdeps/unix/i386/wait.S: Likewise.
54251
54252 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54253 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54254
54255 * configure.in (arm*-none*): Do not allow without
54256 --enable-hacker-mode.
54257 (netbsd*): Remove case setting base_os.
54258 (386bsd*): Likewise.
54259 (freebsd*): Likewise.
54260 (bsdi*): Likewise.
54261 (osf*): Likewise.
54262 (sunos*): Likewise.
54263 (ultrix*): Likewise.
54264 (newsos*): Likewise.
54265 (dynix*): Likewise.
54266 (*bsd*): Likewise.
54267 (sysv*): Likewise.
54268 (isc*): Likewise.
54269 (esix*): Likewise.
54270 (sco*): Likewise.
54271 (minix*): Likewise.
54272 (irix4*): Likewise.
54273 (irix6*): Likewise.
54274 (solaris[2-9]*): Likewise.
54275 (none): Likewise.
54276 * configure: Regenerated.
54277
54278 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54279
54280 [BZ #11521]
54281 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54282 overflow or cancellation in calculating denominator.
54283 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54285 down expression to avoid unexpected rounding in newer GCCs.
54286 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54287
54288 2012-04-26 David S. Miller <davem@davemloft.net>
54289
54290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54291 long-double compat symbols.
54292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54305
54306 2012-04-25 David S. Miller <davem@davemloft.net>
54307
54308 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54309 HWCAP_* values only after the memory barriers have been defined.
54310 (atomic_full_barrier): Define.
54311 (atomic_read_barrier): Define.
54312 (atomic_write_barrier): Define.
54313
54314 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54315
54316 * shlib-versions: Add libgcc_s version information.
54317 * sysdeps/generic/libgcc_s.h: Remove.
54318 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54319 libgcc_s.h.
54320 * sysdeps/gnu/unwind-resume.c: Likewise.
54321 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54322
54323 2012-04-25 David S. Miller <davem@davemloft.net>
54324
54325 * sysdeps/unix/sparc/brk.S: Delete.
54326 * sysdeps/unix/sparc/dl-brk.S: Delete.
54327 * sysdeps/unix/sparc/pipe.S: Delete.
54328 * sysdeps/unix/sparc/sysdep.S: Delete.
54329 * sysdeps/unix/sparc/sysdep.h: Delete.
54330 * sysdeps/unix/sparc/vfork.S: Delete.
54331 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54332 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54333 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54334 (ret_ERRVAL, r0, r1, MOVE): Define.
54335 (JUMPTARGET): Remove.
54336 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54337 sysdeps/unix/sparc/sysdep.h
54338 (ENTRY, END): Remove.
54339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54340
54341 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54342
54343 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54344 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54345 -DIS_IN_build.
54346
54347 * timezone/README: Update upstream location and email address for
54348 tzcode and tzdata.
54349 * timezone/zdump.c: Update from tzcode 2012b.
54350 * timezone/zic.c: Likewise.
54351
54352 * configure.in (libc_cv_as_needed): Remove test.
54353 * configure: Regenerated.
54354 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54355 conditional definition.
54356 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54357 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54358 * config.make.in (have-as-needed): Remove variable.
54359
54360 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54361 Paul Pluzhnikov <ppluzhnikov@google.com>
54362
54363 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54364 strings correctly.
54365
54366 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54367
54368 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54369 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54370 * sysdeps/sh/strlen.S: Likewise.
54371
54372 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54373
54374 * sysdeps/unix/fork.S: Remove file.
54375 * sysdeps/unix/i386/fork.S: Likewise.
54376 * sysdeps/unix/sparc/fork.S: Likewise.
54377
54378 * sysdeps/unix/system.c: Remove file.
54379 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54380
54381 * sysdeps/unix/getegid.S: Remove file.
54382 * sysdeps/unix/geteuid.S: Likewise.
54383
54384 2012-04-24 Roland McGrath <roland@hack.frob.com>
54385
54386 * scripts/check-localplt.awk: New file.
54387 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54388 of diff.
54389 * scripts/data/localplt-generic.data: Add a comment.
54390
54391 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54392 NODE when __dir_mkfile failed.
54393 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54394 Reported by Ludovic Courtès <ludo@gnu.org>.
54395
54396 2012-04-24 Andreas Jaeger <aj@suse.de>
54397
54398 * Makerules (common-clean): Also remove gen-as-const-headers
54399 files.
54400
54401 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54402
54403 * Makerules (native-compile): Do not change working directory for
54404 build. Use $(OUTPUT_OPTION) in command.
54405 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54406
54407 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54408
54409 [BZ #13886]
54410 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54411 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54412 * math/libm-test.inc (floor_test): Add more tests.
54413 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54414
54415 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54416
54417 * sysdeps/unix/getdents.c: Remove file.
54418 * sysdeps/unix/sysv/getdents.c: Likewise.
54419 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54420
54421 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54422 sysdeps/unix/mman/syscalls.list.
54423 (mmap): Likewise.
54424 (mprotect): Likewise.
54425 (msync): Likewise.
54426 (munmap): Likewise.
54427 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54428 * sysdeps/unix/mman/syscalls.list: Remove.
54429 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54430
54431 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54432 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54433 * configure: Regenerated.
54434 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54435 $(libgcc_s_suffix).
54436 * config.make.in (libgcc_s_suffix): Remove variable.
54437
54438 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54439
54440 * sysdeps/unix/sysv/gethostname.c: Move to ...
54441 * sysdeps/posix/gethostname.c: ... here.
54442
54443 * sysdeps/unix/execve.S: Remove file.
54444
54445 * sysdeps/unix/_exit.S: Remove file.
54446
54447 2012-04-23 Andreas Jaeger <aj@suse.de>
54448
54449 [BZ #13739]
54450 * manual/Makefile: Remove make dist support, there's no
54451 need for a stand-alone documentation tar ball.
54452 (TEXI2DVI): Define always, it's not in Makeconfig.
54453 (dist): Removed.
54454 (tar-it): Removed.
54455 (edition): Removed.
54456 (glibc-doc-$(edition).tar): Removed
54457 (%.Z): Removed.
54458 (%.gz): Removed.
54459 (%.uu): Removed.
54460 (ETAGS): Remove, it's in Makeconfig.
54461 (move-if-change): Remove, it's in Makeconfig.
54462
54463 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54464
54465 [BZ #13970]
54466 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54467 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54468 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54469 (strtod_l, strtof_l, strtold_l): Remove __wur.
54470 It is not necessarily an error to ignore strtol's return value.
54471 One can reliably look at the stored endptr to decide whether
54472 the number had valid syntax.
54473
54474 2012-04-21 Andreas Jaeger <aj@suse.de>
54475
54476 [BZ #13739]
54477 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54478
54479 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54480
54481 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54482 * sysdeps/unix/sysv/Versions: Remove file.
54483
54484 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54485
54486 [BZ #13927]
54487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54488
54489 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54490
54491 [BZ #7064]
54492 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54493 version from __vm86.
54494
54495 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54496
54497 * sysdeps/unix/common/lxstat.c: Remove file.
54498 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54499
54500 * sysdeps/unix/sysv/Makefile: Remove file.
54501
54502 * sysdeps/unix/sysv/direct.h: Remove file.
54503
54504 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54505 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54506 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54507 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54508 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54509 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54510 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54511
54512 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54513
54514 * sysdeps/unix/xmknod.c: Remove file.
54515 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54516
54517 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54518
54519 * sysdeps/unix/sysv/i386/time.S: Remove file.
54520
54521 * sysdeps/unix/fxstat.c: Remove file.
54522 * sysdeps/unix/xstat.c: Likewise.
54523 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54524
54525 * sysdeps/unix/sysv/sigaction.c: Remove file.
54526
54527 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54528 (sysdep_headers): Remove variable.
54529 [termio.h not in sysdep_headers] (generated): Likewise.
54530 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54531 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54532 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54533 * sysdeps/unix/sysv/tcflow.c: Likewise.
54534 * sysdeps/unix/sysv/tcflush.c: Likewise.
54535 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54536 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54537 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54538 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54539 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54540
54541 * sysdeps/unix/siglist.c: Remove file.
54542
54543 * sysdeps/unix/getppid.S: Remove file.
54544
54545 * sysdeps/unix/mkdir.c: Remove file.
54546 * sysdeps/unix/rmdir.c: Likewise.
54547
54548 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54549
54550 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54551 ERR_MAX value.
54552 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54553 errlist-compat value.
54554
54555 2012-04-18 David S. Miller <davem@davemloft.net>
54556
54557 * sysdeps/generic/memcopy.h (reg_char): Delete.
54558 * debug/strcat_chk.c: Use char, not reg_char.
54559 * debug/strcpy_chk.c: Likewise.
54560 * debug/strncat_chk.c: Likewise.
54561 * debug/strncpy_chk.c: Likewise.
54562 * string/memchr.c: Likewise.
54563 * string/memrchr.c: Likewise.
54564 * string/rawmemchr.c: Likewise.
54565 * string/strcat.c: Likewise.
54566 * string/strchr.c: Likewise.
54567 * string/strchrnul.c: Likewise.
54568 * string/strcmp.c: Likewise.
54569 * string/strcpy.c: Likewise.
54570 * string/strncat.c: Likewise.
54571 * string/strncmp.c: Likewise.
54572 * string/strncpy.c: Likewise.
54573
54574 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54575
54576 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54577 __builtin_memcopy is called when src and dest ranges are known to not
54578 overlap.
54579
54580 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54581
54582 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54583 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54584 fwd_align_merge macro call.
54585 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54586 bwd_align_merge macro call.
54587 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54588
54589 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54590
54591 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54592 bwd_align_merge macros.
54593 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54594 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54595 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54596
54597 2012-04-18 David S. Miller <davem@davemloft.net>
54598
54599 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54600
54601 2012-04-18 Andreas Jaeger <aj@suse.de>
54602
54603 [BZ# 6794]
54604 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54605 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54606 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54607
54608 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54609 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54610 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54611
54612 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54613 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54614 Adjust for changed ldbl-128 files.
54615
54616 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54617 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54618 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54619
54620 2012-04-17 David S. Miller <davem@davemloft.net>
54621
54622 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54623
54624 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54625
54626 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54627 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54628 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54629 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54630 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54631 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54632
54633 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54634
54635 [BZ #6794]
54636 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54637 * math/libm-test.inc: Add ilogb errno and exception tests.
54638 * math/w_ilogb.c: New file: ilogb wrapper.
54639 * math/w_ilogbf.c: New file: ilogbf wrapper.
54640 * math/w_ilogbl.c: New file: ilogbl wrapper.
54641 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54642 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54643 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54644 exception being thrown with 0.0 as argument.
54645 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54646 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54647 exception being thrown with 0.0 as argument.
54648 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54649 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54650 exception being thrown with 0.0 as argument.
54651 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54652 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54653 exception being thrown with 0.0 as argument.
54654 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54655 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54656 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54657 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54658 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54659 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54660 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54661 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54662 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54663
54664 2012-04-17 Petr Baudis <pasky@ucw.cz>
54665
54666 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54667 with altivec.
54668
54669 2012-04-16 Marek Polacek <polacek@redhat.com>
54670
54671 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54672
54673 2012-04-16 Marek Polacek <polacek@redhat.com>
54674
54675 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54676 operands of fdivp instruction.
54677
54678 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54679
54680 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54681 * elf/tst-auditmod3b.c: Likewise.
54682 * elf/tst-auditmod4b.c: Likewise.
54683 * elf/tst-auditmod5b.c: Likewise.
54684 * elf/tst-auditmod6b.c: Likewise.
54685 * elf/tst-auditmod6c.c: Likewise.
54686 * elf/tst-auditmod7b.c: Likewise.
54687 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54688 * sysdeps/x86_64/preconfigure.in: Likewise.
54689 * sysdeps/x86_64/preconfigure: Regenerated.
54690
54691 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54692
54693 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54694 __ILP32__.
54695
54696 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54697
54698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54699 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54700
54701 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54702
54703 [BZ #13973]
54704 * locale/iso-639.def: Fix gl language name. Spotted by
54705 Yaron Shahrabani.
54706
54707 2012-04-12 Roland McGrath <roland@hack.frob.com>
54708
54709 [BZ #2074]
54710 * libio/libio.h (__io_write_fn): Update comment.
54711
54712 2012-04-12 Petr Baudis <pasky@ucw.cz>
54713
54714 [BZ #2074]
54715 * stdio.texi (Hook Functions): The user provided writer function
54716 is not allowed to return -1.
54717
54718 2012-04-11 David S. Miller <davem@davemloft.net>
54719
54720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54721
54722 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54723
54724 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54725 Add a leading slash to rtkaio.
54726
54727 2012-04-11 Jim Meyering <meyering@redhat.com>
54728
54729 [BZ #11959]
54730 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54731 It is not necessarily an error to ignore fwrite's return
54732 value. One can reliably use ferror to test for errors after
54733 the fact.
54734
54735 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54736
54737 * bits/types.h (__snseconds_t): New type.
54738 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54739
54740 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54741 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54742 (__SNSECONDS_T_TYPE): Likewise.
54743 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54744 (__SNSECONDS_T_TYPE): Likewise.
54745 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54746 (__SNSECONDS_T_TYPE): Likewise.
54747
54748 2012-04-10 Andreas Jaeger <aj@suse.de>
54749
54750 [BZ #2636]
54751 * manual/time.texi (Processor Time): Return type of times is
54752 elapsed real time since an arbitrary point in the past.
54753 (CPU Time): Move CLK_TCK from here...
54754 (Processor Time): ...to here. Correct description.
54755 * manual/conf.texi (Constants for Sysconf): Correct description of
54756 _SC_CLK_TCK.
54757
54758 2012-04-10 David S. Miller <davem@davemloft.net>
54759
54760 [BZ #13967]
54761 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54762 where the is a gap between DT_REL(A) and DT_JMPREL.
54763
54764 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54765
54766 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54767 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54768 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54769
54770 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54771
54772 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54773 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54774 (dl_main): Handle --inhibit-cache.
54775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54776 _dl_inhibit_cache.
54777 * elf/dl-load.c (_dl_map_object): Use it.
54778 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54779
54780 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54781
54782 [BZ #13872]
54783 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54784 (__ieee754_powl): Saturate large exponents rather than testing for
54785 overflow of y*log2(x).
54786 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54787 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54788 exceptions.
54789
54790 [BZ #11521]
54791 * math/s_ctan.c: Include <float.h>.
54792 (__ctan): Avoid internal overflow or cancellation in calculating
54793 denominator.
54794 * math/s_ctanf.c: Likewise.
54795 * math/s_ctanl.c: Likewise.
54796 * math/s_ctanh.c: Likewise.
54797 * math/s_ctanhf.c: Likewise.
54798 * math/s_ctanhl.c: Likewise.
54799 * math/libm-test.inc (ctan_test): Add more tests.
54800 (ctanh_test): Likewise.
54801 * sysdeps/i386/fpu/libm-test-ulps: Update.
54802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54803
54804 2012-04-09 Andreas Jaeger <aj@suse.de>
54805
54806 [BZ #6894]
54807 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54808 is an optional BSD extension.
54809
54810 [BZ #10254]
54811 * manual/stdio.texi (Opening Streams): Document additional fopen
54812 parameters.
54813
54814 2012-04-09 Roland McGrath <roland@hack.frob.com>
54815
54816 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54817 %eax without telling the compiler.
54818
54819 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54820
54821 [BZ # 13963]
54822 * manual/install.texi: Use sourceware.org.
54823
54824 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54825
54826 [BZ #13873]
54827 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54828 (__ieee754_pow): Generate overflow and underflow using huge*huge
54829 and tiny*tiny rather than just returning constant infinity or zero
54830 for large exponents.
54831 * math/libm-test.inc (pow_test): Require overflow exceptions for
54832 applicable cases of large exponents.
54833
54834 [BZ #706]
54835 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54836 (__ieee754_pow): Use iterative multiplication algorithm only for
54837 integer exponents with absolute value below 1024. Check for odd
54838 integer exponents when using algorithm for real exponents.
54839 * math/libm-test.inc (pow_test): Add more tests.
54840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54841
54842 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54843
54844 [BZ #13705]
54845 * math/libm-test.inc (exp_test): Do not allow overflow exception
54846 on underflow test.
54847
54848 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54849
54850 [BZ #13705]
54851 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54852 instead of __kernel_standard_f.
54853
54854 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54855
54856 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54857 * sysdeps/x86_64/memset_chk.S: Likewise.
54858
54859 2012-04-08 Andreas Jaeger <aj@suse.de>
54860
54861 [BZ #10153]
54862 * manual/startup.texi (Environment Access): Describe return value
54863 for putenv and setenv.
54864
54865 [BZ #6895]
54866 * manual/filesys.texi (Directory Entries): Add description for
54867 DT_LNK.
54868
54869 [BZ #6890]
54870 * manual/filesys.texi (Directory Entries): Clarify that it's file
54871 system not operating system in the description of DT_UNKNOWN.
54872
54873 [BZ #6578]
54874 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54875
54876 2012-04-08 Stephen Compall <s11@member.fsf.org>
54877
54878 [BZ #6649]
54879 * manual/llio.texi (Opening and Closing Files): Add cross
54880 reference to explain mode argument.
54881
54882 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54883
54884 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54885 * sysdeps/x86_64/memset_chk.S: Likewise.
54886
54887 2012-04-07 David S. Miller <davem@davemloft.net>
54888
54889 * elf/elf.h (R_SPARC_WDISP10): Define.
54890 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54891 R_SPARC_SIZE32.
54892 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54893 R_SPARC_SIZE64 and R_SPARC_H34.
54894
54895 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54896
54897 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54898 conditions and remove no longer applicable assertion.
54899
54900 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54901
54902 * bits/byteswap.h: Include <features.h>.
54903 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54904 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54905
54906 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54907
54908 * bits/byteswap.h (__bswap_16): Removed.
54909 Include <bits/byteswap-16.h> to get __bswap_16.
54910 * sysdeps/i386/bits/byteswap.h: Likewise.
54911 * sysdeps/s390/bits/byteswap.h: Likewise.
54912 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54913 * bits/byteswap-16.h: New file.
54914 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54915 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54916 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54917 * string/Makefile (headers): Add bits/byteswap-16.h.
54918
54919 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54920
54921 [BZ #13895]
54922 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54923 extra indirection.
54924 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54925 * nss/tst-nss-static.c: New.
54926
54927 2012-04-06 Robert Millan <rmh@gnu.org>
54928
54929 [BZ #6486]
54930 * manual/llio.texi (File Position Primitive): lseek
54931 refers to WHENCE when it really means OFFSET.
54932
54933 2012-04-06 Andreas Jaeger <aj@suse.de>
54934
54935 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54936 strncmp declarations.
54937
54938 * abilist/libc.abilist: Add __poll and __ppoll.
54939
54940 2012-04-05 David S. Miller <davem@davemloft.net>
54941
54942 * scripts/check-local-headers.sh: Accept a host triplet in the
54943 path matched by the exclude regexp.
54944
54945 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54946 definition.
54947 * sysdeps/powerpc/powerpc32/dl-machine.h
54948 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54949 * sysdeps/s390/s390-32/dl-machine.h
54950 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54951 * sysdeps/sparc/sparc32/dl-machine.h
54952 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54953 * sysdeps/sparc/sparc64/dl-machine.h
54954 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54955
54956 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54957 lazy binding.
54958 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54959 undefined symbol errors.
54960
54961 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54962 DT_NEEDED entries.
54963
54964 2012-04-05 Michael Matz <matz@suse.de>
54965
54966 [BZ #13592]
54967 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54968
54969 2012-04-05 Andreas Jaeger <aj@suse.de>
54970
54971 [BZ #13908]
54972 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54973 comment.
54974
54975 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54976
54977 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54978 which ROUND is no valid rounding mode.
54979
54980 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54981
54982 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54983 read again.
54984 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54985
54986 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54987
54988 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54989 an exception using FPU order intentionally.
54990
54991 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54992
54993 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54994 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54995 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54996 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54997
54998 2012-04-05 Simon Josefsson <simon@josefsson.org>
54999
55000 [BZ #12340]
55001 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55002 EINVAL when BUFLEN is too smal.
55003
55004 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
55005
55006 [BZ #13553]
55007 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55008 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55009
55010 2012-04-03 Andreas Jaeger <aj@suse.de>
55011
55012 [BZ #13938]
55013 * manual/setjmp.texi (System V contexts): Fix sentence.
55014
55015 [BZ #13926]
55016 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55017 New macro for this case.
55018 [!__GNUC__] (__bswap_64): New inline function for this case.
55019 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55020 * bits/byteswap.h: Likewise.
55021 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55022 ull, guard with __GLIBC_HAVE_LONG_LONG.
55023
55024 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55025 __GLIBC_HAVE_LONG_LONG.
55026
55027 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55028 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55029
55030 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55031
55032 [BZ #13691]
55033 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55034 inptr and inend, rather than using last_ch.
55035
55036 2012-04-02 David S. Miller <davem@davemloft.net>
55037
55038 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55039 * stdio-common/printf-parse.h (read_int): Change return type to
55040 'int', return -1 on INT_MAX overflow.
55041 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55042 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
55043 overflows INT_MAX. Check for overflow of in-format-string precision
55044 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
55045 SIZE_MAX not INT_MAX for integer overflow test.
55046 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55047 skip the construct in the format string but do not record anything.
55048 * stdio-common/bug22.c: Adjust to test both width/prevision
55049 INT_MAX overflow as well as total length INT_MAX overflow. Check
55050 explicitly for proper errno values.
55051
55052 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
55053
55054 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55055 CHAR_MAX.
55056 * string/test-strcmp.c [! WIDE]: Likewise.
55057 * time/tst-mktime2.c: Likewise for INT_MAX.
55058 * string/test-string.h: #include <sys/param.h> for MIN.
55059
55060 * csu/init-first.c (__libc_init_first): Call __ctype_init.
55061 * sysdeps/i386/init-first.c (init): Likewise.
55062 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55063 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55064 * sysdeps/sh/init-first.c (init): Likewise.
55065
55066 2012-04-01 Ulrich Drepper <drepper@gmail.com>
55067
55068 * po/ru.po: Update from translation team.
55069 * po/vi.po: Likewise.
55070
55071 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55072
55073 * resolv/nss_dns/dns-host.c: Merge copyright years.
55074
55075 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55076
55077 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55078 Optimize memcpy with prefetch if
55079 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
55080 src, dst pointers have unequal 16 byte alignments.
55081
55082 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55083
55084 [BZ #13928]
55085 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55086 from a CNAME entry and return the minimum ttl for the query.
55087 (gaih_getanswer_slice): Likewise.
55088
55089 2012-03-30 Jeff Law <law@redhat.com>
55090
55091 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55092 due to long keys.
55093 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55094 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55095
55096 * resolv/nss_dns/dns-host.c: Update copyright year.
55097
55098 2012-03-30 Ulrich Drepper <drepper@gmail.com>
55099
55100 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55101 requests to save a system call. Fix check that all bytes are sent.
55102
55103 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55104 comments for sendmmsg.
55105
55106 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55107
55108 [BZ #13691]
55109 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55110 with only 1 character between 0x0041 and 0x01b0.
55111 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55112 * wcsmbs/tst-mbsnrtowcs.c: New file.
55113
55114 2012-03-29 David S. Miller <davem@davemloft.net>
55115
55116 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55117 small copies by hand.
55118
55119 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55120
55121 [BZ #13761]
55122 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55123 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55124 group memberships.
55125
55126 2012-03-28 David S. Miller <davem@davemloft.net>
55127
55128 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55129 that branches into memcpy.
55130 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55133 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55135 bits.
55136 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55137 implementation too.
55138 * sysdeps/sparc/mempcpy.S: New file.
55139
55140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55141 the IFUNC routine in the libc case.
55142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55143
55144 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55145 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55146 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55147 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55148 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55149 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55150 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55151 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55152
55153 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55154 loop to 256 bytes instead of 64 bytes and fix test signedness.
55155
55156 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55157 * sysdeps/sparc/sparc32/Makefile: rather than here...
55158 * sysdeps/sparc/sparc64/Makefile: and here.
55159
55160 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55161
55162 * malloc/mallocbug.c: Avoid warnings about unused variables.
55163
55164 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55165
55166 [BZ #13760]
55167 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55168 in the right place. Discard and retry query if response is
55169 larger than input buffer size.
55170
55171 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55172
55173 [BZ #369]
55174 [BZ #2678]
55175 [BZ #3866]
55176 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55177 x for large integer exponent.
55178 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55179 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55180 sign of result as needed afterwards.
55181 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55182 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55183 result for underflowing pow the same as for overflow.
55184 (__kernel_standard_l): Handle powl overflow and underflow here
55185 rather than calling __kernel_standard.
55186 * math/libm-test.inc (pow_test): Add more tests.
55187
55188 [BZ #3868]
55189 [BZ #13879]
55190 [BZ #13910]
55191 [BZ #13911]
55192 [BZ #13912]
55193 [BZ #13913]
55194 [BZ #13915]
55195 [BZ #13916]
55196 [BZ #13917]
55197 [BZ #13918]
55198 [BZ #13919]
55199 [BZ #13920]
55200 [BZ #13921]
55201 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55202 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55203 (__kernel_standard_l): New function.
55204 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55205 __kernel_standard.
55206 * math/w_acosl.c (__acosl): Likewise.
55207 * math/w_asinl.c (__asinl): Likewise.
55208 * math/w_atan2l.c (__atan2l): Likewise.
55209 * math/w_atanhl.c (__atanhl): Likewise.
55210 * math/w_coshl.c (__coshl): Likewise.
55211 * math/w_exp10l.c (__exp10l): Likewise.
55212 * math/w_exp2l.c (__exp2l): Likewise.
55213 * math/w_fmodl.c (__fmodl): Likewise.
55214 * math/w_hypotl.c (__hypotl): Likewise.
55215 * math/w_j0l.c (__j0l, __y0l): Likewise.
55216 * math/w_j1l.c (__j1l, __y1l): Likewise.
55217 * math/w_jnl.c (__jnl, __ynl): Likewise.
55218 * math/w_lgammal.c (__lgammal): Likewise.
55219 * math/w_log10l.c (__log10l): Likewise.
55220 * math/w_log2l.c (__log2l): Likewise.
55221 * math/w_logl.c (__logl): Likewise.
55222 * math/w_powl.c (__powl): Likewise.
55223 * math/w_remainderl.c (__remainderl): Likewise.
55224 * math/w_scalbl.c (sysv_scalbl): Likewise.
55225 * math/w_sinhl.c (__sinhl): Likewise.
55226 * math/w_sqrtl.c (__sqrtl): Likewise.
55227 * math/w_tgammal.c (__tgammal): Likewise.
55228 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55229 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55230 * math/libm-test.inc (acos_test): Add more tests.
55231 (acosh_test): Likewise.
55232 (asin_test): Likewise.
55233 (atanh_test): Likewise.
55234 (exp_test): Likewise.
55235 (exp10_test): Likewise.
55236 (exp2_test): Likewise.
55237 (expm1_test): Likewise.
55238 (lgamma_test): Likewise.
55239 (log_test): Likewise.
55240 (log10_test): Likewise.
55241 (log1p_test): Likewise.
55242 (log2_test): Likewise.
55243 (pow_test): Do not allow some spurious overflow exceptions.
55244 (sqrt_test): Add more tests.
55245 (tgamma_test): Likewise.
55246 (y0_test): Likewise.
55247 (y1_test): Likewise.
55248 (yn_test): Likewise.
55249
55250 2012-03-27 Anton Blanchard <anton@samba.org>
55251
55252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55253 MAP_HUGETLB.
55254 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55256 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55257
55258 2012-03-27 David S. Miller <davem@davemloft.net>
55259
55260 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55261
55262 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55263 have-as-vis3 check.
55264
55265 2012-03-27 Andreas Jaeger <aj@suse.de>
55266
55267 * sysdeps/x86_64/elf/configure.in: Moved to ...
55268 * sysdeps/x86_64/configure.in: ... here.
55269 * sysdeps/x86_64/elf/start.S: Moved to ...
55270 * sysdeps/x86_64/start.S: ... here.
55271 * sysdeps/x86_64/elf/configure: Delete.
55272
55273 * sysdeps/x86_64/configure.in: Merge contents from
55274 sysdeps/i386/configure.in (without i686 check).
55275
55276 * sysdeps/i386/elf/Versions: Merge into ...
55277 * sysdeps/i386/Versions: ... this.
55278 * sysdeps/i386/elf/Versions: Delete file.
55279 * sysdeps/i386/elf/start.S: Moved to ...
55280 * sysdeps/i386/start.S: ...here.
55281 * sysdeps/i386/elf/configure.in: Merge into...
55282 * sysdeps/i386/configure.in: ...here.
55283 * sysdeps/i386/elf/configure.in: Delete file.
55284 * sysdeps/i386/elf/configure: Delete file.
55285
55286 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55287 * debug/backtracesyms.c: ... here.
55288 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55289 * debug/backtracesymsfd.c: ... here.
55290 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55291 * sysdeps/generic/ifunc-sel.h: ... here.
55292
55293 * sysdeps/unix/i386/start.c: Delete file.
55294 * sysdeps/unix/sparc/start.c: Delete file.
55295 * sysdeps/unix/start.c: Delete file.
55296
55297 * sysdeps/sh/elf/configure.in: Moved to ...
55298 * sysdeps/sh/configure.in: ... here.
55299 * sysdeps/sh/elf/start.S: Moved to ...
55300 * sysdeps/sh/start.S: ... here.
55301 * sysdeps/sh/elf/configure: Delete file.
55302
55303 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55304 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55305 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55306 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55307 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55308 * sysdeps/powerpc/powerpc64/start.S: here.
55309 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55310 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55311 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55312 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55313 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55314
55315 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55316 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55317 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55318 * sysdeps/powerpc/powerpc32/start.S: ... here.
55319 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55320 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55321 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55322
55323 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55324 * sysdeps/powerpc/ifunc-sel.h: ... here.
55325 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55326 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55327
55328 * sysdeps/sparc/elf/configure.in: Moved to ...
55329 * sysdeps/sparc/configure.in: ... here.
55330 * sysdeps/sparc/elf/configure: Delete file.
55331 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55332 * sysdeps/sparc/sparc32/start.S: ... here.
55333 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55334 * sysdeps/sparc/sparc64/start.S: ... here.
55335 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55336 * sysdeps/sparc/sparc32/Makefile: ... this.
55337 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55338 * sysdeps/sparc/sparc64/Makefile: ... this.
55339
55340 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55341 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55342 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55343 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55344 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55345 * sysdeps/s390/s390-32/setjmp.S: ... here.
55346 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55347 * sysdeps/s390/s390-32/configure.in: ... here.
55348 * sysdeps/s390/s390-32/elf/configure: Delete file.
55349 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55350 * sysdeps/s390/s390-32/start.S: ... here.
55351
55352 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55353 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55354 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55355 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55356 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55357 * sysdeps/s390/s390-64/setjmp.S: ... here.
55358 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55359 * sysdeps/s390/s390-64/configure.in: ... here
55360 * sysdeps/s390/s390-64/elf/configure: Delete file.
55361 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55362 * sysdeps/s390/s390-64/start.S: ... here.
55363 * sysdeps/s390/s390-64/elf/configure: Delete.
55364
55365 * configure.in: Remove support for elf directories in sysdeps.
55366
55367 * configure: Regenerated.
55368 * sysdeps/i386/configure: Regenerated.
55369 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55370 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55371 * sysdeps/s390/s390-32/configure: Regenerated.
55372 * sysdeps/s390/s390-64/configure: Regenerated.
55373 * sysdeps/sh/configure: Regenerated.
55374 * sysdeps/sparc/configure: Regenerated.
55375 * sysdeps/x86_64/configure: Regenerated.
55376
55377 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55378
55379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55380
55381 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55382 denormal result into account.
55383
55384 2012-03-25 Roland McGrath <roland@hack.frob.com>
55385
55386 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55387 Reported by Allan McRae <allan@archlinux.org>.
55388
55389 2012-03-23 Jeff Law <law@redhat.com>
55390
55391 * nss/getnssent.c (__nss_getent): Fix typo.
55392
55393 2012-03-23 David S. Miller <davem@davemloft.net>
55394
55395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55396
55397 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55398
55399 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55400 to pad to uint64_t for each field.
55401 (dl_tls_index): Replace unsigned long with uint64_t.
55402
55403 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55404 Paul Pluzhnikov <ppluzhnikov@google.com>
55405
55406 [BZ #6528]
55407 * grp/Makefile (otherlibs): Don't set it.
55408 * inet/Makefile (otherlibs): Likewise.
55409 * login/Makefile (otherlibs): Likewise.
55410 * nscd/Makefile (otherlibs): Likewise.
55411 * posix/Makefile (otherlibs): Likewise.
55412 * pwd/Makefile (otherlibs): Likewise.
55413 * rt/Makefile (otherlibs): Likewise.
55414 * sunrpc/Makefile (otherlibs): Likewise.
55415 * nss/Makefile (otherlibs): Likewise.
55416 Add libnss_files to routines and static-only-routines.
55417 ($(objpfx)getent): Remove rule.
55418 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55419 static-only-routines.
55420
55421 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55422
55423 [BZ #13892]
55424 * math/s_cexp.c: Include <float.h>.
55425 (__cexp): Handle exp result overflowing not necessarily
55426 overflowing both real and imaginary parts of result.
55427 * math/s_cexpf.c: Likewise.
55428 * math/s_cexpl.c: Likewise.
55429 * math/libm-test.inc (cexp_test): Add more tests.
55430 * sysdeps/i386/fpu/libm-test-ulps: Update.
55431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55432
55433 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55434
55435 * include/link.h (ELFW): New macro.
55436 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55437 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55438
55439 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55440
55441 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55442 with uint64_t.
55443
55444 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55445
55446 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55447 declaration.
55448 (struct La_x32_retval): Likewise.
55449
55450 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55451
55452 * sysdeps/x86_64/preconfigure.in: New file.
55453 * sysdeps/x86_64/preconfigure: New generated file.
55454
55455 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55456
55457 [BZ #13824]
55458 * math/e_exp2l.c: Include <float.h>.
55459 (__ieee754_exp2l): Handle overflow and underflow cases
55460 separately. Only pass fractional part of argument to
55461 __ieee754_expl.
55462 * math/libm-test.inc (exp2_test): Add more tests.
55463
55464 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55465 negating x to take absolute value.
55466 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55467 Likewise.
55468 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55469 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55470 Likewise.
55471 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55472 computing low part if x was negated.
55473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55474
55475 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55476
55477 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55478 la_x32_gnu_pltexit.
55479 (pltexit): Cast int_retval to ptrdiff_t.
55480 * elf/tst-auditmod3b.c: Likewise.
55481 * elf/tst-auditmod4b.c: Likewise.
55482 * elf/tst-auditmod5b.c: Likewise.
55483 * elf/tst-auditmod6b.c: Likewise.
55484 * elf/tst-auditmod6c.c: Likewise.
55485 * elf/tst-auditmod7b.c: Likewise.
55486
55487 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55488 and x32_gnu_pltexit.
55489
55490 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55491 __ELF_NATIVE_CLASS.
55492 (La_x32_regs): New macro.
55493 (La_x32_retval): Likewise.
55494 (la_x32_gnu_pltenter): New function prototype.
55495 (la_x32_gnu_pltexit): Likewise.
55496
55497 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55498
55499 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55500 exponent.
55501
55502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55503
55504 * configure.in (libc_cv_cc_nofma): Check for option to disable
55505 generation of FMA instructions.
55506 * configure: Regenerate.
55507 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55508 * sysdeps/ieee754/dbl-64/Makefile: New file.
55509 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55510 Remove brandred-fma4.
55511 (CFLAGS-brandred-fma4.c): Remove.
55512 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55513 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55514 define.
55515 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55516 define.
55517
55518 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55519
55520 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55521 LLONG_MAX != LONG_MAX.
55522 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55523 (_fitoa_word): Likewise.
55524 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55525 LLONG_MAX != LONG_MAX.
55526 * stdio-common/_itowa.h: Include <_itoa.h>.
55527 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55528 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55529 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55530 only if not defined.
55531 (_ITOA_WORD_TYPE): Likewise.
55532 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55533 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55534
55535 2012-03-21 David S. Miller <davem@davemloft.net>
55536
55537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55538
55539 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55540
55541 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55542 of x86_64 when setting libc_cv_slibdir, libdir and
55543 libc_cv_localedir.
55544 * sysdeps/unix/sysv/linux/configure: Regenerated.
55545
55546 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55547
55548 * manual/lang.texi (Old Varargs): Remove section.
55549 (How Variadic): Update menu.
55550 (va_start): Do not mention varargs.h.
55551
55552 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55553 Joseph Myers <joseph@codesourcery.com>
55554
55555 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55556 link test.
55557 * configure: Regenerated.
55558
55559 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55560
55561 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55562 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55563 conformtest.pl
55564
55565 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55566
55567 * NOTES: Remove.
55568 * Makefile (files-for-dist): Remove NOTES.
55569 (NOTES): Remove rule.
55570 * README: Don't refer to NOTES.
55571 * manual/creature.texi: Don't include macros.texi.
55572 * manual/intro.texi (creature.texi): Remove comment referring to
55573 NOTES.
55574
55575 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55576 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55577 * configure: Regenerated.
55578 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55579 LIBC_TRY_CC_OPTION.
55580 (libc_cv_as_i686): Likewise.
55581 (libc_cv_cc_avx): Likewise.
55582 (libc_cv_cc_sse2avx): Likewise.
55583 (libc_cv_cc_fma4): Likewise.
55584 (libc_cv_cc_novzeroupper): Likewise.
55585 * sysdeps/i386/configure: Regenerated.
55586
55587 [BZ #13883]
55588 * sysdeps/i386/fpu/s_cexp.S: Remove.
55589 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55590 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55591 * math/libm-test.inc (cexp_test): Add more tests.
55592 * sysdeps/i386/fpu/libm-test-ulps: Update.
55593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55594
55595 2012-03-21 Allan McRae <allan@archlinux.org>
55596
55597 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55598
55599 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55600
55601 [BZ #13871]
55602 * math/w_exp2.c: Do not include <float.h>.
55603 (o_threshold, u_threshold): Remove.
55604 (__exp2): Calculate result before checking finiteness and calling
55605 __kernel_standard.
55606 * math/w_exp2f.c: Likewise.
55607 * math/w_exp2l.c: Likewise.
55608 * math/libm-test.inc (exp2_test): Require overflow exception for
55609 1e6 input.
55610
55611 [BZ #3866]
55612 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55613 range of signed 64-bit integers before using fistpll. Remove
55614 checks for whether integers fit in mantissa bits.
55615 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55616 the range of signed 32-bit integers before using fistpl. Remove
55617 checks for whether integers fit in mantissa bits.
55618 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55619 (__ieee754_powl): Test for y outside the range of signed 64-bit
55620 integers before using fistpll. Reduce 64-bit values to 63-bit
55621 ones as needed.
55622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55623 divide-by-zero is raised for zero to large negative powers.
55624 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55625 (__ieee754_powl): Test for y outside the range of signed 64-bit
55626 integers before using fistpll. Reduce 64-bit values to 63-bit
55627 ones as needed.
55628 * math/libm-test.inc (pow_test): Add more tests.
55629
55630 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55631
55632 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55633 <stdio-common/_itoa.h>.
55634 * debug/segfault.c: Likewise.
55635 * elf/dl-cache.c: Likewise.
55636 * elf/dl-minimal.c: Likewise.
55637 * elf/dl-misc.c: Likewise.
55638 * elf/dl-sysdep.c: Likewise.
55639 * elf/dl-version.c: Likewise.
55640 * elf/rtld.c: Likewise.
55641 * hurd/hurdsock.c: Likewise.
55642 * hurd/lookup-retry.c: Likewise.
55643 * malloc/malloc.c: Likewise.
55644 * malloc/mtrace.c: Likewise.
55645 * nscd/nscd_getgr_r.c: Likewise.
55646 * nscd/nscd_getpw_r.c: Likewise.
55647 * nscd/nscd_getserv_r.c: Likewise.
55648 * posix/getopt_init.c: Likewise.
55649 * posix/wordexp.c: Likewise.
55650 * stdio-common/_itoa.c: Likewise.
55651 * stdio-common/printf_fphex.c: Likewise.
55652 * stdio-common/vfprintf.c: Likewise.
55653 * string/_strerror.c: Likewise.
55654 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55655 * sysdeps/i386/i686/hp-timing.h: Likewise.
55656 * sysdeps/mach/_strerror.c: Likewise.
55657 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55658 * sysdeps/mach/hurd/sethostid.c: Likewise.
55659 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55660 * sysdeps/mach/xpg-strerror.c: Likewise.
55661 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55662 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55663 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55664 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55665 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55666 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55667 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55668 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55669 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55670 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55671 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55672 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55673 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55674 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55675 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55676 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55677 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55678 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55679 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55680 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55681 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55682
55683 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55684
55685 * stdio-common/_itoa.h: Moved to ...
55686 * sysdeps/generic/_itoa.h: Here.
55687
55688 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55689
55690 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55691 instead of "_itoa.h" and "_itowa.h".
55692 * stdio-common/vfprintf.: Likewise.
55693
55694 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55695
55696 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55697 <bits/wordsize.h>.
55698 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55699 (__signbit): Likwise.
55700 (llrintf): Likwise.
55701 (llrint): Likwise.
55702
55703 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55704
55705 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55706 __WORDSIZE != 64.
55707
55708 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55709
55710 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55711 OVERFLOW_EXCEPTION_OK.
55712 * math/libm-test.inc ("Philosophy"): Update comment about
55713 exception testing.
55714 (OVERFLOW_EXCEPTION): Define.
55715 (OVERFLOW_EXCEPTION_OK): Likewise.
55716 (INVALID_EXCEPTION_OK): Renumber.
55717 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55718 (IGNORE_ZERO_INF_SIGN): Likewise.
55719 (test_exceptions): Handle FE_OVERFLOW.
55720 (exp10_test): Expect overflow exceptions.
55721 (exp2_test): Likewise.
55722 (expm1_test): Likewise.
55723 (nextafter_test): Likewise.
55724 (pow_test): Likewise.
55725 (scalbn_test): Likewise.
55726 (scalbln_test): Likewise.
55727
55728 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55729
55730 * sysdeps/x86_64/bits/atomic.h
55731 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55732 64bit integer.
55733 (atomic_exchange_acq): Likewise.
55734 (__arch_exchange_and_add_body): Likewise.
55735 (__arch_add_body): Likewise.
55736 (atomic_add_negative): Likewise.
55737 (atomic_add_zero): Likewise.
55738
55739 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55740
55741 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55742 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55743
55744 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55745
55746 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55747 Check __x86_64__ instead of __WORDSIZE.
55748
55749 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55750
55751 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55752
55753 2012-03-19 David S. Miller <davem@davemloft.net>
55754
55755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55756
55757 * sysdeps/sparc/fpu/fenv_private.h: New file.
55758 * sysdeps/sparc/fpu/math_private.h: Use it.
55759 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55760 Remove.
55761 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55762 (libc_feholdexcept_setroundl): Remove.
55763 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55764 Remove.
55765 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55766 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55767
55768 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55769
55770 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55771 int64_t instead of long int.
55772 (INSERT_WORDS64): Likwise.
55773
55774 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55775
55776 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55777 _Unwind_GetCFA return to _Unwind_Ptr first.
55778
55779 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55780
55781 [BZ #13629]
55782 * math/s_clog.c: Include <float.h>.
55783 (__clog): Scale large or subnormal inputs.
55784 * math/s_clogf.c: Likewise.
55785 * math/s_clogl.c: Likewise.
55786 * math/s_clog10.c: Include <float.h>.
55787 (M_LOG10_2): Define.
55788 (__clog10): Scale large or subnormal inputs.
55789 * math/s_clog10f.c: Likewise.
55790 * math/s_clog10l.c: Likewise.
55791 * math/libm-test.inc (clog_test): Add more tests.
55792 (clog10_test): Likewise.
55793 * sysdeps/i386/fpu/libm-test-ulps: Update.
55794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55795
55796 [BZ #11451]
55797 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55798 x and y.
55799 * math/libm-test.inc (atan2_test): Add another test.
55800
55801 * Makerules (common-objdir-compile): Remove.
55802 * sysdeps/unix/Makefile (config-generated): Do not add
55803 $(unix-generated) to variable.
55804 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55805 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55806 Remove rule.
55807 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55808 Likewise.
55809 [generic bits/local_lim.h] (before-compile): Do not append to
55810 variable.
55811 [generic bits/local_lim.h] (common-generated): Likewise.
55812 [generic sys/param.h] (before-compile): Do not append to variable.
55813 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55814 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55815 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55816 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55817 include.
55818 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55819 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55820 [generic sys/param.h] ($(addprefix
55821 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55822 [generic sys/param.h] (common-generated): Do not append to
55823 variable.
55824 [generic sys/param.h] (sysdep_headers): Likewise.
55825 [generic bits/errno.h] (before-compile): Do not append to
55826 variable.
55827 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55828 rule.
55829 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55830 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55831 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55832 [generic bits/errno.h] (common-generated): Do not append to
55833 variable.
55834 [generic bits/ioctls.h] (before-compile): Do not append to
55835 variable.
55836 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55837 rule.
55838 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55839 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55840 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55841 rule.
55842 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55843 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55844 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55845 [generic bits/ioctls.h] (common-generated): Do not append to
55846 variable.
55847 [generic sys/syscall.h] (syscall.h): Remove variable.
55848 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55849 rule.
55850 [generic sys/syscall.h] (before-compile): Do not append to
55851 variable.
55852 [generic sys/syscall.h] (common-generated): Likewise.
55853 * sysdeps/unix/errnos-tmpl.c: Remove file.
55854 * sysdeps/unix/errnos.awk: Likewise.
55855 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55856 * sysdeps/unix/ioctls.awk: Likewise.
55857 * sysdeps/unix/mk-local_lim.c: Likewise.
55858 * sysdeps/unix/snarf-ioctls: Likewise.
55859
55860 2012-03-19 Richard Henderson <rth@twiddle.net>
55861
55862 * sysdeps/i386/fpu/fenv_private.h: New file.
55863 * sysdeps/i386/fpu/math_private.h: Use it.
55864 (math_opt_barrier, math_force_eval): Remove.
55865 (libc_feholdexcept_setround_53bit): Remove.
55866 (libc_feupdateenv_53bit): Remove.
55867 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55868 (math_opt_barrier, math_force_eval): Remove.
55869 (libc_feholdexcept): Remove.
55870 (libc_feholdexcept_setround): Remove.
55871 (libc_fetestexcept, libc_fesetenv): Remove.
55872 (libc_feupdateenv_test): Remove.
55873 (libc_feupdateenv, libc_feholdsetround): Remove.
55874 (libc_feresetround): Remove.
55875
55876 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55877 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55878
55879 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55880 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55881 (libc_feupdateenv_testl): New.
55882 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55883 (libc_feupdateenv_testf): New.
55884 (libc_feupdateenv): Use libc_feupdateenv_test.
55885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55886 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55887
55888 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55889 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55890 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55891 (libc_feresetround_noex): New.
55892 (libc_feresetround_noexf): New.
55893 (libc_feresetround_noexl): New.
55894 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55895 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55896 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55897 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55898 SET_RESTORE_ROUND.
55899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55900 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55901 (__cos): Likewise.
55902 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55903 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55904 SET_RESTORE_ROUND_NOEX.
55905 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55906 SET_RESTORE_ROUND_NOEXF.
55907 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55908 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55909 (libc_feholdsetroundf): New.
55910 (libc_feresetround, libc_feresetroundf): New.
55911
55912 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55913 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55914 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55915
55916 * sysdeps/generic/math_private.h: Include <fenv.h>.
55917 (default_libc_feholdexcept): New.
55918 (default_libc_feholdexcept_setround): New.
55919 (default_libc_fesetenv, default_libc_feupdateenv): New.
55920 (libc_feholdexcept): Only define if undefined.
55921 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55922 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55923 (libc_feholdexcept_setroundl): Likewise.
55924 (libc_feholdexcept_setround_53bit): Likewise.
55925 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55926 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55927 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55928 (libc_feupdateenv_53bit): Likewise.
55929 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55930 (libc_feholdexcept): Convert from macro to inline function.
55931 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55932 (libc_fesetenv, libc_feupdateenv): Likewise.
55933
55934 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55935 not previously defined.
55936 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55937 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55938 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55939 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55940 * sysdeps/ieee754/flt-32/math_private.h: New file.
55941 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55942 math_private.h below SET_FLOAT_WORD.
55943 (__isnan, __isinf_ns, __finite): Remove.
55944 (__isnanf, __isinf_nsf, __finitef): Remove.
55945
55946 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55947
55948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55949
55950 2012-03-17 David S. Miller <davem@davemloft.net>
55951
55952 [BZ #6471]
55953 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55954 for 2.16.
55955
55956 2012-03-16 David S. Miller <davem@davemloft.net>
55957
55958 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55959 warnings.
55960
55961 [BZ #6471]
55962 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55963 properly.
55964 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55965 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55966 sysdep_routines when subdir is sysvipc.
55967 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55968 __getshmlba helper.
55969
55970 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55971
55972 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55973
55974 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55975 [__LP64__].
55976
55977 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55978
55979 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55980 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55981 (__lround): Renamed to ...
55982 (__llround): This. Replace long int with long long int.
55983 Define lround functions as aliases of llround functions.
55984 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55985
55986 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55987
55988 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55989 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55990 adresses to uintptr_t. Replace "long int" and "unsigned long
55991 int" with "greg_t" on va_arg.
55992
55993 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55994
55995 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55996 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55997
55998 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55999 Move e_machine check before EI_CLASS check. Handle x32
56000 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56001 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56002 SKIP_EM_IA_64 and include
56003 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56004
56005 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56006 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56007 (add_system_dir): New macro.
56008
56009 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56010 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56011
56012 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56013
56014 [BZ #2551]
56015 [BZ #2552]
56016 [BZ #2553]
56017 [BZ #2554]
56018 [BZ #2562]
56019 [BZ #2563]
56020 [BZ #2565]
56021 [BZ #2566]
56022 [BZ #2576]
56023 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56024 (y0): Likewise.
56025 * math/w_j0f.c (j0f): Likewise.
56026 (y0f): Likewise.
56027 * math/w_j0l.c (__j0l): Likewise.
56028 (__y0l): Likewise.
56029 * math/w_j1.c (j1): Likewise.
56030 (y1): Likewise.
56031 * math/w_j1f.c (j1f): Likewise.
56032 (y1f): Likewise.
56033 * math/w_j1l.c (__j1l): Likewise.
56034 (__y1l): Likewise.
56035 * math/w_jn.c (jn): Likewise.
56036 (yn): Likewise.
56037 * math/w_jnf.c (jnf): Likewise.
56038 (ynf): Likewise.
56039 * math/w_jnl.c (__jnl): Likewise.
56040 (__ynl): Likewise.
56041 * math/libm-test.inc (j0_test): Add more tests.
56042 (j1_test): Likewise.
56043 (jn_test): Likewise. Add trailing semicolon to existing test.
56044 (y0_test): Likewise.
56045 (y1_test): Likewise.
56046 * sysdeps/i386/fpu/libm-test-ulps: Update.
56047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56048
56049 [BZ #13851]
56050 [BZ #13854]
56051 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56052 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56053 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56054 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56055 (__tanl): Set errno for infinite argument.
56056 * sysdeps/i386/fpu/mptan.c: Remove.
56057 * sysdeps/i386/fpu/s_tan.S: Likewise.
56058 * sysdeps/i386/fpu/s_tanl.S: Likewise.
56059 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56060 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56061 * math/libm-test.inc (tan_test): Add more tests and enable more
56062 tests for double and long double.
56063 * sysdeps/i386/fpu/libm-test-ulps: Update.
56064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56065
56066 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
56067
56068 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56069 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56070
56071 2012-03-16 Roland McGrath <roland@hack.frob.com>
56072
56073 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56074 * configure.in: Use it for both main tree and add-ons.
56075 * configure: Regenerated.
56076
56077 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56078
56079 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56080
56081 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56082
56083 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56084 in comment.
56085
56086 [BZ #13851]
56087 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56088 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56089 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56090 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56091 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56092 infinite argument.
56093 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56095 != 0 for prec == 2.
56096 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56097 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56098 * sysdeps/i386/fpu/s_cosl.S: Likewise.
56099 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56100 * sysdeps/i386/fpu/s_sinl.S: Likewise.
56101 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56102 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56103 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56104 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56105 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56106 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56107 * math/libm-test.inc (cos_test): Add more tests and enable more
56108 tests for long double.
56109 (sin_test): Likewise.
56110 (sincos_test): Likewise.
56111 * sysdeps/i386/fpu/libm-test-ulps: Update.
56112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56113
56114 2012-03-16 David S. Miller <davem@davemloft.net>
56115
56116 * sysdeps/sparc/fpu/math_private.h: New file.
56117
56118 2012-03-15 David S. Miller <davem@davemloft.net>
56119
56120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56121 file.
56122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56124 file.
56125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56131 sysdep routines.
56132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56133
56134 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56135 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56136
56137 * sysdeps/sparc/sparc-ifunc.h: New file.
56138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56139 sparc-ifunc.h
56140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56142 Likewise.
56143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56144 Likewise.
56145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56149 Likewise.
56150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56155 Likewise.
56156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56157 Likewise.
56158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56182
56183 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56184
56185 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56186 scaling.
56187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56188
56189 2012-03-15 Andreas Jaeger <aj@suse.de>
56190
56191 [BZ #13852]
56192 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56193 ieee754/flt-32 implementation for sin, cos and sincos.
56194 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56195 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56196 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56197 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56198 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56199 ieee754/flt-32 implementation for tan.
56200
56201 * math/libm-test.inc (cos_test): Enable some large input tests for
56202 float as well
56203 (sin_test): Likewise.
56204 (sincos_test): Likewise.
56205 (tan_test): Add tests for large input.
56206
56207 * sysdeps/i386/fpu/libm-test-ulps: Update.
56208
56209 2012-03-15 Andreas Jaeger <aj@suse.de>
56210
56211 [BZ #13658]
56212 * math/libm-test.inc (cos_test): Add more test cases.
56213 (sin_test): Likewise.
56214 (sincos_test): Likewise.
56215
56216 2012-03-15 Andreas Jaeger <aj@suse.de>
56217
56218 [BZ #13837]
56219 * math/libm-test.inc (cos_test): Add a test case for large input
56220 value.
56221 (sin_test): Likewise.
56222 (sincos_test): Likewise.
56223
56224 2012-03-15 Andreas Jaeger <aj@suse.de>
56225 Joseph Myers <joseph@codesourcery.com>
56226
56227 [BZ #13658]
56228 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56229 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56230 * sysdeps/i386/fpu/branred.c: Likewise.
56231 * sysdeps/i386/fpu/dosincos.c: Likewise.
56232 * sysdeps/i386/fpu/mpa.c: Likewise.
56233 * sysdeps/i386/fpu/s_cos.S: Likewise.
56234 * sysdeps/i386/fpu/s_sin.S: Likewise.
56235 * sysdeps/i386/fpu/s_sincos.S: Likewise.
56236 * sysdeps/i386/fpu/sincos32.c: Likewise.
56237
56238 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56239 Define.
56240 (libc_feupdateenv_53bit): Define.
56241 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56242 Define.
56243 (libc_feupdateenv_53bit): Define.
56244
56245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56246 53 bit (without extend i386 double precision).
56247
56248 * math/libm-test.inc (sincos_test): Add tests for large input.
56249 (sin): Likewise.
56250 (cos): Likewise.
56251
56252 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56253
56254 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56255
56256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56257
56258 2012-03-15 David S. Miller <davem@davemloft.net>
56259
56260 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56261 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56262 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56263 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56276 file.
56277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56279 file.
56280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56282 file.
56283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56285 file.
56286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56288 fmin/fmax sysdep routines.
56289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56290
56291 2012-03-14 David S. Miller <davem@davemloft.net>
56292
56293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56315 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56316 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56317 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56318 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56322 routines.
56323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56324 file.
56325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56327 file.
56328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56330 file.
56331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56333 file.
56334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56336 file.
56337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56339 file.
56340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56341 file.
56342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56343 file.
56344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56345 file.
56346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56347 New file.
56348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56349 file.
56350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56351 file.
56352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56354 file.
56355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56357 file.
56358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56360 file.
56361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56363 VIS3 routines.
56364
56365 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56366 New file.
56367
56368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56369
56370 * sysdeps/sparc/configure.in: New file.
56371 * sysdeps/sparc/configure: Generate.
56372 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56373 * configure: Regenerate.
56374 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56375 * config.make.in (have-as-vis3): New.
56376 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56377 available use -Av9d instead of -Av9a.
56378 * sysdeps/sparc/sparc64/Makefile: Likewise.
56379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56381 New file.
56382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56383 file.
56384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56385 New file.
56386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56387 file.
56388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56393
56394 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56395 fzeros/fnegs to load 0x80000000 into a float register instead of
56396 using the stack.
56397 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56398
56399 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56400
56401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56402 bits/syscall.h.
56403 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56404 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56405 ($(inst_includedir)/bits/syscall.h): Remove rule.
56406 ($(objpfx)bits/syscall.d): Include instead of
56407 $(objpfx)syscall-list.d.
56408 (generated): Change syscall-list.h and syscall-list.d to
56409 bits/syscall.h and bits/syscall.d.
56410
56411 2012-03-14 Roland McGrath <roland@hack.frob.com>
56412
56413 [BZ #13846]
56414 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56415
56416 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56417
56418 [BZ #13841]
56419 * math/s_csqrt.c: Include <float.h>.
56420 (__csqrt): Scale large or subnormal inputs.
56421 * math/s_csqrtf.c: Likewise.
56422 * math/s_csqrtl.c: Likewise.
56423 * math/libm-test.inc (csqrt_test): Add more tests.
56424 * sysdeps/i386/fpu/libm-test-ulps: Update.
56425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56426
56427 [BZ #13840]
56428 * math/libm-test.inc (hypot_test): Add more tests.
56429
56430 2012-03-13 David S. Miller <davem@davemloft.net>
56431
56432 [BZ #13840]
56433 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56434 double-precision for the calculation instead of scaling.
56435
56436 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56437
56438 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56439 manipulate bits before adding and subtracting TWO52[sx].
56440 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56441 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56442 Likewise.
56443 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56444
56445 2012-03-13 David S. Miller <davem@davemloft.net>
56446
56447 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56448 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56450 rtld-global-offsets.h
56451 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56452
56453 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56454 large parameters.
56455
56456 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56457
56458 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56459 'err' in the ifdef scope in which it is actually used.
56460
56461 * nss/nss_db/db-init.c: Include string.h
56462
56463 2012-03-12 David S. Miller <davem@davemloft.net>
56464
56465 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56466 masking out of the most significant byte of random value used.
56467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56468 Fix coding style in previous change.
56469
56470 * sysdeps/unix/sysv/linux/kernel-features.h
56471 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56472 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56473 expression.
56474 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56475 later.
56476
56477 2012-03-11 David S. Miller <davem@davemloft.net>
56478
56479 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56480 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56482 for 'resultvar' otherwise things get truncated on 64-bit.
56483
56484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56485 Fix masking out of the most significant byte of random value used.
56486
56487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56488
56489 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56490
56491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56492
56493 2012-03-09 David S. Miller <davem@davemloft.net>
56494
56495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56496 variables with appropriate CPP guards.
56497 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56498 from the frame pointer, not the stack pointer. Correct layout
56499 comments. Fix test on resulting framesize and the management of
56500 the outregs buffer for pltexit. Preserve floating point return
56501 values across _dl_call_pltexit call.
56502 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56503 framesize and the management of the outregs buffer for pltexit.
56504 Preserve floating point return values across _dl_call_pltexit
56505 call.
56506 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56507 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56508 (la_sparc64_gnu_pltexit): New functions.
56509 (print_exit): Fix format string for return register value.
56510
56511 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56512
56513 * sunrpc/Makefile (others): Add rpcgen.
56514 ($(objpfx)rpcgen): Remove special build rule and dependency on
56515 libc.
56516 * sunrpc/rpcgen.c: New file.
56517
56518 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56519
56520 [BZ #13673]
56521 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56522 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56523 * sysdeps/i386/crti.S: Likewise.
56524 * sysdeps/i386/crtn.S: Likewise.
56525 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56526 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56527 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56528 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56529 * sysdeps/sh/crti.S: Likewise.
56530 * sysdeps/sh/crtn.S: Likewise.
56531 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56532
56533 [BZ #13673]
56534 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56535 with URL.
56536 * locale/programs/locfile-kw.gperf: Likewise.
56537 * locale/programs/charmap-kw.h: Regenerated.
56538 * locale/programs/locfile-kw.h: Likewise.
56539
56540 [BZ #13673]
56541 * intl/plural.y: Replace FSF snail mail address with URL.
56542 * intl/plural.c: Regenerated.
56543
56544 2012-03-09 Richard Henderson <rth@twiddle.net>
56545
56546 * include/math_private.h: Remove file.
56547 * math/math_private.h: Move file ...
56548 * sysdeps/generic/math_private.h: ... here.
56549
56550 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56551 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56552 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56553
56554 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56555 and <math_private.h>.
56556 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56557 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56558 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56559 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56560 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56561 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56562 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56564 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56565 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56567 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56568 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56570 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56571 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56572 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56573 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56574 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56575 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56577 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56578 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56581 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56582 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56583 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56586 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56587 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56588 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56589 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56590 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56591 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56592 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56593 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56594 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56595 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56596 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56597 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56598 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56599 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56600 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56601 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56602 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56603 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56604 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56605 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56606 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56607 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56608 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56609 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56610 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56611 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56612 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56613 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56614 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56615 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56616 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56617 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56619 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56620 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56621 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56622 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56623 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56624 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56625 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56626 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56627 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56628 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56629 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56630 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56635 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56636 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56637 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56638 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56639 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56640 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56643 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56644 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56645 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56646 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56647 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56649 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56650 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56651 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56652 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56653 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56654 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56655 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56656 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56657 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56658 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56659 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56660 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56661 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56662 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56663 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56664 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56665 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56666 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56667 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56668 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56669 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56670 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56671 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56672 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56673 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56674 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56675 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56676 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56677 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56678 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56679 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56680 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56681 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56682 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56683 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56684 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56685 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56686 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56687 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56688 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56689 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56690 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56691 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56692 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56693 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56694 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56695 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56696 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56697 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56698 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56699 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56700 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56701 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56702 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56703 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56704 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56705 * sysdeps/ieee754/k_standard.c: Likewise.
56706 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56707 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56708 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56709 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56710 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56711 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56712 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56713 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56714 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56715 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56716 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56718 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56719 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56720 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56721 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56722 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56723 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56724 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56725 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56726 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56727 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56728 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56729 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56730 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56731 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56732 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56733 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56734 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56735 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56736 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56737 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56738 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56739 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56740 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56741 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56742 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56743 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56744 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56745 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56746 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56747 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56748 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56749 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56750 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56751 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56752 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56753 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56754 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56755 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56756 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56757 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56758 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56759 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56762 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56763 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56764 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56765 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56766 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56767 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56768 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56772 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56778 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56780 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56782 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56783 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56784 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56785 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56786 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56787 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56788 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56789 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56790 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56791 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56792 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56793 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56794 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56796 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56797 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56798 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56799 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56800 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56801 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56802 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56803 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56804 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56805 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56807 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56810 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56811 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56812 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56813 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56814 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56815 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56816 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56817 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56818 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56819 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56820 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56821 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56822 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56823 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56824 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56825 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56826 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56827 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56828 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56829 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56830 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56831 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56832 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56834 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56835 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56836 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56837 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56838 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56839 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56840 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56841 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56842 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56843 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56844 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56845 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56846 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56847 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56848 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56849 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56850 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56851 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56852 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56855 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56856 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56857 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56858 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56860 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56861 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56862 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56863 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56864 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56865 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56866 * sysdeps/ieee754/s_lib_version.c: Likewise.
56867 * sysdeps/ieee754/s_matherr.c: Likewise.
56868 * sysdeps/ieee754/s_signgam.c: Likewise.
56869 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56870 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56871 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56872 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56873 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56874 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56875 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56876 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56877 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56878 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56879 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56880 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56881 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56882 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56883 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56884 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56886 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56890
56891 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56892
56893 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56894 * sunrpc/rpc_main.c: Likewise.
56895 * sunrpc/rpc_svcout.c: Likewise.
56896
56897 2012-03-09 David S. Miller <davem@davemloft.net>
56898
56899 * include/math_private.h: New file.
56900
56901 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56902
56903 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56904 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56905 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56906 from <bits/socket_type.h>.
56907 (enum __socket_type): Don't define here.
56908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56910 bits/socket_type.h.
56911
56912 [BZ #13566]
56913 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56914 checking __USE_GNU.
56915
56916 * Makerules ($(inst_includedir)/%.h): New rule.
56917 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56918 (install-others): Remove variable setting.
56919 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56920
56921 2012-03-08 Richard Henderson <rth@twiddle.net>
56922
56923 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56924 from macro to inline function; merge with the
56925 !__LIBC_INTERNAL_MATH_INLINES version.
56926 (__ieee754_sqrtf): Likewise.
56927
56928 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56929 to inline function.
56930 (__rintf, __floor, __floorf): Likewise.
56931
56932 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56933 macro to inline function.
56934 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56935
56936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56937 not <math/math_private.h>.
56938
56939 2012-03-08 David S. Miller <davem@davemloft.net>
56940
56941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56942 copyright year.
56943 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56944
56945 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56946
56947 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56948 normalization.
56949 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56950 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56951
56952 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56953
56954 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56955 be defined individually, they must be defined as a block. Define
56956 S for printing a string instead of hidint the different by using a
56957 macro for adding the 'l'.
56958 * stdio-common/tst-fphex-wide.c: Adjust.
56959
56960 2012-03-07 Marek Polacek <polacek@redhat.com>
56961
56962 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56963
56964 2012-03-08 Marek Polacek <polacek@redhat.com>
56965
56966 [BZ #13806]
56967 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56968 * stdio-common/tst-fphex.c: Define a few macros to make the
56969 test reusable. Use them.
56970 * stdio-common/tst-fphex-wide.c: New file.
56971
56972 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56973
56974 [BZ #6911]
56975 * manual/macros.texi (gnusystems): New macro.
56976 (nongnusystems): Likewise.
56977 (gnulinuxhurdsystems): Likewise.
56978 (gnuhurdsystems): Likewise..
56979 (gnulinuxsystems): Likewise.
56980 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56981 variants of the GNU system, not "GNU system".
56982 * manual/conf.texi: Likewise.
56983 * manual/errno.texi: Likewise. Update example of errno macro
56984 expansion.
56985 * manual/filesys.texi: Likewise.
56986 (getumask): Document as specific to GNU/Hurd.
56987 * manual/install.texi: Likewise. Reword some references to
56988 GNU/Linux.
56989 * manual/intro.texi: Likewise.
56990 * manual/io.texi: Likewise.
56991 (File Name Portability): Detail which constraints are inapplicable
56992 to all GNU systems and which are only inapplicable to GNU/Hurd.
56993 * manual/job.texi: Likewise.
56994 * manual/llio.texi: Likewise.
56995 (O_NOCTTY): Document as present on GNU/Linux.
56996 * manual/maint.texi: Likewise.
56997 * manual/memory.texi: Likewise.
56998 * manual/pattern.texi: Likewise.
56999 * manual/pipe.texi: Likewise.
57000 * manual/process.texi: Likewise.
57001 * manual/resource.texi: Likewise.
57002 (RUSAGE_CHILDREN): Remove statement about specifying a particular
57003 child on GNU/Hurd.
57004 * manual/setjmp.texi: Likewise.
57005 * manual/signal.texi: Likewise.
57006 * manual/startup.texi: Likewise.
57007 * manual/stdio.texi: Likewise.
57008 * manual/terminal.texi: Likewise.
57009 (ONLCR): Document as POSIX.
57010 (OXTABS): Document availability on GNU/Linux as XTABS.
57011 (ONOEOT): Document availability separately from other bits.
57012 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57013 * manual/time.texi: Likewise.
57014 * manual/users.texi: Likewise.
57015 * INSTALL: Regenerated.
57016 * sysdeps/gnu/errlist.c: Regenerated.
57017
57018 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57019 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57020 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
57021 puts.
57022 * configure: Regenerated.
57023
57024 2012-03-07 Joseph Myers <joseph@codesourcery.com>
57025
57026 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57027 default includes instead of AC_HEADER_CHECK.
57028 * sysdeps/i386/configure: Regenerated.
57029
57030 [BZ #10716]
57031 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57032 * math/s_cacoshf.c (__cacoshf): Likewise.
57033 * math/s_cacoshl.c (__cacoshl): Likewise.
57034 * math/s_casinh.c (__casinh): Set signs of result from argument.
57035 * math/s_casinhf.c (__casinhf): Likewise.
57036 * math/s_casinhl.c (__casinhl): Likewise.
57037 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57038 (casinh_test): Add more tests.
57039 * sysdeps/i386/fpu/libm-test-ulps: Update.
57040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57041
57042 2012-03-07 Ulrich Drepper <drepper@gmail.com>
57043
57044 * po/zh_TW.po: Update from translation team.
57045
57046 * login/Makefile (distribute): Remove variable.
57047 * catgets/Makefile: Likewise.
57048 * mach/Makefile: Likewise.
57049 * malloc/Makefile: Likewise.
57050 * misc/Makefile: Likewise.
57051 * iconv/Makefile: Likewise.
57052 * nscd/Makefile: Likewise.
57053 * hurd/Makefile: Likewise.
57054 * manual/Makefile: Likewise.
57055 * locale/Makefile: Likewise.
57056 * intl/Makefile: Likewise.
57057 * conform/Makefile: Likewise.
57058 * nss/Makefile: Likewise.
57059 * time/Makefile: Likewise.
57060 * soft-fp/Makefile: Likewise.
57061 * dirent/Makefile: Likewise.
57062 * gmon/Makefile: Likewise.
57063 * po/Makefile: Likewise.
57064 * rt/Makefile: Likewise.
57065 * socket/Makefile: Likewise.
57066 * math/Makefile: Likewise.
57067 * signal/Makefile: Likewise.
57068 * debug/Makefile: Likewise.
57069 * elf/Makefile: Likewise.
57070 * timezone/Makefile: Likewise.
57071 * stdlib/Makefile: Likewise.
57072 * iconvdata/Makefile: Likewise.
57073 * sunrpc/Makefile: Likewise.
57074 * io/Makefile: Likewise.
57075 * argp/Makefile: Likewise.
57076 * inet/Makefile: Likewise.
57077 * hesiod/Makefile: Likewise.
57078 * grp/Makefile: Likewise.
57079 * csu/Makefile: Likewise.
57080 * wctype/Makefile: Likewise.
57081 * crypt/Makefile: Likewise.
57082 * libio/Makefile: Likewise.
57083 * string/Makefile: Likewise.
57084 * nis/Makefile: Likewise.
57085 * resolv/Makefile: Likewise.
57086 * stdio-common/Makefile: Likewise.
57087 * wcsmbs/Makefile: Likewise.
57088 * dlfcn/Makefile: Likewise.
57089 * posix/Makefile: Likewise.
57090
57091 [BZ #6959]
57092 * timezone/Makefile: Don't install timezone files, just the programs
57093 and scripts.
57094
57095 2012-03-06 Ulrich Drepper <drepper@gmail.com>
57096
57097 * nss/databases.def: Add missing gshadow entry.
57098
57099 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
57100
57101 2012-03-06 Marek Polacek <polacek@redhat.com>
57102
57103 [BZ #13726]
57104 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57105 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57106 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57107 * stdio-common/tst-long-dbl-fphex.c: New file.
57108
57109 2012-03-06 David S. Miller <davem@davemloft.net>
57110
57111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57112 (set_obp_int): New function.
57113 (get_obp_int): New function.
57114 (__get_clockfreq_via_dev_openprom): Likewise.
57115 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57116 Avoid unused variable warnings on 'val' and use builtin_expect.
57117 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57118 __builtin_expect.
57119 (INLINE_CLONE_SYSCALL): Likewise.
57120
57121 2012-03-05 David S. Miller <davem@davemloft.net>
57122
57123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57124
57125 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
57126
57127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57128
57129 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57130 only for |x| >= 40.
57131 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57132
57133 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57134
57135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57136 Replace gettimeofday with __vdso_gettimeofday.
57137
57138 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57139 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57140 __vdso_clock_gettime and __vdso_getcpu.
57141
57142 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57143 time with __vdso_time.
57144
57145 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57146
57147 * manual/lang.texi (size_t): Note types to which size_t may be
57148 equivalent with the GNU C Library, but do not describe when
57149 differences between them are significant.
57150
57151 2012-03-05 Andreas Jaeger <aj@suse.de>
57152
57153 * sysdeps/i386/fpu/libm-test-ulps: Update.
57154
57155 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57156
57157 [BZ #3976]
57158 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57159 (__ieee754_pow): Save and restore rounding mode and use
57160 round-to-nearest for main computations.
57161 * math/libm-test.inc (pow_test_tonearest): New function.
57162 (pow_test_towardzero): Likewise.
57163 (pow_test_downward): Likewise.
57164 (pow_test_upward): Likewise.
57165 (main): Call the new functions.
57166 * sysdeps/i386/fpu/libm-test-ulps: Update.
57167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57168
57169 [BZ #3976]
57170 * math/libm-test.inc (cosh_test_tonearest): New function.
57171 (cosh_test_towardzero): Likewise.
57172 (cosh_test_downward): Likewise.
57173 (cosh_test_upward): Likewise.
57174 (sinh_test_tonearest): Likewise.
57175 (sinh_test_towardzero): Likewise.
57176 (sinh_test_downward): Likewise.
57177 (sinh_test_upward): Likewise.
57178 (main): Call the new functions.
57179 * sysdeps/i386/fpu/libm-test-ulps: Update.
57180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57181
57182 2012-03-05 Tom de Vries <tom@codesourcery.com>
57183
57184 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57185 default stack guard is set in last bytes.
57186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57187
57188 2012-03-05 Kees Cook <keescook@chromium.org>
57189
57190 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57191
57192 [BZ #13656]
57193 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57194 possibly allocate from heap instead of stack.
57195 * stdio-common/bug-vfprintf-nargs.c: New file.
57196 * stdio-common/Makefile (tests): Add nargs overflow test.
57197
57198 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57199
57200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57201
57202 2012-03-03 Marek Polacek <polacek@redhat.com>
57203
57204 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57205 * math/math_private.h: Likewise.
57206 * stdlib/tst-strtod.c: Likewise.
57207 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57208 * sysdeps/x86_64/bits/atomic.h: Likewise.
57209
57210 2012-03-02 David S. Miller <davem@davemloft.net>
57211
57212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57216 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57217 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57218 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57219 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57220
57221 2012-03-02 Roland McGrath <roland@hack.frob.com>
57222
57223 [BZ #13792]
57224 * manual/examples/README: New file, says the example source files
57225 can be used under GPL>=2.
57226 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57227 line containing just "*/".
57228 * manual/examples/add.c: Add copyright header (GPL>=2).
57229 * manual/examples/argp-ex1.c: Likewise.
57230 * manual/examples/argp-ex2.c: Likewise.
57231 * manual/examples/argp-ex3.c: Likewise.
57232 * manual/examples/argp-ex4.c: Likewise.
57233 * manual/examples/atexit.c: Likewise.
57234 * manual/examples/db.c: Likewise.
57235 * manual/examples/dir.c: Likewise.
57236 * manual/examples/dir2.c: Likewise.
57237 * manual/examples/execinfo.c: Likewise.
57238 * manual/examples/filecli.c: Likewise.
57239 * manual/examples/filesrv.c: Likewise.
57240 * manual/examples/fmtmsgexpl.c: Likewise.
57241 * manual/examples/genpass.c: Likewise.
57242 * manual/examples/inetcli.c: Likewise.
57243 * manual/examples/inetsrv.c: Likewise.
57244 * manual/examples/isockad.c: Likewise.
57245 * manual/examples/longopt.c: Likewise.
57246 * manual/examples/memopen.c: Likewise.
57247 * manual/examples/memstrm.c: Likewise.
57248 * manual/examples/mkfsock.c: Likewise.
57249 * manual/examples/mkisock.c: Likewise.
57250 * manual/examples/mygetpass.c: Likewise.
57251 * manual/examples/pipe.c: Likewise.
57252 * manual/examples/popen.c: Likewise.
57253 * manual/examples/rprintf.c: Likewise.
57254 * manual/examples/search.c: Likewise.
57255 * manual/examples/select.c: Likewise.
57256 * manual/examples/setjmp.c: Likewise.
57257 * manual/examples/sigh1.c: Likewise.
57258 * manual/examples/sigusr.c: Likewise.
57259 * manual/examples/stpcpy.c: Likewise.
57260 * manual/examples/strdupa.c: Likewise.
57261 * manual/examples/strftim.c: Likewise.
57262 * manual/examples/strncat.c: Likewise.
57263 * manual/examples/subopt.c: Likewise.
57264 * manual/examples/swapcontext.c: Likewise.
57265 * manual/examples/termios.c: Likewise.
57266 * manual/examples/testopt.c: Likewise.
57267 * manual/examples/testpass.c: Likewise.
57268 * manual/examples/timeval_subtract.c: Likewise.
57269
57270 [BZ #13792]
57271 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57272 function to ...
57273 * manual/timeval_subtract.c.texi: ... here, new file.
57274
57275 2012-03-02 David S. Miller <davem@davemloft.net>
57276
57277 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57278
57279 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57280
57281 [BZ #3976]
57282 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57283 (__sin): Save and restore rounding mode and use round-to-nearest
57284 for all computations.
57285 (__cos): Save and restore rounding mode and use round-to-nearest
57286 for all computations.
57287 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57288 <fenv.h>.
57289 (tan): Save and restore rounding mode and use round-to-nearest for
57290 all computations.
57291 * math/libm-test.inc (cos_test_tonearest): New function.
57292 (cos_test_towardzero): Likewise.
57293 (cos_test_downward): Likewise.
57294 (cos_test_upward): Likewise.
57295 (sin_test_tonearest): Likewise.
57296 (sin_test_towardzero): Likewise.
57297 (sin_test_downward): Likewise.
57298 (sin_test_upward): Likewise.
57299 (tan_test_tonearest): Likewise.
57300 (tan_test_towardzero): Likewise.
57301 (tan_test_downward): Likewise.
57302 (tan_test_upward): Likewise.
57303 (main): Call the new functions.
57304 * sysdeps/i386/fpu/libm-test-ulps: Update.
57305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57306
57307 [BZ #10135]
57308 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57309 small n, then large n, before computing and testing k+n.
57310 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57312 Likewise.
57313 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57314 Likewise.
57315 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57316 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57317 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57318 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57319 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57320 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57321 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57322 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57323 * math/libm-test.inc (scalbn_test): Add more tests.
57324 (scalbln_test): Likewise.
57325
57326 * manual/filesys.texi (mode_t): Describe constraints on size and
57327 signedness, not exact equivalence to a particular type.
57328 (ino_t): Likewise.
57329 (ino64_t): Likewise.
57330 (dev_t): Likewise.
57331 (nlink_t): Likewise.
57332 (blkcnt_t): Likewise.
57333 (blkcnt64_t): Likewise.
57334 * manual/llio.texi (off_t): Likewise.
57335
57336 [BZ #3976]
57337 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57338 (__ieee754_exp): Save and restore rounding mode and use
57339 round-to-nearest for all computations.
57340 * math/libm-test.inc (exp_test_tonearest): New function.
57341 (exp_test_towardzero): Likewise.
57342 (exp_test_downward): Likewise.
57343 (exp_test_upward): Likewise.
57344 (main): Call the new functions.
57345 * sysdeps/i386/fpu/libm-test-ulps: Update.
57346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57347
57348 2012-03-01 Chris Demetriou <cgd@google.com>
57349
57350 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57351 have predictable order.
57352
57353 2012-03-01 David S. Miller <davem@davemloft.net>
57354
57355 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57356
57357 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57358 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57359 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57360 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57361
57362 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57363 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57364 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57366 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57367 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57368 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57369 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57370 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57371
57372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57373
57374 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57375 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57376 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57377
57378 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57379 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57380 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57381 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57382 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57383 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57385 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57386 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57387 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57388 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57390 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57391 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57392 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57394 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57395 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57396 * sysdeps/sparc/elf/configure: Regenerated.
57397
57398 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57399
57400 * configure.in (AS, LD): Require binutils 2.20 or later.
57401 * configure: Regenerated.
57402 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57403 as required minimum version.
57404 * INSTALL: Regenerated.
57405
57406 [BZ #2541]
57407 [BZ #4108]
57408 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57409 before squaring exponent.
57410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57411 bottom long double and 27 bits of top long double before squaring
57412 exponent.
57413 * math/libm-test.inc (erfc_test): Add more tests.
57414 * sysdeps/i386/fpu/libm-test-ulps: Update.
57415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57417
57418 2012-03-01 Kai Tietz <ktietz@redhat.com>
57419
57420 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57421 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57422 containing bit-fields.
57423 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57424 * soft-fp/single.h (_FP_UNION_S): Likewise.
57425 * soft-fp/double.h (_FP_UNION_D): Likewise.
57426
57427 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57428
57429 [BZ #13786]
57430 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57431 not include ../strcmp.S.
57432 [USE_AS_STRNCASECMP_L]: Likewise.
57433 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57434 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57435 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57436 (__strncasecmp_l_ia32): Define as alias to
57437 __strncasecmp_l_nonascii.
57438
57439 [BZ #5794]
57440 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57441 * sysdeps/i386/fpu/libm-test-ulps: Update.
57442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57443
57444 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57446
57447 2012-02-29 Jeff Law <law@redhat.com>
57448
57449 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57450 out of bounds read.
57451
57452 2012-02-29 Marek Polacek <polacek@redhat.com>
57453
57454 [BZ #13706]
57455 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57456 * elf/Makefile: Add rules to run tst-unused-dep.out.
57457
57458 2012-02-28 David S. Miller <davem@davemloft.net>
57459
57460 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57461 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57462 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57463 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57464 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57465 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57466
57467 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57468
57469 * math/libm-test.inc (llround_test): Move one test from
57470 lround_test. Use TEST_f_L in moved test.
57471 (lround_test): Move misplaced test to llround_test. Add testcase
57472 from bug 2561.
57473
57474 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57475
57476 * sysdeps/x86_64/fpu/e_expf.S: New file.
57477 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57478
57479 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57480
57481 [BZ #13637]
57482 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57483 of remain_len that may cause incomplete multi-byte character and
57484 false match.
57485 * posix/bug-regex33.c: New file.
57486 * posix/Makefile (tests): Add bug-regex33.
57487
57488 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57489
57490 * manual/macros.texi: New file.
57491 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57492 * manual/libc.texinfo: Include macros.texi.
57493 * manual/creatute.texi: Likewise.
57494 * manual/install.texi: Likewise.
57495 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57496 @glibcadj{} in references to the GNU C Library.
57497 * manual/charset.texi: Likewise.
57498 * manual/conf.texi: Likewise.
57499 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57500 when not using those macros.
57501 * manual/creature.texi: Likewise.
57502 * manual/crypt.texi: Likewise.
57503 * manual/errno.texi: Likewise.
57504 * manual/filesys.texi: Likewise.
57505 * manual/header.texi: Likewise.
57506 * manual/install.texi: Likewise.
57507 * manual/intro.texi: Likewise.
57508 * manual/io.texi: Likewise.
57509 * manual/job.texi: Likewise.
57510 * manual/lang.texi: Likewise.
57511 * manual/libc.texiinfo: Likewise.
57512 * manual/llio.texi: Likewise.
57513 * manual/locale.texi: Likewise.
57514 * manual/maint.texi: Likewise.
57515 * manual/math.texi: Likewise.
57516 * manual/memory.texi: Likewise.
57517 * manual/message.texi: Likewise.
57518 * manual/nss.texi: Likewise.
57519 * manual/pattern.texi: Likewise.
57520 * manual/process.texi: Likewise.
57521 * manual/resource.texi: Likewise.
57522 * manual/search.texi: Likewise.
57523 * manual/setjmp.texi: Likewise.
57524 * manual/signal.texi: Likewise.
57525 * manual/socket.texi: Likewise.
57526 * manual/startup.texi: Likewise.
57527 * manual/stdio.texi: Likewise.
57528 * manual/string.texi: Likewise.
57529 * manual/sysinfo.texi: Likewise.
57530 * manual/syslog.texi: Likewise.
57531 * manual/terminal.texi: Likewise.
57532 * manual/time.texi: Likewise.
57533 * manual/users.texi: Likewise.
57534 * INSTALL: Regenerated.
57535 * NOTES: Regenerated.
57536 * sysdeps/gnu/errlist.c: Regenerated.
57537
57538 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57539
57540 * include/dirent.h: Include <dirstream.h> before
57541 <dirent/dirent.h>.
57542
57543 2012-02-28 David S. Miller <davem@davemloft.net>
57544
57545 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57546 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57547 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57548 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57549
57550 2012-02-27 David S. Miller <davem@davemloft.net>
57551
57552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57554 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57555 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57556
57557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57558 frame pointer instead of stack pointer relative arg slot.
57559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57560 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57561 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57562
57563 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57564
57565 [BZ #3992]
57566 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57567
57568 2012-02-27 David S. Miller <davem@davemloft.net>
57569
57570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57574 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57575 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57576 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57577 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57578
57579 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57580
57581 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57582 later. Allow versions 5-9.
57583 * configure: Regenerated.
57584 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57585 required minimum version and 4.6 as recommended version. Do not
57586 mention bugs in GCC 2.7 and 2.8.
57587 * INSTALL: Regenerated.
57588
57589 2012-02-27 David S. Miller <davem@davemloft.net>
57590
57591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57595 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57596 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57597 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57598 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57599
57600 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57601 manipulate bits before adding and subtracting TWO112[sx].
57602 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57603
57604 2012-02-27 Roland McGrath <roland@hack.frob.com>
57605
57606 [BZ #13775]
57607 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57608 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57609 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57610 being in POSIX, because they are in 1003.1-2008.
57611
57612 * rt/tst-aio.c: Include <fcntl.h>.
57613 * rt/tst-aio7.c: Likewise.
57614 * rt/tst-aio64.c: Likewise.
57615
57616 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57617
57618 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57619
57620 * manual/install.texi (--with-headers): Describe headers as
57621 interface headers, not private headers.
57622 (Specific advice for GNU/Linux systems): Describe use of headers
57623 from "make headers_install", not private headers from older
57624 kernels.
57625 * INSTALL: Regenerated.
57626 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57627 Change to 2.6.19.
57628 * sysdeps/unix/sysv/linux/configure: Regenerated.
57629
57630 * manual/llio.texi (fclean): Remove documentation.
57631
57632 * manual/Makefile (libc-texi-generated): New variable. Include
57633 version.texi.
57634 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57635 $(libc-texi-generated), not duplicated list of files.
57636 (version.texi, stamp-version): New rules.
57637 (realclean): Remove $(libc-texi-generated), not individual files
57638 from that list. Do not remove dir-add.texinfo.
57639 * manual/libc.texinfo: Comment out uses of edition numbers and
57640 references to printed manual. Remove last-updated dates.
57641 (EDITION): Comment out.
57642 (ISBN): Likewise.
57643 (VERSION, UPDATED): Remove.
57644 (version.texi): Include.
57645
57646 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57647
57648 * sysdeps/posix/spawni.c: Include <signal.h>.
57649 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57650 * sysdeps/pthread/aio_fsync.c: Likewise.
57651
57652 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57653
57654 * conform/Makefile (tests): Run only when not cross-compiling and
57655 when fast-check is not defined.
57656
57657 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57658 * conform/data/limits.h-data: Fixes for POSIX2008.
57659 * conform/run-conformtest.sh: Run all tests.
57660 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57661 headers.
57662 * include/bits/dlfcn.h: Likewise.
57663 * include/langinfo.h: Likewise.
57664 * include/monetary.h: Likewise.
57665 * include/sys/poll.h: Likewise.
57666
57667 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57668 for __USE_GNU.
57669 * posix/spawn.h: Define __need_sigset_t.
57670 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57671 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57672 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57673 to get sigevent_t only.
57674 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57675 only for __USE_GNU.
57676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57677 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57678 process_vm_writev only for __USE_GNU.
57679 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57680
57681 * conform/Makefile: For now ignore errors from run-conformtest.
57682 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57683 POSIX to avoid namespace pollution. Don't prepend headers.
57684 * conform/data/aio.h-data: Fixes for POSIX testing.
57685 * conform/data/fcntl.h-data: Likewise.
57686 * conform/data/glob.h-data: Likewise.
57687 * conform/data/grp.h-data: Likewise.
57688 * conform/data/pthread.h-data: Likewise.
57689 * conform/data/pwd.h-data: Likewise.
57690 * conform/data/signal.h-data: Likewise.
57691 * conform/data/spawn.h-data: Likewise.
57692 * conform/data/stdio.h-data: Likewise.
57693 * conform/data/stdlib.h-data: Likewise.
57694 * conform/data/stropts.h-data: Likewise.
57695 * conform/data/sys/mman.h-data: Likewise.
57696 * conform/data/sys/stat.h-data: Likewise.
57697 * conform/data/sys/types.h-data: Likewise.
57698 * conform/data/sys/wait.h-data: Likewise.
57699 * conform/data/time.h-data: Likewise.
57700 * conform/data/unistd.h-data: Likewise.
57701 * conform/data/utime.h-data: Likewise.
57702
57703 * io/sys/stat.h: fchmod was always in POSIX.
57704 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57705 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57706 * rt/aio.h: Define __need_timespec before including <time.h>.
57707 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57708 struct. Add forward declaration of pthread_attr_t and use it in
57709 sigevent.
57710 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57711 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57712 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57713 always remove CLK_TCK definition.
57714
57715 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57716
57717 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57718
57719 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57720
57721 * conform/run-conformtest.sh: New file.
57722 * conform/Makefile: Run run-conformtest for tests.
57723 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57724 support.
57725
57726 * conform/data/uchar.h-data: New file.
57727 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57728 * conform/data/arpa/inet.h-data: Likewise.
57729 * conform/data/assert.h-data: Likewise.
57730 * conform/data/complex.h-data: Likewise.
57731 * conform/data/cpio.h-data: Likewise.
57732 * conform/data/ctype.h-data: Likewise.
57733 * conform/data/dirent.h-data: Likewise.
57734 * conform/data/dlfcn.h-data: Likewise.
57735 * conform/data/errno.h-data: Likewise.
57736 * conform/data/fcntl.h-data: Likewise.
57737 * conform/data/float.h-data: Likewise.
57738 * conform/data/fmtmsg.h-data: Likewise.
57739 * conform/data/fnmatch.h-data: Likewise.
57740 * conform/data/ftw.h-data: Likewise.
57741 * conform/data/glob.h-data: Likewise.
57742 * conform/data/grp.h-data: Likewise.
57743 * conform/data/iconv.h-data: Likewise.
57744 * conform/data/inttypes.h-data: Likewise.
57745 * conform/data/langinfo.h-data: Likewise.
57746 * conform/data/libgen.h-data: Likewise.
57747 * conform/data/limits.h-data: Likewise.
57748 * conform/data/locale.h-data: Likewise.
57749 * conform/data/math.h-data: Likewise.
57750 * conform/data/monetary.h-data: Likewise.
57751 * conform/data/mqueue.h-data: Likewise.
57752 * conform/data/ndbm.h-data: Likewise.
57753 * conform/data/net/if.h-data: Likewise.
57754 * conform/data/netdb.h-data: Likewise.
57755 * conform/data/netinet/in.h-data: Likewise.
57756 * conform/data/nl_types.h-data: Likewise.
57757 * conform/data/poll.h-data: Likewise.
57758 * conform/data/pthread.h-data: Likewise.
57759 * conform/data/pwd.h-data: Likewise.
57760 * conform/data/regex.h-data: Likewise.
57761 * conform/data/sched.h-data: Likewise.
57762 * conform/data/search.h-data: Likewise.
57763 * conform/data/semaphore.h-data: Likewise.
57764 * conform/data/setjmp.h-data: Likewise.
57765 * conform/data/signal.h-data: Likewise.
57766 * conform/data/spawn.h-data: Likewise.
57767 * conform/data/stdarg.h-data: Likewise.
57768 * conform/data/stdio.h-data: Likewise.
57769 * conform/data/stdlib.h-data: Likewise.
57770 * conform/data/string.h-data: Likewise.
57771 * conform/data/strings.h-data: Likewise.
57772 * conform/data/stropts.h-data: Likewise.
57773 * conform/data/sys/ipc.h-data: Likewise.
57774 * conform/data/sys/mman.h-data: Likewise.
57775 * conform/data/sys/msg.h-data: Likewise.
57776 * conform/data/sys/resource.h-data: Likewise.
57777 * conform/data/sys/select.h-data: Likewise.
57778 * conform/data/sys/sem.h-data: Likewise.
57779 * conform/data/sys/shm.h-data: Likewise.
57780 * conform/data/sys/socket.h-data: Likewise.
57781 * conform/data/sys/stat.h-data: Likewise.
57782 * conform/data/sys/statvfs.h-data: Likewise.
57783 * conform/data/sys/time.h-data: Likewise.
57784 * conform/data/sys/timeb.h-data: Likewise.
57785 * conform/data/sys/times.h-data: Likewise.
57786 * conform/data/sys/types.h-data: Likewise.
57787 * conform/data/sys/uio.h-data: Likewise.
57788 * conform/data/sys/un.h-data: Likewise.
57789 * conform/data/sys/utsname.h-data: Likewise.
57790 * conform/data/sys/wait.h-data: Likewise.
57791 * conform/data/syslog.h-data: Likewise.
57792 * conform/data/tar.h-data: Likewise.
57793 * conform/data/termios.h-data: Likewise.
57794 * conform/data/utime.h-data: Likewise.
57795 * conform/data/utmpx.h-data: Likewise.
57796 * conform/data/varargs.h-data: Likewise.
57797 * conform/data/wchar.h-data: Likewise.
57798 * conform/data/wctype.h-data: Likewise.
57799 * conform/data/wordexp.h-data: Likewise.
57800
57801 * include/stropts.h: New file.
57802 * include/uchar.h: New file.
57803 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57804 * include/assert.h: Likewise.
57805 * include/ctype.h: Likewise.
57806 * include/dirent.h: Likewise.
57807 * include/dlfcn.h: Likewise.
57808 * include/fcntl.h: Likewise.
57809 * include/fnmatch.h: Likewise.
57810 * include/glob.h: Likewise.
57811 * include/grp.h: Likewise.
57812 * include/libio.h: Likewise.
57813 * include/locale.h: Likewise.
57814 * include/math.h: Likewise.
57815 * include/net/if.h: Likewise.
57816 * include/netdb.h: Likewise.
57817 * include/netinet/in.h: Likewise.
57818 * include/pthread.h: Likewise.
57819 * include/pwd.h: Likewise.
57820 * include/regex.h: Likewise.
57821 * include/sched.h: Likewise.
57822 * include/search.h: Likewise.
57823 * include/setjmp.h: Likewise.
57824 * include/signal.h: Likewise.
57825 * include/stdio.h: Likewise.
57826 * include/stdlib.h: Likewise.
57827 * include/string.h: Likewise.
57828 * include/sys/cdefs.h: Likewise.
57829 * include/sys/mman.h: Likewise.
57830 * include/sys/msg.h: Likewise.
57831 * include/sys/resource.h: Likewise.
57832 * include/sys/select.h: Likewise.
57833 * include/sys/socket.h: Likewise.
57834 * include/sys/stat.h: Likewise.
57835 * include/sys/statvfs.h: Likewise.
57836 * include/sys/time.h: Likewise.
57837 * include/sys/times.h: Likewise.
57838 * include/sys/uio.h: Likewise.
57839 * include/sys/utsname.h: Likewise.
57840 * include/sys/wait.h: Likewise.
57841 * include/termios.h: Likewise.
57842 * include/time.h: Likewise.
57843 * include/ulimit.h: Likewise.
57844 * include/unistd.h: Likewise.
57845 * include/utime.h: Likewise.
57846 * include/wchar.h: Likewise.
57847 * include/wctype.h: Likewise.
57848 * include/wordexp.h: Likewise.
57849
57850 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57851
57852 * time/time.h: TIME_UTC must be a macro.
57853 Make timespec_get available for ISO C11 only as well.
57854
57855 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57856
57857 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57858 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57859
57860 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57861
57862 * configure.in: Use -o not -a in test for unsupported multi-arch.
57863
57864 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57865
57866 * manual/texinfo.tex: Update to version 2012-01-19.16.
57867
57868 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57869
57870 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57871
57872 2012-02-24 Roland McGrath <roland@hack.frob.com>
57873
57874 [BZ #13738]
57875 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57876 * manual/fdl-1.3.texi: New file.
57877 * manual/fdl-1.1.texi: File removed.
57878
57879 [BZ #13738]
57880 * manual/libc.texinfo (FDL_VERSION): New @set.
57881 Use it for mention of FDL in cover text.
57882 (Documentation License): Use it in @include file name.
57883
57884 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57885 Roland McGrath <roland@hack.frob.com>
57886
57887 [BZ #5461]
57888 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57889 (not LONG_LONG_MAX and LONG_LONG_MIN.
57890 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57891 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57892 name.
57893 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57894
57895 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57896
57897 [BZ #2547]
57898 [BZ #11365]
57899 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57900 manipulate bits before adding and subtracting TWO23[sx].
57901 * math/libm-test.inc (nearbyint_test): Add more tests.
57902
57903 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57904
57905 [BZ #2548]
57906 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57907 bits before adding and subtracting TWO23[sx].
57908 * math/libm-test.inc (rint_test): Add more tests.
57909 (rint_test_tonearest): Likewise.
57910 (rint_test_towardzero): Likewise.
57911 (rint_test_downward): Likewise.
57912 (rint_test_upward: Likewise.
57913
57914 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57915
57916 [BZ #10110]
57917 * include/stdc-predef.h: New file. Extracted from features.h.
57918 * include/features.h: Include stdc-predef.h.
57919 * Makefile (headers): Add stdc-predef.h.
57920 * CONFORMANCE (Compiler limitations): Update.
57921
57922 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57923
57924 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57925
57926 2012-02-21 David S. Miller <davem@davemloft.net>
57927
57928 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57929 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57930
57931 2012-02-20 David S. Miller <davem@davemloft.net>
57932
57933 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57934 using a normal save/restore sequence, rather than allocating a
57935 dummy stack frame just to store a frame pointer and restore.
57936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57937
57938 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57939
57940 * manual/install.texi: Fix stray word in line-wrapped comment.
57941
57942 2012-02-20 David S. Miller <davem@davemloft.net>
57943
57944 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57945 both binutils and gcc support GOTDATA.
57946
57947 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57948 "rd %pc" in the PIC register setup sequences.
57949
57950 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57951 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57952 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57953 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57954 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57956 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57957 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57959 (SYSCALL_ERROR_HANDLER): Likewise.
57960 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57961 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57963 (SYSCALL_ERROR_HANDLER): Likewise.
57964
57965 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57966 (HAVE_GCC_GOTDATA): New.
57967 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57968 relocation support in both binutils and gcc.
57969 * sysdeps/sparc/elf/configure: Regenerate.
57970
57971 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57972 * sysdeps/sparc/sparc32/elf/configure: Delete.
57973 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57974 * sysdeps/sparc/sparc64/elf/configure: Delete.
57975 * sysdeps/sparc/elf/configure.in: New file.
57976 * sysdeps/sparc/elf/configure: Generate.
57977
57978 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57979 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57980 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57981 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57982 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57983
57984 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57985
57986 * manual/install.texi: Do not mention specific glibc version
57987 numbers.
57988 * manual/libc.texinfo (VERSION, UPDATED): Update.
57989 (@copying): Use @copyright{} and range of years.
57990
57991 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57992
57993 [BZ #13695]
57994 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57995 [crti.S not in sysdirs] (generated): Do not append.
57996 [crti.S not in sysdirs] (omit-deps): Likewise.
57997 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57998 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57999 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58000 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58001 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58002 Likewise.
58003 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58004 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58005 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58006 * csu/defs.awk: Remove file.
58007 * sysdeps/generic/initfini.c: Likewise.
58008 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58009 variable.
58010 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58011 Likewise.
58012
58013 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58014
58015 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58016 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58017 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58018 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58019 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58020 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58021 <bits/epoll.h>.
58022 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58023 (__EPOLL_PACKED): Define to empty if not defined by
58024 <bits/epoll.h>.
58025 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58027 bits/epoll.h.
58028
58029 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58030
58031 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58032 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58033 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58034 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58035 <bits/timerfd.h>.
58036 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58038 bits/timerfd.h.
58039
58040 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58041
58042 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58043 in C locale.
58044 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58045 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58046 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58048
58049 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
58050
58051 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58052 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58053
58054 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
58055
58056 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58057 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58058 defined.
58059 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58060 Likewise.
58061 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58062 entry for 2.16.
58063
58064 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
58065
58066 * math/w_acos.c: Use non-signaling floating-point comparisons.
58067 * math/w_acosf.c: Likewise.
58068 * math/w_acosh.c: Likewise.
58069 * math/w_acoshf.c: Likewise.
58070 * math/w_acoshl.c: Likewise.
58071 * math/w_acosl.c: Likewise.
58072 * math/w_asin.c: Likewise.
58073 * math/w_asinf.c: Likewise.
58074 * math/w_asinl.c: Likewise.
58075 * math/w_atanh.c: Likewise.
58076 * math/w_atanhf.c: Likewise.
58077 * math/w_atanhl.c: Likewise.
58078 * math/w_exp2.c: Likewise.
58079 * math/w_exp2f.c: Likewise.
58080 * math/w_exp2l.c: Likewise.
58081 * math/w_j0.c: Likewise.
58082 * math/w_j0f.c: Likewise.
58083 * math/w_j0l.c: Likewise.
58084 * math/w_j1.c: Likewise.
58085 * math/w_j1f.c: Likewise.
58086 * math/w_j1l.c: Likewise.
58087 * math/w_jn.c: Likewise.
58088 * math/w_jnf.c: Likewise.
58089 * math/w_log.c: Likewise.
58090 * math/w_log10.c: Likewise.
58091 * math/w_log10f.c: Likewise.
58092 * math/w_log10l.c: Likewise.
58093 * math/w_log2.c: Likewise.
58094 * math/w_log2f.c: Likewise.
58095 * math/w_log2l.c: Likewise.
58096 * math/w_logf.c: Likewise.
58097 * math/w_logl.c: Likewise.
58098 * math/w_sqrt.c: Likewise.
58099 * math/w_sqrtf.c: Likewise.
58100 * math/w_sqrtl.c: Likewise.
58101 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58102 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58106
58107 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58108
58109 [BZ #9739]
58110 * manual/string.texi (strnlen): Use correct parameter name in
58111 equivalent expression.
58112
58113 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58114
58115 [BZ #11174]
58116 * manual/users.texi (seteuid): Consistently use neweuid for
58117 argument name.
58118
58119 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58120
58121 [BZ #13704]
58122 * manual/nss.texi (Services in the NSS configuration): Correct
58123 list of services in example configuration file.
58124
58125 2012-02-19 Nick Bowler <nbowler@draconx.ca>
58126
58127 [BZ #11322]
58128 * manual/arith.texi: Remove statements about negative zero
58129 behaving identically to zero.
58130
58131 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58132
58133 [BZ #5993]
58134 * manual/install.texi: Do not document upgrading from libc5.
58135
58136 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58137
58138 [BZ #4596]
58139 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58140
58141 2012-02-18 David S. Miller <davem@davemloft.net>
58142
58143 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58144 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58145 %o7 across the call.
58146 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58147 instead.
58148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58149 SETUP_PIC_REG_LEAF.
58150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58151 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58152 * sysdeps/sparc/crtn.S: Likewise.
58153
58154 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58155
58156 * aout/Makefile: Remove.
58157
58158 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58159
58160 [BZ #13058]
58161 * manual/examples/argp-ex1.c (main): Format definition in GNU
58162 style.
58163 * manual/examples/argp-ex2.c (main): Likewise.
58164 * manual/examples/argp-ex3.c (main): Likewise.
58165 * manual/examples/argp-ex4.c (main): Likewise.
58166 * manual/examples/longopt.c (main): Use new-style prototype
58167 definition.
58168 * manual/examples/strncat.c (main): Specify return type and use
58169 (void) for arguments.
58170 * manual/examples/subopt.c (main): Use char **argv argument.
58171
58172 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58173
58174 [BZ #5077]
58175 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58176 rounding modes.
58177
58178 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58179
58180 [BZ #6907]
58181 * manual/string.texi (strchr): Change when strchrnul is
58182 recommended.
58183
58184 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58185
58186 [BZ #174]
58187 * manual/locale.texi (setlocale): Document LOCPATH.
58188
58189 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58190
58191 [BZ #10210]
58192 * manual/process.texi (execle): Move @dots{} before last argument.
58193
58194 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58195
58196 [BZ #12047]
58197 * manual/charset.texi (Generic Charset Conversion): Fix typo
58198 (LC_TYPE -> LC_CTYPE).
58199
58200 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58201
58202 [BZ #5805]
58203 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58204 (scalbnf): Likewise.
58205 (scalbnl): Likewise.
58206 (scalbln): Likewise.
58207 (scalblnf): Likewise.
58208 (scalblnl): Likewise.
58209 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58210 (vwarnx): Likewise.
58211 (verr): Likewise.
58212 (verrx): Likewise.
58213 * manual/filesys.texi (telldir): Use braces around return type.
58214 * manual/llio.texi (mmap): Add space after comma.
58215 (mmap64): Likewise.
58216 * manual/math.texi (jn): Use @var{} on parameter names.
58217 (jnf): Likewise.
58218 (jnl): Likewise.
58219 (yn): Likewise.
58220 (ynf): Likewise.
58221 (ynl): Likewise.
58222 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58223 line.
58224 * manual/resource.texi (ulimit): Use @dots{} instead of literal
58225 "...".
58226 (sched_get_priority_min): Remove semicolon on @deftypefun line.
58227 (sched_get_priority_max): Likewise.
58228 * manual/signal.texi (sigvec): Add space after comma.
58229 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58230 names.
58231 (if_indextoname): Likewise.
58232 (if_freenameindex): Likewise.
58233 (sendto): Use ',' instead of '.' in prototype.
58234 * manual/startup.texi (syscall): Use @dots{} instead of literal
58235 "...".
58236 * manual/stdio.texi (__fpending): Separate initial words of
58237 paragraph from @deftypefun line.
58238 * manual/syslog.texi (syslog): Use @dots{} instead of literal
58239 "...".
58240 (vsyslog): Use @var{} on parameter names.
58241 * manual/terminal.texi (stty): Use @var{} on parameter names.
58242 * manual/users.texi (getutmp): Use @var{} on parameter names.
58243 (getutmpx): Likewise.
58244
58245 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58246
58247 [BZ #6884]
58248 * manual/stdio.texi (fopen): Fix typos in description of
58249 ",ccs=STRING".
58250
58251 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58252
58253 [BZ #4026]
58254 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58255 get clock_id definition.
58256
58257 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58258
58259 [BZ #4822]
58260 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58261 (madvise): Cast every argument to void on its own.
58262
58263 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58264
58265 [BZ #9902]
58266 * manual/startup.texi (Exit Status): Fix typo.
58267
58268 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58269
58270 [BZ #10140]
58271 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58272 * manual/examples/argp-ex2.c: Likewise.
58273 * manual/examples/argp-ex3.c: Likewise.
58274
58275 2012-02-16 Richard Henderson <rth@redhat.com>
58276
58277 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58278 * sysdeps/s390/s390-32/initfini.c: Remove.
58279 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58280 * sysdeps/s390/s390-64/initfini.c: Remove.
58281
58282 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58283
58284 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58285 compiler output for sysdeps/generic/initfini.c.
58286 * sysdeps/sh/elf/initfini.c: Remove file.
58287
58288 2012-02-16 David S. Miller <davem@davemloft.net>
58289
58290 [BZ #11494]
58291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58292
58293 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58294 * sysdeps/sparc/crti.S: New file.
58295 * sysdeps/sparc/crtn.S: New file.
58296 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58297 * sysdeps/sparc/sparc64/Makefile: Likewise.
58298
58299 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58300
58301 [BZ #3335]
58302 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58303
58304 2012-02-15 Roland McGrath <roland@hack.frob.com>
58305
58306 [BZ #4822]
58307 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58308
58309 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58310 (write, read, close): Likewise.
58311 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58312
58313 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58314
58315 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58316 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58317 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58318 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58319 <bits/signalfd.h>.
58320 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58322 bits/signalfd.h.
58323
58324 2012-02-14 Marek Polacek <polacek@redhat.com>
58325
58326 * sysdeps/x86_64/crti.S: New file.
58327 * sysdeps/x86_64/crtn.S: New file.
58328 * sysdeps/x86_64/elf/initfini.c: Remove file.
58329
58330 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58331
58332 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58333 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58334 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58335 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58336 <bits/inotify.h>.
58337 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58339 bits/inotify.h.
58340
58341 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58342
58343 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58344 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58345 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58346 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58347 <bits/eventfd.h>.
58348 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58350 bits/eventfd.h.
58351
58352 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58353
58354 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58355 __feraiseexcept instead of feraiseexcept.
58356
58357 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58358 nanosleep invocations.
58359 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58360 strings, and add error checking for a nanosleep invocations.
58361
58362 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58363
58364 Replace FSF snail mail address with URLs, as per GNU coding standards.
58365 Most of the snail mail addresses were wrong anyway, and omitting
58366 them makes the source code easier to maintain. Almost all of the
58367 changes are to license notices and to locale LC_IDENTIFICATION
58368 addresses, except for this one:
58369 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58370 not its snail mail address.
58371
58372 2012-02-09 Richard Henderson <rth@twiddle.net>
58373
58374 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58375 of kernel-features.h.
58376
58377 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58378
58379 2012-02-08 Marek Polacek <polacek@redhat.com>
58380
58381 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58382 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58383 * sysdeps/gnu/_G_config.h: Likewise.
58384 * sysdeps/generic/_G_config.h: Likewise.
58385
58386 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58387
58388 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58389 tests.
58390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58391
58392 * sysdeps/powerpc/powerpc32/crti.S: New file.
58393 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58394 * sysdeps/powerpc/powerpc64/crti.S: New file.
58395 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58396
58397 * Makeconfig (have-initfini): Don't set.
58398 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58399 * configure.in (nopic_initfini): Don't substitute.
58400 * config.h.in (HAVE_INITFINI): Don't #undef.
58401 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58402 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58403
58404 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58405
58406 Support crti.S and crtn.S provided directly by architectures.
58407 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58408 [crti.S in sysdirs] (omit-deps): Likewise.
58409 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58410 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58411 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58412 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58413 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58414 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58415 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58416 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58417 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58418 compiler output for sysdeps/generic/initfini.c.
58419 * sysdeps/i386/elf/Makefile: Remove file.
58420 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58421
58422 2012-02-07 Marek Polacek <polacek@redhat.com>
58423
58424 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58425 * sysdeps/gnu/_G_config.h: Likewise.
58426 * sysdeps/mach/hurd/_G_config.h: Likewise.
58427
58428 2012-02-07 Marek Polacek <polacek@redhat.com>
58429
58430 * math/Makefile (tests): Add tst-CMPLX2.
58431 * math/tst-CMPLX2.c: New file.
58432
58433 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58434
58435 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58436
58437 * math/libm-test.inc (jn_test): Add missing L suffix.
58438
58439 2012-02-06 Marek Polacek <polacek@redhat.com>
58440
58441 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58442 * sysdeps/i386/fpu/e_powf.S: Likewise.
58443 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58444 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58445 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58446 * sysdeps/i386/fpu/e_pow.S: Likewise.
58447 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58448 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58449 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58450 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58451 * sysdeps/i386/fpu/e_log2.S: Likewise.
58452 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58453 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58454 * sysdeps/i386/fpu/e_powl.S: Likewise.
58455 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58456 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58457 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58458 * sysdeps/i386/fpu/e_logl.S: Likewise.
58459 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58460 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58461 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58462 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58463 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58464 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58465 * sysdeps/i386/fpu/e_log.S: Likewise.
58466 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58467 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58468 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58469 * sysdeps/i386/fpu/e_logf.S: Likewise.
58470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58471 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58472 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58473 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58474 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58475 * sysdeps/i386/fpu/e_log10.S: Likewise.
58476 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58477 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58478 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58479 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58480 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58481 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58482 * sysdeps/i386/asm-syntax.h: Likewise.
58483 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58484 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58485 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58486 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58487 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58488 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58489 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58490 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58491 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58492 * sysdeps/powerpc/sysdep.h: Likewise.
58493 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58494 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58495
58496 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58497
58498 [BZ #411]
58499 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58500
58501 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58502
58503 * sysdeps/i386/sysdep.h: Include <features.h>.
58504 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58505 version.
58506
58507 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58508
58509 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58510 Define.
58511 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58512 LOAD_PIC_REG_STR.
58513
58514 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58515
58516 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58517 (SETUP_PIC_REG): Use GET_PC_THUNK.
58518 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58519 macro.
58520
58521 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58522
58523 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58524 for non-PIC compilation.
58525 (SETUP_PIC_REG): Add .p2align directive.
58526 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58527 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58528 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58529 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58530 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58531 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58532 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58534 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58535 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58536 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58537 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58538 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58539 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58540 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58541 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58542 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58543 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58544 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58545 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58546 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58547 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58548 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58549 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58550 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58552 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58554 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58555 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58556 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58557 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58558 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58561 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58562 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58563 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58564 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58565 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58566 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58567
58568 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58569
58570 * math/tst-CMPLX.c: Include <stdio.h>.
58571
58572 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58573
58574 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58575 float.
58576 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58577 * sysdeps/sparc/bits/mathdef.h: Likewise.
58578
58579 2012-01-31 Marek Polacek <polacek@redhat.com>
58580
58581 * libio/libio.h: Don't define _PARAMS.
58582 * locale/programs/config.h: Don't define PARAMS.
58583 * stdlib/strtol_l.c: Likewise.
58584 (__strtol_l): Remove PARAMS from the prototype.
58585
58586 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58587
58588 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58589 names. Just use the correct names. Remove unnecessary wrapper
58590 functions.
58591 * malloc/arena.c: Likewise.
58592 * malloc/hooks.c: Likewise.
58593
58594 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58595 ARENA_TEST says not to. Simplify test for creation of a new arena.
58596 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58597
58598 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58599
58600 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58601 into tail calls.
58602 (update_get_addr): New function.
58603 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58604 GET_ADDR_MODULE parameter.
58605
58606 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58607
58608 * crypt/cert.c: Remove __STDC__ conditionals.
58609 * crypt/crypt-entry.c: Likewise.
58610 * crypt/crypt_util.c: Likewise.
58611 * libio/filedoalloc.c: Likewise.
58612 * libio/fileops.c: Likewise.
58613 * libio/genops.c: Likewise.
58614 * libio/iofclose.c: Likewise.
58615 * libio/iofdopen.c: Likewise.
58616 * libio/iofopen.c: Likewise.
58617 * libio/iofopen64.c: Likewise.
58618 * libio/iogetdelim.c: Likewise.
58619 * libio/iopopen.c: Likewise.
58620 * libio/obprintf.c: Likewise.
58621 * libio/oldfileops.c: Likewise.
58622 * libio/oldiofclose.c: Likewise.
58623 * libio/oldiofdopen.c: Likewise.
58624 * libio/oldiofopen.c: Likewise.
58625 * libio/oldiopopen.c: Likewise.
58626 * libio/wfiledoalloc.c: Likewise.
58627 * libio/wgenops.c: Likewise.
58628 * locale/programs/xmalloc.c: Likewise.
58629 * misc/syslog.c: Likewise.
58630 * stdio-common/xbug.c: Likewise.
58631 * string/memchr.c: Likewise.
58632 * string/memcmp.c: Likewise.
58633 * string/memrchr.c: Likewise.
58634 * string/rawmemchr.c: Likewise.
58635 * sysdeps/posix/getcwd.c: Likewise.
58636 * time/strftime_l.c: Likewise.
58637
58638 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58639
58640 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58641 * config.make.in (config-cflags-sse2avx): Define.
58642 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58643 Fix typo.
58644
58645 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58646
58647 * scripts/config.guess: Update from upstream config git repository.
58648 * scripts/config.sub: Likewise.
58649
58650 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58651
58652 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58653 (EM_NUM): Update.
58654 (R_TILEPRO_*, R_TILEGX_*): New macros.
58655
58656 * scripts/firstversions.awk: Fix bug in version range handling.
58657
58658 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58659
58660 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58661
58662 * include/sys/epoll.h: New file.
58663 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58664 libc_hidden_def.
58665
58666 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58667
58668 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58669 Avoid unnecessary __WORDSIZE == 64 test.
58670 (fmaxf): Use VEX format if possible.
58671 (fmax): Likewise.
58672 (fminf): Likewise.
58673 (fmin): Likewise.
58674
58675 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58676 * math/math_private.h: Remove libc_fegetround* and
58677 libc_fesetround*.
58678 * sysdeps/i386/configure.in: Check for -msse2avx.
58679 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58680 also if SSE2AVX is defined.
58681 Remove libc_fegetround* and libc_fesetround*.
58682 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58683 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58684 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58685 of HAS_YMM_USABLE.
58686 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58687 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58688 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58689 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58690 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58691
58692 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58693
58694 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58695
58696 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58697 size is not set.
58698 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58699
58700 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58701
58702 [BZ #13618]
58703 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58704 relocation.
58705 * Makeconfig (libm): Define.
58706 * elf/Makefile: Add rules to build and run tst-relsort1.
58707 * elf/tst-relsort1.c: New file.
58708 * elf/tst-relsort1mod1.c: New file.
58709 * elf/tst-relsort1mod2.c: New file.
58710
58711 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58712
58713 * math/s_ldexp.c: Remove __STDC__ conditionals.
58714 * math/s_ldexpf.c: Likewise.
58715 * math/s_ldexpl.c: Likewise.
58716 * math/s_nextafter.c: Likewise.
58717 * math/s_nexttowardf.c: Likewise.
58718 * math/s_significand.c: Likewise.
58719 * math/s_significandf.c: Likewise.
58720 * math/s_significandl.c: Likewise.
58721 * math/w_jnl.c: Likewise.
58722 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58723 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58724 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58725 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58726 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58727 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58728 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58729 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58730 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58731 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58732 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58733 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58734 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58735 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58736 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58737 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58738 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58739 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58741 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58742 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58743 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58744 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58745 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58746 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58747 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58748 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58749 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58750 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58751 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58752 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58753 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58754 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58755 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58756 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58757 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58758 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58759 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58760 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58761 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58762 * sysdeps/ieee754/k_standard.c: Likewise.
58763 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58764 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58765 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58766 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58767 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58768 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58769 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58770 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58771 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58772 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58773 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58774 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58775 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58776 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58777 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58779 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58780 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58783 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58784 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58785 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58786 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58787 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58788 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58789 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58792 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58793 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58794 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58795 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58796 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58797 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58798 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58799 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58800 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58801 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58802 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58803 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58805 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58806 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58807 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58808 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58809 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58810 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58811 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58812 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58813 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58816 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58817 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58818 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58819 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58820 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58821 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58822 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58823 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58824 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58825 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58827 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58828 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58829 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58830 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58831 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58832 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58833 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58835 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58836 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58837 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58838 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58839 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58840 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58841 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58842 * sysdeps/ieee754/s_matherr.c: Likewise.
58843 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58844 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58847
58848 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58849
58850 * crypt/md5.h: Remove __STDC__ conditionals.
58851 * libio/libioP.h: Likewise.
58852 * locale/programs/config.h: Likewise.
58853 * sysdeps/generic/sysdep.h: Likewise.
58854 * sysdeps/i386/asm-syntax.h: Likewise.
58855 * sysdeps/s390/asm-syntax.h: Likewise.
58856 * sysdeps/unix/sysdep.h: Likewise.
58857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58859
58860 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58861
58862 * libio/libio.h: Remove __STDC__ conditionals.
58863 * malloc/obstack.h: Likewise.
58864 * math/complex.h: Likewise.
58865 * math/math.h: Likewise.
58866 * sysdeps/generic/_G_config.h: Likewise.
58867 * sysdeps/gnu/_G_config.h: Likewise.
58868 * sysdeps/mach/hurd/_G_config.h: Likewise.
58869 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58870 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58871 * sysdeps/sparc/bits/mathdef.h: Likewise.
58872
58873 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58874
58875 [BZ #13583]
58876 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58877 Clean up HAS_* macros.
58878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58879 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58880 possible.
58881 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58882 HAS_AVX.
58883 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58884 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58885 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58886 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58887 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58888
58889 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58890
58891 * elf/tst-unique3.cc (gets): Remove declaration.
58892 * elf/tst-unique3lib.cc (gets): Likewise.
58893 * elf/tst-unique3lib2.cc (gets): Likewise.
58894 * elf/tst-unique4.cc (gets): Likewise.
58895
58896 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58897
58898 * include/stdio.h: Add C++ protection. Add gets declarations and
58899 definitions.
58900 * debug/tst-chk1.c: Don't declare gets here.
58901 * stdio-common/tst-gets.c: Likewise.
58902
58903 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58904
58905 * posix/glob: Remove directory.
58906
58907 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58908
58909 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58910
58911 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58912
58913 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58914 of the non-standard EPFNOSUPPORT.
58915
58916 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58917
58918 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58919 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58920 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58921
58922 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58923
58924 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58925
58926 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58927
58928 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58929 transient errors.
58930 * nscd/grpcache.c (cache_addgr): Likewise.
58931 * nscd/hstcache.c (cache_addhst): Likewise.
58932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58933 * nscd/pwdcache.c (cache_addpw): Likewise.
58934 * nscd/servicescache.c (cache_addserv): Likewise.
58935
58936 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58937
58938 * malloc/malloc.c: Various cleanups.
58939 * malloc/hooks.c: Likewise.
58940
58941 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58942 * stdlib/bug-fmtmsg1.c: New file.
58943
58944 * stdlib/fmtmsg.c (init): Add missing unlock.
58945 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58946
58947 2012-01-12 Marek Polacek <polacek@redhat.com>
58948
58949 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58950 and _GNU_SOURCE.
58951
58952 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58953
58954 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58955 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58956 macro to ensure uniqueness of label name.
58957 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58958 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58959
58960 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58961
58962 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58963
58964 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58965 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58966 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58968
58969 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58970
58971 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58972
58973 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58974 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58975 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58976
58977 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58978
58979 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58980 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58982 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58983
58984 * math/bits/math-finite.h: Add ldexp support.
58985
58986 2012-01-10 Marek Polacek <polacek@redhat.com>
58987
58988 * locale/programs/localedef.h (show_archive_content): Add noreturn
58989 attribute.
58990
58991 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58992
58993 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58994
58995 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58996
58997 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58998
58999 * io/Makefile (headers): Add bits/poll2.h.
59000
59001 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
59002
59003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59004 typo #include statement.
59005
59006 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59007
59008 * include/sys/cdefs.h: Define __attribute_alloc_size.
59009 * catgets/gencat.c: Add alloc_size attribute and apply consistently
59010 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59011 * elf/pldd.c: Likewise.
59012 * iconv/iconv_charmap.c: Likewise.
59013 * iconv/iconvconfig.c: Likewise.
59014 * iconv/strtab.c: Likewise.
59015 * locale/programs/locale.c: Likewise.
59016 * locale/programs/localedef.h: Likewise.
59017 * locale/programs/simple-hash.c: Likewise.
59018 * nscd/nscd.h: Likewise.
59019 * nss/makedb.c: Likewise.
59020 * sysdeps/generic/ldconfig.h: Likewise.
59021 * locale/programs/localedef.c: Remove xmalloc prototype.
59022 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59023
59024 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59025
59026 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59027 appropriate.
59028
59029 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59030
59031 * math/Makefile (tests): Add tst-CMPLX.
59032 * math/tst-CMPLX.c: New file.
59033
59034 * math/complex.h (CMPLXL): Fix typo.
59035
59036 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59037 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59038 GLIBC_2.16.
59039 * debug/tst-chk1.c: Add poll and ppoll tests.
59040 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59041 * include/sys/poll.h: Add hidden proto for ppoll.
59042 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59043 * sysdeps/mach/hurd/ppoll.c: Likewise.
59044 * io/ppoll.c: Likewise.
59045 * debug/poll_chk.c: New file.
59046 * debug/ppoll_chk.c: New file.
59047 * include/bits/poll2.h: New file.
59048 * io/bits/poll2.h: New file.
59049
59050 [BZ #1350]
59051 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59052
59053 * configure.in: static is always set to yes. Remove.
59054 * config.make.in: Don't set build-static.
59055 * Makeconfig: Remove use of build-static.
59056 * dlfcn/Makefile: Likewise.
59057 * elf/Makefile: Likewise.
59058 * math/Makefile: Likewise.
59059 * misc/Makefile: Likewise.
59060 * nptl/Makefile: Likewise.
59061 * sysdeps/mach/hurd/Makefile: Likewise.
59062
59063 * configure.in: PWD_P is not used anymore.
59064 * config.make.in: Remove PWD_P entry.
59065
59066 * configure.in: Remove last remnants of RANLIB.
59067 No need to check for signed size_t anymore.
59068 Don't set libc_commonpagesize and libc_relro_required here for Alpha
59069 and IA-64.
59070 Remove __builtin_expect test because we require at least gcc 3.4.
59071 * aclocal.m4: Likewise.
59072
59073 * wcsmbs/mbrtoc16.c: Implement using towc function.
59074 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59075 * wcsmbs/wcsmbsload.c: Likewise.
59076 * iconv/gconv_simple.c: Likewise.
59077 * iconv/gconv_int.h: Likewise.
59078 * iconv/gconv_builtin.h: Likewise.
59079 * iconv/iconv_prog.c: Remove CHAR16 handling.
59080
59081 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59082
59083 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59084
59085 * configure.in: Remove --with-elf and --enable-bounded options.
59086 Dont set base_machine for ia64. More non-ELF conditions removed.
59087 Remove testing and setting of leading underscore information.
59088 * config.make.in (build-bounded): Set to no.
59089 * config.h.in: Remove NO_UNDERSCORES entry.
59090 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
59091 them.
59092 * csu/start.c: Remove !NO_UNDERSCORE code.
59093 * locale/localeinfo.h: Likewise.
59094 * sysdeps/generic/machine-gmon.h: Likewise.
59095 * sysdeps/generic/sysdep.h: Likewise.
59096 * sysdeps/i386/sysdep.h: Likewise.
59097 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59098 * sysdeps/mach/sysdep.h: Likewise.
59099 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59100 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59101 * sysdeps/sh/sysdep.h: Likewise.
59102 * sysdeps/sparc/sparc32/alloca.S: Likewise.
59103 * sysdeps/unix/i386/sysdep.S: Likewise.
59104 * sysdeps/unix/sparc/start.c: Likewise.
59105 * sysdeps/unix/sparc/sysdep.S: Likewise.
59106 * sysdeps/unix/sparc/sysdep.h: Likewise.
59107 * sysdeps/unix/start.c: Likewise.
59108 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59109 * sysdeps/x86_64/sysdep.h: Likewise.
59110
59111 2012-01-07 Ulrich Drepper <drepper@gmail.com>
59112
59113 [BZ #13553]
59114 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59115 for non-gcc.
59116 * argp/argp-fmtstream.h: Use const instead __const.
59117 * argp/argp.h: Likewise.
59118 * assert/assert.h: Likewise.
59119 * bits/fenv.h: Likewise.
59120 * bits/sched.h: Likewise.
59121 * bits/sigset.h: Likewise.
59122 * bits/sigthread.h: Likewise.
59123 * catgets/nl_types.h: Likewise.
59124 * conform/data/pthread.h-data: Likewise.
59125 * crypt/crypt-private.h: Likewise.
59126 * crypt/crypt.h: Likewise.
59127 * crypt/crypt_util.c: Likewise.
59128 * ctype/ctype.h: Likewise.
59129 * debug/execinfo.h: Likewise.
59130 * debug/mbsnrtowcs_chk.c: Likewise.
59131 * debug/mbsrtowcs_chk.c: Likewise.
59132 * debug/wcsnrtombs_chk.c: Likewise.
59133 * debug/wcsrtombs_chk.c: Likewise.
59134 * debug/wcstombs_chk.c: Likewise.
59135 * dirent/dirent.h: Likewise.
59136 * dlfcn/dlfcn.h: Likewise.
59137 * elf/neededtest4.c: Likewise.
59138 * grp/grp.h: Likewise.
59139 * gshadow/gshadow.h: Likewise.
59140 * iconv/gconv.h: Likewise.
59141 * iconv/gconv_int.h: Likewise.
59142 * iconv/gconv_simple.c: Likewise.
59143 * iconv/iconv.h: Likewise.
59144 * iconv/loop.c: Likewise.
59145 * iconv/skeleton.c: Likewise.
59146 * include/aio.h: Likewise.
59147 * include/aliases.h: Likewise.
59148 * include/argz.h: Likewise.
59149 * include/arpa/inet.h: Likewise.
59150 * include/assert.h: Likewise.
59151 * include/dirent.h: Likewise.
59152 * include/dlfcn.h: Likewise.
59153 * include/execinfo.h: Likewise.
59154 * include/fcntl.h: Likewise.
59155 * include/fenv.h: Likewise.
59156 * include/glob.h: Likewise.
59157 * include/grp.h: Likewise.
59158 * include/libintl.h: Likewise.
59159 * include/mntent.h: Likewise.
59160 * include/netdb.h: Likewise.
59161 * include/pwd.h: Likewise.
59162 * include/rpc/netdb.h: Likewise.
59163 * include/sched.h: Likewise.
59164 * include/search.h: Likewise.
59165 * include/shadow.h: Likewise.
59166 * include/signal.h: Likewise.
59167 * include/stdio.h: Likewise.
59168 * include/stdlib.h: Likewise.
59169 * include/string.h: Likewise.
59170 * include/sys/socket.h: Likewise.
59171 * include/sys/stat.h: Likewise.
59172 * include/sys/statfs.h: Likewise.
59173 * include/sys/statvfs.h: Likewise.
59174 * include/sys/syslog.h: Likewise.
59175 * include/sys/time.h: Likewise.
59176 * include/sys/uio.h: Likewise.
59177 * include/time.h: Likewise.
59178 * include/unistd.h: Likewise.
59179 * include/utmp.h: Likewise.
59180 * include/wchar.h: Likewise.
59181 * include/wctype.h: Likewise.
59182 * inet/aliases.h: Likewise.
59183 * inet/arpa/inet.h: Likewise.
59184 * inet/netinet/ether.h: Likewise.
59185 * inet/netinet/in.h: Likewise.
59186 * intl/libintl.h: Likewise.
59187 * io/bits/fcntl2.h: Likewise.
59188 * io/fcntl.h: Likewise.
59189 * io/ftw.h: Likewise.
59190 * io/sys/poll.h: Likewise.
59191 * io/sys/stat.h: Likewise.
59192 * io/sys/statfs.h: Likewise.
59193 * io/sys/statvfs.h: Likewise.
59194 * io/utime.h: Likewise.
59195 * libio/bits/stdio.h: Likewise.
59196 * libio/bits/stdio2.h: Likewise.
59197 * libio/libio.h: Likewise.
59198 * libio/libioP.h: Likewise.
59199 * libio/stdio.h: Likewise.
59200 * locale/lc-ctype.c: Likewise.
59201 * locale/locale.h: Likewise.
59202 * login/utmp.h: Likewise.
59203 * malloc/arena.c: Likewise.
59204 * malloc/malloc.c: Likewise.
59205 * malloc/malloc.h: Likewise.
59206 * malloc/mcheck.c: Likewise.
59207 * malloc/mtrace.c: Likewise.
59208 * math/bits/mathcalls.h: Likewise.
59209 * math/fenv.h: Likewise.
59210 * math/math_private.h: Likewise.
59211 * misc/bits/error.h: Likewise.
59212 * misc/bits/syslog.h: Likewise.
59213 * misc/err.h: Likewise.
59214 * misc/error.h: Likewise.
59215 * misc/fstab.h: Likewise.
59216 * misc/mntent.h: Likewise.
59217 * misc/regexp.h: Likewise.
59218 * misc/search.h: Likewise.
59219 * misc/sgtty.h: Likewise.
59220 * misc/sys/mman.h: Likewise.
59221 * misc/sys/syslog.h: Likewise.
59222 * misc/sys/uio.h: Likewise.
59223 * misc/sys/xattr.h: Likewise.
59224 * misc/ttyent.h: Likewise.
59225 * nis/rpcsvc/ypclnt.h: Likewise.
59226 * nss/nss.h: Likewise.
59227 * posix/bits/unistd.h: Likewise.
59228 * posix/fnmatch.h: Likewise.
59229 * posix/glob.h: Likewise.
59230 * posix/sched.h: Likewise.
59231 * posix/spawn.h: Likewise.
59232 * posix/sys/wait.h: Likewise.
59233 * posix/unistd.h: Likewise.
59234 * posix/wordexp.h: Likewise.
59235 * pwd/pwd.h: Likewise.
59236 * resolv/netdb.h: Likewise.
59237 * resource/sys/resource.h: Likewise.
59238 * rt/aio.h: Likewise.
59239 * rt/bits/mqueue2.h: Likewise.
59240 * rt/mqueue.h: Likewise.
59241 * shadow/shadow.h: Likewise.
59242 * signal/signal.h: Likewise.
59243 * socket/send.c: Likewise.
59244 * socket/sendto.c: Likewise.
59245 * socket/sys/socket.h: Likewise.
59246 * stdio-common/printf.h: Likewise.
59247 * stdlib/bits/stdlib.h: Likewise.
59248 * stdlib/fmtmsg.h: Likewise.
59249 * stdlib/monetary.h: Likewise.
59250 * stdlib/stdlib.h: Likewise.
59251 * stdlib/ucontext.h: Likewise.
59252 * streams/stropts.h: Likewise.
59253 * string/argz.h: Likewise.
59254 * string/bits/string2.h: Likewise.
59255 * string/string.h: Likewise.
59256 * string/strings.h: Likewise.
59257 * sunrpc/rpc/auth.h: Likewise.
59258 * sunrpc/rpc/auth_des.h: Likewise.
59259 * sunrpc/rpc/clnt.h: Likewise.
59260 * sunrpc/rpc/netdb.h: Likewise.
59261 * sunrpc/rpc/pmap_clnt.h: Likewise.
59262 * sunrpc/rpc/xdr.h: Likewise.
59263 * sysdeps/generic/inttypes.h: Likewise.
59264 * sysdeps/generic/net/if.h: Likewise.
59265 * sysdeps/generic/sys/swap.h: Likewise.
59266 * sysdeps/gnu/net/if.h: Likewise.
59267 * sysdeps/gnu/utmpx.h: Likewise.
59268 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59269 * sysdeps/i386/i486/bits/string.h: Likewise.
59270 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59271 * sysdeps/s390/bits/string.h: Likewise.
59272 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59273 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59274 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59275 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59276 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59277 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59278 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59279 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59280 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59281 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59282 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59283 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59284 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59285 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59286 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59287 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59288 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59290 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59292 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59293 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59294 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59295 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59296 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59297 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59298 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59299 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59300 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59302 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59303 * sysvipc/sys/ipc.h: Likewise.
59304 * sysvipc/sys/msg.h: Likewise.
59305 * sysvipc/sys/sem.h: Likewise.
59306 * sysvipc/sys/shm.h: Likewise.
59307 * termios/termios.h: Likewise.
59308 * time/sys/time.h: Likewise.
59309 * time/time.h: Likewise.
59310 * wcsmbs/bits/wchar2.h: Likewise.
59311 * wcsmbs/uchar.h: Likewise.
59312 * wcsmbs/wchar.h: Likewise.
59313 * wctype/wctype.h: Likewise.
59314
59315 [BZ #13551]
59316 * Makeconfig: Remove all but ELF support including AIX support.
59317 * Makerules: Likewise.
59318 * config.h.in: Likewise.
59319 * config.make.in: Likewise.
59320 * configure: Likewise.
59321 * configure.in: Likewise.
59322 * csu/Makefile: Likewise.
59323 * csu/version.c: Likewise.
59324 * debug/Makefile: Likewise.
59325 * dlfcn/Makefile: Likewise.
59326 * elf/Makefile: Likewise.
59327 * extra-lib.mk: Likewise.
59328 * iconv/Makefile: Likewise.
59329 * include/libc-symbols.h: Likewise.
59330 * include/shlib-compat.h: Likewise.
59331 * resolv/Makefile: Likewise.
59332 * resolv/res_libc.c: Likewise.
59333 * rt/Makefile: Likewise.
59334 * sysdeps/i386/asm-syntax.h: Likewise.
59335 * sysdeps/i386/sysdep.h: Likewise.
59336 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59337 * sysdeps/mach/sysdep.h: Likewise.
59338 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59339 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59340 * sysdeps/s390/asm-syntax.h: Likewise.
59341 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59343 * sysdeps/sh/sysdep.h: Likewise.
59344 * sysdeps/unix/sparc/sysdep.h: Likewise.
59345 * sysdeps/wordsize-32/divdi3.c: Likewise.
59346 * sysdeps/x86_64/sysdep.h: Likewise.
59347
59348 * argp/Versions: Remove _argp_unlock_xxx.
59349
59350 [BZ #13559]
59351 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59352 * abilist/libBrokenLocale.abilist: Likewise.
59353 * abilist/libanl.abilist: Likewise.
59354 * abilist/libc.abilist: Likewise.
59355 * abilist/libcrypt.abilist: Likewise.
59356 * abilist/libdl.abilist: Likewise.
59357 * abilist/libm.abilist: Likewise.
59358 * abilist/libnsl.abilist: Likewise.
59359 * abilist/libpthread.abilist: Likewise.
59360 * abilist/libresolv.abilist: Likewise.
59361 * abilist/librt.abilist: Likewise.
59362 * abilist/libthread_db.abilist: Likewise.
59363 * abilist/libutil.abilist: Likewise.
59364 * abilist/libnss_db.abilist: New file.
59365
59366 * scripts/abilist.awk: Add support for indirect functions.
59367
59368 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59369
59370 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59371
59372 * shlib-versions: Remove entries for ports architectures.
59373
59374 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59375 files in ports.
59376 * elf/stackguard-macros.h: Remove support for IA-64.
59377 * elf/tst-auditmod1.c: Likewise.
59378 * sysdeps/generic/ldsodefs.h: Likewise.
59379
59380 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59381 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59382 configure files.
59383
59384 [BZ #13552]
59385 * configure.in: Remove --enable-omitfp support.
59386 * FAQ.in: Adjust.
59387 * config.make.in: Likewise.
59388 * Makeconfig: Likewise.
59389 * manual/install.texi: Likewise.
59390
59391 In case anyone cares, the IA-64 architecture could move to ports.
59392 * sysdeps/ia64/*: Removed.
59393 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59394 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59395
59396 [BZ #13555]
59397 * configure.in: Remove entries for unsupported architectures.
59398
59399 [BZ #13533]
59400 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59401 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59402 routines.
59403 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59404 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59405 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59406 fall back to using wcrtomb.
59407 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59408 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59409 renaming.
59410 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59411 * wcsmbs/tst-c16c32-1.c: New file.
59412
59413 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59414 local variable.
59415
59416 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59417
59418 * elf/tst-unique3.cc: Add explicit declaration of gets.
59419 * elf/tst-unique3lib.cc: Likewise.
59420 * elf/tst-unique3lib2.cc: Likewise.
59421 * elf/tst-unique4.cc: Likewise.
59422
59423 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59424
59425 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59426
59427 [BZ #13566]
59428 * assert/assert.h (static_assert): Don't define for C++.
59429 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59430 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59431
59432 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59433
59434 * iconv/loop.c (single loop): Fix assertion in storing of
59435 remaining bytes.
59436
59437 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59438
59439 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59440
59441 * posix/getconf.c: Update copyright year.
59442 * nss/getent.c: Likewise.
59443 * nss/makedb.c: Likewise.
59444 * iconv/iconvconfig.c: Likewise.
59445 * iconv/iconv_prog.c: Likewise.
59446 * elf/ldconfig.c: Likewise.
59447 * elf/pldd.c: Likewise.
59448 * elf/sotruss.ksh: Likewise.
59449 * catgets/gencat.c: Likewise.
59450 * csu/version.c: Likewise.
59451 * elf/ldd.bash.in: Likewise.
59452 * elf/sprof.c (print_version): Likewise.
59453 * locale/programs/locale.c: Likewise.
59454 * locale/programs/localedef.c: Likewise.
59455 * login/programs/pt_chown.c: Likewise.
59456 * nscd/nscd.c (print_version): Likewise.
59457 * debug/xtrace.sh: Likewise.
59458 * malloc/memusage.sh: Likewise.
59459 * malloc/mtrace.pl: Likewise.
59460 * debug/catchsegv.sh: Likewise.
59461
59462 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59463
59464 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59465 pure attribute.
59466
59467 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59468
59469 [BZ #13533]
59470 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59471 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59472 transformations.
59473 * iconv/gconv_int.h: Likewise.
59474 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59475 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59476 from libc for GLIBC_2.16.
59477 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59478 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59479 * wcsmbs/uchar.h: Really define mbstate_t.
59480 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59481 * wcsmbs/c16rtomb.c: New file.
59482 * wcsmbs/mbrtoc16.c: New file.
59483 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59484 for C/POSIX locale.
59485 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59486 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59487
59488 * wcsmbs/wchar.h: Add missing __restrict.
59489
59490 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59491
59492 [BZ #13532]
59493 * time/Makefile (routines): Add timespec_get.
59494 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59495 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59496 timespec for ISO C11.
59497 * time/timespec_get.c: New file.
59498 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59499 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59500
59501 [BZ #13531]
59502 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59503 * stdlib/stdlib.h: Declare aligned_alloc.
59504 * Versions.def: Add GLIBC_2.16 for libc.
59505 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59506
59507 [BZ 13527]
59508 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59509 ISO C11.
59510
59511 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59512 code.
59513
59514 [BZ #13528]
59515 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59516
59517 [BZ #13529]
59518 * assert/assert.h (static_assert): Define.
59519
59520 * version.h: Update for 2.16 development version.
59521
59522 [BZ #13526]
59523 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59524 _ISOC11_SOURCE.
59525
59526 * version.h (RELEASE): Bump for 2.15 release.
59527 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59528
59529 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59530 Patch by Marek Polacek <mpolacek@redhat.com>.
59531
59532 * bits/byteswap.h: Protect long long constants with __extension__.
59533 * sysdeps/i386/bits/byteswap.h: Likewise.
59534 * sysdeps/ia64/bits/byteswap.h: Likewise.
59535 * sysdeps/s390/bits/byteswap.h: Likewise.
59536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59537
59538 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59539
59540 [BZ #13540]
59541 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59542 destination buffer.
59543 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59544
59545 2011-12-23 Marek Polacek <polacek@redhat.com>
59546
59547 * elf/dl-addr.c (determine_info): Add inline keyword.
59548 * elf/tst-auditmod4b.c (check_avx): Likewise.
59549 * elf/tst-auditmod6b.c (check_avx): Likewise.
59550 * elf/tst-auditmod6c.c (check_avx): Likewise.
59551 * elf/tst-auditmod7b.c (check_avx): Likewise.
59552
59553 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59554
59555 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59556 !__SSE_MATH__.
59557
59558 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59559
59560 [BZ #13540]
59561 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59562 processing for last bytes.
59563
59564 2011-08-06 Bruno Haible <bruno@clisp.org>
59565
59566 [BZ #13061]
59567 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59568 U+0385, not to U+1FEE.
59569
59570 [BZ #13062]
59571 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59572 entry for U+00A5 U+0301.
59573
59574 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59575
59576 [BZ #13166]
59577 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59578 buffer for the output is too small.
59579
59580 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59581 optimization.
59582
59583 [BZ #13185]
59584 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59585 SSE flags if possible.
59586
59587 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59588
59589 [BZ #13540]
59590 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59591 processing for last bytes.
59592
59593 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59594
59595 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59596 (syscall-list-default-options, syscall-list-default-condition)
59597 (syscall-list-includes): Define.
59598 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59599 list of ABIs and options and #if conditions for each ABI. Do not
59600 handle common syscalls between ABIs specially.
59601 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59602 Remove.
59603 (syscall-list-variants, syscall-list-32bit-options)
59604 (syscall-list-32bit-condition, syscall-list-64bit-options)
59605 (syscall-list-64bit-condition): Define.
59606 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59607 (syscall-list-variants, syscall-list-32bit-options)
59608 (syscall-list-32bit-condition, syscall-list-64bit-options)
59609 (syscall-list-64bit-condition): Define.
59610 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59611 Remove.
59612 (syscall-list-variants, syscall-list-32bit-options)
59613 (syscall-list-32bit-condition, syscall-list-64bit-options)
59614 (syscall-list-64bit-condition): Define.
59615 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59616 Remove.
59617 (syscall-list-variants, syscall-list-32bit-options)
59618 (syscall-list-32bit-condition, syscall-list-64bit-options)
59619 (syscall-list-64bit-condition): Define.
59620
59621 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59622
59623 * locale/iso-639.def: Add brx entry.
59624
59625 [BZ #13328]
59626 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59627 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59628
59629 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59630 __feraiseexcept_renamed.
59631
59632 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59633
59634 [BZ #13538]
59635 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59636 EPOLLET with unsigned values.
59637 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59638 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59639
59640 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59641 to large cancellation.
59642 * math/s_cacoshf.c: Likewise.
59643 * math/s_cacoshl.c: Likewise.
59644
59645 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59646
59647 [BZ #13305]
59648 [BZ #12786]
59649 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59650 * math/s_cacoshf.c: Likewise.
59651 * math/s_cacoshl.c: Likewise.
59652
59653 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59654
59655 [BZ #13439]
59656 * iconv/gconv.h: Define __GCONV_SWAP.
59657 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59658 * iconvdata/utf-16.c: Likewise.
59659 * iconvdata/utf-32.c: Likewise.
59660
59661 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59662
59663 [BZ #13524]
59664 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59665 numerator after shifting it by one limb.
59666
59667 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59668
59669 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59670 under [__USE_EXTERN_INLINES].
59671
59672 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59673
59674 [BZ #13446]
59675 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59676
59677 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59678
59679 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59680 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59681 optimized code.
59682 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59683 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59684 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59685 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59686 for strncasecmp/strncasecmp_l compilation.
59687 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59688 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59689
59690 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59691
59692 [BZ #13484]
59693 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59694 of __asm__.
59695
59696 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59697
59698 [BZ #13506]
59699 * time/tzfile.c (__tzfile_read): Check values from file header.
59700
59701 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59702
59703 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59704 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59705 * powerpc/powerpc32/dl-start.S: Likewise.
59706 * powerpc/powerpc32/elf/start.S: Likewise.
59707 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59708 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59709 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59710 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59711 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59712 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59713 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59714 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59715 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59716 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59717 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59718 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59719 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59720 * powerpc/powerpc32/memset.S: Likewise.
59721 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59722 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59723 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59724 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59725 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59726 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59727 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59728 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59729 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59730 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59731 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59732 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59733 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59734
59735 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59736
59737 * math/libm-test.inc: Added more nearbyint tests.
59738 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59739 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59742
59743 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59744
59745 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59746 FD_CLOEXEC.
59747
59748 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59749
59750 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59751 Add wcscpy-ssse3 wcscpy-c.
59752 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59753 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59754 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59755 * sysdeps/x86_64/wcschr.S: New file.
59756 * sysdeps/x86_64/wcsrchr.S: New file.
59757 * string/test-strcmp.c: Remove checking of wcscmp function for
59758 wrong alignments.
59759 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59760 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59761 wcsrchr-sse2 wcsrchr-c.
59762 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59763 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59764 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59765 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59766 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59767 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59768 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59769 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59770 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59771 * wcsmbc/wcschr.c (WCSCHR): New macro.
59772
59773 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59774
59775 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59776 * wcsmbs/test-wcsrchr.c: New file.
59777 * string/test-strrchr.c: Add wcsrchr support.
59778 (WIDE): New macro.
59779 * wcsmbs/test-wcscpy.c: New file.
59780 * string/test-strcpy.c: Add wcscpy support.
59781 (WIDE): New macro.
59782
59783 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59784
59785 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59786 the inner loop.
59787
59788 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59789
59790 [BZ #13472]
59791 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59792
59793 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59794
59795 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59796 Minor optimizations.
59797
59798 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59799 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59800 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59801
59802 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59803
59804 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59805 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59806 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59807 for gcc to avoid warnings.
59808 * inet/Makefile (tests): Add tst-checks.
59809 * inet/tst-checks.c: New file.
59810
59811 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59812 warning.
59813
59814 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59815 __wmemcmp_sse2.
59816
59817 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59818 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59819
59820 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59821
59822 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59823
59824 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59825 problem.
59826
59827 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59828
59829 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59830
59831 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59832 conditional on GCC version.
59833 (__arch_compare_and_exchange_val_8_acq)
59834 (__arch_compare_and_exchange_val_16_acq)
59835 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59836 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59837 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59838
59839 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59840
59841 * sysdeps/sh/backtrace.c: New file.
59842
59843 2011-12-02 Andreas Schwab <schwab@redhat.com>
59844
59845 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59846 parenthesis.
59847
59848 2011-12-01 Andreas Schwab <schwab@redhat.com>
59849
59850 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59851 falling back to utime.
59852
59853 2011-11-30 Andreas Schwab <schwab@redhat.com>
59854
59855 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59856 expectations for float.
59857
59858 2011-11-29 Andreas Schwab <schwab@redhat.com>
59859
59860 * locale/weight.h (findidx): Add parameter len.
59861 * locale/weightwc.h (findidx): Likewise.
59862 * posix/fnmatch_loop.c (FCT): Adjust caller.
59863 * posix/regcomp.c (build_equiv_class): Likewise.
59864 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59865 * posix/regexec.c (check_node_accept_bytes): Likewise.
59866 * string/strcoll_l.c (STRCOLL): Likewise.
59867 * string/strxfrm_l.c (STRXFRM): Likewise.
59868
59869 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59870
59871 * Makefile.in: Remove CVSOPT handling.
59872 * configure.in: Remove use of AC_REVISION.
59873 * iconvdata/Makefile (distribute): No need to filter out CVS.
59874 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59875 handling.
59876
59877 2011-11-16 Andreas Schwab <schwab@redhat.com>
59878
59879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59880 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59881 [USE_AS_STRNCASECMP_L]: Likewise.
59882 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59883 NO_TLS_DIRECT_SEG_REFS.
59884 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59885 Fix argument offsets for non-PIC.
59886 [USE_AS_STRNCASECMP_L]: Likewise.
59887 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59888 NO_TLS_DIRECT_SEG_REFS.
59889
59890 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59891
59892 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59893 O_CLOEXEC.
59894 * locale/loadlocale.c (_nl_load_locale): Likewise.
59895
59896 2011-11-15 Andreas Schwab <schwab@redhat.com>
59897
59898 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59899 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59900 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59901 (SYSCALL_GETTIME): Set errno on error.
59902
59903 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59904 count references to noai6ai_cached.
59905
59906 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59907
59908 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59909
59910 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59911 FD_CLOEXEC for /proc/self/maps.
59912
59913 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59914 FD_CLOEXEC for /proc/meminfo.
59915
59916 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59917 gai.conf.
59918
59919 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59920 FD_CLOEXEC for given file.
59921
59922 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59923
59924 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59925 FD_CLOEXEC for /etc/hosts.
59926 (_gethtent): Likewise.
59927
59928 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59929
59930 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59931 cancellation and set FD_CLOEXEC for /etc/netgroup.
59932
59933 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59934 reading /etc/publickey.
59935
59936 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59937 allow cancellation when reading /etc/group.
59938
59939 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59940 cancellation.
59941 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59942
59943 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59944 when using data file.
59945
59946 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59947
59948 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59949 (write_nis_obj): Use "c" and "e" in fopen.
59950
59951 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59952
59953 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59954
59955 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59956
59957 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59958
59959 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59960 locale.alias.
59961
59962 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59963
59964 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59965
59966 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59967
59968 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59969 file parsing and set FD_CLOEXEC.
59970
59971 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59972
59973 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59974
59975 2011-11-14 Andreas Schwab <schwab@redhat.com>
59976
59977 * malloc/arena.c (arena_get2): Don't call reused_arena when
59978 _int_new_arena failed.
59979
59980 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59981
59982 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59983 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59984 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59985 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59986 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59987 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59988 to compile strcasecmp and strncasecmp.
59989 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59990 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59991
59992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59993
59994 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59995
59996 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59997 locale-defines.sym to gen-as-const-headers.
59998 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59999 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60001 to compile strcasecmp and strncasecmp.
60002 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60003 strcasecmp_l and strncasecmp_l.
60004 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60005 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60006 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60007 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60008 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60009 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60010 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60011 * sysdeps/i386/i686/multiarch/strncase.S: New file.
60012 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60013 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60014 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60015
60016 2011-11-12 Ulrich Drepper <drepper@gmail.com>
60017
60018 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60019 result of SYSDEP_GETTIME_CPU to retval.
60020 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60021 parameter list to macro. Remove trailing semicolon. Adjust users.
60022
60023 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60024 variable.
60025
60026 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60027 mantissa words.
60028 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60029
60030 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60031 from unused variable.
60032
60033 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60034 DWARF definitions.
60035 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60036 for assembling.
60037
60038 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60039 over namespaces.
60040
60041 * sunrpc/rpc_prot.c (rejected): Fix case value.
60042
60043 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60044 unsigned long long int to avoid warnings in shift.
60045
60046 * posix/regex_internal.c (re_string_reconstruct): Actually use result
60047 of use of trans.
60048 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60049 variable tmp.
60050
60051 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60052 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60053 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60054
60055 * nis/nis_table.c (nis_list): Use variable of correct type for
60056 result of __follow_path call.
60057
60058 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60059
60060 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60061 of math functions ceil, trunc, floor, round, and sqrt, when
60062 avaliable on the platform.
60063 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60064 name clash.
60065 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60066 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60067 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60068
60069 2011-10-30 Marek Polacek <mpolacek@redhat.com>
60070
60071 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60072 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60073
60074 2011-11-11 Roland McGrath <roland@hack.frob.com>
60075
60076 * include/unistd.h: Fix __readlink return type.
60077 Reported by Chris Metcalf <cmetcalf@tilera.com>.
60078
60079 2011-11-11 Ulrich Drepper <drepper@gmail.com>
60080
60081 * stdlib/ucontext.h: Undo last change for makecontext.
60082
60083 2011-11-11 Andreas Schwab <schwab@redhat.com>
60084
60085 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60086
60087 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60088 * setjmp/setjmp.h: Mark functions as non-leaf.
60089 * setjmp/bits/setjmp2.h: Likewise.
60090 * stdlib/ucontext.h: Likewise.
60091
60092 2011-11-10 Andreas Schwab <schwab@redhat.com>
60093
60094 * malloc/arena.c (_int_new_arena): Don't increment narenas.
60095 (reused_arena): Don't check arena limit.
60096 (arena_get2): Atomically check arena limit.
60097
60098 2011-11-08 Ulrich Drepper <drepper@gmail.com>
60099
60100 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60101 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60102
60103 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60104 instructions.
60105
60106 2011-11-07 Andreas Schwab <schwab@redhat.com>
60107
60108 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60109 handler when locking.
60110
60111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60112 Fix size of allocated buffer.
60113
60114 2011-11-04 Andreas Schwab <schwab@redhat.com>
60115
60116 [BZ #10103]
60117 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60118 declarations for long double functions.
60119 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60120
60121 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60122
60123 2011-11-03 Andreas Schwab <schwab@redhat.com>
60124
60125 * nscd/nscd.c (main): Don't start AVC thread until credentials are
60126 installed.
60127
60128 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60129 is disabled.
60130
60131 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
60132
60133 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60134
60135 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60136
60137 * include/alloca.h (stackinfo_alloca_round): Define.
60138 (extend_alloca): Use it.
60139 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60140 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60141 here.
60142
60143 * scripts/check-local-headers.sh: Ignore libaudit.h.
60144
60145 * nscd/Makefile (extra-objs): Make recursively expanded.
60146
60147 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60148
60149 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60150 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60151
60152 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60153 * posix/tst-rfc3484-2.c: Likewise.
60154 * posix/tst-rfc3484-3.c: Likewise.
60155
60156 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60157 process_vm_writev.
60158 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60159 process_vm_writev.
60160 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60161 process_vm_writev from libc using GLIBC_2.15 version.
60162
60163 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60164
60165 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60166
60167 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60168 stack usage.
60169
60170 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60171
60172 [BZ #13367]
60173 * nss/getent.c (initgroups_keys): Show error message in case no group
60174 names are given.
60175
60176 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60177 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60178 __bump_nl_timestamp.
60179 * nscd/connections (nscd_init): When host database is served open
60180 netlink socket and request notification about configuration changes.
60181 (main_loop_poll): Track netlink file descriptor and bump timestamp
60182 in case data becomes available.
60183 (main_loop_epoll): Likewise.
60184 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60185 (database_pers_head): Add extra_data fileds.
60186 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60187 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60188 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60189 Adjust caller.
60190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60191 in6ai data, call __free_in6ai.
60192 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60193 Add -DHAVE_NETLINK.
60194 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60195 interface information. Reuse previous data if netlink timestamp
60196 is not changed.
60197 (__bump_nl_timestamp): New function.
60198 (__free_in6ai): New function.
60199
60200 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60201
60202 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60203 close_not_cancel_no_status here.
60204 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60205
60206 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60207
60208 [BZ #13276]
60209 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60210 return value.
60211
60212 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60213 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60214 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60215
60216 2011-07-03 Andreas Jaeger <aj@suse.de>
60217
60218 [BZ #10709]
60219 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60220 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60221 * math/libm-test.inc (sin_test): Add test case.
60222
60223 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60224
60225 [BZ #13337]
60226 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60227 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60228
60229 * elf/chroot_canon.c (chroot_canon): Cleanups.
60230
60231 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60232
60233 [BZ #13335]
60234 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60235 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60236
60237 * string/test-strchr.c: Make usable for strchrnul testing.
60238 * string/test-strchrnul.c: New file.
60239 * string/Makefile (strop-tests): Add strchrnul.
60240
60241 * po/it.po: Update from translation team.
60242 * po/es.po: Likewise.
60243
60244 2011-10-28 Ulrich Drepper <drepper@gmail.com>
60245
60246 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60247 the three constants needed as parameters. Drop the others.
60248 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60249 __m128i_strloadu_tolower.
60250 Create and initialize variable zero and use it in all the places
60251 where _mm_setzero_si128 was used.
60252
60253 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60254 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60255 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60256 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60257 anymore.
60258 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60259 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60260 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60261 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60262 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60263 __mpranred, __mptan.
60264 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60265 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60266 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60267 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60268 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60269 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60270 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60271 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60272 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60273
60274 2011-10-28 Andreas Schwab <schwab@redhat.com>
60275
60276 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60277 redefine if SHARED.
60278 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60279
60280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60281 wide char related routines to wcsmbs subdir.
60282
60283 2011-10-27 Andreas Schwab <schwab@redhat.com>
60284
60285 [BZ #13344]
60286 * misc/sys/cdefs.h (__THROWNL): Define.
60287 * posix/unistd.h: Use __THREADNL instead of __THREAD
60288 for memory synchronization functions.
60289
60290 2011-10-26 Roland McGrath <roland@hack.frob.com>
60291
60292 [BZ #13349]
60293 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60294 doesn't exist.
60295 * manual/stdio.texi (Obstack Streams): Node removed.
60296
60297 2011-10-26 Andreas Schwab <schwab@redhat.com>
60298
60299 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60300 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60301 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60302
60303 * math/math_private.h (math_force_eval): Allow non-addressable
60304 arguments.
60305 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60306
60307 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60308
60309 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60310 file is not needed.
60311
60312 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60314 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60315 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60316 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60317 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60318 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60319 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60320 Add AVX variants.
60321 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60322 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60323 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60324 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60325 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60326 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60327 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60328 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60329 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60330 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60331 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60332 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60333 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60334 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60335 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60336 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60337 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60338 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60339 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60340
60341 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60342 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60343
60344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60345 place. Use VEX encoding when compiling for AVX.
60346
60347 2011-10-25 Andreas Schwab <schwab@redhat.com>
60348
60349 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60350 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60351
60352 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60353
60354 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60355
60356 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60357 useless if() expression.
60358 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60359 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60360 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60361 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60362 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60363 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60364 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60366 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60368 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60369 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60370 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60371 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60372 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60373 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60374 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60375 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60376 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60377
60378 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60379
60380 2011-10-25 Andreas Schwab <schwab@redhat.com>
60381
60382 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60383 condition.
60384 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60385
60386 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60387
60388 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60389 .text section. Avoid duplicate constants.
60390 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60391 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60392 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60394 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60398 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60399 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60400 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60401 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60402 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60403 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60404 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60405 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60406 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60407 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60408 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60409 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60410 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60411 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60412 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60413 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60414 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60415 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60416 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60417 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60418 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60419 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60420 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60421 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60422 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60423 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60424 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60425 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60426 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60427 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60428 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60429 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60430 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60432 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60433 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60434 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60435
60436 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60437
60438 * sysdeps/x86_64/dla.h: Move to ...
60439 * sysdeps/x86_64/fpu/dla.h: ...here.
60440 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60441 situations. Use __builtin_fma only for gcc 4.6 and up.
60442
60443 * config.make.in: Add have-mfma4 entry.
60444 * configure.in: Substitute libc_cv_cc_fma4.
60445 * math/Makefile (dbl-only-routines): Add sincostab.
60446 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60447 Use __sincostab not sincos.
60448 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60449 name is a macro.
60450 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60452 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60454 using __copysign.
60455 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60456 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60457 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60458 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60459 and __inv.
60460 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60461 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60462 __copysign.
60463 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60464 define aliases when function name is a macro.
60465 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60466 sysdeps/ieee754/dbl-64/sincos.tbl.
60467 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60468 fma4-enabled routines.
60469 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60470 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60471 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60472 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60473 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60474 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60475 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60476 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60477 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60478 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60479 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60480 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60481 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60482 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60484 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60485 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60486 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60487 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60488 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60489 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60490 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60491 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60493 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60495 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60496 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60497 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60498 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60499
60500 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60501 rename.
60502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60510
60511 2011-10-24 Andreas Schwab <schwab@redhat.com>
60512
60513 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60514
60515 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60516
60517 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60518
60519 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60520 prediction.
60521 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60522
60523 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60524 Remove unused variable magic_bits.
60525 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60526
60527 * string/strnlen.c: Define and use STRNLEN macro.
60528 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60529 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60531 * wcsmbs/wcslen.c: Define and use WCSLEN.
60532 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60533 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60534 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60535 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60536 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60537 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60538 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60539
60540 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60541
60542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60543 strnlen-sse2-no-bsf.
60544 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60545 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60546 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60547 Add strnlen support.
60548 (USE_AS_STRNLEN): New macro.
60549 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60550 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60551 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60552 * sysdeps/x86_64/wcslen.S: New file.
60553
60554 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60555
60556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60557 XMM-moves are used for copying on small sizes.
60558
60559 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60560
60561 * wcsmbs/Makefile (strop-tests): Add wcschr.
60562 * wcsmbs/test-wcschr.c: New file.
60563 * string/test-strchr.c: Update.
60564 Add wcschr support.
60565 (WIDE): New macro.
60566
60567 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60568
60569 * wcsmbs/Makefile (strop-tests): Add wcslen.
60570 * wcsmbs/test-wcslen.c: New file.
60571 * string/test-strlen.c: Update.
60572 Add wcslen support.
60573 (WIDE): New macro.
60574
60575 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60576
60577 * po/it.po: Update from translation team.
60578
60579 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60580
60581 * sysdeps/x86_64/wcscmp.S: Update.
60582 Fix wrong comparison semantics.
60583 wcscmp shall use signed comparison not unsigned.
60584 Don't use substraction to avoid overflow bug.
60585 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60586 * wcsmbc/wcscmp.c: Likewise.
60587 * string/test-strcmp.c: Likewise.
60588 Add new tests to check cases with negative values.
60589
60590 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60591
60592 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60593 * sysdeps/x86_64/dla.h: ...here. New file.
60594 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60599 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60602 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60603
60604 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60605
60606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60607 __ynl_finite aliases.
60608
60609 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60610
60611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60612
60613 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60614 define DLA_FMA.
60615 [DLA_FMA] (EMULV): Use DLA_FMA.
60616 [DLA_FMA] (MUL12): Use EMULV.
60617 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60618 that are not needed.
60619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60626
60627 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60628
60629 * math/s_nan.c: Undef __nan.
60630 * math/s_nanf.c: Undef __nanf.
60631 * math/s_nanl.c: Undef __nanl.
60632 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60633 "math_private.h".
60634
60635 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60636
60637 * math/s_catan.c: Add branch predictions.
60638 * math/s_catanf.c: Likewise.
60639 * math/s_catanh.c: Likewise.
60640 * math/s_catanhf.c: Likewise.
60641 * math/s_catanhl.c: Likewise.
60642 * math/s_catanl.c: Likewise.
60643 * math/s_cexp.c: Likewise.
60644 * math/s_cexpf.c: Likewise.
60645 * math/s_cexpl.c: Likewise.
60646 * math/s_clog.c: Likewise.
60647 * math/s_clog10.c: Likewise.
60648 * math/s_clog10f.c: Likewise.
60649 * math/s_clog10l.c: Likewise.
60650 * math/s_clogf.c: Likewise.
60651 * math/s_clogl.c: Likewise.
60652 * math/s_csqrt.c: Likewise.
60653 * math/s_csqrtf.c: Likewise.
60654 * math/s_csqrtl.c: Likewise.
60655 * math/s_ctanf.c: Likewise.
60656 * math/s_ctanh.c: Likewise.
60657 * math/s_ctanhf.c: Likewise.
60658 * math/s_ctanhl.c: Likewise.
60659 * math/s_ctanl.c: Likewise.
60660
60661 * math/math_private.h: Define __nan, __nanf, __nanl.
60662 * math/s_cacosh.c: Include <math_private.h>.
60663 * math/s_cacoshl.c: Likewise.
60664 * math/s_casinh.c: Likewise.
60665 * math/s_casinhf.c: Likewise.
60666 * math/s_casinhl.c: Likewise.
60667 * math/s_ccos.c: Rely entire on ccosh.
60668 * math/s_ccosf.c: Rely entire on ccoshf.
60669 * math/s_ccosl.c: Rely entirely on ccoshl.
60670 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60671 Remove tests for FE_INVALID.
60672 * math/s_ccoshf.c: Likewise.
60673 * math/s_ccoshl.c: Likewise.
60674 * math/s_csin.c: Likewise.
60675 * math/s_csinf.c: Likewise.
60676 * math/s_csinh.c Likewise.
60677 * math/s_csinhf.c: Likewise.
60678 * math/s_csinhl.c: Likewise.
60679 * math/s_csinl.c: Likewise.
60680 * math/s_ctan.c: Likewise.
60681 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60682 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60683 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60684
60685 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60686
60687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60688 compilation problems.
60689
60690 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60691 __builtin_expect.
60692
60693 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60694
60695 * sysdeps/i386/configure.in: Test for -mfma4 option.
60696 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60697 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60698 COMMON_CPUID_INDEX_80000001.
60699 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60700 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60701 use it if FMA3 is not supported.
60702 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60703
60704 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60705 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60706
60707 2011-10-20 Andreas Schwab <schwab@redhat.com>
60708
60709 [BZ #12892]
60710 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60711 it would create a cycle with a link time dependency.
60712
60713 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60714
60715 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60716 instruction.
60717 * string/Makefile (strop-tests): Add rawmemchr.
60718 * string/test-rawmemchr.c: New file.
60719
60720 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60721 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60722 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60723 when compiling str{,n}casecmp and when AVX is available. Hook up
60724 new optimized code in initializers.
60725
60726 2011-10-19 Andreas Schwab <schwab@redhat.com>
60727
60728 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60729 __feraiseexcept instead of feraiseexcept.
60730
60731 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60732
60733 * math/math_private.h: Define defaults for libc_fetestexcept and
60734 libc_feupdateenv.
60735 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60736 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60737 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60738 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60739 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60740 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60741 libc_fetestexcept and libc_feupdateenv.
60742
60743 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60744 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60745 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60746 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60747 libc_feholdexcept_setround.
60748
60749 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60750 Add s_nearbyint-c and s_nearbyintf-c.
60751 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60752 nearbyintf inlines.
60753 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60754 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60755 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60756 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60757
60758 * math/math_private.h: Define defaults for libc_fegetround,
60759 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60760 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60761 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60763 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60764 standard functions.
60765 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60766 Remove comments and hacks for old compiler versions.
60767 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60768 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60769 libc_feholdexceptl.
60770
60771 2011-10-18 Andreas Schwab <schwab@redhat.com>
60772
60773 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60774 (__feraiseexcept_renamed): Add __NTH.
60775 (feraiseexcept): Add __NTH. Rename local variables to fix
60776 namespace violations.
60777
60778 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60779
60780 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60781
60782 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60783
60784 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60785 recently added interfaces.
60786 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60787
60788 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60789 about macro parameter expansion.
60790
60791 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60792 __NO_MATH_INLINES is defined. Cleanups.
60793
60794 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60795 and __floorf is target has SSE4.1.
60796 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60797 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60798 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60799 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60800
60801 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60802 name.
60803 (floorf): Likewise.
60804
60805 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60806
60807 2011-10-17 Andreas Schwab <schwab@redhat.com>
60808
60809 * misc/sys/cdefs.h: Fix last change.
60810
60811 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60812 database lookup.
60813
60814 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60815
60816 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60817
60818 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60819 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60820 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60821 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60822 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60823 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60824 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60826 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60827 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60828 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60829 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60830 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60831 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60832 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60833 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60834 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60835 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60836 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60837 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60838 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60839 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60840
60841 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60842 ceil, ceilf, floor, floorf.
60843
60844 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60845 Perform IRELATIVE relocations last.
60846
60847 * elf/do-rel.h: Add another parameter nrelative, replacing the
60848 local variable with the same name. Change name of the function
60849 to end in Rel or Rela (uppercase).
60850 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60851 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60852 elf_dynamic_do_##reloc function.
60853
60854 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60855
60856 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60857 is sufficient, at least on modern CPUs.
60858
60859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60860
60861 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60862 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60863
60864 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60865 __expl_finite.
60866 * math/bits/math-finite.h: Add entries for exp.
60867 * math/e_expl.c: Add __*_finite alias.
60868 * sysdeps/i386/fpu/e_exp.S: Likewise.
60869 * sysdeps/i386/fpu/e_expf.S: Likewise.
60870 * sysdeps/i386/fpu/e_expl.c: Likewise.
60871 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60872 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60873 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60874 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60875 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60876 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60877 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60878
60879 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60880 is sufficient, at least on modern CPUs.
60881
60882 * ctype/ctype-info.c (__ctype_init): Define.
60883 * include/ctype.h (__ctype_init): Declare.
60884 (__ctype_b_loc): The variable is always initialized.
60885 (__ctype_toupper_loc): Likewise.
60886 (__ctype_tolower_loc): Likewise.
60887 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60888 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60889
60890 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60891
60892 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60893
60894 * configure.in: Also look in $cxxmachine/include for C++ system
60895 headers.
60896
60897 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60898
60899 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60900 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60901 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60902 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60903 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60904 (USE_AS_WMEMCMP): New macro.
60905 Fixing indents.
60906 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60907 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60908 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60909 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60911 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60912 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60913 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60914 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60915 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60916 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60917 (USE_AS_WMEMCMP): New macro.
60918 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60919 * sysdeps/string/test-memcmp.c: Update.
60920 Fix simple_wmemcmp.
60921 Add new tests.
60922 * wcsmbs/wmemcmp.c: Update.
60923 (WMEMCMP): New macro.
60924 Fix overflow bug.
60925
60926 2011-10-12 Andreas Jaeger <aj@suse.de>
60927
60928 [BZ #13268]
60929 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60930
60931 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60932
60933 * libio/iofwide.c (do_length): Avoid warning.
60934
60935 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60936
60937 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60938
60939 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60940
60941 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60942 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60943 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60944 * sysdeps/i386/i686/fpu/e_log.S: New file.
60945 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60946 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60947
60948 * ctype/ctype.h: Add support for inlined isXXX functions when
60949 compiling C++ code.
60950
60951 2011-10-14 Andreas Schwab <schwab@redhat.com>
60952
60953 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60954
60955 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60956
60957 2011-10-13 Roland McGrath <roland@hack.frob.com>
60958
60959 [BZ #13291]
60960 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60961
60962 2011-10-13 Andreas Schwab <schwab@redhat.com>
60963
60964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60965 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60966 feraiseexcept.
60967
60968 * sysdeps/x86_64/memrchr.S: Check for zero size.
60969
60970 * string/stratcliff.c: Add memrchr tests.
60971
60972 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60973
60974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60975 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60976 rawmemchr-sse2 rawmemchr-sse2-bsf.
60977 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60978 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60979 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60980 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60981 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60982 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60983 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60984 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60985 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60986 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60987 * string/memrchr.c (MEMRCHR): New macro.
60988
60989 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60990
60991 Add integration with gcc's -ffinite-math-only and optimize wrapper
60992 functions in libm.
60993 * Versions.def: Define GLIBC_2.15 version for libm.
60994 * math/Makefile (headers): Add bits/math-finite.h.
60995 * math/bits/math-finite.h: New file.
60996 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60997 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60998 * math/e_acoshl.c: Add __*_finite alias.
60999 * math/e_acosl.c: Likewise.
61000 * math/e_asinl.c: Likewise.
61001 * math/e_atan2l.c: Likewise.
61002 * math/e_atanhl.c: Likewise.
61003 * math/e_coshl.c: Likewise.
61004 * math/e_exp10.c: Likewise.
61005 * math/e_exp10f.c: Likewise.
61006 * math/e_exp10l.c: Likewise.
61007 * math/e_exp2l.c: Likewise.
61008 * math/e_fmodl.c: Likewise.
61009 * math/e_gammal_r.c: Likewise.
61010 * math/e_hypotl.c: Likewise.
61011 * math/e_j0l.c: Likewise.
61012 * math/e_j1l.c: Likewise.
61013 * math/e_jnl.c: Likewise.
61014 * math/e_lgammal_r.c: Likewise.
61015 * math/e_log10l.c: Likewise.
61016 * math/e_log2l.c: Likewise.
61017 * math/e_logl.c: Likewise.
61018 * math/e_powl.c: Likewise.
61019 * math/e_sinhl.c: Likewise.
61020 * math/e_sqrtl.c: Likewise.
61021 * math/e_scalb.c: Completely rewritten and optimized.
61022 * math/e_scalbf.c: Likewise.
61023 * math/e_scalbl.c: Likewise.
61024 * math/w_acos.c: Likewise.
61025 * math/w_acosf.c: Likewise.
61026 * math/w_acosl.c: Likewise.
61027 * math/w_acosh.c: Likewise.
61028 * math/w_acoshf.c: Likewise.
61029 * math/w_acoshl.c: Likewise.
61030 * math/w_asin.c: Likewise.
61031 * math/w_asinf.c: Likewise.
61032 * math/w_asinl.c: Likewise.
61033 * math/w_atan2.c: Likewise.
61034 * math/w_atan2f.c: Likewise.
61035 * math/w_atan2l.c: Likewise.
61036 * math/w_atanh.c: Likewise.
61037 * math/w_atanhf.c: Likewise.
61038 * math/w_atanhl.c: Likewise.
61039 * math/w_exp10.c: Likewise.
61040 * math/w_exp10f.c: Likewise.
61041 * math/w_exp10l.c: Likewise.
61042 * math/w_fmod.c: Likewise.
61043 * math/w_fmodf.c: Likewise.
61044 * math/w_fmodl.c: Likewise.
61045 * math/w_j0.c: Likewise.
61046 * math/w_j0f.c: Likewise.
61047 * math/w_j0l.c: Likewise.
61048 * math/w_j1.c: Likewise.
61049 * math/w_j1f.c: Likewise.
61050 * math/w_j1l.c: Likewise.
61051 * math/w_jn.c: Likewise.
61052 * math/w_jnf.c: Likewise.
61053 * math/w_log.c: Likewise.
61054 * math/w_logf.c: Likewise.
61055 * math/w_logl.c: Likewise.
61056 * math/w_log10.c: Likewise.
61057 * math/w_log10f.c: Likewise.
61058 * math/w_log10l.c: Likewise.
61059 * math/w_log2.c: Likewise.
61060 * math/w_log2f.c: Likewise.
61061 * math/w_log2l.c: Likewise.
61062 * math/w_pow.c: Likewise.
61063 * math/w_powf.c: Likewise.
61064 * math/w_powl.c: Likewise.
61065 * math/w_remainder.c: Likewise.
61066 * math/w_remainderf.c: Likewise.
61067 * math/w_remainderl.c: Likewise.
61068 * math/w_scalb.c: Likewise.
61069 * math/w_scalbf.c: Likewise.
61070 * math/w_scalbl.c: Likewise.
61071 * math/w_sqrt.c: Likewise.
61072 * math/w_sqrtf.c: Likewise.
61073 * math/w_sqrtl.c: Likewise.
61074 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61075 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
61076 used.
61077 * math/math_private.h: Declare __kernel_standard_f.
61078 * math/w_cosh.c: Remove cruft and optimize a bit.
61079 * math/w_coshf.c: Likewise.
61080 * math/w_coshl.c: Likewise.
61081 * math/w_exp2.c: Likewise.
61082 * math/w_exp2f.c: Likewise.
61083 * math/w_exp2l.c: Likewise.
61084 * math/w_hypot.c: Likewise.
61085 * math/w_hypotf.c: Likewise.
61086 * math/w_hypotl.c: Likewise.
61087 * math/w_lgamma.c: Likewise.
61088 * math/w_lgamma_r.c: Likewise.
61089 * math/w_lgammaf.c: Likewise.
61090 * math/w_lgammaf_r.c: Likewise.
61091 * math/w_lgammal.c: Likewise.
61092 * math/w_lgammal_r.c: Likewise.
61093 * math/w_sinh.c: Likewise.
61094 * math/w_sinhf.c: Likewise.
61095 * math/w_sinhl.c: Likewise.
61096 * math/w_tgamma.c: Likewise.
61097 * math/w_tgammaf.c: Likewise.
61098 * math/w_tgammal.c: Likewise.
61099 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61101 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61102 Minor optimizations. Pretty printing. Remove cruft.
61103 * sysdeps/i386/fpu/e_acosf.S: Likewise.
61104 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61105 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61106 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61107 * sysdeps/i386/fpu/e_acosl.c: Likewise.
61108 * sysdeps/i386/fpu/e_asin.S: Likewise.
61109 * sysdeps/i386/fpu/e_asinf.S: Likewise.
61110 * sysdeps/i386/fpu/e_atan2.S: Likewise.
61111 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61112 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61113 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61114 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61115 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61116 * sysdeps/i386/fpu/e_exp10.S: Likewise.
61117 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61118 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61119 * sysdeps/i386/fpu/e_exp2.S: Likewise.
61120 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61121 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61122 * sysdeps/i386/fpu/e_fmod.S: Likewise.
61123 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61124 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61125 * sysdeps/i386/fpu/e_hypot.S: Likewise.
61126 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61127 * sysdeps/i386/fpu/e_log.S: Likewise.
61128 * sysdeps/i386/fpu/e_log10.S: Likewise.
61129 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61130 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61131 * sysdeps/i386/fpu/e_log2.S: Likewise.
61132 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61133 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61134 * sysdeps/i386/fpu/e_logf.S: Likewise.
61135 * sysdeps/i386/fpu/e_logl.S: Likewise.
61136 * sysdeps/i386/fpu/e_pow.S: Likewise.
61137 * sysdeps/i386/fpu/e_powf.S: Likewise.
61138 * sysdeps/i386/fpu/e_powl.S: Likewise.
61139 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61140 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61141 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61143 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61144 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61145 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61146 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61147 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61148 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61149 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61151 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61152 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61153 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61154 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61155 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61156 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61157 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61158 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61159 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61161 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61162 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61164 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61165 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61166 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61168 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61169 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61170 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61171 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61172 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61173 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61174 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61175 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61176 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61177 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61178 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61179 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61181 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61182 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61183 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61184 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61185 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61186 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61187 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61188 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61189 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61190 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61191 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61192 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61193 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61194 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61195 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61196 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61197 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61198 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61199 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61200 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61202 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61203 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61204 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61205 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61206 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61207 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61208 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61209 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61212 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61213 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61214 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61216 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61217 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61218 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61219 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61220 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61222 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61224 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61225 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61226 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61227 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61228 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61229 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61230 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61231 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61232 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61233 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61234 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61235 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61236 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61237 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61238 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61239 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61240 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61241 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61242 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61243 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61244 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61245 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61246 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61247 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61248 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61249 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61250 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61251 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61252 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61253 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61254 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61255 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61256 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61257 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61258 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61259 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61260 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61261 (__isnanf): Likewise.
61262 (__isinf_ns): Likewise.
61263 (__isinf_nsf): Likewise.
61264 (__finite): Likewise.
61265 (__finitef): Likewise.
61266 (__ieee754_sqrt): Define as macro.
61267 (__ieee754_sqrtf): Define as macro.
61268 (__ieee754_sqrtl): Define as macro.
61269 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61270 inlined copy.
61271 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61272 __FINITE_MATH_ONLY__ consistent.
61273 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61274
61275 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61276
61277 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61278 of rawmemchr.
61279
61280 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61281
61282 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61283
61284 * po/ja.po: Update from translation team.
61285
61286 2011-10-08 Roland McGrath <roland@hack.frob.com>
61287
61288 * locale/programs/locarchive.c (prepare_address_space): New function.
61289 (create_archive, enlarge_archive, open_archive): Use it.
61290
61291 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61292 inside [SHARED], where it is used.
61293
61294 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61295
61296 * nss/getent.c (netgroup_keys): Remove unused variable.
61297 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61298
61299 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61300
61301 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61302 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61303 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61304 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61305 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61306 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61307 * math/Makefile (libm-calls): Add s_isinf_ns.
61308 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61309 * math/multc3.c: Likewise.
61310 * math/s_casin.c: Likewise.
61311 * math/s_casinf.c: Likewise.
61312 * math/s_casinl.c: Likewise.
61313 * math/s_ccos.c: Likewise.
61314 * math/s_ccosf.c: Likewise.
61315 * math/s_ccosl.c: Likewise.
61316 * math/s_ctan.c: Likewise.
61317 * math/s_ctanf.c: Likewise.
61318 * math/s_ctanh.c: Likewise.
61319 * math/s_ctanhf.c: Likewise.
61320 * math/s_ctanhl.c: Likewise.
61321 * math/s_ctanl.c: Likewise.
61322 * math/w_fmod.c: Likewise.
61323 * math/w_fmodf.c: Likewise.
61324 * math/w_fmodl.c: Likewise.
61325 * math/w_remainder.c: Likewise.
61326 * math/w_remainderf.c: Likewise.
61327 * math/w_remainderl.c: Likewise.
61328 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61329 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61330 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61332 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61333 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61334 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61335 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61336
61337 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61338 of the number.
61339 * stdio-common/printf_fphex.c: Likewise.
61340 * stdio-common/printf_size.c: Likewise.
61341
61342 * math/e_exp10.c: Include math_private.h using <...> not "...".
61343 * math/e_exp10f.c: Likewise.
61344 * math/e_exp10l.c: Likewise.
61345 * math/e_exp2l.c: Likewise.
61346 * math/e_j0l.c: Likewise.
61347 * math/e_j1l.c: Likewise.
61348 * math/e_jnl.c: Likewise.
61349 * math/e_lgammal_r.c: Likewise.
61350 * math/e_rem_pio2l.c: Likewise.
61351 * math/e_scalb.c: Likewise.
61352 * math/e_scalbf.c: Likewise.
61353 * math/e_scalbl.c: Likewise.
61354 * math/k_cosl.c: Likewise.
61355 * math/k_sinl.c: Likewise.
61356 * math/k_tanl.c: Likewise.
61357 * math/s_cacoshf.c: Likewise.
61358 * math/s_catan.c: Likewise.
61359 * math/s_catanf.c: Likewise.
61360 * math/s_catanh.c: Likewise.
61361 * math/s_catanhf.c: Likewise.
61362 * math/s_catanhl.c: Likewise.
61363 * math/s_catanl.c: Likewise.
61364 * math/s_ccosh.c: Likewise.
61365 * math/s_ccoshf.c: Likewise.
61366 * math/s_ccoshl.c: Likewise.
61367 * math/s_cexp.c: Likewise.
61368 * math/s_cexpf.c: Likewise.
61369 * math/s_cexpl.c: Likewise.
61370 * math/s_clog.c: Likewise.
61371 * math/s_clog10.c: Likewise.
61372 * math/s_clog10f.c: Likewise.
61373 * math/s_clog10l.c: Likewise.
61374 * math/s_clogf.c: Likewise.
61375 * math/s_clogl.c: Likewise.
61376 * math/s_csin.c: Likewise.
61377 * math/s_csinf.c: Likewise.
61378 * math/s_csinh.c: Likewise.
61379 * math/s_csinhf.c: Likewise.
61380 * math/s_csinhl.c: Likewise.
61381 * math/s_csinl.c: Likewise.
61382 * math/s_csqrt.c: Likewise.
61383 * math/s_csqrtf.c: Likewise.
61384 * math/s_csqrtl.c: Likewise.
61385 * math/s_ctan.c: Likewise.
61386 * math/s_ctanf.c: Likewise.
61387 * math/s_ctanh.c: Likewise.
61388 * math/s_ctanhf.c: Likewise.
61389 * math/s_ctanhl.c: Likewise.
61390 * math/s_ctanl.c: Likewise.
61391 * math/s_ldexp.c: Likewise.
61392 * math/s_ldexpf.c: Likewise.
61393 * math/s_ldexpl.c: Likewise.
61394 * math/s_significand.c: Likewise.
61395 * math/s_significandf.c: Likewise.
61396 * math/s_significandl.c: Likewise.
61397 * math/w_acos.c: Likewise.
61398 * math/w_acosf.c: Likewise.
61399 * math/w_acosh.c: Likewise.
61400 * math/w_acoshf.c: Likewise.
61401 * math/w_acoshl.c: Likewise.
61402 * math/w_acosl.c: Likewise.
61403 * math/w_asin.c: Likewise.
61404 * math/w_asinf.c: Likewise.
61405 * math/w_asinl.c: Likewise.
61406 * math/w_atan2.c: Likewise.
61407 * math/w_atan2f.c: Likewise.
61408 * math/w_atan2l.c: Likewise.
61409 * math/w_atanh.c: Likewise.
61410 * math/w_atanhf.c: Likewise.
61411 * math/w_atanhl.c: Likewise.
61412 * math/w_cosh.c: Likewise.
61413 * math/w_coshf.c: Likewise.
61414 * math/w_coshl.c: Likewise.
61415 * math/w_dremf.c: Likewise.
61416 * math/w_exp10.c: Likewise.
61417 * math/w_exp10f.c: Likewise.
61418 * math/w_exp10l.c: Likewise.
61419 * math/w_exp2.c: Likewise.
61420 * math/w_exp2f.c: Likewise.
61421 * math/w_fmod.c: Likewise.
61422 * math/w_fmodf.c: Likewise.
61423 * math/w_fmodl.c: Likewise.
61424 * math/w_hypot.c: Likewise.
61425 * math/w_hypotf.c: Likewise.
61426 * math/w_hypotl.c: Likewise.
61427 * math/w_j0.c: Likewise.
61428 * math/w_j0f.c: Likewise.
61429 * math/w_j0l.c: Likewise.
61430 * math/w_j1.c: Likewise.
61431 * math/w_j1f.c: Likewise.
61432 * math/w_j1l.c: Likewise.
61433 * math/w_jn.c: Likewise.
61434 * math/w_jnf.c: Likewise.
61435 * math/w_jnl.c: Likewise.
61436 * math/w_lgamma.c: Likewise.
61437 * math/w_lgamma_r.c: Likewise.
61438 * math/w_lgammaf.c: Likewise.
61439 * math/w_lgammaf_r.c: Likewise.
61440 * math/w_lgammal.c: Likewise.
61441 * math/w_lgammal_r.c: Likewise.
61442 * math/w_log.c: Likewise.
61443 * math/w_log10.c: Likewise.
61444 * math/w_log10f.c: Likewise.
61445 * math/w_log10l.c: Likewise.
61446 * math/w_log2.c: Likewise.
61447 * math/w_log2f.c: Likewise.
61448 * math/w_log2l.c: Likewise.
61449 * math/w_logf.c: Likewise.
61450 * math/w_logl.c: Likewise.
61451 * math/w_pow.c: Likewise.
61452 * math/w_powf.c: Likewise.
61453 * math/w_powl.c: Likewise.
61454 * math/w_remainder.c: Likewise.
61455 * math/w_remainderf.c: Likewise.
61456 * math/w_remainderl.c: Likewise.
61457 * math/w_scalb.c: Likewise.
61458 * math/w_scalbf.c: Likewise.
61459 * math/w_scalbl.c: Likewise.
61460 * math/w_sinh.c: Likewise.
61461 * math/w_sinhf.c: Likewise.
61462 * math/w_sinhl.c: Likewise.
61463 * math/w_sqrt.c: Likewise.
61464 * math/w_sqrtf.c: Likewise.
61465 * math/w_sqrtl.c: Likewise.
61466 * math/w_tgamma.c: Likewise.
61467 * math/w_tgammaf.c: Likewise.
61468 * math/w_tgammal.c: Likewise.
61469
61470 * po/ja.po: Update from translation team.
61471
61472 2011-09-29 Andreas Jaeger <aj@suse.de>
61473
61474 [BZ #13179]
61475 * sunrpc/netname.c (netname2host): Fix logic.
61476
61477 [BZ #6779]
61478 [BZ #6783]
61479 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61480 correctly.
61481 * math/w_remainder.c (__remainder): Likewise.
61482 * math/w_remainderf.c (__remainderf): Likewise.
61483 * math/libm-test.inc (remainder_test): Add test cases.
61484
61485 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61486
61487 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61488 sdiv_qrnnd.
61489
61490 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61491
61492 * string/test-memcmp.c: Avoid unncessary #defines.
61493 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61494
61495 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61496
61497 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61498 Use new sse2 version for core i3 - i7 as it's faster
61499 than sse42 version.
61500 (bit_Prefer_PMINUB_for_stringop): New.
61501 * sysdeps/x86_64/rawmemchr.S: Update.
61502 Replace with faster SSE2 version.
61503 * sysdeps/x86_64/memrchr.S: New file.
61504 * sysdeps/x86_64/memchr.S: Update.
61505 Replace with faster SSE2 version.
61506
61507 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61508
61509 * elf/dl-load.c (lose): Add cast to avoid warning.
61510
61511 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61512
61513 * po/ca.po: Update from translation team.
61514
61515 * inet/getnetgrent_r.c: Hook up nscd.
61516 * nscd/Makefile (routines): Add nscd_netgroup.
61517 (nscd-modules): Add netgroupcache.
61518 (CFLAGS-netgroupcache.c): Define.
61519 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61520 (cache_search): Add const to second parameter.
61521 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61522 INNETGR.
61523 (dbs): Add netgrdb entry.
61524 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61525 (verify_persistent_db): Handle netgrdb.
61526 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61527 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61528 GETFDNETGR.
61529 (netgroup_response_header): Define.
61530 (innetgroup_response_header): Define.
61531 (datahead): Add netgroup_response_header and innetgroup_response_header
61532 elements.
61533 * nscd/nscd.conf: Add entries for netgroup cache.
61534 * nscd/nscd.h (dbtype): Add netgrdb.
61535 (_PATH_NSCD_NETGROUP_DB): Define.
61536 (netgroup_iov_disabled): Declare.
61537 (xmalloc, xcalloc, xrealloc): Move declarations here.
61538 (cache_search): Adjust prototype.
61539 Add netgroup-related prototypes.
61540 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61541 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61542 (__nscd_innetgr): Declare.
61543 * nscd/selinux.c (perms): Use access_vector_t as element type and
61544 add netgroup-related initializers.
61545 * nscd/netgroupcache.c: New file.
61546 * nscd/nscd_netgroup.c: New file.
61547 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61548 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61549 For four parameters use innetgr.
61550 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61551 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61552 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61553 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61554
61555 * nscd/connections.c (register_traced_file): Don't register file
61556 for disabled databases.
61557
61558 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61559
61560 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61561
61562 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61563 from tree and freeing node.
61564
61565 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61566
61567 * nss/nsswitch.c (__nss_database_lookup): Handle
61568 nss_parse_service_list out of memory case.
61569
61570 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61571
61572 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61573 out of memory case.
61574
61575 2011-10-04 Andreas Schwab <schwab@redhat.com>
61576
61577 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61578 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61579 pass it down.
61580 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61581 elf_machine_rela, elf_machine_lazy_rel.
61582 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61583 (ELF_DYNAMIC_DO_REL): Likewise.
61584 (ELF_DYNAMIC_DO_RELA): Likewise.
61585 (ELF_DYNAMIC_RELOCATE): Likewise.
61586 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61587 to ELF_DYNAMIC_DO_REL.
61588 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61589 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61590 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61591 elf_machine_rela.
61592 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61593 skip_ifunc, don't call ifunc function if non-zero.
61594 (elf_machine_rela): Likewise.
61595 (elf_machine_lazy_rel): Likewise.
61596 (elf_machine_lazy_rela): Likewise.
61597 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61598 (elf_machine_lazy_rel): Likewise.
61599 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61600 Likewise.
61601 (elf_machine_lazy_rel): Likewise.
61602 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61603 Likewise.
61604 (elf_machine_lazy_rel): Likewise.
61605 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61606 (elf_machine_lazy_rel): Likewise.
61607 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61608 (elf_machine_lazy_rel): Likewise.
61609 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61610 (elf_machine_lazy_rel): Likewise.
61611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61612 (elf_machine_lazy_rel): Likewise.
61613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61614 (elf_machine_lazy_rel): Likewise.
61615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61616 (elf_machine_lazy_rel): Likewise.
61617
61618 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61619
61620 * nss/nss_files/files-init.c (_nss_files_init): Use static
61621 initialization for all the *_traced_file variables.
61622
61623 2011-09-28 Andreas Schwab <schwab@redhat.com>
61624
61625 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61626
61627 2011-09-27 Roland McGrath <roland@hack.frob.com>
61628
61629 [BZ #13226]
61630 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61631
61632 2011-09-27 Andreas Schwab <schwab@redhat.com>
61633
61634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61635 Reread the line before reparsing it.
61636
61637 2011-09-26 Andreas Schwab <schwab@redhat.com>
61638
61639 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61640
61641 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61642 Maxim Kuvyrkov <maxim@codesourcery.com>
61643 Joseph Myers <joseph@codesourcery.com>
61644
61645 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61646 if needed for __stack_chk_guard.
61647
61648 2011-09-19 Roland McGrath <roland@hack.frob.com>
61649
61650 * sysdeps/posix/spawni.c (script_execute): Always define it.
61651 It will be optimized away if unused.
61652 (maybe_script_execute): New function.
61653 (__spawni): Call it.
61654
61655 * Makerules: Don't include tls.make.
61656 (config-tls): Always set to thread.
61657 * tls.make.c: File removed.
61658
61659 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61660
61661 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61662 * config.make.in (CPPFLAGS-config): New substituted variable.
61663
61664 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61665
61666 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61667
61668 [BZ #13192]
61669 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61670 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61671
61672 2011-09-15 Roland McGrath <roland@hack.frob.com>
61673
61674 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61675 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61677 (CALL_FAIL): Likewise.
61678 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61679 (CALL_FAIL): Macro removed.
61680 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61681
61682 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61683
61684 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61685 for __FINITE_MATH_ONLY__ == 1.
61686
61687 2011-09-15 Andreas Schwab <schwab@redhat.com>
61688
61689 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61690 __ieee754_sqrt instead of sqrt.
61691 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61692 __ieee754_sqrtf instead of sqrtf.
61693 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61694 __floorf instead of floorf.
61695 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61696 __floorf, __truncf instead of floorf, truncf.
61697
61698 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61699
61700 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61701
61702 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61703 __extern_always_inline.
61704 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61705 32-bit.
61706
61707 2011-09-14 Andreas Schwab <schwab@redhat.com>
61708
61709 * elf/rtld.c (dl_main): Also relocate in dependency order when
61710 doing symbol dependency testing.
61711
61712 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61713
61714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61715 Always define `refsym'.
61716
61717 2011-09-13 Andreas Schwab <schwab@redhat.com>
61718
61719 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61720 (__FD_ELT): Renamed from __FDELT.
61721 * misc/bits/select2.h (__FD_ELT): Likewise.
61722 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61723 __FD_MASK instead of __FDELT, __FDMASK.
61724 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61725 Likewise.
61726 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61727 Likewise.
61728
61729 * elf/Makefile (gen-ldd): Fix pattern.
61730
61731 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61732 (init_tls): Likewise.
61733
61734 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61735
61736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61737
61738 2011-09-12 Andreas Schwab <schwab@redhat.com>
61739
61740 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61741 `struct cmsghdr *' instead of `void *'.
61742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61743 Likewise.
61744
61745 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61746
61747 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61748 if non-absolute.
61749 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61750 ldd_rewrite_script.
61751
61752 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61753
61754 * configure.in: Remove --with-tls option.
61755 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61756 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61757 out in case it is missing.
61758 * sysdeps/ia64/elf/configure.in: Likewise.
61759 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61760 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61761 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61762 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61763 * sysdeps/sh/elf/configure.in: Likewise.
61764 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61765 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61766 * sysdeps/x86_64/elf/configure.in: Likewise.
61767 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61768 * sysdeps/mach/hurd/tls.h: Likewise.
61769
61770 [BZ #13067]
61771 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61772
61773 [BZ #13090]
61774 * configure.in: Fix use of AC_INIT.
61775
61776 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61777
61778 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61779
61780 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61781 __set_errno.
61782 * malloc/hooks.c: Likewise.
61783
61784 [BZ #11929]
61785 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61786 variables statically.
61787 (narenas): Initialize.
61788 (list_lock): Initialize.
61789 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61790 initializtion of main_arena and list_lock. Small cleanups.
61791 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61792 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61793 Add initializers to main_arena and mp_.
61794 (malloc_state): Remove pagesize member. Change all users to use
61795 GLRO(dl_pagesize).
61796
61797 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61798 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61799 is always initialized.
61800
61801 * malloc/malloc.c: Removed unused configurations and dead code.
61802 * malloc/arena.c: Likewise.
61803 * malloc/hooks.c: Likewise.
61804 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61805
61806 * include/tls.h: Removed. USE___THREAD must always be defined.
61807 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61808 * elf/dl-libc.c: Likewise.
61809 * elf/dl-tsd.c: Likewise.
61810 * include/errno.h: Likewise.
61811 * include/netdb.h: Likewise.
61812 * include/resolv.h: Likewise.
61813 * inet/herrno-loc.c: Likewise.
61814 * inet/herrno.c: Likewise.
61815 * malloc/arena.c: Likewise.
61816 * malloc/hooks.c: Likewise.
61817 * malloc/malloc.c: Likewise.
61818 * resolv/res-state.c: Likewise.
61819 * resolv/res_libc.c: Likewise.
61820 * sysdeps/i386/dl-machine.h: Likewise.
61821 * sysdeps/ia64/dl-machine.h: Likewise.
61822 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61823 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61824 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61825 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61826 * sysdeps/sh/dl-machine.h: Likewise.
61827 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61828 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61829 * sysdeps/unix/i386/sysdep.S: Likewise.
61830 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61831 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61832 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61833 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61835 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61836 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61840 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61841 * sysdeps/x86_64/dl-machine.h: Likewise.
61842 * tls.make.c: Likewise.
61843
61844 * configure.in: Remove --with-__thread option. Make tests for
61845 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61846 tls_model attribute fail if no support is available. Remove
61847 USE_IN_LIBIO.
61848 * Makeconfig: Adjust for dropped configure option. All features are
61849 now mandatory.
61850 * Makerules: Likewise.
61851 * Versions.def: Likewise.
61852 * argp/argp-fmtstream.c: Likewise.
61853 * argp/argp-fmtstream.h: Likewise.
61854 * argp/argp-help.c: Likewise.
61855 * assert/assert.c: Likewise.
61856 * config.h.in: Likewise.
61857 * config.make.in: Likewise.
61858 * configure: Likewise.
61859 * configure.in: Likewise.
61860 * csu/Versions: Likewise.
61861 * csu/init.c: Likewise.
61862 * elf/tst-audit2.c: Likewise.
61863 * elf/tst-tls10.c: Likewise.
61864 * elf/tst-tls10.h: Likewise.
61865 * elf/tst-tls11.c: Likewise.
61866 * elf/tst-tls12.c: Likewise.
61867 * elf/tst-tls14.c: Likewise.
61868 * elf/tst-tlsmod11.c: Likewise.
61869 * elf/tst-tlsmod12.c: Likewise.
61870 * elf/tst-tlsmod13.c: Likewise.
61871 * elf/tst-tlsmod13a.c: Likewise.
61872 * elf/tst-tlsmod14a.c: Likewise.
61873 * elf/tst-tlsmod15b.c: Likewise.
61874 * elf/tst-tlsmod16a.c: Likewise.
61875 * elf/tst-tlsmod16b.c: Likewise.
61876 * elf/tst-tlsmod7.c: Likewise.
61877 * elf/tst-tlsmod8.c: Likewise.
61878 * elf/tst-tlsmod9.c: Likewise.
61879 * gmon/gmon.c: Likewise.
61880 * grp/fgetgrent_r.c: Likewise.
61881 * grp/putgrent.c: Likewise.
61882 * hurd/fopenport.c: Likewise.
61883 * include/libc-symbols.h: Likewise.
61884 * include/tls.h: Likewise.
61885 * intl/gettextP.h: Likewise.
61886 * intl/loadinfo.h: Likewise.
61887 * locale/global-locale.c: Likewise.
61888 * locale/localeinfo.h: Likewise.
61889 * mach/devstream.c: Likewise.
61890 * malloc/arena.c: Likewise.
61891 * malloc/set-freeres.c: Likewise.
61892 * misc/err.c: Likewise.
61893 * misc/getttyent.c: Likewise.
61894 * misc/mntent_r.c: Likewise.
61895 * posix/getopt.c: Likewise.
61896 * posix/wordexp.c: Likewise.
61897 * pwd/fgetpwent_r.c: Likewise.
61898 * resolv/Versions: Likewise.
61899 * resolv/res_hconf.c: Likewise.
61900 * shadow/fgetspent_r.c: Likewise.
61901 * shadow/putspent.c: Likewise.
61902 * stdio-common/printf_fphex.c: Likewise.
61903 * stdio-common/tmpfile.c: Likewise.
61904 * stdlib/abort.c: Likewise.
61905 * stdlib/fmtmsg.c: Likewise.
61906 * sunrpc/auth_unix.c: Likewise.
61907 * sunrpc/clnt_perr.c: Likewise.
61908 * sunrpc/clnt_tcp.c: Likewise.
61909 * sunrpc/clnt_udp.c: Likewise.
61910 * sunrpc/clnt_unix.c: Likewise.
61911 * sunrpc/openchild.c: Likewise.
61912 * sunrpc/svc_simple.c: Likewise.
61913 * sunrpc/svc_tcp.c: Likewise.
61914 * sunrpc/svc_udp.c: Likewise.
61915 * sunrpc/svc_unix.c: Likewise.
61916 * sunrpc/xdr.c: Likewise.
61917 * sunrpc/xdr_array.c: Likewise.
61918 * sunrpc/xdr_rec.c: Likewise.
61919 * sunrpc/xdr_ref.c: Likewise.
61920 * sunrpc/xdr_stdio.c: Likewise.
61921
61922 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61923
61924 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61925
61926 2011-07-03 Andreas Jaeger <aj@suse.de>
61927
61928 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61929 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61930 regenerate with gen-libm-tests.pl.
61931
61932 2010-05-12 Petr Baudis <pasky@suse.cz>
61933
61934 [BZ #11589]
61935 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61936 around j0() zero points by switching to j1().
61937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61938 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61940 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61941
61942 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61943
61944 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61945 instead of 0.
61946 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61947 instead of 0.
61948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61949 Patch in part by Pavel Roskin <proski@gnu.org>.
61950
61951 [BZ #13138]
61952 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61953 realloc.
61954 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61955 Free memory block if necessary.
61956
61957 [BZ #12847]
61958 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61959 be NULL. Don't lock in this case.
61960
61961 2011-09-09 Roland McGrath <roland@hack.frob.com>
61962
61963 * elf/elf.h (ELFOSABI_GNU): New macro.
61964 (ELFOSABI_LINUX): Define to that.
61965
61966 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61967
61968 * string/strncat.c (strncat): Undef the symbol in case it has been
61969 defined in bits/string.h.
61970
61971 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61972
61973 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61974
61975 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61976 link map.
61977
61978 2011-08-17 Andreas Jaeger <aj@suse.de>
61979
61980 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61981
61982 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61983 Ian Lance Taylor <iant@google.com>
61984
61985 * math/libm-test.inc (lround_test): New testcase.
61986 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61987
61988 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61989
61990 * Makefile: Remove support for automatic cvs check-ins.
61991 * Makerules: Likewise.
61992 * config.make.in: Likewise.
61993 * configure.in: Likewise.
61994 * intl/Makefile: Likewise.
61995 * locale/Makefile: Likewise.
61996 * po/Makefile: Likewise.
61997 * posix/Makefile: Likewise.
61998 * sysdeps/gnu/Makefile: Likewise.
61999 * sysdeps/mach/hurd/Makefile: Likewise.
62000 * sysdeps/sparc/sparc32/Makefile: Likewise.
62001
62002 [BZ #13118]
62003 * posix/Makefile (bug-regex32-ENV): Define.
62004 Patch by John Stanley <jpsinthemix@verizon.net>.
62005
62006 * misc/Makefile (headers): Add bits/select2.h.
62007 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62008 * misc/bits/select2.h: New file.
62009 * include/bits/select2.h: New file.
62010 * debug/Makefile (routines): Add fdelt_chk.
62011 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62012 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62013 FD_ISSET.
62014 * debug/fdelt_chk.c: New file.
62015
62016 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
62017 * wcsmbs/test-wmemcmp.c: Likewise.
62018 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62019 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62020
62021 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62022
62023 * string/Makefile (strop-tests): Add memcmp.
62024 * string/test-wmemcmp.c: New file.
62025 * string/test-memcmp.c: Add wmemcmp support.
62026
62027 2011-09-08 Roland McGrath <roland@hack.frob.com>
62028
62029 [BZ #13153]
62030 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62031 2011-07-19 change.
62032
62033 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62034 garbage value in a __mach_port_mod_refs call in the cases of the
62035 task-self and thread-self ports.
62036
62037 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62038
62039 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62040
62041 2011-09-08 Andreas Schwab <schwab@redhat.com>
62042
62043 * elf/dl-load.c (lose): Check for non-null L.
62044
62045 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62046
62047 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62048
62049 * elf/dl-libc.c (dlerror_run): Pass back error code from
62050 dl_catch_error.
62051
62052 [BZ #13123]
62053 * elf/dl-load.c (lose): Free l_origin if it is valid.
62054
62055 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62056 names.
62057 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62058 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62060 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62061 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62062 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62063
62064 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62065
62066 * sysdeps/powerpc/fpu/e_hypot.c: New file.
62067 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62068 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62069 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62070 * sysdeps/powerpc/fpu/k_cosf.c: New file.
62071 * sysdeps/powerpc/fpu/k_sinf.c: New file.
62072 * sysdeps/powerpc/fpu/s_cosf.c: New file.
62073 * sysdeps/powerpc/fpu/s_sinf.c: New file.
62074 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62075 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62076
62077 2011-08-15 Alan Modra <amodra@gmail.com>
62078
62079 [BZ #13092]
62080 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62081 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62082 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
62083 ppc_mcount to static-only-routines.
62084 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62085 __mcount_internal.
62086 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62087 __mcount_internal with usual JUMPTARGET. Remove useless nop.
62088
62089 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
62090
62091 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62092 for finite and infinity parameters.
62093
62094 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
62095
62096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62097 and add nop instructions for throughput optimization.
62098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62099
62100 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
62101
62102 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62103 aligned copy for power7 with vector-scalar instructions.
62104 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62105
62106 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
62107
62108 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62109 AVX check.
62110
62111 2011-09-07 Andreas Schwab <schwab@redhat.com>
62112
62113 [BZ #13144]
62114 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62115 last change.
62116
62117 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62118
62119 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62120 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62121 syscall wrapper around clock_gettime in __vdso_clock_gettime.
62122 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62123 clock_gettime.
62124
62125 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62126
62127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62128 Forgot to demangle the pointer.
62129
62130 * sysdeps/i386/sysdep.h: Define atom_text_section.
62131 * sysdeps/x86_64/sysdep.h: Likewise.
62132 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62133 section with atom_text_section.
62134 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62135 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62136 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62138 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62139
62140 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62142 already be defined. Change to take two parameters and don't assign
62143 result to variable. Adjust all users.
62144 Define INTERNAL_GETTIME if not already defined.
62145 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62146 call.
62147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62148 HAVE_CLOCK_GETTIME_VSYSCALL.
62149 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62150
62151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62152 gettimeofday vsyscall, just use time.
62153
62154 2011-09-06 Andreas Schwab <schwab@redhat.com>
62155
62156 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62157 <errno.h>.
62158
62159 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62160
62161 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62162 syscall on x86-64.
62163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62164 syscall.
62165 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62167 syscall if possible.
62168
62169 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62170
62171 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62172 e_ident. Don't pass to find_mapsXX.
62173 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62174
62175 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62176
62177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62178 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62179 * sysdeps/x86_64/multiarch/strchr.S: Update.
62180 Check bit_slow_BSF bit.
62181 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62182 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62183 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62184
62185 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62186
62187 [BZ #13134]
62188 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62189 before glibc 2.15.
62190 (tryshell): Define.
62191 (__spawni): Change last parameter to be flag. Test
62192 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62193 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62194 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62195 * posix/spawni.c: Likewise.
62196 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62197 * posix/spawnp.c: Likewise. Change normal version to use
62198 SPAWN_XFLAGS_USE_PATH.
62199 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62200 SPAWN_XFLAGS_TRY_SHELL.
62201
62202 [BZ #13150]
62203 * posix/glob.h: Remove gcc 1.x support.
62204
62205 [BZ #13068]
62206 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62207
62208 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62209
62210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62211 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62212 strrchr-sse2-bsf
62213 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62214 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62215 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62216 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62217 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62218 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62219
62220 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62221
62222 * sysdeps/x86_64/wcscmp.S: New file.
62223
62224 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62225 wcscmp-c wcscmp-sse2
62226 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62227 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62228 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62229 * wcsmbs/wcscmp.c: Allow renaming.
62230
62231 2011-09-05 David S. Miller <davem@davemloft.net>
62232
62233 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62234 stack slot, rather than the struct return pointer slot.
62235 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62236 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62238 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62239
62240 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62241
62242 * po/ja.po: Update from translation team.
62243
62244 [BZ #13144]
62245 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62246 kernel in 64-bit binaries.
62247
62248 2011-09-01 David S. Miller <davem@davemloft.net>
62249
62250 * elf/elf.h (HWCAP_SPARC_*): Move to..
62251 * sysdeps/sparc/sysdep.h: this new file and add new values.
62252 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62253 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62254 _DL_HWCAP_COUNT to 24.
62255 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62256 entries.
62257 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62258 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62259 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62261 instead of magic constants.
62262 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62263
62264 2011-08-31 David S. Miller <davem@davemloft.net>
62265
62266 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62267 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62268 Reimplement to do errno handling inline.
62269 (SYSCALL_ERROR_HANDLER): New macro.
62270 (__SYSCALL_STRING): Do not do errno handling in asm.
62271 (__CLONE_SYSCALL_STRING): Delete.
62272 (__INTERNAL_SYSCALL_STRING): Delete.
62273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62274 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62275 (PSEUDO): Reimplement to do errno handling inline.
62276 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62277 (SYSCALL_ERROR_HANDLER): New macro.
62278 (__SYSCALL_STRING): Do not do errno handling in asm.
62279 (__CLONE_SYSCALL_STRING): Delete.
62280 (__INTERNAL_SYSCALL_STRING): Delete.
62281 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62282 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62283 i386.
62284 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62285 (inline_syscall*): Add 'err' argument.
62286 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62287 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62288 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62289 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62290
62291 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62292 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62293
62294 2011-08-30 Andreas Schwab <schwab@redhat.com>
62295
62296 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62297
62298 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62299
62300 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62301 directive.
62302
62303 2011-08-24 David S. Miller <davem@davemloft.net>
62304
62305 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62306
62307 2011-08-24 Andreas Schwab <schwab@redhat.com>
62308
62309 * elf/Makefile: Add rules to build and run unload8 test.
62310 * elf/unload8.c: New file.
62311 * elf/unload8mod1.c: New file.
62312 * elf/unload8mod1x.c: New file.
62313 * elf/unload8mod2.c: New file.
62314 * elf/unload8mod3.c: New file.
62315
62316 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62317 it wasn't used.
62318
62319 2011-08-23 David S. Miller <davem@davemloft.net>
62320
62321 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62322 subtract stack bias.
62323 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62324 %sp not %fp in calculations.
62325 (_JMPBUF_UNWINDS_ADJ): Likewise.
62326
62327 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62328 (aio_suspend): Call it to force an exception region around the
62329 AIO_MISC_WAIT() invocation.
62330
62331 2011-08-23 Andreas Schwab <schwab@redhat.com>
62332
62333 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62334 backslash.
62335
62336 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62337
62338 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62339 protection macro.
62340 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62341 and <dl-machine.h>.
62342 (Elf64_FuncDesc): Remove.
62343
62344 2011-08-22 David S. Miller <davem@davemloft.net>
62345
62346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62347 sigaltstack check, add missing cfi directives.
62348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62349 missing cfi directives, and sigaltstack handling.
62350
62351 2011-08-16 Andreas Schwab <schwab@redhat.com>
62352
62353 [BZ #11724]
62354 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62355 object is seen twice.
62356 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62357
62358 * elf/Makefile (distribute): Add tst-initorder2.c.
62359 (tests): Add tst-initorder2.
62360 (modules-names): Add tst-initorder2a tst-initorder2b
62361 tst-initorder2c tst-initorder2d. Add rules to build them.
62362 ($(objpfx)tst-initorder2.out): New rule.
62363 * elf/tst-initorder2.c: New file.
62364 * elf/tst-initorder2.exp: New file.
62365
62366 2011-08-22 Andreas Schwab <schwab@redhat.com>
62367
62368 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62369
62370 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62371 dependencies back to end of function.
62372
62373 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62374 $(elfobjdir)/ld.so.
62375
62376 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62377
62378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62379 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62380 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62381 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62382 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62383 of __vdso_gettimeofday.
62384 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62385 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62386 attribute_hidden.
62387 (_libc_vdso_platform_setup): Remove initialization of
62388 __vdso_gettimeofday and __vdso_time.
62389
62390 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62391
62392 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62393 and fgetc_unlocked.
62394 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62395 getc_unlocked.
62396
62397 * elf/dl-open.c (add_to_global): Report additions to the global scope
62398 for LD_DEBUG=scopes.
62399 (dl_open_worker): Also print scope of newly loaded dependencies.
62400 (_dl_show_scope): Indicate if there is no scope.
62401
62402 [BZ #13114]
62403 * stdio-common/Makefile (tests): Add bug24.
62404 * stdio-common/bug24.c: New file.
62405
62406 2011-08-19 Andreas Jaeger <aj@suse.de>
62407
62408 [BZ #13114]
62409 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62410 non-existant file when using close-on-exec mode.
62411
62412 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62413
62414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62415 the very first instruction.
62416
62417 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62418 the CFI state in the end.
62419 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62420 inclusion of dl-trampoline.h.
62421 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62422
62423 2011-08-19 Andreas Schwab <schwab@redhat.com>
62424
62425 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62426 expectations for long double.
62427
62428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62429 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62430
62431 2011-08-14 David S. Miller <davem@davemloft.net>
62432
62433 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62434 artificual limit depends upon the system page size.
62435
62436 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62437
62438 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62439 * resolv/Makefile: Define CFLAGS-libresolv.
62440
62441 2011-08-17 Andreas Schwab <schwab@redhat.com>
62442
62443 * nss/makedb.c (compute_tables): Make variables used in nested
62444 function static.
62445
62446 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62447
62448 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62449 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62450 if buffer was too small.
62451
62452 * elf/pldd.c (main): Attach to all threads in the process.
62453 Rewrite /proc handling to use *at functions.
62454
62455 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62456
62457 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62458 specifies first scope to show.
62459 (dl_open_worker): Update callers. Move printing scope of new
62460 object to before the relocation.
62461 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62462 * sysdeps/generic/ldsodefs.h: Update declaration.
62463
62464 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62465 string for the scope number.
62466
62467 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62468
62469 * nscd/servicescache.c (cache_addserv): Make sure written is always
62470 initialized.
62471
62472 2011-08-14 Roland McGrath <roland@hack.frob.com>
62473
62474 * sysdeps/i386/i486/bits/atomic.h
62475 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62476 statement expression, so as to suppress "set but not used" warning.
62477 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62478
62479 * string/strncat.c (STRNCAT): Use prototype definition.
62480
62481 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62482 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62483 -Iprograms here.
62484 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62485 (localedef-modules): Add localedef.
62486 (locale-modules): Add locale.
62487
62488 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62489 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62490 to avoid a warning.
62491
62492 2011-08-14 David S. Miller <davem@davemloft.net>
62493
62494 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62495 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62496
62497 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62498
62499 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62500 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62501 * elf/rtld.c (dl_main): Set l_name of vDSO.
62502 Call _dl_show_scope when DL_DEBUG_SCOPES.
62503 (process_dl_debug): Recognize scopes flag and also set it for all.
62504 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62505 Declare _dl_show_scope.
62506
62507 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62508 (do_dlopen): Pass caller_dlopen to dl_open.
62509 (__libc_dlopen_mode): Initialize caller_dlopen.
62510
62511 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62512 of libc. Make tolower call locale-independent. Optimize a bit by
62513 using isdigit instead of isalnum.
62514 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62515
62516 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62517
62518 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62519 was a dependency or dynamically loaded.
62520
62521 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62522
62523 * intl/l10nflist.c: Allow architecture-specific pop function.
62524 * sysdeps/x86_64/l10nflist.c: New file.
62525
62526 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62527 classification.
62528
62529 2011-08-10 Andreas Schwab <schwab@redhat.com>
62530
62531 * include/dirent.h: Add libc_hidden_proto for scandirat and
62532 scandirat64. Don't declare __scandirat64.
62533 * dirent/scandirat.c: Add libc_hidden_def.
62534 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62535 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62536
62537 2011-08-10 David S. Miller <davem@davemloft.net>
62538
62539 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62540 enum.
62541 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62542 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62543 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62544
62545 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62546
62547 * Versions.def [libc]: Add GLIBC_2.15.
62548 * dirent/Makefile (routines): Add scandirat and scandirat64.
62549 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62550 GLIBC_2.15.
62551 * dirent/dirent.h: Declare scandirat and scandirat64.
62552 * dirent/scandirat.c: New file.
62553 * dirent/scandirat64.c: New file.
62554 * sysdeps/wordsize-64/scandirat.c: New file.
62555 * sysdeps/wordsize-64/scandirat64.c: New file.
62556 * dirent/opendir.c: Define opendirat.
62557 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62558 using scandirat.
62559 * dirent/scandir64.c: Adjust for scandir.c change.
62560 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62561 __scandirat64, and __scandir_cancel_handler.
62562 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62563 additional parameter and use openat instead of open (outside of ld.so).
62564 Add new __opendir as wrapper around __opendirat.
62565 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62566 here without requiring old scandirat implementation.
62567
62568 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62569
62570 * dirent/scandir.c (cancel_handler): Renamed to
62571 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62572 defined. Adjust users.
62573 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62575
62576 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62577
62578 * string/test-string.h (IMPL): Use __STRING to expand name and then
62579 stringify it.
62580
62581 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62582 of cleanups.
62583
62584 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62585
62586 * string/Makefile: Update.
62587 (strop-tests): Append strncat.
62588 * string/test-wcscmp.c: New file.
62589 New comprehensive test for wcscmp.
62590 * string/test-strcmp.c: Update.
62591 (WIDE): New define.
62592
62593 2011-07-22 Andreas Schwab <schwab@redhat.com>
62594
62595 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62596 line.
62597
62598 2011-07-26 Andreas Schwab <schwab@redhat.com>
62599
62600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62601 encoding to ACE if AI_IDN.
62602
62603 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62604
62605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62606 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62607
62608 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62609
62610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62611 Fix overflow bug in strncat.
62612 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62613
62614 * string/test-strncat.c: Update.
62615 Add new tests for checking overflow bugs.
62616
62617 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62618
62619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62620 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62621 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62622 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62623 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62624 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62625 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62626 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62627 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62628
62629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62630 (USE_AS_STRCAT): Define.
62631 Add strcat and strncat support.
62632 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62633
62634 2011-07-25 Andreas Schwab <schwab@redhat.com>
62635
62636 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62637 __n bigger than INT_MAX+1.
62638 (__strncmp_g): Likewise.
62639
62640 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62641
62642 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62643 * libio/stido.h: Likewise.
62644
62645 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62646 (AF_NFC): Define.
62647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62648 (AF_NFC): Define.
62649
62650 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62652 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62653 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62654 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62655
62656 [BZ #13021]
62657 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62658 installed.
62659
62660 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62661 typo.
62662 (_dl_x86_64_save_sse): Likewise.
62663
62664 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62665
62666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62667 OSXSAVE.
62668 (_dl_x86_64_save_sse): Likewise.
62669
62670 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62671
62672 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62673
62674 2011-07-21 Andreas Schwab <schwab@redhat.com>
62675
62676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62677 change.
62678 (_dl_x86_64_save_sse): Use correct AVX check.
62679
62680 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62681
62682 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62683 bug in strncpy/strncat.
62684 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62685
62686 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62687
62688 * string/tester.c (test_strcat): Add tests for different alignments
62689 of source and destination.
62690 (test_strncat): Likewise.
62691
62692 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62693
62694 [BZ #12852]
62695 * posix/glob.c (glob): Check passed in values before using them in
62696 expressions to avoid some overflows.
62697 (glob_in_dir): Likewise.
62698
62699 [BZ #13007]
62700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62701 check for AVX enablement so that we don't crash with old kernels and
62702 new hardware.
62703 * elf/tst-audit4.c: Add same checks here.
62704 * elf/tst-audit6.c: Likewise.
62705
62706 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62707
62708 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62709
62710 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62711
62712 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62713
62714 * po/cs.po: Update from translation team.
62715 * po/bg.po: Likewise.
62716
62717 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62718
62719 * misc/sys/cdefs.h: Add support for const attribute.
62720 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62721 to gnu_dev_{major,minor,makedev} functions.
62722
62723 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62724
62725 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62726
62727 2011-07-20 Andreas Schwab <schwab@redhat.com>
62728
62729 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62730 strlen results.
62731
62732 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62733
62734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62735 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62736 register in order to avoid conflicts with the soft frame pointer
62737 being held in r11 when necessary.
62738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62739 (INTERNAL_VSYSCALL_NCS): Likewise.
62740
62741 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62742
62743 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62744 * elf/dl-fini.c (_dl_fini): Adjust caller.
62745 * elf/dl-close.c (_dl_close_worker): Likewise.
62746 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62747
62748 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62749
62750 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62751 "aux_cache->nlibs < 0".
62752
62753 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62754 in the reload-count case.
62755
62756 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62757
62758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62759 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62760 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62761 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62762 * sysdeps/x86_64/multiarch/strcat.S: New file.
62763 * sysdeps/x86_64/multiarch/strncat.S: New file.
62764 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62765 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62766 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62767 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62769 (USE_AS_STRCAT): Define.
62770 Add strcat and strncat support.
62771 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62772 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62773 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62774 * string/strncat.c: Update.
62775 (USE_AS_STRNCAT): Define.
62776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62777 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62778 and i7.
62779 * sysdeps/x86_64/multiarch/init-arch.h
62780 (bit_Prefer_PMINUB_for_stringop): New.
62781 (index_Prefer_PMINUB_for_stringop): Likewise.
62782 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62783 bit_Prefer_PMINUB_for_stringop.
62784
62785 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62786
62787 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62788 buffer64.
62789 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62790 of casting of buffer.
62791 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62792 buffer32 and buffer64.
62793 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62794 writes instead of casting of buffer.
62795 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62796 buffer32.
62797 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62798 casting of buffer.
62799
62800 2011-07-19 Andreas Schwab <schwab@redhat.com>
62801
62802 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62803
62804 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62805
62806 * nscd/nscd.c (termination_handler): Don't do anything for a database
62807 if it has not yet been initialized.
62808
62809 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62810
62811 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62812
62813 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62814
62815 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62816
62817 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62818
62819 * po/nl.po: Update from translation team.
62820 * po/sv.po: Likewise.
62821
62822 2011-07-16 Roland McGrath <roland@hack.frob.com>
62823
62824 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62825 now disallowed by GCC.
62826
62827 * configure.in (use-default-link): Default to yes if a test -shared
62828 link meets our qualifications.
62829 * configure: Regenerated.
62830
62831 * config.make.in (output-format): New variable.
62832 * configure.in: Check for ld --print-output-format support.
62833 * configure: Regenerated.
62834 * Makerules ($(common-objpfx)format.lds)
62835 [$(output-format) != unknown]: Just use $(output-format),
62836 instead of the linker-script munging.
62837
62838 2011-07-14 Roland McGrath <roland@hack.frob.com>
62839
62840 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62841 of $(common-objpfx)shlib.lds.
62842 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62843
62844 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62845 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62846
62847 * configure.in (-z relro check): Adjust test code to add a large
62848 writable data section after it.
62849 * configure: Regenerated.
62850
62851 2011-07-11 Roland McGrath <roland@hack.frob.com>
62852
62853 * configure.in (-z relro check): Fix test code to make the variable
62854 truly const.
62855 * configure: Regenerated.
62856
62857 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62858
62859 * nscd/nscd.h (struct traced_file): Define.
62860 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62861 elements. Add traced_files.
62862 (inotify_fd): Declare.
62863 (register_traced_file): Declare.
62864 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62865 (inotify_fd): Export.
62866 (resolv_conf_descr): Remove.
62867 (nscd_init): Move inotify descriptor creation to main.
62868 Don't register files for notification here.
62869 (register_traced_file): New function.
62870 (invalidate_cache): Don't use reset_res to determine whether to call
62871 res_init, go through the list of registered files.
62872 (main_loop_poll): The inotify descriptors are now stored in the
62873 structures for the traced files.
62874 (main_loop_epoll): Likewise
62875 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62876 to __nss_disable_nscd.
62877 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62878 for a database anymore. Check the records for all the registered
62879 files instead.
62880 * nss/Makefile (libnss_files-routines): Add files-init.
62881 (libnss_db-routines): Add db-init.
62882 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62883 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62884 * nss/nss_db/db-init.c: New file.
62885 * nss/nss_files/files-init.c: New file.
62886 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62887 __nss_lookup_function.
62888 (__nss_lookup_function): Call nss_load_library.
62889 (nss_load_all_libraries): New function.
62890 (__nss_disable_nscd): Take parameter with callback function for files
62891 to register. Set is_nscd. Load all the DSOs for the NSS modules
62892 used for the cached services.
62893 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62894 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62895 options for features to all the files in nscd.
62896
62897 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62898
62899 2011-07-10 Roland McGrath <roland@hack.frob.com>
62900
62901 * csu/elf-init.c (__libc_csu_init): Comment typo.
62902
62903 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62904
62905 * po/pl.po: Update from translation team.
62906 * po/ja.po: Likewise.
62907 * po/ru.po: Likewise.
62908 * po/ko.po: Likewise.
62909 * po/fr.po: Likewise.
62910
62911 2011-07-09 Roland McGrath <roland@hack.frob.com>
62912
62913 * configure.in (.ctors/.dtors header and trailer check):
62914 Use an empirical test on a built program.
62915 * configure: Regenerated.
62916
62917 * configure.in (-z relro check): Use an empirical test on a built DSO.
62918 Detect, but do not require, on ia64.
62919 * configure: Regenerated.
62920
62921 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62922 Update tests that use readelf to use $READELF instead.
62923 * configure: Regenerated.
62924
62925 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62926
62927 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62928 if the result is not used.
62929
62930 2011-07-05 Andreas Jaeger <aj@suse.de>
62931
62932 [BZ#9696]
62933 * stdlib/tst-strtod.c: Add testcase.
62934
62935 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62936
62937 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62938 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62939 The latter has a higher limit. Take additional parameter to pass to
62940 the new function.
62941 (__pathconf): Pass file to __statfs_link_max.
62942 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62943 __statfs_link_max.
62944 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62945 __statfs_link_max.
62946
62947 [BZ #12868]
62948 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62949 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62950 Handle Lustre.
62951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62952 (__statfs_filesize_max): Likewise.
62953 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62954
62955 2011-07-05 Andreas Jaeger <aj@suse.de>
62956
62957 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62958
62959 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62960
62961 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62962 `status' variable.
62963 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62964 Likewise.
62965
62966 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62967
62968 * Makefile (strop-tests): Add strncat.
62969 * string/test-strncat.c: New file.
62970
62971 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62972
62973 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62974
62975 2011-06-21 Andreas Jaeger <aj@suse.de>
62976
62977 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62978 Copy rule from iconvdata/Makefile.
62979
62980 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62981
62982 [BZ #12922]
62983 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62984 but no long options are defined, just return 'W'.
62985
62986 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62987
62988 [BZ #9696]
62989 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62990
62991 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62992
62993 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62994 netgroups to read.
62995 (innetgr): Likewise.
62996
62997 2011-07-05 Roland McGrath <roland@hack.frob.com>
62998
62999 * config.make.in (install_root): Default to $(DESTDIR).
63000
63001 2011-07-05 Ulrich Drepper <drepper@gmail.com>
63002
63003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63004
63005 2011-07-02 Roland McGrath <roland@hack.frob.com>
63006
63007 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63008
63009 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63010 containing directory rather than embedding absolute directory names.
63011
63012 * scripts/check-local-headers.sh: Rewritten using awk.
63013 Match by word, not by line. Print error messages for matches.
63014 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63015
63016 * Makerules [shlib-lds-flags empty]:
63017 ($(common-objpfx)libc_pic.opts): New target.
63018 ($(common-objpfx)libc_pic.os.clean): New target.
63019 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63020
63021 * config.make.in (OBJCOPY): New variable.
63022 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63023 * configure: Regenerated.
63024
63025 * config.make.in (use-default-link): New variable.
63026 * configure.in (use_default_link): Grok --with-default-link to set it.
63027 * configure: Regenerated.
63028 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63029 (shlib-lds, shlib-lds-flags): Define to empty.
63030
63031 * Makerules (shlib-lds): New variable.
63032 (shlib-lds-flags): New variable.
63033 (build-shlib, build-moduile, build-module-asneeded): Use it.
63034 ($(common-objpfx)libc.so): Use $(shlib-lds).
63035 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63036 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63037
63038 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63039 DT_FLAGS/DT_FLAGS_1 with zero flags.
63040
63041 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63042 linker script munging.
63043
63044 2011-07-02 Ulrich Drepper <drepper@gmail.com>
63045
63046 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63047 as 128-bit value.
63048 * crypt/sha512.c (sha512_process_block): Perform total addition using
63049 128-bit if possible.
63050 (__sha512_finish_ctx): Likewise.
63051 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63052 as 64-bit value.
63053 * crypt/sha256.c (SWAP64): Define.
63054 (sha256_process_block): Perform total addition using 64-bit if
63055 possible.
63056 (__sha256_finish_ctx): Likewise.
63057
63058 2011-07-01 Ulrich Drepper <drepper@gmail.com>
63059
63060 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
63061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63062 * nscd/hstcache.c (cache_addhst): Likewise.
63063 * nscd/grpcache.c (cache_addgr): Likewise.
63064 * nscd/aicache.c (addhstaiX): Likewise
63065 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63066
63067 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
63068
63069 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63071 * nscd/hstcache.c (cache_addhst): Likewise.
63072 * nscd/grpcache.c (cache_addgr): Likewise.
63073 * nscd/aicache.c (addhstaiX): Likewise
63074
63075 2011-07-01 Andreas Schwab <schwab@redhat.com>
63076
63077 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63078 domain only when needed.
63079
63080 2011-06-30 Andreas Schwab <schwab@redhat.com>
63081
63082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63083 is always restored.
63084
63085 2011-06-29 Ulrich Drepper <drepper@gmail.com>
63086
63087 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63088 are re-adding the entry.
63089 * nscd/servicescache.c (cache_addserv): Likewise.
63090
63091 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
63092
63093 * sysdeps/generic/dl-irel.h: fix protection against multiple
63094 inclusions.
63095 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63096
63097 2011-06-28 Ulrich Drepper <drepper@gmail.com>
63098
63099 [BZ #12935]
63100 * malloc/memusage.sh: Fix quoting in message.
63101 * debug/xtrace.sh: Likewise.
63102
63103 * configure.in: Remove support for --experimental-malloc option, make
63104 it the default.
63105 * config.make.in: Likewise.
63106 * malloc/Makefile: Likewise.
63107
63108 2011-06-27 Andreas Schwab <schwab@redhat.com>
63109
63110 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63111 two-byte characters.
63112
63113 2011-06-27 Roland McGrath <roland@hack.frob.com>
63114
63115 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63116 AC_CACHE_CHECK invocation.
63117 * configure: Regenerated.
63118
63119 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63120
63121 2011-06-27 Ulrich Drepper <drepper@gmail.com>
63122
63123 [BZ #12350]
63124 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
63125 bit from old_res_options.
63126
63127 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63128
63129 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63130 value type for setfct.
63131
63132 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63133
63134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63135 __gettimeofday instead of gettimeofday.
63136
63137 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63138
63139 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63140
63141 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63142
63143 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63144
63145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63146 info.
63147
63148 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63149
63150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63151 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63152 strcpy-sse2-unaligned strncpy-sse2-unaligned
63153 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63154 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63155 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63156 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63157 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63158 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63160 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63161 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63162 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63163 (STRCPY): Support SSE2 and SSSE3 versions.
63164
63165 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63166
63167 [BZ #12874]
63168 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63169 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63170 kernels which artificially limit size of requests.
63171
63172 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63173
63174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63175 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63176 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63177 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63178 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63179 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63180 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63181 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63182 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63183 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63184 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63185 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63186 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63187 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63188 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63190 Enable unaligned load optimization for Intel Core i3, i5 and i7
63191 processors.
63192 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63193 Define.
63194 (index_Fast_Unaligned_Load): Define.
63195 (HAS_FAST_UNALIGNED_LOAD): Define.
63196
63197 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63198
63199 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63200
63201 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63202
63203 [BZ #12907]
63204 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63205 until it is clear that the information is realy needed.
63206 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63207
63208 2011-06-22 Andreas Schwab <schwab@redhat.com>
63209
63210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63211
63212 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63213
63214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63215 /sys/devices/system/cpu/online if it is usable.
63216
63217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63218 reading the information from the /proc filesystem to once a second.
63219
63220 2011-06-21 Andreas Jaeger <aj@suse.de>
63221
63222 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63223 NULL after inclusion of kernel headers.
63224
63225 2011-06-21 Ulrich Drepper <drepper@gmail.com>
63226
63227 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63228 calls to internal_setent.
63229
63230 [BZ #12885]
63231 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63232 addresses using gethostbyname4_r ignore IPv4 addresses.
63233
63234 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63235 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
63236
63237 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63238
63239 2011-06-20 David S. Miller <davem@davemloft.net>
63240
63241 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63242 inclusions.
63243 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63244
63245 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63246 (elf_irel): Use it.
63247 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63248 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63249 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63250 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63251 * sysdeps/x86_64/dl-irel.h: Likewise.
63252
63253 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63254 * elf/dl-sym.c: Likewise.
63255
63256 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63257
63258 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63259 need to dereference resplen2.
63260
63261 2011-06-14 Andreas Schwab <schwab@redhat.com>
63262
63263 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63264
63265 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63266
63267 * Makeconfig: Define vardbdir and inst_vardbdir.
63268 * nss/Makefile: Add rules to install db-Makefile.
63269
63270 * nss/nss_db/db-XXX.c: Cleanup.
63271
63272 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63273 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63274 GLIBC_PRIVATE.
63275 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63276 * nss/makedb.c: Implement -g option to specify that value strings
63277 are generated and should not be added to table iterated over for
63278 get*ent calls.
63279 * nss/nss_db/db-initgroups.c: New file.
63280
63281 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63282 interface.
63283
63284 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63285 (internal_getgrouplist): Adjust to name change.
63286 Update use_initgroups_entry if this is not the first call.
63287 * nss/databases.def: Add initgroups entry.
63288
63289 * nss/makedb.c (compute_tables): Check result of multiple hash table
63290 sizes to minimize maximum chain length.
63291
63292 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63293
63294 * Versions.def: Add entry for libnss_db.
63295 * shlib-versions: Likewise.
63296 * nss/Makefile: Add rules to build libnss_db.
63297 * nss/Versions: Add libnss_db information. Organize libnss_files
63298 entries better.
63299 * nss/db-Makefile: Add gshadow support. Change rules for the new
63300 makedb progra. Some minor improvements to generate smaller files.
63301 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63302 here from...
63303 * nss/makedb.c: ...here.
63304 Improve database format to be smaller and require less memory at
63305 runtime.
63306 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63307 db anymore.
63308 * nss/nss_db/db-netgrp.c: Likewise.
63309 * nss/nss_db/db-open.c: Likewise.
63310 * nss/nss_files/flies-XXX.x: Adjust comments.
63311 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63312 * nss/nss_files/files-grp.c: Likewise.
63313 * nss/nss_files/files-hosts.c: Likewise.
63314 * nss/nss_files/files-network.c: Likewise.
63315 * nss/nss_files/files-proto.c: Likewise.
63316 * nss/nss_files/files-pwd.c: Likewise.
63317 * nss/nss_files/files-rpc.c: Likewise.
63318 * nss/nss_files/files-service.c: Likewise.
63319 * nss/nss_files/files-sgrp.c: Likewise.
63320 * nss/nss_files/files-spwd.c: Likewise.
63321 * nss/nss_db/db-alias.c: Removed.
63322 * nss/nss_db/dummy-db.h: Removed.
63323
63324 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63325
63326 * nss/makedb.c: Rewritten to not use database library.
63327 * nss/Makefile: Update to build new makedb program.
63328
63329 2011-06-14 Andreas Jaeger <aj@suse.de>
63330
63331 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63332 memset declaration.
63333
63334 2011-06-10 Andreas Schwab <schwab@redhat.com>
63335
63336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63337 tmpbuf.
63338
63339 2011-06-10 Roland McGrath <roland@hack.frob.com>
63340
63341 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63342 * elf/Makefile ($(objpfx)ld.so): Likewise.
63343
63344 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63345 Don't list ld.so twice in dependencies.
63346
63347 * posix/bug-regex31.c: Include <stdlib.h>.
63348
63349 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63350
63351 * nis/nss_compat/compat-spwd.c
63352 (getspent_next_nss_netgr): Remove unused variable.
63353 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63354
63355 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63356 nonmembers" output to use the right array.
63357
63358 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63359
63360 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63361
63362 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63363 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63364 * catgets/gencat.c (read_input_file): Likewise.
63365 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63366
63367 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63368 variable definition inside #if's controlling its use.
63369
63370 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63371
63372 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63373
63374 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63375
63376 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63377 unreachable code.
63378
63379 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63380
63381 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63382 * configure: Regenerated.
63383
63384 * Makerules: Revert last change.
63385 * elf/Makefile: Likewise.
63386
63387 2011-06-09 Roland McGrath <roland@hack.frob.com>
63388
63389 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63390 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63391 (reloc-link): Likewise.
63392
63393 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63394
63395 * elf/Makefile: Add rules to build pldd.
63396 * elf/pldd.c: New file.
63397 * elf/pldd-xx.c: New file.
63398
63399 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63400
63401 * version.h: Update for 2.15 development version.
63402
63403 2011-06-07 David S. Miller <davem@davemloft.net>
63404
63405 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63406 ifuncs.
63407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63408 elf_machine_lazy_rel): Likewise.
63409 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63411 elf_machine_lazy_rel): Likewise.
63412 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63413 dl_hwcap via passed in argument.
63414 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63415 Likewise.
63416
63417 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63418
63419 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63420
63421 2011-06-06 Roland McGrath <roland@hack.frob.com>
63422
63423 [BZ #12849]
63424 * manual/fdl-1.1.texi: New file, verbatim from:
63425 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63426 * manual/lgpl-2.1.texi: New file, verbatim from:
63427 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63428 * manual/Makefile (licenses): New variable, list those new file names.
63429 (texis): Use it.
63430 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63431
63432 * manual/fdl.texi: File removed.
63433 * manual/lesser.texi: File removed.
63434 * manual/libc.texinfo (Copying, Documentation License):
63435 Use new @include file names, put @appendix directive before @include.
63436
63437 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63438
63439 [BZ #12841]
63440 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63441 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63442 (mq_open): Add __NTH.
63443
63444 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63445
63446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63447 Assume Intel Core i3/i5/i7 processor if AVX is available.
63448
63449 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63450
63451 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63452 typo.
63453
63454 2011-05-31 Andreas Schwab <schwab@redhat.com>
63455
63456 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63457 memory. Use alloca_account. Fix memory leak when retrying.
63458
63459 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63460
63461 * version.h (RELEASE): Bump for 2.14 release.
63462 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63463
63464 * config.make.in (RANLIB): Remove entry.
63465
63466 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63467
63468 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63469 (libc.pot): Work around missing support for .ksh extension in xgettext.
63470
63471 [BZ #12684]
63472 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63473 if both request failed.
63474 (send_dg): In case of server errors clear resplen or *resplen2.
63475
63476 [BZ #12454]
63477 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63478 when there are multiple maps.
63479 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63480 (_dl_fini): Remove test here.
63481
63482 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63483
63484 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63485
63486 [BZ #12350]
63487 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63488 bit from old_res_options.
63489 (gaih_inet): Likewise.
63490
63491 [BZ #11099]
63492 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63493 as signed.
63494
63495 * resolv/res_init.c (res_setoptions): Make the code more compact.
63496
63497 [BZ #11558]
63498 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63499 set RES_USEVC.
63500
63501 [BZ #11634]
63502 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63503
63504 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63505
63506 [BZ #11781]
63507 * malloc/malloc.h: Declare malloc hook variables as volatile.
63508
63509 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63510 in last patch.
63511
63512 [BZ #11799]
63513 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63514 raise in the comment.
63515 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63516 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63517 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63518
63519 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63520
63521 [BZ #12811]
63522 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63523 grow the buffers more if it already has to be sufficient.
63524 (build_wcs_upper_buffer): Likewise.
63525 * posix/regexec.c (check_matching): Likewise.
63526 (clean_state_log_if_needed): Likewise.
63527 (extend_buffers): Don't enlarge buffers beyond size of the input
63528 buffer.
63529 Patches mostly by Emil Wojak <emil@wojak.eu>.
63530 * posix/bug-regex32.c: New file.
63531 * posix/Makefile (tests): Add bug-regex32.
63532
63533 * locale/findlocale.c (_nl_find_locale): Return right away if
63534 _nl_explode_name failed.
63535 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63536
63537 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63538
63539 * debug/xtrace.sh: Unify messages.
63540 * malloc/memusage.sh: Likewise.
63541
63542 [BZ #12813]
63543 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63544 time symbol from vDSO. Substitute with vsyscall if not available.
63545 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63546 __vdso_time.
63547
63548 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63549 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63550 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63551 Add sendmmsg and internal_sendmmsg.
63552 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63553 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63554 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63555
63556 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63557 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63559
63560 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63561
63562 [BZ #12813]
63563 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63564 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63565 available.
63566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63567 __vdso_getcpu.
63568
63569 [BZ #12814]
63570 * iconvdata/Makefile (tests): Add bug-iconv9.
63571 * iconvdata/bug-iconv9.c: New file.
63572
63573 2011-05-27 Andreas Schwab <schwab@redhat.com>
63574
63575 [BZ #12814]
63576 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63577
63578 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63579
63580 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63581 (struct user_regs_struct): Change intcs field back to cs.
63582
63583 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63584
63585 * po/ja.po: Update from translation team.
63586
63587 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63588
63589 [BZ #12795]
63590 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63591 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63592
63593 2011-05-20 Andreas Schwab <schwab@redhat.com>
63594
63595 * stdlib/longlong.h: Update from GCC.
63596
63597 2011-05-23 Andreas Schwab <schwab@redhat.com>
63598
63599 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63600 parameter name.
63601 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63602 Add parameter name.
63603 (__sysconf): Pass it down.
63604
63605 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63606
63607 [BZ #12671]
63608 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63609 some situations.
63610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63611 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63612 add in in __libc_use_alloca calls. Adjust callers.
63613 (glob): Use malloc in some situations.
63614
63615 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63616 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63617 pltexit.
63618
63619 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63620
63621 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63622 and CLOCK_BOOTTIME_ALARM.
63623
63624 [BZ #12782]
63625 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63626 is returned.
63627
63628 * string/_strerror.c (__strerror_r): Print negative errors as signed
63629 numbers.
63630
63631 [BZ #12777]
63632 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63633 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63634 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63635
63636 * configure.in: Fix typo in redirection and correct removal of test
63637 files in two cases.
63638
63639 [BZ #12788]
63640 * locale/setlocale.c (new_composite_name): Fix test to check for
63641 identical name of all categories.
63642
63643 [BZ #12792]
63644 * libio/filedoalloc.c (local_isatty): New function.
63645 (_IO_file_doallocate): Use local_isatty.
63646 * stdio-common/perror.c (perror): In case a new stream is used
63647 forward the stream error.
63648 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63649 error flag.
63650
63651 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63652
63653 [BZ #11869]
63654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63655 alloca.
63656 * include/alloca.h (extend_alloca_account): Define.
63657
63658 [BZ #11857]
63659 * posix/regex.h: Fix comments with documentation of user-accessible
63660 fields after compilation and describe correct free'ing of pattern
63661 after re_compile_pattern.
63662 Patch by Reuben Thomas <rrt@sc3d.org>.
63663
63664 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63665
63666 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63667 and -mno-altivec to prevent the compiler from using Altivec and/or
63668 VSX instructions when the corresponding registers are not available.
63669
63670 2011-05-19 Andreas Schwab <schwab@redhat.com>
63671
63672 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63673
63674 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63675
63676 * libio/freopen.c (freopen): Use __dup2, not dup2.
63677 * libio/freopen64.c (freopen64): Likewise.
63678
63679 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63680
63681 [BZ #12775]
63682 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63683 * math/Makefile (tests): Add test-powl.
63684 (CFLAGS-test-powl.c): Define.
63685 * math/test-powl.c: New file.
63686
63687 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63688
63689 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63690
63691 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63692
63693 [BZ #11837]
63694 * iconvdata/gb18030.c: Update to GB18020-2005.
63695
63696 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63697
63698 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63699 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63700 Patch by Aharon Robbins <arnold@skeeve.com>.
63701
63702 [BZ #11892]
63703 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63704 on the stack.
63705
63706 [BZ #11895]
63707 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63708 through underflows.
63709
63710 [BZ #12766]
63711 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63712 point to strings before performing equality test for error_one_per_line
63713 mode.
63714
63715 [BZ #11697]
63716 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63717
63718 [BZ #11820]
63719 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63720 (struct user_fpregs_struct): Avoid __uint*_t types.
63721
63722 [BZ #6420]
63723 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63724 symbol info. Use it instead of calling _dl_addr locally.
63725 (lock_and_info): New function.
63726 (tr_freehook): Call lock_and_info and pass symbol info as additional
63727 parameter to tr_where.
63728 (tr_mallochook): Likewise.
63729 (tr_reallochook): Likewise.
63730 (tr_memalignhook): Likewise.
63731
63732 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63733 used and couldn't be at all thread-safe.
63734
63735 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63736
63737 * libio/freopen.c (freopen): Don't close old file descriptor
63738 before the new one is opened. Instead dup the new file descriptor
63739 to the old one after the new stream is created.
63740 * libio/freopen64.c (freopen64): Likewise.
63741 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63742 * libio/fileops.c (_IO_new_file_close_it): Handle new
63743 _IO_FLAGS2_NOCLOSE flag.
63744 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63745 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63746 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63747 _IO_FLAGS2_NOCLOSE flag.
63748 * include/unistd.h: Add hidden_proto for dup3.
63749 Define __have_dup3.
63750 * io/dup3.c: Define hidden symbol.
63751 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63752
63753 [BZ #7101]
63754 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63755 when an incomplete long option is used.
63756 * posix/tst-getopt_long1.c: New file.
63757 * posix/Makefile (tests): Add tst-getopt_long1.
63758
63759 [BZ #10138]
63760 * scripts/config.guess: Update from autoconf-2.68.
63761 * scripts/config.sub: Likewise.
63762
63763 [BZ #10157]
63764 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63765 tests into ...
63766 (has_cpuclock): ...this. New function.
63767 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63768 macro here based on has_cpuclock code.
63769
63770 [BZ #10149]
63771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63772 First byte (not low byte) is now always NUL.
63773 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63774
63775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63776 Use non-cancelable interfaces.
63777
63778 [BZ #9809]
63779 * locale/iso-639.def: Add entry for Sorani.
63780
63781 [BZ #11901]
63782 * include/stdlib.h: Move include protection to the right place.
63783 Define abort_msg_s. Declare __abort_msg with it.
63784 * stdlib/abort.c (__abort_msg): Adjust type.
63785 * assert/assert.c (__assert_fail_base): New function. Majority
63786 of code from __assert_fail. Allocate memory for __abort_msg with
63787 mmap.
63788 (__assert_fail): Now call __assert_fail_base.
63789 * assert/assert-perr.c: Remove bulk of implementation. Use
63790 __assert_fail_base.
63791 * include/assert.hL Declare __assert_fail_base.
63792 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63793 mmap.
63794 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63795
63796 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63797
63798 [BZ #11952]
63799 [BZ #12453]
63800 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63801 until all modules are registered in the DTV.
63802 * elf/Makefile: Add rules to build and run tst-tls19.
63803 * elf/tst-tls19.c: New file.
63804 * elf/tst-tls19mod1.c: New file.
63805 * elf/tst-tls19mod2.c: New file.
63806 * elf/tst-tls19mod3.c: New file.
63807 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63808
63809 [BZ #12083]
63810 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63811 correctly.
63812
63813 [BZ #12601]
63814 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63815 two-byte sequence errors.
63816 * iconvdata/Makefile (tests): Add bug-iconv8.
63817 * iconvdata/bug-iconv8.c: New file.
63818
63819 [BZ #12626]
63820 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63821 buf2 definition.
63822
63823 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63824
63825 [BZ #12432]
63826 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63827 (dummy_getcfa): New function.
63828 (init): Get _Unwind_GetCFA address, use dummy if not found.
63829 (backtrace_helper): In recursion check, also check whether CFA changes.
63830 (__backtrace): Completely initialize arg.
63831
63832 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63833 storing incomplete byte sequence in state object. Avoid testing for
63834 guaranteed too small input if we know there is enough data available.
63835
63836 2011-05-11 Andreas Schwab <schwab@redhat.com>
63837
63838 * Makeconfig (+link-pie): Indent.
63839 * Rules (binaries-pie): Define if $(have-fpie) and
63840 $(build-shared).
63841 (binaries-shared): Also filter out $(binaries-pie).
63842 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63843 * nscd/Makefile (others-pie): Add nscd.
63844 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63845 ($(objpfx)nscd): Remove command override.
63846 * login/Makefile (others-pie): Add pt_chown.
63847 ($(objpfx)pt_chown): Remove command override.
63848 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63849 remove command overrides.
63850
63851 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63852
63853 * libio/tst_putwc.c: Fix error messages.
63854
63855 [BZ #12724]
63856 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63857 currently writing and seek to current position when not.
63858 * libio/Makefile (tests): Add bug-fclose1.
63859 * libio/bug-fclose1.c: New file.
63860
63861 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63862
63863 [BZ #12511]
63864 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63865 don't set DF_1_NODELETE here.
63866 (do_lookup_x): When entering new entry test for copy relocation
63867 and if necessary set DF_1_NODELETE flag.
63868 * elf/tst-unique4.cc: New file.
63869 * elf/tst-unique4.h: New file.
63870 * elf/tst-unique4lib.cc: New file.
63871 * elf/Makefile: Add rules to build and run tst-unique4.
63872 Patch by Piotr Bury <pbury@goahead.com>.
63873
63874 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63875
63876 [BZ #12052]
63877 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63878
63879 [BZ #12625]
63880 * misc/mntent_r.c (addmntent): Flush the stream after the output
63881
63882 [BZ #12393]
63883 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63884 (is_trusted_path_normalize): Skip initial colon. Append slash
63885 to empty buffer. Duplicate is_trusted_path code but allow
63886 constructed patch to be prefix.
63887 (is_dst): Allow $ORIGIN followed by /.
63888 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63889 Correct testing of result of is_trusted_path_normalize
63890 (decompose_rpath): Fix warning.
63891
63892 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63893
63894 [BZ #11257]
63895 * grp/initgroups.c (internal_getgrouplist): When we found the service
63896 list through the initgroups entry in nsswitch.conf do not always
63897 continue on a successful lookup. Don't always use the
63898 __nss_group_database value if it is set.
63899 * nss/nsswitch.conf (initgroups): Change action for successful db
63900 lookup to continue for compatibility.
63901
63902 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63903
63904 [BZ #11532]
63905 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63906 and CP774 modules.
63907 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63908 and CP774 modules.
63909 * iconvdata/tst-tables.sh: Likewise.
63910 * iconvdata/cp770.c: New file.
63911 * iconvdata/cp771.c: New file.
63912 * iconvdata/cp772.c: New file.
63913 * iconvdata/cp773.c: New file.
63914 * iconvdata/cp774.c: New file.
63915 * iconvdata/testdata/CP770: New file.
63916 * iconvdata/testdata/CP770..UTF8: New file.
63917 * iconvdata/testdata/CP771: New file.
63918 * iconvdata/testdata/CP771..UTF8: New file.
63919 * iconvdata/testdata/CP772: New file.
63920 * iconvdata/testdata/CP772..UTF8: New file.
63921 * iconvdata/testdata/CP773: New file.
63922 * iconvdata/testdata/CP773..UTF8: New file.
63923 * iconvdata/testdata/CP774: New file.
63924 * iconvdata/testdata/CP774..UTF8: New file.
63925
63926 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63927 END CHARMAP line.
63928 * iconvdata/gen-8bit-gap.sh: Likewise.
63929 * iconvdata/gen-8bit.sh: Likewise.
63930
63931 * locale/iso-639.def: Add ary entry.
63932
63933 [BZ #11258]
63934 * locale/C-translit.h.in: Add U20A1 transliteration.
63935
63936 [BZ #12178]
63937 * locale/iso-639.def: Add wae entry.
63938 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63939
63940 [BZ #12545]
63941 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63942 for n.
63943
63944 [BZ #12711]
63945 * locale/C-translit.h.in: Add entry for U20B9.
63946 Patch by pravin.d.s@gmail.com.
63947
63948 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63949
63950 [BZ #12713]
63951 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63952 ENAMETOOLONG use generic getcwd.
63953 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63954 in rtld. Use *stat64.
63955 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63956 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63957 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63958 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63959 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63960 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63961 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63962 __fstatat64 macros.
63963 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63964 * dirent/rewinddir.c: Add libc_hidden_def.
63965 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63966 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63967
63968 * include/dirent.h (__alloc_dir): Add flags parameter.
63969 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63970 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63971 __alloc_dir.
63972 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63973 from fdopendir if O_CLOEXEC is already set.
63974
63975 2011-03-15 Alan Modra <amodra@gmail.com>
63976
63977 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63978 l_tls_firstbyte_offset non-zero. Save padding offset in
63979 l_tls_firstbyte_offset for later use.
63980 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63981 freeing static tls block.
63982
63983 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63984
63985 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63986 where #ifdef was intended. The intent is to prevent ARG_MAX from
63987 being defined by the kernel headers.
63988
63989 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63990
63991 [BZ #12734]
63992 * resolv/resolv.h: Define RES_NOTLDQUERY.
63993 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63994 no-tld-query and set RES_NOTLDQUERY.
63995 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63996 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63997 modern BIND to search name as TLD unless forbidden.
63998
63999 2011-05-07 Petr Baudis <pasky@suse.cz>
64000 Ulrich Drepper <drepper@gmail.com>
64001
64002 [BZ #12393]
64003 * elf/dl-load.c (fillin_rpath): Move trusted path check...
64004 (is_trusted_path): ...to here.
64005 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64006 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64007 using is_trusted_path_normalize() in setuid scripts.
64008
64009 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
64010
64011 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64012 __BEGIN/__END_DECLS.
64013
64014 2011-05-06 Ulrich Drepper <drepper@gmail.com>
64015
64016 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64017 NSS_STATUS_NOTFOUND if no record was found.
64018
64019 2011-05-05 Andreas Schwab <schwab@redhat.com>
64020
64021 * sunrpc/Makefile (headers): Add rpc/netdb.h.
64022 (headers-not-in-tirpc): Remove rpc/netdb.h
64023 * resolv/netdb.h: Revert last change.
64024
64025 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64026
64027 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64028 circular dependency between libgcc.a and libc.a.
64029
64030 2011-05-05 Andreas Schwab <schwab@redhat.com>
64031
64032 * resolv/netdb.h: Don't include <rpc/netdb.h>.
64033 * nis/Makefile: Don't install rpcsvc/*.
64034 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64035 instead of <rpc/types.h>.
64036 (MAXHOSTNAMELEN): Define.
64037
64038 2011-05-03 Andreas Schwab <schwab@redhat.com>
64039
64040 * elf/ldconfig.c (add_dir): Don't crash on empty path.
64041
64042 2011-04-28 Maciej Babinski <mbabinski@google.com>
64043
64044 [BZ #12714]
64045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64046 gethostbyname4_r when IPv6 results are possible.
64047
64048 2011-05-02 Ulrich Drepper <drepper@gmail.com>
64049
64050 [BZ #12723]
64051 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64052 _PC_PIPE_BUF handling.
64053
64054 2011-04-30 Bruno Haible <bruno@clisp.org>
64055
64056 [BZ #12717]
64057 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64058 * resolv/netdb.h (getnameinfo): Change type of flags parameter
64059 to 'int'.
64060 * inet/getnameinfo.c (getnameinfo): Likewise.
64061
64062 2011-04-29 Ulrich Drepper <drepper@gmail.com>
64063
64064 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64065 to groups setting in database lookup.
64066 * nss/nsswitch.conf: Add initgroups entry.
64067
64068 2011-04-22 Ulrich Drepper <drepper@gmail.com>
64069
64070 [BZ #12685]
64071 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64072 mode string.
64073 Patch by Eric Blake <eblake@redhat.com>.
64074
64075 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
64076
64077 * sunrpc/Makefile (need-export-routines): Add svc_run.
64078 (routines): Remove svc_run.
64079 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64080 * sunrpc/clnt_perr.c (clnt_perrno): Export.
64081 * sunrpc/svc_run.c (svc_run): Likewise.
64082 * sunrpc/svc_udp.c (svcudp_create): Likewise.
64083
64084 2011-04-21 Ulrich Drepper <drepper@gmail.com>
64085
64086 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64087 problem in reallocation in last patch.
64088
64089 2011-04-20 Ulrich Drepper <drepper@gmail.com>
64090
64091 * sunrpc/Makefile: Move inclusion of Rules.
64092
64093 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64094
64095 * nss/nss_files/files-initgroups.c: New file.
64096 * nss/Makefile (libnss_files-routines): Add files-initgroups.
64097 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64098 _nss_files_initgroups_dyn.
64099
64100 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
64101
64102 * elf/elf.h (R_ARM_IRELATIVE): Define.
64103
64104 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64105
64106 * po/ru.po: Update from translation team.
64107
64108 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64109
64110 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64111 dependencies.
64112
64113 2011-02-06 Mike Frysinger <vapier@gentoo.org>
64114
64115 [BZ #12653]
64116 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64117 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64119 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64121
64122 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
64123
64124 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64125 differing bytes.
64126 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64129
64130 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64131
64132 [BZ #12420]
64133 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64134 storing it.
64135 * stdlib/bug-getcontext.c: New file.
64136 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64137
64138 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64139
64140 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64141 instructions into .machine "z9-109".
64142 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64143 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64144
64145 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64146
64147 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64148 between environment variables and auxiliary vector.
64149
64150 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64151
64152 * Makefile: Add rules to build linkobj/libc.so.
64153 * include/libc-symbols.h: Define libc_hidden_nolink.
64154 * include/rpc/auth.h: Mark functions which are to be hidden.
64155 * include/rpc/auth_des.h: Likewise.
64156 * include/rpc/auth_unix.h: Likewise.
64157 * include/rpc/clnt.h: Likewise.
64158 * include/rpc/des_crypt.h: Likewise.
64159 * include/rpc/key_prot.h: Likewise.
64160 * include/rpc/pmap_clnt.h: Likewise.
64161 * include/rpc/pmap_prot.h: Likewise.
64162 * include/rpc/pmap_rmt.h: Likewise.
64163 * include/rpc/rpc_msg.h: Likewise.
64164 * include/rpc/svc.h: Likewise.
64165 * include/rpc/svc_auth.h: Likewise.
64166 * include/rpc/xdr.h: Likewise.
64167 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64168 * nss/Makefile: Likewise.
64169 * sunrpc/Makefile: Don't install headers. Build library with normal
64170 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64171 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64172 for the compat linking library. Remove use of INTDEF/INTUSE.
64173 * sunrpc/auth_none.c: Likewise.
64174 * sunrpc/auth_unix.c: Likewise.
64175 * sunrpc/authdes_prot.c: Likewise.
64176 * sunrpc/authuxprot.c: Likewise.
64177 * sunrpc/clnt_gen.c: Likewise.
64178 * sunrpc/clnt_perr.c: Likewise.
64179 * sunrpc/clnt_raw.c: Likewise.
64180 * sunrpc/clnt_simp.c: Likewise.
64181 * sunrpc/clnt_tcp.c: Likewise.
64182 * sunrpc/clnt_udp.c: Likewise.
64183 * sunrpc/clnt_unix.c: Likewise.
64184 * sunrpc/des_crypt.c: Likewise.
64185 * sunrpc/des_soft.c: Likewise.
64186 * sunrpc/get_myaddr.c: Likewise.
64187 * sunrpc/key_call.c: Likewise.
64188 * sunrpc/key_prot.c: Likewise.
64189 * sunrpc/netname.c: Likewise.
64190 * sunrpc/pm_getmaps.c: Likewise.
64191 * sunrpc/pm_getport.c: Likewise.
64192 * sunrpc/pmap_clnt.c: Likewise.
64193 * sunrpc/pmap_prot.c: Likewise.
64194 * sunrpc/pmap_prot2.c: Likewise.
64195 * sunrpc/pmap_rmt.c: Likewise.
64196 * sunrpc/publickey.c: Likewise.
64197 * sunrpc/rpc_cmsg.c: Likewise.
64198 * sunrpc/rpc_common.c: Likewise.
64199 * sunrpc/rpc_dtable.c: Likewise.
64200 * sunrpc/rpc_prot.c: Likewise.
64201 * sunrpc/rpc_thread.c: Likewise.
64202 * sunrpc/rtime.c: Likewise.
64203 * sunrpc/svc.c: Likewise.
64204 * sunrpc/svc_auth.c: Likewise.
64205 * sunrpc/svc_authux.c: Likewise.
64206 * sunrpc/svc_raw.c: Likewise.
64207 * sunrpc/svc_run.c: Likewise.
64208 * sunrpc/svc_simple.c: Likewise.
64209 * sunrpc/svc_tcp.c: Likewise.
64210 * sunrpc/svc_udp.c: Likewise.
64211 * sunrpc/svc_unix.c: Likewise.
64212 * sunrpc/svcauth_des.c: Likewise.
64213 * sunrpc/xcrypt.c: Likewise.
64214 * sunrpc/xdr.c: Likewise.
64215 * sunrpc/xdr_array.c: Likewise.
64216 * sunrpc/xdr_float.c: Likewise.
64217 * sunrpc/xdr_intXX_t.c: Likewise.
64218 * sunrpc/xdr_mem.c: Likewise.
64219 * sunrpc/xdr_rec.c: Likewise.
64220 * sunrpc/xdr_ref.c: Likewise.
64221 * sunrpc/xdr_sizeof.c: Likewise.
64222 * sunrpc/xdr_stdio.c: Likewise.
64223
64224 2011-04-10 Ulrich Drepper <drepper@gmail.com>
64225
64226 [BZ #12650]
64227 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64228 * sysdeps/ia64/dl-tls.h: Likewise.
64229 * sysdeps/powerpc/dl-tls.h: Likewise.
64230 * sysdeps/s390/dl-tls.h: Likewise.
64231 * sysdeps/sh/dl-tls.h: Likewise.
64232 * sysdeps/sparc/dl-tls.h: Likewise.
64233 * sysdeps/x86_64/dl-tls.h: Likewise.
64234 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64235
64236 2011-03-14 Andreas Schwab <schwab@redhat.com>
64237
64238 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64239 rpath element also skip the following colon.
64240 (expand_dynamic_string_token): Add is_path parameter and pass
64241 down to DL_DST_REQUIRED and _dl_dst_substitute.
64242 (decompose_rpath): Call expand_dynamic_string_token with
64243 non-zero is_path. Ignore empty rpaths.
64244 (_dl_map_object_from_fd): Call expand_dynamic_string_token
64245 with zero is_path.
64246
64247 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
64248
64249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64250 Make cancelable.
64251
64252 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64253
64254 [BZ #12655]
64255 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64256 Patch by Filipe David Manana <fdmanana@apache.org>.
64257
64258 2011-04-07 Andreas Schwab <schwab@redhat.com>
64259
64260 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64261 Maintain aligned stack.
64262 (CHECK_RSP): Remove unused macro.
64263
64264 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64265
64266 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64267 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64268
64269 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64270
64271 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64272
64273 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64274
64275 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64276
64277 [BZ #12518]
64278 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64279 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64280 * sysdeps/x86_64/memmove.c: New file.
64281 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64282 (memcpy): Renamed to ...
64283 (__new_memcpy): This.
64284 (memcpy): Provide GLIBC_2_14 memcpy.
64285 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64286 (memcpy): Provide GLIBC_2_2_5 memcpy.
64287
64288 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64289
64290 [BZ #12631]
64291 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64292
64293 2011-03-30 Andreas Schwab <schwab@redhat.com>
64294
64295 * misc/syncfs.c: New file.
64296 * misc/Makefile (routines): Add syncfs.
64297 * posix/unistd.h: Declare syncfs.
64298 * sysdeps/unix/syscalls.list: Add syncfs.
64299
64300 2011-04-01 Andreas Schwab <schwab@redhat.com>
64301
64302 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64303 open_by_handle_at.
64304 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64307 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64309 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64311
64312 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64313
64314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64315 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64316 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64320 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64321
64322 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64323 sync_file_range.c with -fexceptions.
64324 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64325 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64326 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64327 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64328 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64329 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64331 sync_file_range as cancellation point
64332 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64333 now a wrapper around __call_sync_file_range with cancellation handling.
64334 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64335 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64336 function name to __call_sync_file_range.
64337 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64338 Add call_sync_file_range.
64339
64340 2011-04-01 Andreas Schwab <schwab@redhat.com>
64341
64342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64343 bits/timex.h.
64344
64345 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64346
64347 * iconv/iconv.h: Fix typo in comment.
64348 * io/fcntl.h: Likewise.
64349 * libio/stdio.h: Likewise.
64350 * posix/spawn.h: Likewise.
64351 * posix/unistd.h: Likewise.
64352 * stdlib/stdlib.h: Likewise.
64353 * time/time.h: Likewise.
64354 * wcsmbs/wchar.h: Likewise.
64355
64356 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64357 open_by_handle): Add.
64358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64359 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64360 Augment a few comments.
64361 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64363 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64366 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64367 open_by_handle.
64368
64369 * io/fcntl.h (AT_EMPTY_PATH): Define.
64370
64371 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64372
64373 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64374 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64375 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64376 to...
64377 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64378 * Versions.def: Add GLIBC_2.14.
64379 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64380 Export.
64381
64382 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64383
64384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64385 round counter.
64386 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64387
64388 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64389
64390 [BZ #12597]
64391 * string/test-strncmp.c (do_page_test): New function.
64392 (check2): Likewise.
64393 (test_main): Call check2.
64394 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64395
64396 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64397
64398 [BZ #12587]
64399 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64400 Handle cache information in CPU leaf 4.
64401 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64402
64403 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64404
64405 [BZ #12583]
64406 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64407 character representation.
64408 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64409
64410 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64411
64412 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64413 END(__isnan) to END(__isnanf) to match function entry point/label
64414 EALIGN(__isnanf,...).
64415
64416 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64417
64418 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64419
64420 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64421
64422 [BZ #12510]
64423 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64424 copy from the symbol referenced in the relocation to initialize the
64425 used variable.
64426 Patch by Piotr Bury <pbury@goahead.com>.
64427 * elf/Makefile: Add rules to build and tst-unique3.
64428 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64429 * elf/tst-unique3.cc: New file.
64430 * elf/tst-unique3.h: New file.
64431 * elf/tst-unique3lib.cc: New file.
64432 * elf/tst-unique3lib2.cc: New file.
64433
64434 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64435
64436 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64437
64438 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64439 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64440 to _start.
64441
64442 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64443
64444 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64445 to-be-loaded object along a path to loader is ld.so.
64446
64447 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64448 Ulrich Drepper <drepper@gmail.com>
64449
64450 * sysdeps/x86_64/memset.S: After aligning destination, code
64451 branches to different locations depending on the value of
64452 misalignment, when multiarch is enabled. Fix this.
64453
64454 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64455
64456 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64457 Set _x86_64_preferred_memory_instruction for AMD processsors.
64458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64459 Set bit_Prefer_SSE_for_memop for AMD processors.
64460
64461 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64462
64463 * libio/fmemopen.c (fmemopen): Optimize a bit.
64464
64465 2011-03-03 Andreas Schwab <schwab@redhat.com>
64466
64467 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64468
64469 2011-03-03 Roland McGrath <roland@redhat.com>
64470
64471 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64472
64473 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64474
64475 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64476 __bzero_ultra1 instead of __memset_ultra1.
64477
64478 2011-02-23 Andreas Schwab <schwab@redhat.com>
64479 Ulrich Drepper <drepper@gmail.com>
64480
64481 [BZ #12509]
64482 * include/link.h (struct link_map): Add l_orig_initfini.
64483 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64484 returning unsuccessfully.
64485 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64486 close of a file loaded at startup, restore the original l_initfini
64487 list.
64488 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64489 list, store the pointer.
64490 * elf/Makefile ($(objpfx)noload-mem): New rule.
64491 (noload-ENV): Define.
64492 (tests): Add $(objpfx)noload-mem.
64493 * elf/noload.c: Include <memcheck.h>.
64494 (main): Call mtrace. Close all opened handles.
64495
64496 2011-02-17 Andreas Schwab <schwab@redhat.com>
64497
64498 [BZ #12454]
64499 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64500 dependencies are missing.
64501
64502 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64503
64504 Fix __if_freereq crash: Unlike the generic version which uses free,
64505 Hurd needs munmap.
64506 * sysdeps/mach/hurd/ifreq.h: New file.
64507
64508 2011-01-27 Petr Baudis <pasky@suse.cz>
64509 Ulrich Drepper <drepper@gmail.com>
64510
64511 [BZ 12445]#
64512 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64513 to extend_alloca().
64514 * stdio-common/bug23.c: New file.
64515 * stdio-common/Makefile (tests): Add bug23.
64516
64517 2010-09-28 Andreas Schwab <schwab@redhat.com>
64518 Ulrich Drepper <drepper@gmail.com>
64519
64520 [BZ #12489]
64521 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64522 before performing relro protection. At old place add assertion
64523 to make sure nothing changed.
64524
64525 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64526 Glauber de Oliveira Costa <glommer@gmail.com>
64527
64528 * elf/elf.h: Add new ARM TLS relocs.
64529
64530 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64531
64532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64533 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64534 cast from r3.
64535 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64536 'tests' variable.
64537 * sysdeps/wordsize-64/tst-writev.c: New file.
64538
64539 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64540
64541 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64542 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64543 insns in _dl_start to prevent a TOC reference before relocs are
64544 resolved.
64545
64546 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64547
64548 [BZ #12469]
64549 * Makeconfig: Remove RANLIB definition.
64550 * Makerules: Don't use RANLIB.
64551 * aclocal.m4: Remove ranlib test.
64552 * configure.in: No need to check for ranlib.
64553 * elf/rtld-Rules: Don't use RANLIB.
64554
64555 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64556
64557 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64558 protection macro.
64559 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64560 inclusion protection macro.
64561
64562 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64563 SIGRTMIN and SIGRTMAX and print information in that case only when
64564 SIGRTMIN is defined.
64565
64566 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64567
64568 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64569 arginfo fn returning -1.
64570
64571 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64572 and thousands string is zero terminated.
64573
64574 2011-02-03 Andreas Schwab <schwab@redhat.com>
64575
64576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64577 sysdeps/unix/sysv/linux/bits/socket.h.
64578
64579 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64580
64581 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64582 (__CPU_COUNT): Remove old macros.
64583 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64584 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64585 (__CPU_ALLOC, __CPU_FREE): Add macros.
64586 (__sched_cpualloc, __sched_cpufree): Add declarations.
64587
64588 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64589
64590 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64591 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64592 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64593 (readdhstai): Return value of addhstaiX call.
64594 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64595 (addgrbyX): Return value returned by cache_addgr.
64596 (readdgrbyname): Return value returned by addgrbyX.
64597 (readdgrbygid): Likewise.
64598 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64599 (addpwbyX): Return value returned by cache_addpw.
64600 (readdpwbyname): Return value returned by addhstbyX.
64601 (readdpwbyuid): Likewise.
64602 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64603 (addservbyX): Return value returned by cache_addserv.
64604 (readdservbyname): Return value returned by addservbyX:
64605 (readdservbyport): Likewise.
64606 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64607 (addhstbyX): Return value returned by cache_addhst.
64608 (readdhstbyname): Return value returned by addhstbyX.
64609 (readdhstbyaddr): Likewise.
64610 (readdhstbynamev6): Likewise.
64611 (readdhstbyaddrv6): Likewise.
64612 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64613 (readdinitgroups): Return value returned by addinitgroupsX.
64614 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64615 (prune_cache): Keep track of timeout value of re-added entries.
64616 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64617 * nscd/nscd.h: Adjust prototypes of readd* functions.
64618
64619 2011-02-04 Roland McGrath <roland@redhat.com>
64620
64621 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64622 (nis_stats): Likewise.
64623 * nis/nis_modify.c (nis_modify): Likewise.
64624 * nis/nis_remove.c (nis_remove): Likewise.
64625 * nis/nis_add.c (nis_add): Likewise.
64626
64627 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64628
64629 * posix/fnmatch_loop.c: Add some consts.
64630
64631 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64632
64633 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64634
64635 [BZ #12460]
64636 * config.make.in (config-cflags-novzeroupper): Define.
64637 * configure.in: Substitute libc_cv_cc_novzeroupper.
64638 * elf/Makefile (AVX-CFLAGS): Define.
64639 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64640 (CFLAGS-tst-auditmod4a.c): Likewise.
64641 (CFLAGS-tst-auditmod4b.c): Likewise.
64642 (CFLAGS-tst-auditmod6b.c): Likewise.
64643 (CFLAGS-tst-auditmod6c.c): Likewise.
64644 (CFLAGS-tst-auditmod7b.c): Likewise.
64645 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64646
64647 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64648
64649 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64650 function to the callback.
64651 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64652
64653 2011-02-02 Andreas Schwab <schwab@redhat.com>
64654
64655 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64656 of errno.
64657
64658 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64659
64660 [BZ #11724]
64661 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64662 of constructors.
64663 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64664 of destructors.
64665 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64666
64667 [BZ #11724]
64668 * elf/Makefile: Add rules to build and run new test.
64669 * elf/tst-initorder.c: New file.
64670 * elf/tst-initorder.exp: New file.
64671 * elf/tst-initordera1.c: New file.
64672 * elf/tst-initordera2.c: New file.
64673 * elf/tst-initordera3.c: New file.
64674 * elf/tst-initordera4.c: New file.
64675 * elf/tst-initorderb1.c: New file.
64676 * elf/tst-initorderb2.c: New file.
64677 * elf/tst-order-a1.c: New file.
64678 * elf/tst-order-a2.c: New file.
64679 * elf/tst-order-a3.c: New file.
64680 * elf/tst-order-a4.c: New file.
64681 * elf/tst-order-b1.c: New file.
64682 * elf/tst-order-b2.c: New file.
64683 * elf/tst-order-main.c: New file.
64684 New test case by George Gensure <werkt0@gmail.com>.
64685
64686 2010-10-01 Andreas Schwab <schwab@redhat.com>
64687
64688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64689 decoding ACE if AI_CANONIDN.
64690
64691 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64692
64693 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64694
64695 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64696
64697 * version.h (RELEASE): Bump for 2.13 release.
64698 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64699
64700 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64701
64702 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64703 MADV_NOHUGEPAGE.
64704 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64707 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64709 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64710
64711 * posix/getconf.c: Update copyright year.
64712 * catgets/gencat.c: Likewise.
64713 * csu/version.c: Likewise.
64714 * debug/catchsegv.sh: Likewise.
64715 * debug/xtrace.sh: Likewise.
64716 * elf/ldconfig.c: Likewise.
64717 * elf/ldd.bash.in: Likewise.
64718 * elf/sprof.c (print_version): Likewise.
64719 * iconv/iconv_prog.c: Likewise.
64720 * iconv/iconvconfig.c: Likewise.
64721 * locale/programs/locale.c: Likewise.
64722 * locale/programs/localedef.c: Likewise.
64723 * malloc/memusage.sh: Likewise.
64724 * malloc/mtrace.pl: Likewise.
64725 * nscd/nscd.c (print_version): Likewise.
64726 * nss/getent.c: Likewise.
64727
64728 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64729 PF_CAIF, and PF_ALG.
64730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64731
64732 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64733
64734 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64735 (modules-names): Use them.
64736 (ifunc-test-modules, ifunc-pie-tests): Define.
64737 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64738 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64739 (test-extras): Likewise.
64740 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64741 $(compile-command.c).
64742 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64743 (all-built-dso): Define.
64744 (check-textrel.out, check-execstack.out): Depend on it.
64745
64746 * configure.in: Don't override --enable-multi-arch.
64747
64748 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64749
64750 [BZ #6812]
64751 * nscd/hstcache.c (tryagain): Define.
64752 (cache_addhst): Return tryagain not notfound for temporary errors.
64753 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64754 failed.
64755
64756 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64757
64758 [BZ #10563]
64759 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64760 to make the syscall.
64761 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64762
64763 [BZ #12378]
64764 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64765 and fall back to matching as normal character if the string ends before
64766 the matching ']' is found. This is what POSIX requires.
64767 * posix/testfnm.c: Adjust test result.
64768 * posix/globtest.sh: Adjust test result. Add new test.
64769 * posix/tst-fnmatch.input: Likewise.
64770 * posix/tst-fnmatch2.c: Add new test.
64771
64772 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64773
64774 * elf/Makefile (check-execstack): Revert last change. Depend on
64775 check-execstack.h.
64776 (check-execstack.h): New target.
64777 (generated): Add check-execstack.h.
64778 * elf/check-execstack.c: Include "check-execstack.h".
64779 (main): Revert last change.
64780 (handle_file): Return zero if GNU_STACK is absent and
64781 DEFAULT_STACK_PERMS doesn't include PF_X.
64782
64783 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64784
64785 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64786 in child fails because the descriptor is already closed.
64787 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64788 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64789 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64790
64791 [BZ #12397]
64792 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64793 syscall.
64794
64795 [BZ #10484]
64796 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64797 temporary buffer used to handle multi lookups locally.
64798 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64799
64800 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64801
64802 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64803 loader is ld.so.
64804
64805 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64806
64807 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64808 alignment for SSE2.
64809
64810 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64811
64812 [BZ #12394]
64813 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64814 characters. When rounding increased number of integer digits recompute
64815 number of groups.
64816 * stdio-common/tst-grouping.c: New file.
64817 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64818
64819 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64820
64821 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64822 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64823
64824 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64825 void.
64826 * bits/select.h: Likewise.
64827
64828 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64829
64830 * po/ja.po: Update from translation team.
64831
64832 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64833
64834 [BZ #11155]
64835 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64836 implementation just like for lxstat, fxstatat, et al.
64837
64838 2010-12-27 Jim Meyering <meyering@redhat.com>
64839
64840 [BZ #12348]
64841 * posix/regexec.c (build_trtable): Return failure indication upon
64842 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64843
64844 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64845
64846 [BZ #12201]
64847 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64848 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64849 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64850 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64851
64852 [BZ #12207]
64853 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64854
64855 [BZ #12204]
64856 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64857 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64858
64859 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64860
64861 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64862 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64863 script has SORT_BY_INIT_PRIORITY.
64864 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64865 NO_CTORS_DTORS_SECTIONS is defined.
64866 * elf/soinit.c: Likewise.
64867 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64868 NO_CTORS_DTORS_SECTIONS is defined.
64869 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64870 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64871 * sysdeps/sh/init-first.c: Likewise.
64872 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64873
64874 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64875
64876 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64877 always use the slow path.
64878
64879 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64880
64881 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64882 similar rule which adds the sysdep directories to the header search in
64883 order to pick up the correct platform stackinfo.h.
64884 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64885 perform test if it is, otherwise return successfully without testing.
64886 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64887 DEFAULT_STACK_PERMS define in stackinfo.h.
64888 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64889 defined in stackinfo.h.
64890 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64891 DEFAULT_STACK_PERMS defined in stackinfo.h.
64892 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64893 * sysdeps/ia64/stackinfo.h: Likewise.
64894 * sysdeps/s390/stackinfo.h: Likewise.
64895 * sysdeps/sh/stackinfo.h: Likewise.
64896 * sysdeps/sparc/stackinfo.h: Likewise.
64897 * sysdeps/x86_64/stackinfo.h: Likewise.
64898 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64899 PF_X for powerpc64. Retain PF_X for powerpc32.
64900
64901 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64902
64903 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64904 accurately.
64905 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64906 GETDENTS_64BIT_ALIGNED.
64907
64908 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64909
64910 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64911
64912 2010-12-10 Andreas Schwab <schwab@redhat.com>
64913
64914 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64915 _GNU_SOURCE.
64916
64917 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64918 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64919 Remove __restrict.
64920 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64921 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64922
64923 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64924
64925 [BZ #11655]
64926 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64927 are initialized.
64928
64929 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64930
64931 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64932
64933 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64934
64935 * po/it.po: Update from translation team.
64936
64937 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64938
64939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64940 unused codes.
64941
64942 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64943
64944 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64945
64946 2010-11-24 Andreas Schwab <schwab@redhat.com>
64947
64948 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64949 specially.
64950 (gaih_getanswer_slice): Likewise.
64951
64952 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64953
64954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64955
64956 2010-05-31 Petr Baudis <pasky@suse.cz>
64957
64958 [BZ #11149]
64959 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64960 silently even in the chroot mode.
64961
64962 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64963
64964 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64965 last patch a bit. Pretty printing
64966
64967 2010-05-31 Petr Baudis <pasky@suse.cz>
64968
64969 [BZ #10085]
64970 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64971 initialization of skip_initgroups_dyn.
64972
64973 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64974
64975 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64976 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64977
64978 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64979
64980 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64981
64982 2010-11-11 Andreas Schwab <schwab@redhat.com>
64983
64984 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64985 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64986 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64987 ($(objpfx)tst-fnmatch-mem): New rule.
64988 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64989 * posix/tst-fnmatch.c (main): Call mtrace.
64990
64991 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64992
64993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64994 Support Intel processor model 6 and model 0x2c.
64995
64996 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64997
64998 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64999 signed comparison.
65000
65001 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
65002
65003 [BZ #12205]
65004 * string/test-strncasecmp.c (check_result): New function.
65005 (do_one_test): Use it.
65006 (check1): New function.
65007 (test_main): Use it.
65008 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65009 Support strcasecmp and strncasecmp.
65010
65011 2010-11-08 Ulrich Drepper <drepper@gmail.com>
65012
65013 [BZ #12194]
65014 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65015 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65016
65017 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
65018
65019 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65020 IFUNC support.
65021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65022 memset-x86-64.
65023 * sysdeps/x86_64/multiarch/bzero.S: New file.
65024 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65025 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65026 * sysdeps/x86_64/multiarch/memset.S: New file.
65027 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65029 Set bit_Prefer_SSE_for_memop for Intel processors.
65030 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65031 Define.
65032 (index_Prefer_SSE_for_memop): Define.
65033 (HAS_PREFER_SSE_FOR_MEMOP): Define.
65034
65035 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
65036
65037 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65038 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65039
65040 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
65041
65042 [BZ #12191]
65043 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65044 (__x86_64_raw_data_cache_size_half): Likewise.
65045 (__x86_64_raw_shared_cache_size): Likewise.
65046 (__x86_64_raw_shared_cache_size_half): Likewise.
65047
65048 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65049 (__x86_64_raw_data_cache_size_half): Likewise.
65050 (__x86_64_raw_shared_cache_size): Likewise.
65051 (__x86_64_raw_shared_cache_size_half): Likewise.
65052 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65053 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65054 and __x86_64_raw_shared_cache_size_half. Round
65055 __x86_64_data_cache_size_half, __x86_64_data_cache_size
65056 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65057 to multiple of 256 bytes.
65058
65059 2010-11-03 Ulrich Drepper <drepper@gmail.com>
65060
65061 [BZ #12167]
65062 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65063 of inacessible symlinks. Verify result of symlink before returning it.
65064 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65065 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65066
65067 2010-10-28 Erich Ritz <erichritz@gmail.com>
65068
65069 * math/math.h (isinf): Fix typo in comment.
65070
65071 2010-11-01 Ulrich Drepper <drepper@gmail.com>
65072
65073 * po/da.po: Update from translation team.
65074
65075 2010-10-26 Ulrich Drepper <drepper@gmail.com>
65076
65077 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65078 is added to the list.
65079
65080 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65081 Ulrich Drepper <drepper@gmail.com>
65082
65083 * elf/dl-object.c (_dl_new_object): Don't append the new object to
65084 the global list here. Move code to...
65085 (_dl_add_to_namespace_list): ...here. New function.
65086 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65087 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65088 * elf/dl-load.c (lose): Don't remove the element from the list.
65089 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65090 (_dl_map_object): Likewise.
65091
65092 2010-10-25 Ulrich Drepper <drepper@gmail.com>
65093
65094 [BZ #12159]
65095 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65096 into all bytes of SSE register.
65097 Patch by Richard Li <richardpku@gmail.com>.
65098
65099 2010-10-24 Ulrich Drepper <drepper@gmail.com>
65100
65101 [BZ #12140]
65102 * malloc/malloc.c (_int_free): Fill correct number of bytes when
65103 perturbing.
65104
65105 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
65106
65107 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65108 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65109 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65110 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65112 submachine.
65113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65114
65115 2010-10-22 Andreas Schwab <schwab@redhat.com>
65116
65117 * include/dlfcn.h (__RTLD_SECURE): Define.
65118 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
65119 mode & __RTLD_SECURE instead.
65120 (open_path): Rename preloaded parameter to secure.
65121 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65122 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65123 * elf/dl-deps.c (openaux): Likewise.
65124 * elf/rtld.c (struct map_args): Remove is_preloaded.
65125 (map_doit): Don't use it.
65126 (dl_main): Likewise.
65127 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65128 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65129
65130 2010-09-09 Andreas Schwab <schwab@redhat.com>
65131
65132 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65133 (sysd-rules-targets): Remove duplicates.
65134 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65135 rtld-%.$o dependency.
65136
65137 2010-10-18 Andreas Schwab <schwab@redhat.com>
65138
65139 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65140 _dl_map_object do it.
65141
65142 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65143
65144 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65145 fast fma builtins, define the macros in the C99 standard.
65146 (FP_FAST_FMAF): Likewise.
65147 (FP_FAST_FMAL): Likewise.
65148 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65149
65150 * bits/mathdef.h: Update copyright year.
65151 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65152
65153 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65154
65155 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65156 builtins, define the macros in the C99 standard.
65157 (FP_FAST_FMAF): Likewise.
65158 (FP_FAST_FMAL): Likewise.
65159 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65160 multiply/add.
65161 (FP_FAST_FMAF): Likewise.
65162
65163 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65164
65165 [BZ #3268]
65166 * math/libm-test.inc (fma_test): Some new testcases.
65167 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65168 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65169 y and infinite z. Do multiplication by C already in long double.
65170 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65172 y and infinite z. Do bitwise or of inexact bit into u.d.
65173 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65174 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65175 * sysdeps/i386/fpu/s_fma.S: Removed.
65176 * sysdeps/i386/fpu/s_fmal.S: Removed.
65177
65178 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65179
65180 [BZ #3268]
65181 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65183 computation is not scheduled after fetestexcept. Fix value
65184 of minimum denormal long double.
65185
65186 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65187
65188 [BZ #3268]
65189 * math/libm-test.inc (fma_test): Add some more tests.
65190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65191 correctly.
65192
65193 2010-10-15 Andreas Schwab <schwab@redhat.com>
65194
65195 * scripts/data/localplt-s390-linux-gnu.data: New file.
65196 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65197
65198 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65199
65200 [BZ #3268]
65201 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65202 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65203 instead of dbl-64.
65204 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65205 inlines.
65206 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65208 if one of x and y is very large and the other is subnormal.
65209 * sysdeps/s390/fpu/s_fmaf.c: New file.
65210 * sysdeps/s390/fpu/s_fma.c: New file.
65211 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65212 * sysdeps/powerpc/fpu/s_fma.S: New file.
65213 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65214 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65215 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65216
65217 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65218
65219 [BZ #3268]
65220 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65221 fma tests.
65222 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65223 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65224 * sysdeps/i386/i686/multiarch/s_fma.c: Include
65225 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65226 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65227 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65228 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65229
65230 2010-10-12 Ulrich Drepper <drepper@redhat.com>
65231
65232 [BZ #12078]
65233 * posix/regcomp.c (parse_branch): One more memory leak plugged.
65234 * posix/bug-regex31.input: Add test case.
65235
65236 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65237
65238 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65239 * posix/bug-regex31.input: New file.
65240
65241 [BZ #12078]
65242 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65243 (parse_sub_exp): Fix last change, use postorder.
65244
65245 * posix/bug-regex31.c: New file.
65246 * posix/Makefile: Add rules to build and run bug-regex31.
65247
65248 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65249
65250 [BZ #12078]
65251 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65252
65253 [BZ #12108]
65254 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65255 to have entries in sys_siglist.
65256
65257 [BZ #12093]
65258 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65259 be NULL.
65260
65261 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65262
65263 [BZ #3268]
65264 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65265 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65266 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65267 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65268 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65269 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65270 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65271 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65272 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65273 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65274 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65275 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65276 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65277 * math/ftestexcept.c (fetestexcept): Likewise.
65278 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65279 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65280 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65281 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65282 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65283 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65284 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65285
65286 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65287
65288 [BZ #12107]
65289 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65290 newline.
65291
65292 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65293
65294 * string/bug-strstr1.c: New file.
65295 * string/Makefile: Add rules to build and run bug-strstr1.
65296
65297 2010-10-05 Eric Blake <eblake@redhat.com>
65298
65299 [BZ #12092]
65300 * string/str-two-way.h (two_way_long_needle): Always clear memory
65301 when skipping input due to the shift table.
65302
65303 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65304
65305 [BZ #12005]
65306 * malloc/mcheck.c: Handle large requests.
65307
65308 [BZ #12077]
65309 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65310 for strncmp and strncasecmp.
65311 * string/stratcliff.c: Add tests for strcmp and strncmp.
65312 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65313
65314 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65315
65316 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65317 __set_fpscr.
65318
65319 2010-09-30 Andreas Jaeger <aj@suse.de>
65320
65321 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65322 (CGROUP_SUPER_MAGIC): Define.
65323 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65324 Handle btrfs and cgroup file systems.
65325 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65326 Likewise.
65327
65328 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65329
65330 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65331 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65332
65333 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65334
65335 [BZ #12067]
65336 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65337 trying to locate the ELF header.
65338
65339 2010-09-27 Andreas Schwab <schwab@redhat.com>
65340
65341 [BZ #11611]
65342 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65343 Mask out sign-bit copies when constructing f_fsid.
65344
65345 2010-09-24 Petr Baudis <pasky@suse.cz>
65346
65347 * debug/stack_chk_fail_local.c: Add missing licence exception.
65348 * debug/warning-nop.c: Likewise.
65349
65350 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65351
65352 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65353 implementing getdents64 using getdents syscall, set d_type if
65354 __ASSUME_GETDENTS32_D_TYPE.
65355
65356 2010-09-16 Andreas Schwab <schwab@redhat.com>
65357
65358 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65359 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65360
65361 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65362
65363 [BZ #12037]
65364 * posix/unistd.h: Undo change of feature selection for ftruncate from
65365 2010-01-11.
65366
65367 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65368
65369 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65370 detection.
65371
65372 2010-09-20 Andreas Schwab <schwab@redhat.com>
65373
65374 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65375 fanotify_mark.
65376 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65377
65378 2010-09-14 Andreas Schwab <schwab@redhat.com>
65379
65380 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65381 variables after CHECK_SP call.
65382 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65383
65384 2010-09-13 Andreas Schwab <schwab@redhat.com>
65385 Ulrich Drepper <drepper@redhat.com>
65386
65387 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65388 re-relocationg ld.so.
65389 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65390 _dl_init_paths call.
65391 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65392 here anymore.
65393
65394 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65395
65396 * resolv/res_init.c (__res_vinit): Count the default server we added.
65397
65398 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65399 Ulrich Drepper <drepper@redhat.com>
65400
65401 [BZ #11968]
65402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65403 (____longjmp_chk): Use %ebx for saving value across system call.
65404 Add unwind info.
65405
65406 2010-09-06 Andreas Schwab <schwab@redhat.com>
65407
65408 * manual/Makefile: Don't mix pattern rules with normal rules.
65409
65410 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65411
65412 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65413 operation.
65414 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65415 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65416 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65417 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65419 Likewise.
65420
65421 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65422
65423 [BZ #11979]
65424 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65425 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65426
65427 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65428
65429 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65430 * sysdeps/x86_64/addmul_1.S: Likewise.
65431 * sysdeps/x86_64/lshift.S: Likewise.
65432 * sysdeps/x86_64/mul_1.S: Likewise.
65433 * sysdeps/x86_64/rshift.S: Likewise.
65434 * sysdeps/x86_64/sub_n.S: Likewise.
65435 * sysdeps/x86_64/submul_1.S: Likewise.
65436
65437 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65438
65439 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65440 Define __sched_param instead of SCHED_* and sched_param when
65441 <bits/sched.h> is included with __need_schedparam defined.
65442 * bits/sched.h [__need_schedparam]
65443 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65444 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65445 (__defined_schedparam): Define to 1.
65446 (__sched_param): New structure, identical to sched_param.
65447 (__need_schedparam): Undefine.
65448
65449 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65450
65451 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65452 (epoll_create1): Declare.
65453
65454 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65455
65456 2010-08-31 Andreas Schwab <schwab@redhat.com>
65457
65458 [BZ #7066]
65459 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65460 shifting retval into place.
65461
65462 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65463
65464 * nis/rpcsvc/nis.h: Update copyright notice.
65465 * nis/rpcsvc/nis.x: Likewise.
65466 * nis/rpcsvc/nis_callback.h: Likewise.
65467 * nis/rpcsvc/nis_callback.x: Likewise.
65468 * nis/rpcsvc/nis_object.x: Likewise.
65469 * nis/rpcsvc/nis_tags.h: Likewise.
65470 * nis/rpcsvc/yp.h: Likewise.
65471 * nis/rpcsvc/yp.x: Likewise.
65472 * nis/rpcsvc/ypupd.h: Likewise.
65473 * nis/yp_xdr.c: Likewise.
65474 * nis/ypupdate_xdr.c: Likewise.
65475
65476 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65477 mainly the body of pmap_getport. Add parameters to specify timeouts.
65478 (pmap_getport): Use __libc_rpc_getport.
65479 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65480 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65481 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65482
65483 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65484
65485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65486 fanotify_mark.
65487
65488 2010-08-27 Roland McGrath <roland@redhat.com>
65489
65490 * sysdeps/i386/i686/multiarch/Makefile
65491 (CFLAGS-varshift.c): New variable.
65492
65493 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65494
65495 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65496 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65497
65498 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65499
65500 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65501
65502 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65503
65504 * sysdeps/x86_64/strlen.S: Unroll the loop.
65505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65506 strlen-sse2 strlen-sse2-bsf.
65507 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65508 __strlen_no_bsf if bit_Slow_BSF is set.
65509 (__strlen_sse42): Removed.
65510 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65511 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65512
65513 2010-08-25 Roland McGrath <roland@redhat.com>
65514
65515 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65516 * sysdeps/x86_64/multiarch/varshift.c: New file.
65517 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65518 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65519 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65520 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65521
65522 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65523
65524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65525 strlen-sse2 strlen-sse2-bsf.
65526 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65527 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65528 (__strlen_sse2): Removed.
65529 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65532 bit_Slow_BSF for Atom.
65533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65534 (index_Slow_BSF): Define.
65535 (HAS_SLOW_BSF): Define.
65536
65537 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65538
65539 [BZ #10851]
65540 * resolv/res_init.c (__res_vinit): When no server address at all
65541 is given default to loopback.
65542
65543 2010-08-24 Roland McGrath <roland@redhat.com>
65544
65545 * configure.in: Remove config-name.h generation.
65546 * configure: Regenerated.
65547 * config-name.in: File removed.
65548 * scripts/config-uname.sh: New file.
65549 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65550 ($(objdir)config-name.h): New target.
65551
65552 * sunrpc/rpc_parse.h: Avoid nested comment.
65553
65554 2010-08-24 Richard Henderson <rth@redhat.com>
65555 Ulrich Drepper <drepper@redhat.com>
65556 H.J. Lu <hongjiu.lu@intel.com>
65557
65558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65560 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65561 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65562 _mm_alignr_epi8 with _mm_loadu_si128.
65563 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65564 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65565 (__m128i_shift_right): Removed.
65566 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65567 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65568 * sysdeps/x86_64/multiarch/varshift.h: New file.
65569 * sysdeps/x86_64/multiarch/varshift.S: New file.
65570
65571 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65572
65573 * configure.in: Move assembler checks to before sysdep dir checking.
65574
65575 2010-08-20 Petr Baudis <pasky@suse.cz>
65576
65577 * LICENSES: Sync the sunrpc license.
65578
65579 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65580
65581 * sunrpc/auth_des.c: Update copyright notice once again.
65582 * sunrpc/auth_none.c: Likewise.
65583 * sunrpc/auth_unix.c: Likewise.
65584 * sunrpc/authdes_prot.c: Likewise.
65585 * sunrpc/authuxprot.c: Likewise.
65586 * sunrpc/bindrsvprt.c: Likewise.
65587 * sunrpc/clnt_gen.c: Likewise.
65588 * sunrpc/clnt_perr.c: Likewise.
65589 * sunrpc/clnt_raw.c: Likewise.
65590 * sunrpc/clnt_simp.c: Likewise.
65591 * sunrpc/clnt_tcp.c: Likewise.
65592 * sunrpc/clnt_udp.c: Likewise.
65593 * sunrpc/clnt_unix.c: Likewise.
65594 * sunrpc/des_crypt.c: Likewise.
65595 * sunrpc/des_soft.c: Likewise.
65596 * sunrpc/get_myaddr.c: Likewise.
65597 * sunrpc/getrpcport.c: Likewise.
65598 * sunrpc/key_call.c: Likewise.
65599 * sunrpc/key_prot.c: Likewise.
65600 * sunrpc/openchild.c: Likewise.
65601 * sunrpc/pm_getmaps.c: Likewise.
65602 * sunrpc/pm_getport.c: Likewise.
65603 * sunrpc/pmap_clnt.c: Likewise.
65604 * sunrpc/pmap_prot.c: Likewise.
65605 * sunrpc/pmap_prot2.c: Likewise.
65606 * sunrpc/pmap_rmt.c: Likewise.
65607 * sunrpc/rpc/auth.h: Likewise.
65608 * sunrpc/rpc/auth_unix.h: Likewise.
65609 * sunrpc/rpc/clnt.h: Likewise.
65610 * sunrpc/rpc/des_crypt.h: Likewise.
65611 * sunrpc/rpc/key_prot.h: Likewise.
65612 * sunrpc/rpc/netdb.h: Likewise.
65613 * sunrpc/rpc/pmap_clnt.h: Likewise.
65614 * sunrpc/rpc/pmap_prot.h: Likewise.
65615 * sunrpc/rpc/pmap_rmt.h: Likewise.
65616 * sunrpc/rpc/rpc.h: Likewise.
65617 * sunrpc/rpc/rpc_des.h: Likewise.
65618 * sunrpc/rpc/rpc_msg.h: Likewise.
65619 * sunrpc/rpc/svc.h: Likewise.
65620 * sunrpc/rpc/svc_auth.h: Likewise.
65621 * sunrpc/rpc/types.h: Likewise.
65622 * sunrpc/rpc/xdr.h: Likewise.
65623 * sunrpc/rpc_clntout.c: Likewise.
65624 * sunrpc/rpc_cmsg.c: Likewise.
65625 * sunrpc/rpc_common.c: Likewise.
65626 * sunrpc/rpc_cout.c: Likewise.
65627 * sunrpc/rpc_dtable.c: Likewise.
65628 * sunrpc/rpc_hout.c: Likewise.
65629 * sunrpc/rpc_main.c: Likewise.
65630 * sunrpc/rpc_parse.c: Likewise.
65631 * sunrpc/rpc_parse.h: Likewise.
65632 * sunrpc/rpc_prot.c: Likewise.
65633 * sunrpc/rpc_sample.c: Likewise.
65634 * sunrpc/rpc_scan.c: Likewise.
65635 * sunrpc/rpc_scan.h: Likewise.
65636 * sunrpc/rpc_svcout.c: Likewise.
65637 * sunrpc/rpc_tblout.c: Likewise.
65638 * sunrpc/rpc_util.c: Likewise.
65639 * sunrpc/rpc_util.h: Likewise.
65640 * sunrpc/rpcinfo.c: Likewise.
65641 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65642 * sunrpc/rpcsvc/key_prot.x: Likewise.
65643 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65644 * sunrpc/rpcsvc/mount.x: Likewise.
65645 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65646 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65647 * sunrpc/rpcsvc/rex.x: Likewise.
65648 * sunrpc/rpcsvc/rstat.x: Likewise.
65649 * sunrpc/rpcsvc/rusers.x: Likewise.
65650 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65651 * sunrpc/rpcsvc/spray.x: Likewise.
65652 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65653 * sunrpc/rtime.c: Likewise.
65654 * sunrpc/svc.c: Likewise.
65655 * sunrpc/svc_auth.c: Likewise.
65656 * sunrpc/svc_authux.c: Likewise.
65657 * sunrpc/svc_raw.c: Likewise.
65658 * sunrpc/svc_run.c: Likewise.
65659 * sunrpc/svc_simple.c: Likewise.
65660 * sunrpc/svc_tcp.c: Likewise.
65661 * sunrpc/svc_udp.c: Likewise.
65662 * sunrpc/svc_unix.c: Likewise.
65663 * sunrpc/svcauth_des.c: Likewise.
65664 * sunrpc/xcrypt.c: Likewise.
65665 * sunrpc/xdr.c: Likewise.
65666 * sunrpc/xdr_array.c: Likewise.
65667 * sunrpc/xdr_float.c: Likewise.
65668 * sunrpc/xdr_mem.c: Likewise.
65669 * sunrpc/xdr_rec.c: Likewise.
65670 * sunrpc/xdr_ref.c: Likewise.
65671 * sunrpc/xdr_sizeof.c: Likewise.
65672 * sunrpc/xdr_stdio.c: Likewise.
65673
65674 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65675 handling.
65676
65677 2010-08-19 Andreas Schwab <schwab@redhat.com>
65678
65679 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65680
65681 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65682
65683 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65684 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65685 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65686 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65687 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65688 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65689 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65690 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65692 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65693 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65694 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65695 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65696 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65697
65698 2010-07-26 Anton Blanchard <anton@samba.org>
65699
65700 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65701 * malloc/arena.c (heap_trim): Likewise.
65702
65703 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65704
65705 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65706 here. Not...
65707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65708 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65709
65710 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65711
65712 * sysdeps/i386/elf/Makefile: New file.
65713
65714 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65715
65716 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65717 from fanotify_init.
65718 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65719 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65720
65721 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65722
65723 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65724 of strncasecmp_l.
65725 * sysdeps/multiarch/strcmp.S: Likewise.
65726
65727 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65728
65729 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65730 strncase_l-nonascii.
65731 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65732 Add strncase_l-ssse3.
65733 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65734 * sysdeps/x86_64/strcmp.S: Likewise.
65735 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65736 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65737 * sysdeps/x86_64/strncase.S: New file.
65738 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65739 * sysdeps/x86_64/strncase_l.S: New file.
65740 * string/Makefile (strop-tests): Add strncasecmp.
65741 * string/test-strncasecmp.c: New file.
65742
65743 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65744 warning.
65745
65746 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65747 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65748
65749 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65750
65751 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65752
65753 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65754
65755 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65756 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65757 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65758
65759 2010-05-01 Alan Modra <amodra@gmail.com>
65760
65761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65762 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65763 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65764 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65765 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65766 tidying. Don't tail-call __sigjmp_save for static lib.
65767 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65768 save location.
65769 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65770 (CALL_MCOUNT): Add eh info, and nop after bl.
65771 (TAIL_CALL_SYSCALL_ERROR): New macro.
65772 (PSEUDO_RET): Use it.
65773 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65774 Correct save location of integer regs and cr.
65775 (_dl_profile_resolve): Correct cr save location. Delete nops
65776 after bl when SHARED. Reduce cfi size a little by better
65777 placement of cfi directives.
65778 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65779 make a stack frame. Instead use parm save area as a temp.
65780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65781 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65783 Don't make a stack frame for parent, use parm save area.
65784 Increase child stack frame to 112 bytes. Don't save unused reg,
65785 and adjust reg usage. Set up cfi on error recovery and
65786 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65788 (__makecontext): Add dummy nop after jump to exit.
65789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65790 Use correct parm save area and cr save, reduce stack frame.
65791 Correct cfi for possible PSEUDO_RET frame setup.
65792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65793 Branch to local label emitted by PSEUDO_RET rather than
65794 __syscall_error.
65795
65796 2010-08-12 Andreas Schwab <schwab@redhat.com>
65797
65798 [BZ #11904]
65799 * locale/programs/locale.c (print_assignment): New function.
65800 (show_locale_vars): Use it.
65801
65802 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65803
65804 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65805 field.
65806 (struct statfs64): Likewise.
65807 (_STATFS_F_FLAGS): Define.
65808 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65809 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65810 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65811 (ST_VALID): Define locally.
65812 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65813 __statvfs_getflags, use the provided value.
65814 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65815 __ASSUME_STATFS_F_FLAGS.
65816
65817 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65818
65819 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65820 Add sys/fanotify.h.
65821 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65822 fanotify_mask for GLIBC_2.13.
65823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65824 fanotify_init and fanotify_mark.
65825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65826 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65827
65828 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65829 Add prlimit.
65830 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65831 prlimit64 for GLIBC_2.13.
65832 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65833 prlimit64.
65834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65835 syscall.
65836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65837 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65838 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65839 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65841 add prlimit alias.
65842 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65843
65844 [BZ #11903]
65845 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65846 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65847
65848 * nss/Makefile: Add rules to build and run tst-nss-test1.
65849 * shlib-versions: Add entry for libnss_test1.
65850 * nss/nss_test1.c: New file.
65851 * nss/tst-nss-test1.c: New file.
65852
65853 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65854 (__nss_configure_lookup): Set appropriate entry in
65855 __nss_configure_lookup to true.
65856 * nss/nsswitch.h: Define enum with indeces of databases in
65857 databases and __nss_database_custom arrays. Declare
65858 __nss_database_custom.
65859 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65860 to avoid using nscd when custom rules are installed.
65861 * nss/getXXbyYY_r.c: Likewise.
65862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65863
65864 * nss/nss_files/files-parse.c: Whitespace fixes.
65865
65866 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65867
65868 [BZ #11883]
65869 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65870 * posix/fnmatch_loop.c: Likewise.
65871
65872 2010-07-17 Andi Kleen <ak@linux.intel.com>
65873
65874 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65875 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65876 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65877 * Versions.def [GLIBC_2.13]: Add.
65878
65879 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65880
65881 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65882 Also fail if tpwd after pwuid call is NULL.
65883
65884 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65885
65886 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65887 when converting to ms.
65888
65889 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65890
65891 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65892 EOPNOTSUPP errors with ENOTTY.
65893 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65894 EOPNOTSUPP errors with ENOTTY.
65895
65896 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65897
65898 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65899 Add strcasecmp_l-ssse3.
65900 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65901 strcasecmp.
65902 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65903 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65904 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65905
65906 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65907
65908 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65909
65910 * string/Makefile (strop-tests): Add strcasecmp.
65911 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65912 strcasecmp_l-nonascii.
65913 (gen-as-const-headers): Add locale-defines.sym.
65914 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65915 * sysdeps/x86_64/strcasecmp.S: New file.
65916 * sysdeps/x86_64/strcasecmp_l.S: New file.
65917 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65918 * sysdeps/x86_64/locale-defines.sym: New file.
65919 * string/test-strcasecmp.c: New file.
65920
65921 * string/test-strcasestr.c: Test both ends of the range of characters.
65922 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65923
65924 2010-07-29 Roland McGrath <roland@redhat.com>
65925
65926 [BZ #11856]
65927 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65928
65929 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65930
65931 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65932 for ld.so.
65933
65934 2010-07-27 Andreas Schwab <schwab@redhat.com>
65935
65936 * manual/memory.texi (Malloc Tunable Parameters): Document
65937 M_PERTURB.
65938
65939 2010-07-26 Roland McGrath <roland@redhat.com>
65940
65941 [BZ #11840]
65942 * configure.in (-fgnu89-inline check): Set and substitute
65943 gnu89_inline, not libc_cv_gnu89_inline.
65944 * configure: Regenerated.
65945 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65946
65947 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65948
65949 * string/test-strnlen.c: New file.
65950 * string/Makefile (strop-tests): Add strnlen.
65951 * string/tester.c (test_strnlen): Add a few more test cases.
65952 * string/tst-strlen.c: Better error reporting.
65953
65954 * sysdeps/x86_64/strnlen.S: New file.
65955
65956 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65957
65958 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65959 lower-latency instructions.
65960
65961 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65962
65963 * string/test-strcasestr.c: New file.
65964 * string/test-strstr.c: New file.
65965 * string/Makefile (strop-tests): Add strstr and strcasestr.
65966 * string/str-two-way.h: Don't undefine MAX.
65967 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65968
65969 2010-07-21 Andreas Schwab <schwab@redhat.com>
65970
65971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65972 strcasestr-nonascii.
65973 (CFLAGS-strcasestr-nonascii.c): Define.
65974 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65975 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65976 Remove unused attribute.
65977
65978 2010-07-20 Roland McGrath <roland@redhat.com>
65979
65980 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65981 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65982 ld.so.cache was broken. With it, there is no way to disable dsocaps
65983 like LD_HWCAP_MASK can disable hwcaps.
65984
65985 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65986
65987 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65988
65989 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65990
65991 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65992 call in strcasestr.
65993 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65994 __strcasestr_sse42_nonascii.
65995 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65996 strcasestr-nonascii.c.
65997 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65998
65999 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
66000
66001 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66002 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66004 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66005
66006 2010-07-09 Ulrich Drepper <drepper@redhat.com>
66007
66008 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66009 fcntl.
66010
66011 2010-07-06 Andreas Schwab <schwab@redhat.com>
66012
66013 [BZ #11577]
66014 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66015 dl_signal_cerror.
66016
66017 2010-07-06 Ulrich Drepper <drepper@redhat.com>
66018
66019 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66020 _PC_PIPE_BUF using F_GETPIPE_SZ.
66021
66022 2010-07-05 Roland McGrath <roland@redhat.com>
66023
66024 * manual/arith.texi (Rounding Functions): Fix rint description
66025 implicit in round description.
66026
66027 2010-07-02 Ulrich Drepper <drepper@redhat.com>
66028
66029 * elf/Makefile: Fix linking for a few tests to make recent linker
66030 happy.
66031
66032 2010-06-30 Andreas Schwab <schwab@redhat.com>
66033
66034 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66035 $(common-objpfx)libc_nonshared.a.
66036
66037 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
66038
66039 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66040 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66041 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66042 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66043 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66044 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66045 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66046 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66061 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66062 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66063 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66064 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66065 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66066 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66067 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66068 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66069 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66070 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66071 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66072 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66087
66088 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
66089
66090 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66091 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
66092 * string/memmove.c (memmove): Renamed to ...
66093 (MEMMOVE): ...this. Default to memmove.
66094 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66095 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66096 (END_CHK): Define.
66097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66098 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66099 mempcpy-ssse3-back memmove-ssse3-back.
66100 * sysdeps/x86_64/multiarch/bcopy.S: New file .
66101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66103 * sysdeps/x86_64/multiarch/memcpy.S: New file.
66104 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66105 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66106 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66107 * sysdeps/x86_64/multiarch/memmove.c: New file.
66108 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66109 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66110 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66111 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66112 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66113 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66114 Define.
66115 (index_Fast_Copy_Backward): Define.
66116 (HAS_ARCH_FEATURE): Define.
66117 (HAS_FAST_REP_STRING): Define.
66118 (HAS_FAST_COPY_BACKWARD): Define.
66119
66120 2010-06-21 Andreas Schwab <schwab@redhat.com>
66121
66122 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66123 Restore proper fallback handling.
66124
66125 2010-06-19 Ulrich Drepper <drepper@redhat.com>
66126
66127 [BZ #11701]
66128 * posix/group_member.c (__group_member): Correct checking loop.
66129
66130 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66131 OOM in getpwuid_r correctly. Return error number when the caller
66132 should return, otherwise -1.
66133 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66134 call returning > 0 value.
66135 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66136
66137 2010-06-07 Andreas Schwab <schwab@redhat.com>
66138
66139 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66140 libc_nonshared.a from targets in modules-names.
66141
66142 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66143
66144 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66145 requires it.
66146
66147 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66148
66149 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66150 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66151 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66153
66154 2010-06-02 Andreas Schwab <schwab@redhat.com>
66155
66156 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66157
66158 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66159
66160 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66161 and F_GETPIPE_SZ.
66162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66166 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66167 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66168
66169 2010-06-14 Roland McGrath <roland@redhat.com>
66170
66171 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66172
66173 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66174
66175 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66176 __REDIRECT followed by __THROW.
66177 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66178 * posix/getopt.h (getopt): Likewise.
66179
66180 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66181
66182 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66183 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66184 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66185 in AT_FLAGS.
66186 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66187 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66188
66189 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66190
66191 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66192
66193 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66194
66195 [BZ #11640]
66196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66197 Properly check family and model.
66198
66199 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66200
66201 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66202
66203 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66204
66205 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66206
66207 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66208
66209 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66210 symbol reference.
66211
66212 2010-05-19 Andreas Schwab <schwab@redhat.com>
66213
66214 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66215 symbol reference.
66216
66217 2010-05-21 Andreas Schwab <schwab@redhat.com>
66218
66219 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66220 and internal_recvmmsg.
66221 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66222 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66223 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66224 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66225
66226 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66227 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66228 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66229
66230 2010-05-20 Andreas Schwab <schwab@redhat.com>
66231
66232 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66233
66234 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
66235
66236 POWER7 optimizations.
66237 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66238 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66239
66240 2010-05-19 Ulrich Drepper <drepper@redhat.com>
66241
66242 * version.h: Update for 2.13 development version.
66243
66244 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
66245
66246 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66247 exceptions. Return 0.
66248
66249 2010-05-07 Roland McGrath <roland@redhat.com>
66250
66251 * elf/ldconfig.c (main): Add a const.
66252
66253 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66254
66255 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66256 (args_options): Add no-idn option.
66257 (ahosts_keys_int): Add idn_flags to ai_flags.
66258 (parse_option): Handle 'i' option to clear idn_flags.
66259
66260 * malloc/malloc.c (_int_free): Possible race in the most recently
66261 added check. Only act on the data if no current modification
66262 happened.
66263
66264 See ChangeLog.17 for earlier changes.