]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
PowerPC: Add comments to optimized strncpy
[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: Added comments to some
4 assembly instructions.
5
6 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7
8 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9 prefix from operands.
10
11 2015-10-01 Joseph Myers <joseph@codesourcery.com>
12
13 [BZ #16347]
14 [BZ #19046]
15 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16 <libc-internal.h>.
17 (MAXLGM): Do not use diagnostic control macros.
18 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19 threshold for ldbl-128ibm.
20 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
21 instead of multiplying by log then subtracting.
22 * math/auto-libm-test-in: Add more tests of lgamma.
23 * math/auto-libm-test-out: Regenerated.
24
25 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26 (TYPE_HEX_DIG): Likewise.
27 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28 precisions when printing floating-point numbers.
29 (check_float_internal): Likewise.
30
31 2015-09-30 Joseph Myers <joseph@codesourcery.com>
32
33 [BZ #16620]
34 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
35 of log (10) rounded downward to 48 bits.
36 (log10_low): Use corresponding low part of log (10).
37
38 [BZ #19032]
39 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
40 compute result as (x - x) / (x - x) not as 0 / 0.
41 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
42 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
43
44 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
46 and expm1.
47 * math/auto-libm-test-out: Regenerated.
48 * math/libm-test.inc (acos_test_data): Add more tests.
49 (asin_test_data): Likewise.
50 (asinh_test_data): Likewise.
51 (atan_test_data): Likewise.
52 (atanh_test_data): Likewise.
53 (atan2_test_data): Likewise.
54 (cbrt_test_data): Likewise.
55 (ceil_test_data): Likewise.
56 (copysign_test_data): Likewise.
57 (cos_test_data): Likewise.
58 (cosh_test_data): Likewise.
59 (erf_test_data): Likewise.
60 (erfc_test_data): Likewise.
61 (exp_test_data): Likewise.
62 (exp10_test_data): Likewise.
63 (exp2_test_data): Likewise.
64 (expm1_test_data): Likewise.
65 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66
67 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
68
69 [BZ #19006]
70 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
71 to ...
72 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
73 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
74 to ...
75 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
76 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
77 to ...
78 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
79 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
80 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
81 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
82 to ...
83 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
84 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
85 Moved to ...
86 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
87 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
88 Moved to ...
89 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
90 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
91 to ...
92 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
93 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
94 Moved to ...
95 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
96 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
97 to ...
98 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
99 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
100 Removed.
101 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
102 Likewise.
103 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
104 Likewise.
105 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
106 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
107 Likewise.
108 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
109 Likewise.
110 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
111 Likewise.
112 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
113 Likewise.
114 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
115 Likewise.
116 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
117 Likewise.
118 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
119 Likewise.
120 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
121 Likewise.
122 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
123 Likewise.
124 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
125 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
126 Likewise.
127 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
128 Likewise.
129 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
130 Likewise.
131 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
132 Likewise.
133 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
134 Likewise.
135 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
136 Replace ../i486/pthread_cond_timedwait.S with
137 ../pthread_cond_timedwait.S.
138
139 2015-09-30 Joseph Myers <joseph@codesourcery.com>
140
141 * math/libm-test.inc (acos_test_data): Refine expectations for
142 errno and "inexact" exceptions.
143 (acosh_test_data): Likewise.
144 (asin_test_data): Likewise.
145 (asinh_test_data): Likewise.
146 (atan_test_data): Likewise.
147 (atanh_test_data): Likewise.
148 (atan2_test_data): Likewise.
149 (cbrt_test_data): Likewise.
150 (ceil_test_data): Likewise.
151 (copysign_test_data): Likewise.
152 (cosh_test_data): Likewise.
153 (erf_test_data): Likewise.
154 (erfc_test_data): Likewise.
155 (exp_test_data): Likewise.
156 (exp10_test_data): Likewise.
157 (exp2_test_data): Likewise.
158 (expm1_test_data): Likewise.
159 (fabs_test_data): Likewise.
160 (floor_test_data): Likewise.
161 (fma_test_data): Likewise.
162 (fmax_test_data): Likewise.
163 (fmin_test_data): Likewise.
164 (fmod_test_data): Likewise.
165 (fpclassify_test_data): Likewise.
166 (frexp_test_data): Likewise.
167 (hypot_test_data): Likewise.
168 (ilogb_test_data): Likewise.
169 (isgreater_test_data): Likewise.
170 (isgreaterequal_test_data): Likewise.
171 (isinf_test_data): Likewise.
172 (isless_test_data): Likewise.
173 (islessequal_test_data): Likewise.
174 (islessgreater_test_data): Likewise.
175 (isnan_test_data): Likewise.
176 (isnormal_test_data): Likewise.
177 (issignaling_test_data): Likewise.
178 (isunordered_test_data): Likewise.
179 (j0_test_data): Likewise.
180 (j1_test_data): Likewise.
181 (jn_test_data): Likewise.
182 (lgamma_test_data): Likewise.
183 (lrint_test_data): Likewise.
184 (llrint_test_data): Likewise.
185 (log_test_data): Likewise.
186 (log10_test_data): Likewise.
187 (log1p_test_data): Likewise.
188 (log2_test_data): Likewise.
189 (logb_test_data): Likewise.
190 (lround_test_data): Likewise.
191 (llround_test_data): Likewise.
192 (modf_test_data): Likewise.
193 (nearbyint_test_data): Likewise.
194 (nextafter_test_data): Likewise.
195 (nexttoward_test_data): Likewise.
196 (pow_test_data): Likewise.
197 (remainder_test_data): Likewise.
198 (remquo_test_data): Likewise.
199 (rint_test_data): Likewise.
200 (round_test_data): Likewise.
201 (signbit_test_data): Likewise.
202 (sinh_test_data): Likewise.
203 (sqrt_test_data): Likewise.
204 (tanh_test_data): Likewise.
205 (tgamma_test_data): Likewise.
206 (trunc_test_data): Likewise.
207 (y0_test_data): Likewise.
208 (y1_test_data): Likewise.
209 (yn_test_data): Likewise.
210 (significand_test_data): Likewise.
211
212 2015-09-29 Carlos O'Donell <carlos@redhat.com>
213
214 * manual/filesys.texi (Storage Allocation): Document that
215 posix_fallocate emulation fails when fd is open with O_WRONLY.
216
217 2015-09-28 Joseph Myers <joseph@codesourcery.com>
218
219 [BZ #19016]
220 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
221 allow more cases with X^2 + Y^2 >= 0.5.
222 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
223 normal element in sum instead of special-casing based on values of
224 arguments.
225 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
226 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
227 -1 as normal element in sum instead of special-casing based on
228 values of arguments.
229 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
230 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
231 (__x2y2m1): Update comment.
232 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
233 as normal element in sum instead of special-casing based on values
234 of arguments.
235 * math/s_clog.c (__clog): Handle more cases using log1p without
236 hypot.
237 * math/s_clog10.c (__clog10): Likewise.
238 * math/s_clog10f.c (__clog10f): Likewise.
239 * math/s_clog10l.c (__clog10l): Likewise.
240 * math/s_clogf.c (__clogf): Likewise.
241 * math/s_clogl.c (__clogl): Likewise.
242 * math/auto-libm-test-in: Add more tests of clog and clog10.
243 * math/auto-libm-test-out: Regenerated.
244 * sysdeps/i386/fpu/libm-test-ulps: Update.
245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
246
247 2015-09-28 Martin Sebor <msebor@redhat.com>
248
249 [BZ #18969]
250 * string/Makefile (LOCALES): Define.
251 (gen-locales.mk): Include.
252 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
253 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
254 * string/tst-strxfrm2.c (do_test): Print the name of the locale
255 on setlocale failure.
256
257 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
258
259 [BZ #18985]
260 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
261 (__strftime_internal): Likewise.
262 * time/tst-strftime.c (do_bz18985): New test.
263 (do_test): Call it.
264
265 2015-09-26 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #18956]
268 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
269 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
270 extracting high part.
271 * math/auto-libm-test-in: Add another test of pow.
272 * math/auto-libm-test-out: Regenerated.
273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
274
275 2015-09-25 Joseph Myers <joseph@codesourcery.com>
276
277 [BZ #18825]
278 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
279 New macro.
280 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
281 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
282 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
283 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
284 DBL_NARROW_EVAL, reloading the PIC register as needed.
285 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
286 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
287 FLT_NARROW_EVAL. Use separate return path for case when first
288 argument is NaN.
289 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
290 DEFINE_LDBL_MIN.
291 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
292 PIC register.
293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
294 math_check_force_underflow_nonneg.
295 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
296 underflow for subnormal result.
297 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
298 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
299 math_check_force_underflow_nonneg.
300 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
301 math_check_force_underflow.
302 * sysdeps/x86_64/fpu/x86_64-math-asm.h
303 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
304 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
305 DEFINE_LDBL_MIN.
306 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
307 * math/auto-libm-test-in: Add more tests of pow.
308 * math/auto-libm-test-out: Regenerated.
309
310 2015-09-25 Florian Weimer <fweimer@redhat.com>
311
312 * nss/bug17079.c (init_test_items): Add diagnostic for
313 inconsistent entries.
314 (test_buffer_size): Skip inconsistent entries.
315
316 2015-09-25 Joseph Myers <joseph@codesourcery.com>
317
318 [BZ #13304]
319 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
320 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
321 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
322
323 [BZ #13304]
324 * sysdeps/microblaze/s_fma.c: New file.
325 * sysdeps/microblaze/s_fmaf.c: Likewise.
326 * sysdeps/microblaze/sfp-machine.h: Likewise.
327
328 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
329
330 [BZ #17250]
331 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
332 member.
333
334 2015-09-24 Joseph Myers <joseph@codesourcery.com>
335
336 [BZ #18803]
337 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
338 (MO): New macro.
339 (__ieee754_hypot) [PIC]: Load PIC register.
340 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
341 DBL_NARROW_EVAL.
342 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
343 math_check_force_underflow_nonneg in case where result might be
344 tiny.
345 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
346 Likewise.
347 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
348 Likewise.
349 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
350 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
351 * math/auto-libm-test-in: Add more tests of hypot.
352 * math/auto-libm-test-out: Regenerated.
353
354 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
355
356 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
357
358 2015-09-24 Joseph Myers <joseph@codesourcery.com>
359
360 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
361 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
362 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
363 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
364 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
365 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
366 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
367
368 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
369 LOAD_PIC_REG.
370
371 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
372 (FLT_CHECK_FORCE_UFLOW): Likewise.
373 (DBL_CHECK_FORCE_UFLOW): Likewise.
374 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
375 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
376 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
377 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
378 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
379 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
380 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
381 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
382 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
383 (dbl_min): Replace with use of DEFINE_DBL_MIN.
384 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
385 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
386 (flt_min): Replace with use of DEFINE_FLT_MIN.
387 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
388 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
389 (dbl_min): Replace with use of DEFINE_DBL_MIN.
390 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
391 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
392 (flt_min): Replace with use of DEFINE_FLT_MIN.
393 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
394 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
395 (dbl_min): Replace with use of DEFINE_DBL_MIN.
396 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
397 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
398 (flt_min): Replace with use of DEFINE_FLT_MIN.
399 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
400 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
401 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
402 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
403 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
404 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
405 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
406 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
407 (dbl_min): Replace with use of DEFINE_DBL_MIN.
408 (__atan): Use DBL_CHECK_FORCE_UFLOW.
409 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
410 (flt_min): Replace with use of DEFINE_FLT_MIN.
411 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
412 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
413 (dbl_min): Replace with use of DEFINE_DBL_MIN.
414 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
415 main computation.
416 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
417 (flt_min): Replace with use of DEFINE_FLT_MIN.
418 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
419 main computation.
420 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
421 (dbl_min): Replace with use of DEFINE_DBL_MIN.
422 (MO): New macro.
423 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
424 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
425 (flt_min): Replace with use of DEFINE_FLT_MIN.
426 (MO): New macro.
427 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
428 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
429 (__log1pl): Use MO.
430
431 [BZ #19003]
432 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
433 $(config-cflags-nofma).
434
435 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
436
437 * sysdeps/aarch64/libm-test-ulps: Regenerated.
438
439 2015-09-23 Joseph Myers <joseph@codesourcery.com>
440
441 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
442 (TWO127): Likewise.
443
444 * sysdeps/generic/math_private.h (fabs_tg): New macro.
445 (min_of_type): Likewise.
446 (math_check_force_underflow): Likewise.
447 (math_check_force_underflow_nonneg): Likewise.
448 (math_check_force_underflow_complex): Likewise.
449 * math/e_exp2l.c (__ieee754_exp2l): Use
450 math_check_force_underflow_nonneg.
451 * math/k_casinh.c (__kernel_casinh): Likewise.
452 * math/k_casinhf.c (__kernel_casinhf): Likewise.
453 * math/k_casinhl.c (__kernel_casinhl): Likewise.
454 * math/s_catan.c (__catan): Use
455 math_check_force_underflow_complex.
456 * math/s_catanf.c (__catanf): Likewise.
457 * math/s_catanh.c (__catanh): Likewise.
458 * math/s_catanhf.c (__catanhf): Likewise.
459 * math/s_catanhl.c (__catanhl): Likewise.
460 * math/s_catanl.c (__catanl): Likewise.
461 * math/s_ccosh.c (__ccosh): Likewise.
462 * math/s_ccoshf.c (__ccoshf): Likewise.
463 * math/s_ccoshl.c (__ccoshl): Likewise.
464 * math/s_cexp.c (__cexp): Likewise.
465 * math/s_cexpf.c (__cexpf): Likewise.
466 * math/s_cexpl.c (__cexpl): Likewise.
467 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
468 * math/s_clog10.c (__clog10): Likewise.
469 * math/s_clog10f.c (__clog10f): Likewise.
470 * math/s_clog10l.c (__clog10l): Likewise.
471 * math/s_clogf.c (__clogf): Likewise.
472 * math/s_clogl.c (__clogl): Likewise.
473 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
474 * math/s_csinf.c (__csinf): Likewise.
475 * math/s_csinh.c (__csinh): Likewise.
476 * math/s_csinhf.c (__csinhf): Likewise.
477 * math/s_csinhl.c (__csinhl): Likewise.
478 * math/s_csinl.c (__csinl): Likewise.
479 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
480 * math/s_csqrtf.c (__csqrtf): Likewise.
481 * math/s_csqrtl.c (__csqrtl): Likewise.
482 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
483 * math/s_ctanf.c (__ctanf): Likewise.
484 * math/s_ctanh.c (__ctanh): Likewise.
485 * math/s_ctanhf.c (__ctanhf): Likewise.
486 * math/s_ctanhl.c (__ctanhl): Likewise.
487 * math/s_ctanl.c (__ctanl): Likewise.
488 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
489 instead of volatile.
490 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
491 math_check_force_underflow.
492 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
493 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
494 volatile when forcing underflow.
495 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
496 math_check_force_underflow_nonneg.
497 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
498 Likewise.
499 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
500 math_check_force_underflow.
501 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
502 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
503 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
504 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
505 math_check_force_underflow_nonneg.
506 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
507 math_check_force_underflow.
508 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
510 instead of volatile.
511 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
512 math_check_force_underflow.
513 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
514 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
515 math_check_force_underflow_nonneg.
516 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
517 math_check_force_underflow.
518 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
519 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
520 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
521 math_check_force_underflow_nonneg.
522 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
523 Likewise.
524 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
525 math_check_force_underflow.
526 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
527 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
528 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
529 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
530 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
531 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
532 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
533 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
534 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
535 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
536 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
537 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
538 Likewise.
539 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
540 math_check_force_underflow_nonneg.
541 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
542 Likewise.
543 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
544 math_check_force_underflow.
545 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
546 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
547 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
548 Likewise.
549 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
550 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
551 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
552 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
553 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
554 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
556 instead of volatile.
557 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
558 math_check_force_underflow.
559 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
561 math_check_force_underflow.
562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
563 Likewise.
564 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
565 Use math_check_force_underflow_nonneg.
566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
567 math_check_force_underflow.
568 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
569 Likewise.
570 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
571 Likewise.
572 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
573 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
577 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
578 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
579 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
580 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
581 math_check_force_underflow_nonneg.
582 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
583 math_check_force_underflow.
584 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
585 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
586 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
587 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
588 math_check_force_underflow_nonneg.
589 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
590 math_check_force_underflow.
591 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
592 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
593 instead of volatile.
594 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
595 math_check_force_underflow.
596
597 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
598 * stdlib/strtod_l.c: Include <math_private.h>.
599 (overflow_value): Use math_narrow_eval.
600 (underflow_value): Likewise.
601 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
602 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
603 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
604 (__ieee754_gamma_r): Likewise.
605 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
606 Likewise.
607 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
608 Likewise.
609 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
610 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
611 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
612 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
613 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
614 (__ieee754_gammaf_r): Likewise.
615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
616 Likewise.
617 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
618 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
619 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
620 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
621 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
622 volatile.
623 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
624 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
625 math_narrow_eval.
626 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
627 Likewise.
628 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
629 Likewise.
630 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
631 Likewise.
632 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
633 volatile.
634 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
635 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
636 math_narrow_eval.
637 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
638 Likewise.
639 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
640 Likewise.
641
642 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
643
644 * nptl/Versions: Remove ignored symbols.
645
646 2015-09-22 Florian Weimer <fweimer@redhat.com>
647
648 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
649 * nss/Makefile (tests): Update.
650
651 2015-09-22 Florian Weimer <fweimer@redhat.com>
652
653 * nss/bug18287.c: New file.
654 * nss/Makefile (tests): Add bug18287.
655
656 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
657
658 * mach/Versions (__mach_host_self_): Add symbol.
659
660 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
661
662 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
663 vm_page_size.
664
665 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
666
667 Really fix sysdeps/i386/fpu/s_scalbn.S build
668
669 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
670 (libc: GLIBC_2_22): Remove unused version set.
671
672 2015-09-18 Mike Frysinger <vapier@gentoo.org>
673
674 * config.make.in (enable-timezone-tools): New variable.
675 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
676 (enable_timezone_tools): Export to generated files.
677 * configure: Regenerate.
678 * INSTALL: Regenerate.
679 * manual/install.texi (--disable-timezone-tools): Document new flag.
680 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
681 ifeq ($(enable-timezone-tools),yes) check.
682
683 2015-09-18 Joseph Myers <joseph@codesourcery.com>
684
685 * timezone/Makefile: Revert previous change.
686
687 [BZ #18980]
688 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
689 (DEFINE_DBL_MIN): Likewise.
690 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
691 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
692 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
693 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
694 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
695 (dbl_min): Replace with use of DEFINE_DBL_MIN.
696 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
697 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
698 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
699 (dbl_min): Replace with use of DEFINE_DBL_MIN.
700 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
701 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
702 (flt_min): Replace with use of DEFINE_FLT_MIN.
703 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
704 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
705 (dbl_min): Replace with use of DEFINE_DBL_MIN.
706 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
707 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
708 (flt_min): Replace with use of DEFINE_FLT_MIN.
709 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
710 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
711 (flt_min): Replace with use of DEFINE_FLT_MIN.
712 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
713 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
714 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
715 (__ieee754_hypot): Use DBL_NARROW_EVAL.
716 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
717 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
718 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
719 (__ieee754_pow): Use DBL_NARROW_EVAL.
720 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
721 (__ieee754_powf): Use FLT_NARROW_EVAL.
722 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
723 (__ieee754_expf_sse2): Convert double-precision result to single
724 precision.
725 * sysdeps/i386/fpu/libm-test-ulps: Update.
726
727 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
728
729 * timezone/Makefile: Ignore unused variable errors due to private.h
730 (time_t_min) and (time_t_max).
731 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
732 Likewise.
733
734 2015-09-18 Joseph Myers <joseph@codesourcery.com>
735
736 [BZ #18981]
737 * sysdeps/i386/fpu/i386-math-asm.h: New file.
738 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
739 (__ieee754_scalb): Use DBL_NARROW_EVAL.
740 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
741 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
742 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
743 (__scalbn): Use DBL_NARROW_EVAL.
744 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
745 (__scalbnf): Use FLT_NARROW_EVAL.
746
747 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
748
749 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
750 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
751 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
752 * stdio-common/printf_fp.c (___printf_fp):
753 Use signbit to get the sign. Use isinf macro to allow inlining.
754 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
755 * stdio-common/printf_size.c (__printf_size): Likewise.
756
757 2015-09-18 Mike Frysinger <vapier@gentoo.org>
758
759 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
760
761 2015-09-18 Joseph Myers <joseph@codesourcery.com>
762
763 [BZ #18980]
764 * sysdeps/generic/math_private.h: Include <float.h>.
765 (math_narrow_eval): New macro.
766 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
767 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
768 math_narrow_eval on overflowing return value.
769 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
770 Likewise.
771 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
772 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
773 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
774 Likewise.
775 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
776
777 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
778
779 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
780 * math/Makefile: Remove isinf_ns.c.
781 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
782 * math/multc3.c (__multc3): Likewise.
783 * math/s_casin.c (__casin): Likewise.
784 * math/s_casinf.c (__casinf): Likewise.
785 * math/s_casinl.c (__casinl): Likewise.
786 * math/s_cproj.c (__cproj): Likewise.
787 * math/s_cprojf.c (__cprojf): Likewise.
788 * math/s_cprojl.c (__cprofl): Likewise.
789 * math/s_ctan.c (__ctan): Likewise.
790 * math/s_ctanf.c (__ctanf): Likewise.
791 * math/s_ctanh.c (__ctanh): Likewise.
792 * math/s_ctanhf.c (__ctanhf): Likewise.
793 * math/s_ctanhl.c (__ctanhl): Likewise.
794 * math/s_ctanl.c (__ctanl): Likewise.
795 * math/w_fmod.c (__fmod): Likewise.
796 * math/w_fmodf.c (__fmodf): Likewise.
797 * math/w_fmodl.c (_fmodl): Likewise.
798 * math/w_remainder.c (__remainder): Likewise.
799 * math/w_remainderf.c (__remainderf): Likewise.
800 * math/w_remainderl.c (__remainderl): Likewise.
801 * math/w_scalb.c (__scalb): Likewise.
802 * math/w_scalbf.c (__scalbf): Likewise.
803 * math/w_scalbl.c (__scalbl): Likewise.
804 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
805 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
806 with isinf.
807 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
809 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
810 __isinf_nsf with isinf.
811 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
812 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
813 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
814 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
815 with isinf.
816 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
817 __isinf_nsl with isinf.
818 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
819 with isinf.
820 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
821 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
822 __isinf_nsl with isinf.
823 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
824 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
825 with isinf.
826
827 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
828
829 * resolv/base64.c (rcsid): Remove unused static.
830 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
831 static. (tqpi1): Likewise.
832 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
833 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
834 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
835 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
836 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
837 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
838 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
839 * timezone/private.h (time_t_min): Likewise. (time_t_max):
840 Likewise.
841
842 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
843
844 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
845 <nptl/pthreadP.h>.
846 (_longjmp_unwind): Use __libc_ptf_call.
847 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
848
849 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
850
851 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
852 * sysdeps/arm/__longjmp.S: Likewise
853
854 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
855
856 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
857 Use __builtin_signbit.
858 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
859 Use __builtin_signbitf.
860 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
861 Use __builtin_signbitl.
862 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
863 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
864
865 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
866
867 [BZ #15367]
868 [BZ #17441]
869
870 * math/Makefile: Build test-snan.c with -fsignaling-nans.
871 * math/math.h (fpclassify): Use __builtin_fpclassify when
872 available. (signbit): Use __builtin_signbit(f/l).
873 (isfinite): Use__builtin_isfinite. (isnormal): Use
874 __builtin_isnormal. (isnan): Use __builtin_isnan.
875 (isinf): Use __builtin_isinf_sign.
876
877 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
878
879 * benchtests/Makefile: Add bench-math-inlines, link with libm.
880 * benchtests/bench-math-inlines.c: New benchmark.
881 * benchtests/bench-util.h: New file.
882 * benchtests/bench-util.c: New file.
883 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
884
885 2015-09-18 Carlos O'Donell <carlos@redhat.com>
886
887 * elf/tst-dlmopen1.c: Define TEST_SO.
888 (do_test): Use TEST_SO.
889
890 * elf/dl-load.c: Include libc-internal.h.
891 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
892
893 2015-09-18 Vincent Bernat <vincent@bernat.im>
894
895 [BZ #17887]
896 * time/strptime_l.c (__strptime_internal): Make %z accept
897 [+-]HH:MM time zones.
898
899 2015-09-18 Vincent Bernat <vincent@bernat.im>
900
901 [BZ #17886]
902 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
903 valid time zone.
904
905 2015-09-17 Mike Frysinger <vapier@gentoo.org>
906
907 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
908 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
909 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
910 (__ASSUME_FDATASYNC): Delete.
911
912 2015-09-17 Joseph Myers <joseph@codesourcery.com>
913
914 * conform/linknamespace.pl: Require weak undefined symbols to be
915 in the standard namespace.
916 (%strong_syms): Rename to %seen_syms.
917 (%strong_seen): Rename to %seen_where.
918
919 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
920
921 [BZ #18970]
922 * misc/error.c (error): Replace pthread_setcancelstate with
923 __pthread_setcancelstate.
924 (error_at_line): Likewise.
925 * posix/wordexp.c (parse_comm): Likewise.
926 * stdlib/fmtmsg.c (fmtmsg): Likewise.
927 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
928 (__pthread_setcancelstate): This.
929 (pthread_setcancelstate): Add an alias.
930 * nptl/nptl-init.c (pthread_functions): Replace
931 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
932 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
933 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
934 hidden_proto.
935 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
936 it with hidden_def.
937 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
938 (pthread_setcancelstate): Renamed to ...
939 (__pthread_setcancelstate): This.
940 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
941 __libc_ptf_call with __pthread_setcancelstate.
942
943 2015-09-17 Joseph Myers <joseph@codesourcery.com>
944 Andreas Schwab <schwab@suse.de>
945
946 [BZ #17118]
947 * math/s_ctan.c (__ctan): Determine sign of zero real part of
948 result when imaginary part of argument is infinite using sine and
949 cosine.
950 * math/s_ctanf.c (__ctanf): Likewise.
951 * math/s_ctanl.c (__ctanl): Likewise.
952 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
953 of result when real part of argument is infinite using sine and
954 cosine.
955 * math/s_ctanhf.c (__ctanhf): Likewise.
956 * math/s_ctanhl.c (__ctanhl): Likewise.
957 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
958 (ctanh_test_data): Add more tests of ctanh.
959
960 2015-09-17 Joseph Myers <joseph@codesourcery.com>
961
962 [BZ #15384]
963 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
964 bit-mask as in subtraction.
965 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
966 Likewise.
967 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
968 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
969 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
970
971 [BZ #18951]
972 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
973 underflow exception for small results.
974 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
975 Likewise.
976 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
977 Likewise.
978 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
979 Likewise.
980 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
981 Likewise.
982 * math/auto-libm-test-in: Add more tests of tgamma.
983 * math/auto-libm-test-out: Regenerated.
984
985 2015-09-17 Andreas Schwab <schwab@suse.de>
986
987 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
988
989 2015-09-16 Joseph Myers <joseph@codesourcery.com>
990
991 [BZ #18977]
992 * math/bits/mathcalls.h
993 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
994 not declare.
995 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
996 Likewise.
997 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
998 Likewise.
999 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1000 Likewise.
1001 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1002 Likewise.
1003 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1004 Likewise.
1005 * conform/data/math.h-data
1006 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1007 function.
1008 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1009 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1010 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1011 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1012 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1013 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1014 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1015 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1016 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1017 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1018 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1019
1020 [BZ #6803]
1021 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1022 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1023 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1024 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1025 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1026 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1027 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1028 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1029 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1031 Likewise.
1032 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1033 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1034 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1035 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1036 long_double_symbol calls.
1037 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1038 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1039 strong alias of __ldexpl.
1040 (scalbnl): Define using long_double_symbol.
1041 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1042 Remove alias.
1043 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1044 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1045 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1046 (scalbln_test_data): Add more errno expectations.
1047
1048 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
1049
1050 Cache the host port like we cache the task port. This way we do not
1051 need to call the kernel just to get the port. Furthermore, we no
1052 longer increase the reference count on every invocation of
1053 `mach_host_self'.
1054
1055 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1056 Protect declarations against the macro expansion.
1057 * mach/mach_init.c (__mach_host_self_): New variable.
1058 (mach_init): Initialize `__mach_host_self_'.
1059 * mach/mach_init.h (__mach_host_self_): New declaration.
1060 (__mach_host_self, mach_host_self): New macros.
1061 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1062 Release reference.
1063
1064 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1065
1066 [BZ #4404]
1067 * po/de.po: Update from Translation Project.
1068
1069 [BZ #16415]
1070 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1071 (__expm1l): Remove code to handle positive infinity and overflow.
1072 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1073 variable.
1074 (__expm1l): Remove code to handle positive infinity and overflow.
1075
1076 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
1077 Paul Pluzhnikov <ppluzhnikov@google.com>
1078
1079 [BZ #18872]
1080 * stdio-common/Makefile (tst-printf-bz18872): New test.
1081 (tst-printf-bz18872-mem.out): Likewise.
1082 * stdio-common/tst-printf-bz18872.sh: Generate new test.
1083 * stdio-common/vfprintf.c: Fix memory leaks.
1084
1085 2015-09-16 Andreas Schwab <schwab@suse.de>
1086
1087 [BZ #17244]
1088 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1089 Remove extra va_start/va_end calls.
1090
1091 [BZ #17243]
1092 * posix/execl.c (execl): Add missing va_end.
1093 * posix/execle.c (execle): Likewise.
1094 * posix/execlp.c (execlp): Likewise.
1095
1096 2015-09-15 Roland McGrath <roland@hack.frob.com>
1097
1098 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1099 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1100
1101 2015-09-15 Joseph Myers <joseph@codesourcery.com>
1102
1103 [BZ #18967]
1104 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
1105 undefine around includes of <bits/mathcalls.h>.
1106 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1107 not declare function.
1108 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1109 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1110 (scalb): Likewise.
1111 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1112 not define macro.
1113 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1114 variable.
1115 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1116 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1117 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1118
1119 [BZ #18857]
1120 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1121 return non-finite argument without doing ordered comparisons on
1122 it.
1123
1124 [BZ #16296]
1125 * math/fenv.h (fegetround): Use __attribute_pure__.
1126 * include/fenv.h (__fegetround): Likewise.
1127
1128 [BZ #18595]
1129 * math/s_ctan.c (__ctan): Force underflow exception for results
1130 whose real or imaginary part has small absolute value.
1131 * math/s_ctanf.c (__ctanf): Likewise.
1132 * math/s_ctanh.c (__ctanh): Likewise.
1133 * math/s_ctanhf.c (__ctanhf): Likewise.
1134 * math/s_ctanhl.c (__ctanhl): Likewise.
1135 * math/s_ctanl.c (__ctanl): Likewise.
1136 * math/auto-libm-test-in: Do not allow missing underflow for ctan
1137 and ctanh. Add more tests of ctan and ctanh.
1138
1139 [BZ #15918]
1140 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1141 handling of cases where one argument is an infinity.
1142
1143 [BZ #18875]
1144 [BZ #18966]
1145 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1146 (MO): New macro.
1147 (__ieee754_exp10): For small results, force underflow exception
1148 and remove excess range and precision from return value.
1149 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1150 (MO): New macro.
1151 (__ieee754_exp10f): For small results, force underflow exception
1152 and remove excess range and precision from return value.
1153 * math/auto-libm-test-in: Add more tests of exp10.
1154 * math/auto-libm-test-out: Regenerated.
1155
1156 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1157
1158 [BZ #18875]
1159 [BZ #18961]
1160 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1161 (MO): New macro.
1162 (__ieee754_exp): For small results, force underflow exception and
1163 remove excess range and precision from return value.
1164 (__exp_finite): Likewise.
1165 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1166 (MO): New macro.
1167 (__ieee754_expf): For small results, force underflow exception and
1168 remove excess range and precision from return value.
1169 (__expf_finite): Likewise.
1170 * math/auto-libm-test-in: Add more tests of exp.
1171 * math/auto-libm-test-out: Regenerated.
1172
1173 [BZ #16521]
1174 [BZ #18875]
1175 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1176 small results.
1177 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1178 (MO): New macro.
1179 (__ieee754_exp2): For small results, force underflow exception and
1180 remove excess range and precision from return value.
1181 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1182 (MO): New macro.
1183 (__ieee754_exp2f): For small results, force underflow exception
1184 and remove excess range and precision from return value.
1185 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1186 (MO): New macro.
1187 (__ieee754_exp2l): Force underflow exception for small results.
1188 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1189 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1190 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1191 (MO): New macro.
1192 (__ieee754_exp2l): Force underflow exception for small results.
1193 * math/auto-libm-test-in: Add more tests or exp2.
1194 * math/auto-libm-test-out: Regenerated.
1195
1196 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1197
1198 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1199
1200 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1201 /dev/null.
1202
1203 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1204
1205 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1206 io fs process)): Drop spurious backslash.
1207
1208 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1209
1210 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1211 Use sysinfo system call instead of parsing /proc/meminfo.
1212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1213 Likewise.
1214
1215 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1216
1217 [BZ #16985]
1218 * programs/localedef.c (main): Display argv[remaining] when
1219 output_path is NULL.
1220
1221 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1222
1223 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1224 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1225 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1226 tanh.
1227 * math/auto-libm-test-out: Regenerated.
1228 * sysdeps/i386/fpu/libm-test-ulps: Update.
1229 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1230 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1232
1233 2015-09-11 Roland McGrath <roland@hack.frob.com>
1234
1235 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1236 Use 'override' keyword to freeze the value here, preventing
1237 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1238
1239 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1240
1241 [BZ #14912]
1242 * sysdeps/aarch64/bits/atomic.h: Move to ...
1243 * sysdeps/aarch64/atomic-machine.h: ...here.
1244 (_AARCH64_BITS_ATOMIC_H): Rename macro to
1245 _AARCH64_ATOMIC_MACHINE_H.
1246 * sysdeps/alpha/bits/atomic.h: Move to ...
1247 * sysdeps/alpha/atomic-machine.h: ...here.
1248 * sysdeps/arm/bits/atomic.h: Move to ...
1249 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
1250 * bits/atomic.h: Move to ...
1251 * sysdeps/generic/atomic-machine.h: ...here.
1252 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1253 * sysdeps/i386/bits/atomic.h: Move to ...
1254 * sysdeps/i386/atomic-machine.h: ...here.
1255 * sysdeps/ia64/bits/atomic.h: Move to ...
1256 * sysdeps/ia64/atomic-machine.h: ...here.
1257 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1258 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1259 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1260 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1261 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1262 * sysdeps/microblaze/bits/atomic.h: Move to ...
1263 * sysdeps/microblaze/atomic-machine.h: ...here.
1264 * sysdeps/mips/bits/atomic.h: Move to ...
1265 * sysdeps/mips/atomic-machine.h: ...here.
1266 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1267 * sysdeps/powerpc/bits/atomic.h: Move to ...
1268 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1269 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1270 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1271 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1272 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1273 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1274 <atomic-machine.h> instead of <bits/atomic.h>.
1275 * sysdeps/s390/bits/atomic.h: Move to ...
1276 * sysdeps/s390/atomic-machine.h: ...here.
1277 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1278 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1279 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1280 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1281 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1282 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1283 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1284 * sysdeps/tile/bits/atomic.h: Move to ...
1285 * sysdeps/tile/atomic-machine.h: ...here.
1286 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1287 * sysdeps/tile/tilegx/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/tile/tilepro/bits/atomic.h: Move to ...
1292 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1293 <sysdeps/tile/atomic-machine.h> instead of
1294 <sysdeps/tile/bits/atomic.h>.
1295 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1296 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1297 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1298 <sysdeps/arm/atomic-machine.h> instead of
1299 <sysdeps/arm/bits/atomic.h>.
1300 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1301 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1302 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1303 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1304 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1305 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1306 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1307 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1308 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1309 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1310 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1311 * sysdeps/x86_64/bits/atomic.h: Move to ...
1312 * sysdeps/x86_64/atomic-machine.h: ...here.
1313 * include/atomic.h: Include <atomic-machine.h> instead of
1314 <bits/atomic.h>.
1315
1316 * sysdeps/mips/mips32/libm-test-ulps: Update.
1317 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1318
1319 [BZ #18952]
1320 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1321 not convert non-integer negative arguments to int to determine the
1322 value of signgam.
1323 * math/auto-libm-test-in: Add more tests of lgamma.
1324 * math/auto-libm-test-out: Regenerated.
1325
1326 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1327 cosh, csqrt, erfc, expm1 and lgamma.
1328 * math/auto-libm-test-out: Regenerated.
1329 * sysdeps/i386/fpu/libm-test-ulps: Update.
1330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1331
1332 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1333
1334 [BZ #2542]
1335 [BZ #2543]
1336 [BZ #2558]
1337 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1338 __lgamma_neg for arguments from -28.0 to -2.0.
1339 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1340 __lgamma_negf for arguments from -15.0 to -2.0.
1341 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1342 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1343 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1344 Call __lgamma_negl for arguments from -33.0 to -2.0.
1345 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1346 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1347 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1348 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1355 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1356 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1357 (__lgamma_neg): Likewise.
1358 (__lgamma_negl): Likewise.
1359 (__lgamma_product): Likewise.
1360 (__lgamma_productl): Likewise.
1361 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1362 * math/auto-libm-test-in: Add more tests of lgamma.
1363 * math/auto-libm-test-out: Regenerated.
1364 * sysdeps/i386/fpu/libm-test-ulps: Update.
1365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1366
1367 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1368
1369 [BZ #18675]
1370 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1371
1372 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1373
1374 [BZ #14912]
1375 * bits/libc-lock.h: Move to ...
1376 * sysdeps/generic/libc-lock.h: ...here.
1377 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1378 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1379 * sysdeps/mach/hurd/libc-lock.h: ...here.
1380 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1381 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1382 * sysdeps/mach/bits/libc-lock.h: Move to ...
1383 * sysdeps/mach/libc-lock.h: ...here.
1384 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1385 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1386 * sysdeps/nptl/libc-lock.h: ...here.
1387 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1388 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1389 * sysdeps/nptl/libc-lockP.h: ...here.
1390 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1391 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1392 <bits/libc-lock.h>.
1393 * dirent/scandir-tail.c: Likewise.
1394 * dlfcn/dlerror.c: Likewise.
1395 * elf/dl-close.c: Likewise.
1396 * elf/dl-iteratephdr.c: Likewise.
1397 * elf/dl-lookup.c: Likewise.
1398 * elf/dl-open.c: Likewise.
1399 * elf/dl-support.c: Likewise.
1400 * elf/dl-writev.h: Likewise.
1401 * elf/rtld.c: Likewise.
1402 * grp/fgetgrent.c: Likewise.
1403 * gshadow/fgetsgent.c: Likewise.
1404 * gshadow/sgetsgent.c: Likewise.
1405 * iconv/gconv_conf.c: Likewise.
1406 * iconv/gconv_db.c: Likewise.
1407 * iconv/gconv_dl.c: Likewise.
1408 * iconv/gconv_int.h: Likewise.
1409 * iconv/gconv_trans.c: Likewise.
1410 * include/link.h: Likewise.
1411 * inet/getnameinfo.c: Likewise.
1412 * inet/getnetgrent.c: Likewise.
1413 * inet/getnetgrent_r.c: Likewise.
1414 * intl/bindtextdom.c: Likewise.
1415 * intl/dcigettext.c: Likewise.
1416 * intl/finddomain.c: Likewise.
1417 * intl/gettextP.h: Likewise.
1418 * intl/loadmsgcat.c: Likewise.
1419 * intl/localealias.c: Likewise.
1420 * intl/textdomain.c: Likewise.
1421 * libidn/idn-stub.c: Likewise.
1422 * libio/libioP.h: Likewise.
1423 * locale/duplocale.c: Likewise.
1424 * locale/freelocale.c: Likewise.
1425 * locale/newlocale.c: Likewise.
1426 * locale/setlocale.c: Likewise.
1427 * login/getutent_r.c: Likewise.
1428 * login/getutid_r.c: Likewise.
1429 * login/getutline_r.c: Likewise.
1430 * login/utmp-private.h: Likewise.
1431 * login/utmpname.c: Likewise.
1432 * malloc/mtrace.c: Likewise.
1433 * misc/efgcvt.c: Likewise.
1434 * misc/error.c: Likewise.
1435 * misc/fstab.c: Likewise.
1436 * misc/getpass.c: Likewise.
1437 * misc/mntent.c: Likewise.
1438 * misc/syslog.c: Likewise.
1439 * nis/nis_call.c: Likewise.
1440 * nis/nis_callback.c: Likewise.
1441 * nis/nss-default.c: Likewise.
1442 * nis/nss_compat/compat-grp.c: Likewise.
1443 * nis/nss_compat/compat-initgroups.c: Likewise.
1444 * nis/nss_compat/compat-pwd.c: Likewise.
1445 * nis/nss_compat/compat-spwd.c: Likewise.
1446 * nis/nss_nis/nis-alias.c: Likewise.
1447 * nis/nss_nis/nis-ethers.c: Likewise.
1448 * nis/nss_nis/nis-grp.c: Likewise.
1449 * nis/nss_nis/nis-hosts.c: Likewise.
1450 * nis/nss_nis/nis-network.c: Likewise.
1451 * nis/nss_nis/nis-proto.c: Likewise.
1452 * nis/nss_nis/nis-pwd.c: Likewise.
1453 * nis/nss_nis/nis-rpc.c: Likewise.
1454 * nis/nss_nis/nis-service.c: Likewise.
1455 * nis/nss_nis/nis-spwd.c: Likewise.
1456 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1457 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1458 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1459 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1460 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1461 * nis/nss_nisplus/nisplus-network.c: Likewise.
1462 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1463 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1464 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1465 * nis/nss_nisplus/nisplus-service.c: Likewise.
1466 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1467 * nis/ypclnt.c: Likewise.
1468 * nptl/libc_pthread_init.c: Likewise.
1469 * nss/getXXbyYY.c: Likewise.
1470 * nss/getXXent.c: Likewise.
1471 * nss/getXXent_r.c: Likewise.
1472 * nss/nss_db/db-XXX.c: Likewise.
1473 * nss/nss_db/db-netgrp.c: Likewise.
1474 * nss/nss_db/nss_db.h: Likewise.
1475 * nss/nss_files/files-XXX.c: Likewise.
1476 * nss/nss_files/files-alias.c: Likewise.
1477 * nss/nsswitch.c: Likewise.
1478 * posix/regex_internal.h: Likewise.
1479 * posix/wordexp.c: Likewise.
1480 * pwd/fgetpwent.c: Likewise.
1481 * resolv/res_hconf.c: Likewise.
1482 * resolv/res_libc.c: Likewise.
1483 * shadow/fgetspent.c: Likewise.
1484 * shadow/lckpwdf.c: Likewise.
1485 * shadow/sgetspent.c: Likewise.
1486 * socket/opensock.c: Likewise.
1487 * stdio-common/reg-modifier.c: Likewise.
1488 * stdio-common/reg-printf.c: Likewise.
1489 * stdio-common/reg-type.c: Likewise.
1490 * stdio-common/vfprintf.c: Likewise.
1491 * stdio-common/vfscanf.c: Likewise.
1492 * stdlib/abort.c: Likewise.
1493 * stdlib/cxa_atexit.c: Likewise.
1494 * stdlib/fmtmsg.c: Likewise.
1495 * stdlib/random.c: Likewise.
1496 * stdlib/setenv.c: Likewise.
1497 * string/strsignal.c: Likewise.
1498 * sunrpc/auth_none.c: Likewise.
1499 * sunrpc/bindrsvprt.c: Likewise.
1500 * sunrpc/create_xid.c: Likewise.
1501 * sunrpc/key_call.c: Likewise.
1502 * sunrpc/rpc_thread.c: Likewise.
1503 * sysdeps/arm/backtrace.c: Likewise.
1504 * sysdeps/generic/ldsodefs.h: Likewise.
1505 * sysdeps/generic/stdio-lock.h: Likewise.
1506 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1507 * sysdeps/i386/backtrace.c: Likewise.
1508 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1509 * sysdeps/m68k/backtrace.c: Likewise.
1510 * sysdeps/mach/hurd/cthreads.c: Likewise.
1511 * sysdeps/mach/hurd/dirstream.h: Likewise.
1512 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1513 * sysdeps/nptl/malloc-machine.h: Likewise.
1514 * sysdeps/nptl/stdio-lock.h: Likewise.
1515 * sysdeps/posix/dirstream.h: Likewise.
1516 * sysdeps/posix/getaddrinfo.c: Likewise.
1517 * sysdeps/posix/system.c: Likewise.
1518 * sysdeps/pthread/aio_suspend.c: Likewise.
1519 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1520 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1521 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1522 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1523 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1524 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1525 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1526 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1527 * sysdeps/unix/sysv/linux/system.c: Likewise.
1528 * sysdeps/x86_64/backtrace.c: Likewise.
1529 * time/alt_digit.c: Likewise.
1530 * time/era.c: Likewise.
1531 * time/tzset.c: Likewise.
1532 * wcsmbs/wcsmbsload.c: Likewise.
1533 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1534 instead of <bits/libc-lock.h> in comment.
1535
1536 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1537
1538 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1539 Only use .set mips2 if the current ISA is below mips2.
1540 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1541 Likewise.
1542 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1543 mips32r2 if the current ISA is below mips32r2.
1544 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1545 (TLS_IE): Updated to use the TLD_RDHWR macro.
1546 (TLS_LE): Likewise.
1547 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1548 __ASSEMBLER__ condition.
1549
1550 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1551
1552 Fix parallel build of before-compile targets.
1553
1554 * sysdeps/mach/Makefile ($(patsubst
1555 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1556 mach-before-compile target.
1557 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1558 io fs process)): Move rule to dedicated hurd-before-compile target.
1559
1560 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1561
1562 Fix rules generating headers in hurd/ and mach/ when initial make call
1563 has subdir= explicitly set.
1564
1565 * sysdeps/mach/Makefile ($(patsubst
1566 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1567 calling $(MAKE).
1568 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1569 io fs process)): Force subdir to hurd when calling $(MAKE).
1570 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1571 subdir to mach when calling $(MAKE).
1572
1573 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1574
1575 Check sysheaders when looking for Mach and Hurd headers
1576
1577 * sysdeps/mach/configure.ac: Add sysheaders check.
1578 * sysdeps/mach/configure: Regenerate.
1579 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1580 * sysdeps/mach/hurd/configure: Regenerate.
1581
1582 2015-09-04 Roland McGrath <roland@hack.frob.com>
1583
1584 [BZ #18921]
1585 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1586 Fix inverted sense of test of 'o_directory_works' value.
1587 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1588 Bernhard Voelker <mail@bernhard-voelker.de>.
1589
1590 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1591
1592 [BZ #14912]
1593 * bits/linkmap.h: Move to ...
1594 * sysdeps/generic/linkmap.h: ...here.
1595 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1596 * sysdeps/aarch64/linkmap.h: ...here.
1597 * sysdeps/arm/bits/linkmap.h: Move to ...
1598 * sysdeps/arm/linkmap.h: ...here.
1599 * sysdeps/hppa/bits/linkmap.h: Move to ...
1600 * sysdeps/hppa/linkmap.h: ...here.
1601 * sysdeps/ia64/bits/linkmap.h: Move to ...
1602 * sysdeps/ia64/linkmap.h: ...here.
1603 * sysdeps/mips/bits/linkmap.h: Move to ...
1604 * sysdeps/mips/linkmap.h: ...here.
1605 * sysdeps/s390/bits/linkmap.h: Move to ...
1606 * sysdeps/s390/linkmap.h: ...here.
1607 * sysdeps/sh/bits/linkmap.h: Move to ...
1608 * sysdeps/sh/linkmap.h: ...here.
1609 * sysdeps/x86/bits/linkmap.h: Move to ...
1610 * sysdeps/x86/linkmap.h: ...here.
1611 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1612
1613 2015-09-04 Andreas Schwab <schwab@suse.de>
1614
1615 [BZ #18635]
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1617 (__makecontext): Terminate FDE before return label.
1618 (__novec_makecontext): Likewise.
1619
1620 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1621
1622 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1623 first member of struct sv in syscall macro.
1624
1625 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1626
1627 [BZ #14912]
1628 * bits/stdio-lock.h: Move to ...
1629 * sysdeps/generic/stdio-lock.h: ...here.
1630 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1631 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1632 * sysdeps/nptl/stdio-lock.h: ...here.
1633 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1634 * include/libio.h: Include <stdio-lock.h> instead of
1635 <bits/stdio-lock.h>.
1636 * sysdeps/nptl/fork.c: Likewise.
1637 * sysdeps/pthread/flockfile.c: Likewise.
1638 * sysdeps/pthread/ftrylockfile.c: Likewise.
1639 * sysdeps/pthread/funlockfile.c: Likewise.
1640
1641 [BZ #14912]
1642 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1643 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1644 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1645 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1646 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1647 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1648 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1649
1650 2015-09-03 Roland McGrath <roland@hack.frob.com>
1651
1652 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1653 (test-xfail-tst-protected1b): New variable.
1654
1655 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1656
1657 [BZ #14912]
1658 * bits/libc-tsd.h: Move to ...
1659 * sysdeps/generic/libc-tsd.h: ...here.
1660 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1661 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1662 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1663 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1664 * include/ctype.h: Include <libc-tsd.h> instead of
1665 <bits/libc-tsd.h>.
1666 * include/rpc/rpc.h: Likewise.
1667 * locale/localeinfo.h: Likewise.
1668 * sunrpc/rpc_thread.c: Likewise.
1669 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1670 * sysdeps/nptl/malloc-machine.h: Likewise.
1671
1672 * Makefile (headers): Remove bits/libc-lock.h.
1673 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1674
1675 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1676 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1677 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1678 <bits/stdio-lock.h>.
1679 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1680 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1681
1682 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1683
1684 [BZ #18757]
1685 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1686 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1687 BZ #18757.
1688
1689 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1690
1691 * malloc/mtrace.pl: Filter out NULL entries.
1692
1693 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1694
1695 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1696 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1697 macro.
1698
1699 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1700 (TCP_CC_INFO): Likewise.
1701 (TCP_SAVE_SYN): Likewise.
1702 (TCP_SAVED_SYN): Likewise.
1703
1704 2015-08-31 Brett Neumeier <brett@neumeier.us>
1705
1706 [BZ #18870]
1707 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1708
1709 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1710
1711 [BZ #18873]
1712 Fix broken overflow check in posix_fallocate
1713 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1714 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1715 Fix parenthesization typo.
1716
1717 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1718
1719 [BZ #18887]
1720 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1721 tst-mntent-blank-passno.
1722 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1723 * misc/tst-mntent-blank-corrupt.c: New test.
1724 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1725 * misc/tst-mntent.c (do_test): ... here.
1726
1727 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1728
1729 [BZ #4404]
1730 * po/de.po: Fix SIGALRM typo.
1731
1732 2015-08-28 James Perkins <james@loowit.net>
1733
1734 * time/tst-strptime2.c (tests): Replace short list of test
1735 strings for strptime %z specifier with code which exhaustively
1736 tests every combination of sign and 0 to 5 digits. Tests for
1737 rejection of invalid strings.
1738
1739 2015-08-28 James Perkins <james@loowit.net>
1740
1741 [BZ #16141]
1742 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1743 calculation, removing incorrect decimal time rounding, so that
1744 all minute values result in a valid seconds value.
1745 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1746 offset range limits to UTC-99:59 through UTC+99:59 to parse
1747 current and historical use cases.
1748 * time/tst-strptime2.c (tests): Modify and add tests for the
1749 strptime %z input field descriptor, specifically conversion of
1750 minutes to seconds and validating an offset range of -9959 to
1751 +9959.
1752
1753 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1754 Dmitry V. Levin <ldv@altlinux.org>
1755
1756 [BZ #18877]
1757 * posix/Makefile (tests): Add tst-mmap-offset.
1758 * posix/tst-mmap.c: New file.
1759 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1760 offset calculation for negative values.
1761
1762 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1763
1764 * sysdeps/i386/init-arch.h: New file.
1765 * sysdeps/i386/i586/init-arch.h: Likewise.
1766 * sysdeps/i386/i686/init-arch.h: Likewise.
1767 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1768 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1769 * sysdeps/x86/cpu-features.h (bit_I586): New.
1770 (bit_I686): Likewise.
1771 (bit_CX8): Likewise.
1772 (bit_CMOV): Likewise.
1773 (index_CX8): Likewise.
1774 (index_CMOV): Likewise.
1775 (index_I586): Likewise.
1776 (index_I686): Likewise.
1777 (reg_CX8): Likewise.
1778 (reg_CMOV): Likewise.
1779 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1780 available at compile-time.
1781 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1782 available at compile-time.
1783 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1784 (USE_I686): Likewise.
1785
1786 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1787
1788 * sysdeps/i386/bcopy.S: New file.
1789 * sysdeps/i386/bzero.S: Likewise.
1790 * sysdeps/i386/memcpy.S: Likewise.
1791 * sysdeps/i386/memmove.S: Likewise.
1792 * sysdeps/i386/mempcpy.S: Likewise.
1793 * sysdeps/i386/memset.S: Likewise.
1794 * sysdeps/i386/bzero.c: Removed.
1795 * sysdeps/i386/memset.c: Likewise.
1796 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1797 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1798 * sysdeps/i386/i586/memset_chk.S: Likewise.
1799 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1800 * sysdeps/i386/memcpy_chk.S: Here.
1801 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1802 * sysdeps/i386/memmove_chk.S: Here.
1803 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1804 * sysdeps/i386/mempcpy_chk.S: Likewise.
1805 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1806 * sysdeps/i386/memset_chk.S: Likewise.
1807
1808 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1809
1810 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1811 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1812 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1813 * soft-fp/fmadf4.c: Ditto.
1814 * soft-fp/fmatf4.c: Ditto.
1815
1816 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1817
1818 * sysdeps/i386/i586/Implies: Removed.
1819 * sysdeps/i386/i686/Implies: Likewise.
1820
1821 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/i386/i486/strlen.S: Moved to ...
1824 * sysdeps/i386/strlen.S: Here.
1825
1826 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1827
1828 * sysdeps/i386/i486/strcat.S: Moved to ...
1829 * sysdeps/i386/strcat.S: Here.
1830
1831 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1832
1833 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1834 * sysdeps/i386/pthread_spin_trylock.S: Here.
1835 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1836 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1837
1838 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1839
1840 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1841 * sysdeps/i386/string-inlines.c: Here.
1842
1843 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1844
1845 * sysdeps/i386/i486/htonl.S: Moved ...
1846 * sysdeps/i386/htonl.S: here.
1847
1848 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1849
1850 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1851 * sysdeps/i386/bits/atomic.h: Here.
1852
1853 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1854
1855 * sysdeps/i386/i486/Versions: Removed.
1856
1857 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1858
1859 [BZ #2898]
1860 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1861 Based on patch by Aurelien Jarno.
1862
1863 2015-08-26 Stan Shebs <stanshebs@google.com>
1864
1865 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1866 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1867
1868 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1869
1870 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1871 * sysdeps/powerpc/dl-procinfo.c:
1872 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1873 feature so it shows when LD_SHOW_AUXV=1.
1874
1875 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1876
1877 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1878 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1879 definition. ISA 2.07B no longer requires full sync.
1880
1881 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1882
1883 [BZ #18863]
1884 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1885 (si_call_addr): Define.
1886 (si_syscall): Define.
1887 (si_arch): Define.
1888
1889 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1890
1891 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1892 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1893 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1894 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1895 (__memset_zero_constant_len_parameter): New.
1896 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1897 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1898 (__memset_zero_constant_len_parameter): Don't define if
1899 __memset_chk or USE_AS_BZERO are defined.
1900
1901 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1902 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1903 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1904
1905 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1906 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1907 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1908 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1909 comments.
1910 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1911 -mno-mmx for $(all-rtld-routines).
1912 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1913 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1914 i386.
1915
1916 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1917
1918 * sysdeps/generic/unwind.h
1919 (_Unwind_Word): Use __mode__(__unwind_word__)
1920 instead of __mode__(__word__).
1921 (_Unwind_Sword): Likewise.
1922
1923 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1924 (MAX_NEEDED_INPUT): New define.
1925 (MAX_NEEDED_OUTPUT): New define.
1926
1927 * NEWS: New item for IBM z13 string optimizations.
1928
1929 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1930 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1931 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1932 * sysdeps/s390/multiarch/Makefile
1933 (sysdep_routines): Add memrchr functions.
1934 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1935 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1936
1937 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1938 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1939 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1940 * sysdeps/s390/multiarch/Makefile
1941 (sysdep_routines): Add wmemcmp functions.
1942 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1943 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1944 * benchtests/bench-wmemcmp.c: New File.
1945 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1946
1947 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1948 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1949 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1950 * sysdeps/s390/multiarch/Makefile
1951 (sysdep_routines): Add wmemset functions.
1952 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1953 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1954 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1955 * string/test-memset.c: Add wmemset support.
1956 * wcsmbs/test-wmemset.c: New File.
1957 * wcsmbs/Makefile (strop-tests): Add wmemset.
1958 * benchtests/bench-memset.c: Add wmemset support.
1959 * benchtests/bench-wmemset.c: New File.
1960 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1961
1962 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1963 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1964 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1965 * sysdeps/s390/multiarch/Makefile
1966 (sysdep_routines): Add memccpy functions.
1967 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1968 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1969 * string/memccpy.c: Use MEMCCPY if defined.
1970
1971 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1972 * sysdeps/s390/multiarch/memchr.c: Likewise.
1973 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1974 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1975 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1976 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1977 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1978 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1979 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1980 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1981 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1982 and rawmemchr functions.
1983 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1984 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1985 and wmemchr.
1986 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1987 * string/test-memchr.c: Add wmemchr support.
1988 * wcsmbs/test-wmemchr.c: New File.
1989 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1990 * benchtests/bench-memchr.c: Add wmemchr support.
1991 * benchtests/bench-wmemchr.c: New File.
1992 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1993
1994 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1995 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1996 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1997 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1998 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1999 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2000 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2001 wcscspn functions.
2002 * sysdeps/s390/multiarch/ifunc-impl-list.c
2003 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2004 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2005 * string/test-strcspn.c: Add wcscspn support.
2006 * wcsmbs/test-wcscspn.c: New File.
2007 * wcsmbs/Makefile (strop-tests): Add wcscspn.
2008 * benchtests/bench-strcspn.c: Add wcscspn support.
2009 * benchtests/bench-wcscspn.c: New File.
2010 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2011
2012 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2013 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2014 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2015 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2016 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2017 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2018 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2019 wcspbrk functions.
2020 * sysdeps/s390/multiarch/ifunc-impl-list.c
2021 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2022 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2023 * string/test-strpbrk.c: Add wcspbrk support.
2024 * wcsmbs/test-wcspbrk.c: New File.
2025 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2026 * benchtests/bench-strpbrk.c: Add wcspbrk support.
2027 * benchtests/bench-wcspbrk.c: New File.
2028 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2029
2030 * sysdeps/s390/multiarch/strspn-c.c: New File.
2031 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2032 * sysdeps/s390/multiarch/strspn.c: Likewise.
2033 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2034 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2035 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2036 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2037 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2038 wcsspn functions.
2039 * sysdeps/s390/multiarch/ifunc-impl-list.c
2040 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2041 * string/test-strspn.c: Add wcsspn support.
2042 * wcsmbs/test-wcsspn.c: New File.
2043 * wcsmbs/Makefile (strop-tests): Add wcsspn.
2044 * benchtests/bench-strspn.c: Add wcsspn support.
2045 * benchtests/bench-wcsspn.c: New File.
2046 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2047
2048 * sysdeps/s390/multiarch/strrchr-c.c: New File.
2049 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2050 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2051 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2052 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2053 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2054 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2055 wcsrchr functions.
2056 * sysdeps/s390/multiarch/ifunc-impl-list.c
2057 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2058 * benchtests/bench-wcsrchr.c: New File.
2059 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2060
2061 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2062 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2063 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2064 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2065 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2066 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2067 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2068 wcschrnul functions.
2069 * sysdeps/s390/multiarch/ifunc-impl-list.c
2070 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2071 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2072 * string/test-strchr.c: Add wcschrnul support.
2073 * wcsmbs/test-wcschrnul.c: New File.
2074 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2075 * benchtests/bench-strchr.c: Add wcschrnul support.
2076 * benchtests/bench-wcschrnul.c: New File.
2077 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2078
2079 * sysdeps/s390/multiarch/strchr-c.c: New File.
2080 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2081 * sysdeps/s390/multiarch/strchr.c: Likewise.
2082 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2083 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2084 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2085 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2086 wcschr functions.
2087 * sysdeps/s390/multiarch/ifunc-impl-list.c
2088 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2089 * string/strchr.c (STRCHR): Define and use macro.
2090 * benchtests/bench-wcschr.c: New File.
2091 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2092
2093 * sysdeps/s390/multiarch/strncmp-c.c: New File.
2094 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2095 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2096 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2097 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2098 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2099 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2100 wcsncmp functions.
2101 * sysdeps/s390/multiarch/ifunc-impl-list.c
2102 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2103 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2104 * benchtests/bench-strncmp.c: Add wcsncmp support.
2105 * benchtests/bench-wcsncmp.c: New File.
2106 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2107
2108 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2109 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2110 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2111 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2112 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2113 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2114 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2115 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2116 wcscmp functions.
2117 * sysdeps/s390/multiarch/ifunc-impl-list.c
2118 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2119 * string/strcmp.c (STRCMP): Define and use macro.
2120 * benchtests/bench-wcscmp.c: New File.
2121 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2122 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2123 instead of _HAVE_STRING_ARCH_memchr.
2124
2125 * sysdeps/s390/multiarch/strncat-c.c: New File.
2126 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2127 * sysdeps/s390/multiarch/strncat.c: Likewise.
2128 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2129 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2130 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2131 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2132 wcsncat functions.
2133 * sysdeps/s390/multiarch/ifunc-impl-list.c
2134 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2135 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2136 * string/test-strncat.c: Add wcsncat support.
2137 * wcsmbs/test-wcsncat.c: New File.
2138 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2139 * benchtests/bench-strncat.c: Add wcsncat support.
2140 * benchtests/bench-wcsncat.c: New File.
2141 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2142
2143 * sysdeps/s390/multiarch/strcat-c.c: New File.
2144 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2145 * sysdeps/s390/multiarch/strcat.c: Likewise.
2146 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2147 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2148 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2149 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2150 wcscat functions.
2151 * sysdeps/s390/multiarch/ifunc-impl-list.c
2152 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2153 * string/strcat.c (STRCAT): Define and use macro.
2154 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2155 * string/test-strcat.c: Add wcscat support.
2156 * wcsmbs/test-wcscat.c: New File.
2157 * wcsmbs/Makefile (strop-tests): Add wcscat.
2158 * benchtests/bench-strcat.c: Add wcscat support.
2159 * benchtests/bench-wcscat.c: New File.
2160 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2161
2162 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2163 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2164 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2165 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2166 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2167 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2168 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2169 wcpncpy functions.
2170 * sysdeps/s390/multiarch/ifunc-impl-list.c
2171 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2172 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2173 * string/test-stpncpy.c: Add wcpncpy support.
2174 * wcsmbs/test-wcpncpy.c: New File.
2175 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2176 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2177 * benchtests/bench-wcpncpy.c: New File.
2178 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2179
2180 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2181 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2182 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2183 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2184 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2185 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2186 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2187 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2188 wcsncpy functions.
2189 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2190 * sysdeps/s390/multiarch/ifunc-impl-list.c
2191 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2192 * string/test-strncpy.c: Add wcsncpy support.
2193 * wcsmbs/test-wcsncpy.c: New File.
2194 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2195 * benchtests/bench-strncpy.c: Add wcsncpy support.
2196 * benchtests/bench-wcsncpy.c: New File.
2197 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2198
2199 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2200 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2201 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2202 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2203 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2204 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2205 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2206 wcpcpy functions.
2207 * string/stpcpy.c: Use STPCPY if defined.
2208 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2209 * sysdeps/s390/multiarch/ifunc-impl-list.c
2210 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2211 * string/test-stpcpy.c: Add wcpcpy support.
2212 * wcsmbs/test-wcpcpy.c: New File.
2213 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2214 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2215 * benchtests/bench-wcpcpy.c: New File.
2216 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2217
2218 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2219 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2220 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2221 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2222 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2223 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2224 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2225 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2226 wcscpy functions.
2227 * sysdeps/s390/multiarch/ifunc-impl-list.c
2228 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2229 * benchtests/bench-wcscpy.c: New File.
2230 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2231
2232 * sysdeps/s390/multiarch/strnlen-c.c: New File.
2233 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2234 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2235 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2236 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2237 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2238 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2239 wcsnlen functions.
2240 * sysdeps/s390/multiarch/ifunc-impl-list.c
2241 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2242 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2243 * string/test-strnlen.c: Add wcsnlen support.
2244 * wcsmbs/test-wcsnlen.c: New File.
2245 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2246 * benchtests/bench-strnlen.c: Add wcsnlen support.
2247 * benchtests/bench-wcsnlen.c: New File.
2248 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2249
2250 * sysdeps/s390/multiarch/Makefile: New File.
2251 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2252 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2253 * sysdeps/s390/multiarch/strlen.c: Likewise.
2254 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2255 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2256 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2257 * string/strlen.c (STRLEN): Define and use macro.
2258 * sysdeps/s390/multiarch/ifunc-impl-list.c
2259 (IFUNC_VX_IMPL): New macro function.
2260 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2261 * benchtests/Makefile (wcsmbs-bench): New variable.
2262 (string-bench-all): Added wcsmbs-bench.
2263 * benchtests/bench-wcslen.c: New File.
2264
2265 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2266 s390_vx_libc_ifunc2): New macro function.
2267
2268 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2269 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2270 assembler support.
2271 * sysdeps/s390/configure: Regenerated.
2272
2273 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2274 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2275
2276 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2277 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2278 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2279
2280 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2281 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2282 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2283 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2284 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2285 (memcmp, bcmp): Use __memcmp_default as alias source.
2286 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2287 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2288 Rename to __memcmp_default.
2289 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2290 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2291 (memcpy): Use __memcpy_default as alias source.
2292 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2293 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2294 Rename to __memcpy_default.
2295 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2296 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2297 (memset): Use __memset_default as alias source.
2298 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2299 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2300 Rename to __memset_default.
2301 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2302 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2303 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2304 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2305 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2306 (memcmp, bcmp): Use __memcmp_default as alias source.
2307 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2308 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2309 Rename to __memcmp_default.
2310 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2311 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2312 (memcpy): Use __memcpy_default as alias source.
2313 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2314 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2315 Rename to __memcpy_default.
2316 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2317 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2318 (memset): Use __memset_default as alias source.
2319 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2320 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2321 Rename to __memset_default.
2322 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2323 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2324
2325 [BZ #18610]
2326 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2327 __ieee_instruction_pointer to __unused.
2328 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2329 __ieee_instruction_pointer.
2330 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2331 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2332 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2333 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2334 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2335 Mark dxc-field as reserved.
2336
2337 2015-08-25 Roland McGrath <roland@hack.frob.com>
2338
2339 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2340 if the weak reference is not null.
2341
2342 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2343
2344 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2345
2346 [BZ #11214]
2347 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2348
2349 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2350
2351 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2352 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2353 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2354 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2355 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2356 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2357 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2358 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2359 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2360 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2361 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2362 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2363 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2364 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2365 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2366 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2367 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2368 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2369
2370 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2371
2372 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2373 register other than r0 for tabort, it has special meaning.
2374 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2375 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2376 transaction before starting syscall.
2377
2378 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2379
2380 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2381
2382 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2383
2384 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2385
2386 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2387 * sysdeps/x86_64/rtld-memset.S: Likewise.
2388 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2389 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2390 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2391 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2392
2393 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2394
2395 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2396
2397 * debug/strcpy_chk.c: Improve performance.
2398 * debug/stpcpy_chk.c: Likewise.
2399 * sysdeps/x86_64/strcpy_chk.S: Remove.
2400 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2401
2402 [BZ #18240]
2403 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2404
2405 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2406
2407 [BZ #15128]
2408 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2409 ifuncmain8.
2410 (modules-names): Add ifuncmod8.
2411 ($(objpfx)ifuncmain8): New rule.
2412 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2413 <cpuid.h>.
2414 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2415 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2416 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2417 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2418 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2419 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2420 * sysdeps/x86_64/ifuncmain8.c: New file.
2421 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2422 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2423 Removed.
2424 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2425 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2426 Change rtld_savespace_sse to __glibc_unused2.
2427 (RTLD_CHECK_FOREIGN_CALL): Removed.
2428 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2429 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2430 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2431
2432 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2433
2434 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2435
2436 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2437
2438 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2439 Unconditionally set __fpcr to avoid uninialized warning.
2440 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2441
2442 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2443
2444 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2445 is corrupt.
2446
2447 * malloc/arena.c (arena_get2): Drop unused argument.
2448 (arena_lock): Adjust.
2449 (arena_get_retry): Likewise.
2450
2451 2015-08-24 Andreas Schwab <schwab@suse.de>
2452
2453 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2454 Don't define.
2455 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2456 (__ASSUME_IPC64): Don't undef.
2457 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2458 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2459 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2460 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2461 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2462 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2463 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2464 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2465 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2466 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2467 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2468 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2469 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2470 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2471 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2472 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2473 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2474 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2475 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2476 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2477 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2478
2479 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2480
2481 * manual/Makefile (install): Only build manual when perl is available.
2482
2483 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2484
2485 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2486 '#undef memcpy' by '#undef memchr'.
2487
2488 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2489
2490 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2491 memchr not point to the internal __GI_memchr implementation.
2492
2493 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2494
2495 * timezone/Makefile (CFLAGS-zdump.c): Remove
2496 -Wno-strict-prototypes.
2497 (CFLAGS-zic.c): Likewise.
2498 (CFLAGS-ialloc.c): Likewise.
2499 (CFLAGS-scheck.c): Likewise.
2500
2501 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2502 -Wno-error=undef.
2503
2504 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2505
2506 * i386/i686/multiarch/strcasestr-c.c: Removed.
2507 * x86_64/multiarch/strcasestr.c: Likewise.
2508 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2509 Remove strcasestr.
2510
2511 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2512
2513 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2514
2515 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2516 variables for high and low parts before possibly modifying them.
2517
2518 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2519
2520 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2521 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2522 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2523 of "multiarch/init-arch.h".
2524 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2525 * sysdeps/x86/init-arch.h: This.
2526
2527 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2528
2529 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2530 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2531
2532 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2533
2534 [BZ #17787]
2535 * manual/macros.texi: Add twoexp macro.
2536 * manual/filesys.texi: Fix exponents.
2537 * manual/llio.texi: Likewise.
2538 * manual/stdio.texi: Likewise.
2539
2540 2015-08-20 Florian Weimer <fweimer@redhat.com>
2541
2542 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2543 incorrect use.
2544
2545 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2546
2547 [BZ #18370]
2548 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2549 whose real or imaginary part has small absolute value.
2550 * math/s_csqrtf.c (__csqrtf): Likewise.
2551 * math/s_csqrtl.c (__csqrtl): Likewise.
2552 * math/auto-libm-test-in: Add more tests of csqrt.
2553 * math/auto-libm-test-out: Regenerated.
2554 * sysdeps/i386/fpu/libm-test-ulps: Update.
2555
2556 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2557
2558 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2559 __ppc_set_ppr_very_low): New functions.
2560 * manual/platform.texi: Add documentation about
2561 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2562
2563 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2564
2565 * string/stpncpy.c (stpncpy): Improve performance using
2566 __strnlen/memcpy/memset.
2567
2568 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2569
2570 [BZ #18796]
2571 * scripts/test-installation.pl: Don't add -lmvec to build options if
2572 libmvec wasn't built.
2573
2574 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2575
2576 [BZ #14341]
2577 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2578 case when there is a gap between DT_REL and DT_JMPREL sections.
2579 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2580 (LDFLAGS-tst-split-dynreloc): New.
2581 (tst-split-dynreloc-ENV): Likewise.
2582 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2583 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2584
2585 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 [BZ #18822]
2588 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2589 attribute_hidden.
2590 (__xstat64_conv): Likewise.
2591 (__xstat32_conv): Likewise.
2592
2593 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2594
2595 [BZ #18822]
2596 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2597 Don't load %ebx when calling __setcontext. Call __setcontext
2598 with HIDDEN_JUMPTARGET.
2599 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2600 libc_hidden_def.
2601
2602 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2603
2604 * sysdeps/i386/i686/Makefile
2605 [$(subdir) == string] (sysdep_routines): Moved to ...
2606 * sysdeps/i386/Makefile: Here.
2607 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2608 * sysdeps/i386/cacheinfo.c: Here.
2609 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2610 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2611 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2612 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2613
2614 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2615
2616 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2617 __i586__ is defined.
2618 (HAS_I686): Defined to 1 if __i686__ is defined.
2619
2620 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2621
2622 * elf/Makefile [$(have-z-execstack) = yes]
2623 (CPPFLAGS-tst-execstack.c): New variable.
2624
2625 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2626 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2627 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2628 UTMPX || _HAVE_UT_TV].
2629 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2630 UTMPX || _HAVE_UT_TV - 0].
2631
2632 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2633
2634 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2635 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2636 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2637
2638 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2639
2640 * sysdeps/powerpc/dl-procinfo.c:
2641 (_dl_powerpc_cap_flags): Added missing strings for some
2642 hwcap features.
2643 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2644
2645 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2646
2647 Port the 0x7efe...feff pattern to GCC 6.
2648 See Steve Ellcey's bug report in:
2649 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2650 * string/memrchr.c (MEMRCHR):
2651 * string/rawmemchr.c (RAWMEMCHR):
2652 * string/strchr.c (strchr):
2653 * string/strchrnul.c (STRCHRNUL):
2654 Rewrite code to avoid issues with signed shift overflow.
2655
2656 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2659 whether cpuid is available only if HAS_CPUID is 0.
2660 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2661 (HAS_I586): Likewise.
2662 (HAS_I686): Likewise.
2663
2664 2015-08-18 Zack Weinberg <zackw@panix.com>
2665
2666 * misc/Versions (libc): Add GLIBC_2.23.
2667
2668 2015-08-18 Alan Modra <amodra@gmail.com>
2669
2670 [BZ #18421]
2671 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2672 .Lp__global.
2673 (_start): Load %dp via .Lp__global.
2674 [!SHARED]: Use .section .rodata.
2675
2676 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2677
2678 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2679 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2680
2681 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2682
2683 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2684 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2685
2686 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2687
2688 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2689 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2690
2691 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2692
2693 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2694 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2695
2696 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2697
2698 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2699 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2700
2701 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2702
2703 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2704 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2705
2706 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2707
2708 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2709
2710 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2711
2712 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2713 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2714 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2715 (__ASSUME_LWS_CAS): Delete.
2716
2717 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2718
2719 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2720 * sysdeps/hppa/configure: Regenerated.
2721 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2722 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2723 * sysdeps/hppa/nptl/tls.h: Likewise.
2724
2725 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2726
2727 [BZ #18823]
2728 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2729 for scaling up small arguments.
2730 * math/s_csqrtf.c (__csqrtf): Likewise.
2731 * math/s_csqrtl.c (__csqrtl): Likewise.
2732 * math/auto-libm-test-in: Add more tests of csqrt.
2733 * math/auto-libm-test-out: Regenerated.
2734
2735 2015-08-17 Andreas Schwab <schwab@suse.de>
2736
2737 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2738 version set GLIBC_2.19.
2739
2740 2015-08-16 Zack Weinberg <zackw@panix.com>
2741
2742 [BZ #18681]
2743 * misc/regexp.h: This interface is no longer supported.
2744 Remove all contents, leaving only an #error directive.
2745 * misc/regexp.c (loc1, loc2, locs, step, advance):
2746 Demote to compatibility symbols.
2747
2748 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2749
2750 [BZ #18084]
2751 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2752 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2753 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2754 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2755 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2756 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2757 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2758 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2759 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2760
2761 2015-08-15 Zack Weinberg <zackw@panix.com>
2762
2763 [BZ #18795]
2764 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2765 buffer length is known to be too large, not if it's known to be
2766 small enough.
2767 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2768 overflow at runtime, involving a length parameter, twice: once
2769 with a compile-time constant length parameter, once without.
2770
2771 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2772
2773 [BZ #18824]
2774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2775 scaling x * y up instead of down.
2776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2777 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2778 * math/auto-libm-test-in: Add more tests of fma.
2779 * math/auto-libm-test-out: Regenerated.
2780
2781 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2782
2783 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2784
2785 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2786
2787 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2788 unnecessary movq.
2789 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2790 Likewise.
2791
2792 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2793
2794 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2795 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2796 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2797 and tgamma.
2798 * math/auto-libm-test-out: Regenerated.
2799 * sysdeps/i386/fpu/libm-test-ulps: Update.
2800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2801
2802 [BZ #16520]
2803 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2804 (__tanh): Force underflow exception for arguments with small
2805 absolute value.
2806 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2807 (__tanhf): Force underflow exception for arguments with small
2808 absolute value.
2809 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2810 (__tanhl): Force underflow exception for arguments with small
2811 absolute value.
2812 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2813 (__tanhl): Force underflow exception for arguments with small
2814 absolute value.
2815 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2816 (__tanhl): Force underflow exception for arguments with small
2817 absolute value.
2818 * math/auto-libm-test-in: Add more tests of tanh.
2819 * math/auto-libm-test-out: Regenerated.
2820 * sysdeps/i386/fpu/libm-test-ulps: Update.
2821
2822 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2825 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2826
2827 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2828
2829 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2830 <cpuid.h>.
2831
2832 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2833
2834 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2835 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2836
2837 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2838
2839 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2840 Remove $(objpfx)init-arch.o.
2841 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2842 init-arch.
2843 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2844 (INIT_ARCH_EXT): Defined as empty.
2845 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2846 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2847 __init_cpu_features call. Replace HAS_XXX with
2848 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2849 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2850 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2851 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2852 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2853 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2854 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2855 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2856 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2857 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2858 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2859 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2860 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2861 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2862 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2863 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2864 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2865 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2866 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2867 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2868 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2869 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2870 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2871 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2872 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2873 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2874 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2875 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2876 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2877 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2878 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2879 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2880 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2881 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2882 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2883 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2884
2885 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2886
2887 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2888 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2889 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2890 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2891 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2892 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2893 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2894 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2895 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2896 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2897 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2898 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2899 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2900 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2901 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2902 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2903 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2904 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2905 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2906 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2907 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2908 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2909 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2910 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2911 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2912 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2913 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2914 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2915 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2916 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2917 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2918 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2919 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2920 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2921 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2922 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2923 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2924 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2925 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2926 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2927 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2928 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2929 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2930
2931 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2932
2933 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2934 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2935 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2937 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2938 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2939 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2940 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2941 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2944 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2945 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2946 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2947 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2948 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2949 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2950 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2951 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2952 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2954 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2955 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2956 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2957 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2958 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2959 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2960 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2961 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2962 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2963 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2964 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2965 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2966 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2967 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2968 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2969 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2970 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2971 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2972 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2973 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2974 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2975 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2976
2977 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2980 (dl_platform_init): Call init_cpu_features.
2981 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2982 * sysdeps/i386/i686/cacheinfo.c
2983 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2984 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2985 * sysdeps/i386/i686/multiarch/Versions: Removed.
2986 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2987 Removed.
2988 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2989 * sysdeps/unix/sysv/linux/x86/Makefile
2990 (libpthread-sysdep_routines): Remove init-arch.
2991 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2992 <sysdeps/x86_64/dl-procinfo.c> instead of
2993 sysdeps/generic/dl-procinfo.c>.
2994 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2995 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2996 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2997 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2998 [$(subdir) == elf] (tests-static): Add
2999 tst-get-cpu-features-static.
3000 * sysdeps/x86/Versions: New file.
3001 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3002 * sysdeps/x86/cpu-features.c: Likewise.
3003 * sysdeps/x86/cpu-features.h: Likewise.
3004 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3005 * sysdeps/x86/libc-start.c: Likewise.
3006 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3007 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3008 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3009 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3010 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3011 Assume USE_MULTIARCH is defined and don't check it.
3012 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3013 (is_amd): Likewise.
3014 (max_cpuid): Likewise.
3015 (intel_check_word): Likewise.
3016 (__cache_sysconf): Don't call __init_cpu_features.
3017 (__x86_preferred_memory_instruction): Removed.
3018 (init_cacheinfo): Don't call __init_cpu_features. Replace
3019 __cpu_features with GLRO(dl_x86_cpu_features).
3020 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3021 (dl_platform_init): Call init_cpu_features.
3022 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3023 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3024 * sysdeps/x86_64/multiarch/Versions: Removed.
3025 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3026 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3027 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3028 Removed.
3029 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3030
3031 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3032
3033 [BZ #18820]
3034 * libio/Makefile (test-fmemopen-mem): New test.
3035 * libio/test-fmemopen.c (do_bz18820): New test.
3036 * libio/fmemopen.c (__fmemopen): Fix memory leak.
3037 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3038
3039 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3040
3041 [BZ #16734]
3042 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3043 (FREE_BUF): Delete.
3044 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3045 * libio/genops.c (_IO_setb): Use malloc and free directly.
3046 (_IO_default_doallocate, _IO_default_finish): Likewise.
3047 ( _IO_unbuffer_all): Likewise.
3048 ( libc_freeres_fn): Likewise.
3049 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3050 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3051 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3052 (_IO_wdefault_doallocate): Likewise.
3053
3054 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3055
3056 [BZ #18086]
3057 * sysdeps/posix/nice.c (nice): Restore old errno.
3058 * posix/tst-nice.c (do_test): Add test for BZ #18086.
3059
3060 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
3061
3062 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3063
3064 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3065
3066 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3067 __bcopy and add a weak_alias to bcopy.
3068 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3069 for static build.
3070
3071 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3072 cleanup macro usage.
3073 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3074 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3075 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3076 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3077 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3078 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3079 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3080 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3081 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3082 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3083 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3084 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3085 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3086 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3087 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3088 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3089 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3090 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3091 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3092
3093 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3094 libc_hidden_def.
3095 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3096
3097 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3098 (sysdep_routines): Add strstr-ppc64.
3099 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3100
3101 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
3102
3103 [BZ #18778]
3104 * elf/Makefile (tests): Add Add tst-nodelete2.
3105 (modules-names): Add tst-nodelete2mod.
3106 (tst-nodelete2mod.so-no-z-defs): New.
3107 ($(objpfx)tst-nodelete2): Likewise.
3108 ($(objpfx)tst-nodelete2.out): Likewise.
3109 (LDFLAGS-tst-nodelete2): Likewise.
3110 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3111 out of loop through all loaded libraries.
3112 * elf/tst-nodelete2.c: New file.
3113 * elf/tst-nodelete2mod.c: Likewise.
3114 * elf/tst-znodelete-zlib.cc: Delete.
3115
3116 2015-08-11 Andreas Schwab <schwab@suse.de>
3117
3118 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3119 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3120 (__openat64_nocancel): Likewise.
3121
3122 2015-08-11 Joseph Myers <joseph@codesourcery.com>
3123
3124 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3125 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3126 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3127 * math/auto-libm-test-out: Regenerated.
3128 * sysdeps/i386/fpu/libm-test-ulps: Update.
3129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3130
3131 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3132
3133 [BZ #18790]
3134 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3135 threshold for returning +/- 1.
3136 * math/auto-libm-test-in: Add more tests of tanh.
3137 * math/auto-libm-test-out: Regenerated.
3138 * sysdeps/i386/fpu/libm-test-ulps: Update.
3139
3140 2015-08-10 Andreas Schwab <schwab@suse.de>
3141
3142 [BZ #18781]
3143 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3144 MORE_OFLAGS to oflag.
3145 * io/test-lfs.c (do_test): Test openat64.
3146
3147 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3148
3149 [BZ #18789]
3150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3151 smaller threshold for returning the argument.
3152 * math/auto-libm-test-in: Add more tests of sinh.
3153 * math/auto-libm-test-out: Regenerated.
3154 * sysdeps/i386/fpu/libm-test-ulps: Update.
3155
3156 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 [BZ #18674]
3159 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3160 break.
3161
3162 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3163
3164 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3165 (generated): Don't add $(addprefix z.,$(tzfiles)).
3166
3167 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3168
3169 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3170 * scripts/sysd-rules.awk: Likewise.
3171
3172 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3173
3174 * iconvdata/tst-tables.sh: Change echo -n to printf.
3175 * nss/db-Makefile: Likewise.
3176 * posix/tst-getconf.sh: Likewise.
3177 * stdio-common/tst-unbputc.sh: Likewise.
3178
3179 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3180
3181 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3182 MADV_*_PAGES defines behind this feature check.
3183
3184 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3185
3186 [BZ #18480]
3187 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3188 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3189 Define.
3190 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3191 LOAD_REGS_5, LOAD_REGS_6): Update.
3192 (INTERNAL_SYSCALL): Update using new LOAD defines.
3193 (INTERNAL_SYSCALL_NCS): Likewise.
3194 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3195
3196 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3197
3198 [BZ #16734]
3199 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3200
3201 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3202
3203 [BZ #17905]
3204 * catgets/Makefile (tst-catgets-mem): New test.
3205 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3206 * catgets/open_catalog.c (__open_catalog): Likewise.
3207 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3208
3209 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3210
3211 [BZ #18787]
3212 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3213 clobber registers.
3214 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3215 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3216 Cast return to __typeof (oldval).
3217
3218 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3219
3220 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3221 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3222 and delete sys/syscall.h include.
3223
3224 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3225
3226 [BZ #16517]
3227 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3228 (tan): Force underflow exception for arguments with small absolute
3229 value.
3230 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3231 (__kernel_tanf): Force underflow exception for arguments with
3232 small absolute value.
3233 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3234 (__kernel_tanl): Force underflow exception for arguments with
3235 small absolute value.
3236 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3237 (__kernel_tanl): Force underflow exception for arguments with
3238 small absolute value.
3239 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3240 (__kernel_tanl): Force underflow exception for arguments with
3241 small absolute value.
3242 * math/auto-libm-test-in: Add more tests of tan.
3243 * math/auto-libm-test-out: Regenerated.
3244
3245 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3246
3247 Fix sysdeps/i386/fpu/s_scalbn.S build
3248
3249 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3250
3251 2015-08-07 Mike Frysinger <vapier@gentoo.org>
3252
3253 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3254
3255 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3256
3257 Fix gcrt0.o compilation
3258
3259 When static-start-installed-name is different from
3260 start-installed-name, we must not use the shared objects.
3261
3262 * csu/Makefile
3263 (extra-objs): Add gmon-start.o when building shared library and
3264 $(static-start-installed-name) is different from
3265 $(start-installed-name).
3266 $(objpfx)g$(static-start-installed-name): When building shared
3267 library and $(static-start-installed-name) is different from
3268 $(static-start-installed-name), revert to non-shared rule,
3269 i.e. using $(objpfx)% and gmon-start.o.
3270
3271 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3272
3273 [BZ #16519]
3274 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3275 (__ieee754_sinh): Force underflow exception for arguments with
3276 small absolute value.
3277 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3278 (__ieee754_sinhf): Force underflow exception for arguments with
3279 small absolute value.
3280 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3281 (__ieee754_sinhl): Force underflow exception for arguments with
3282 small absolute value.
3283 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3284 (__ieee754_sinhl): Force underflow exception for arguments with
3285 small absolute value.
3286 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3287 (__ieee754_sinhl): Force underflow exception for arguments with
3288 small absolute value.
3289 * math/auto-libm-test-in: Add more tests of sinh.
3290 * math/auto-libm-test-out: Regenerated.
3291 * sysdeps/i386/fpu/libm-test-ulps: Update.
3292
3293 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3294
3295 * libio/oldfileops.c: Include unistd.h.
3296
3297 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3298
3299 * stdlib/isomac.c: Include ctype.h.
3300
3301 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3302
3303 * dirent/tst-seekdir.c (main): Converted to ...
3304 (do_test): ... this.
3305 (TEST_FUNCTION): New macro.
3306 Include test-skeleton.c.
3307 * elf/tst-dlmodcount.c (main): Converted to ...
3308 (do_test): ... this.
3309 (TEST_FUNCTION): New macro.
3310 Include test-skeleton.c.
3311 * elf/tst-order-main.c (main): Converted to ...
3312 (do_test): ... this.
3313 (TEST_FUNCTION): New macro.
3314 Include test-skeleton.c.
3315 * elf/tst-pie2.c (main): Converted to ...
3316 (do_test): ... this.
3317 (TEST_FUNCTION): New macro.
3318 Include test-skeleton.c.
3319 * inet/tst-ether_aton.c (main): Converted to ...
3320 (do_test): ... this.
3321 (TEST_FUNCTION): New macro.
3322 Include test-skeleton.c.
3323 * misc/tst-mntent.c (main): Converted to ...
3324 (do_test): ... this.
3325 (TEST_FUNCTION): New macro.
3326 Include test-skeleton.c.
3327 * misc/tst-tsearch.c (main): Converted to ...
3328 (do_test): ... this.
3329 (TEST_FUNCTION): New macro.
3330 Include test-skeleton.c.
3331 * posix/tst-regexloc.c (main): Converted to ...
3332 (do_test): ... this.
3333 (TEST_FUNCTION): New macro.
3334 Include test-skeleton.c.
3335 * resolv/tst-aton.c (main): Converted to ...
3336 (do_test): ... this.
3337 (TEST_FUNCTION): New macro.
3338 Include test-skeleton.c.
3339 * stdio-common/test-fwrite.c (main): Converted to ...
3340 (do_test): ... this.
3341 (TEST_FUNCTION): New macro.
3342 Include test-skeleton.c.
3343 * stdio-common/tst-ferror.c (main): Converted to ...
3344 (do_test): ... this.
3345 (TEST_FUNCTION): New macro.
3346 Include test-skeleton.c.
3347 * stdio-common/tst-printf.c (main): Converted to ...
3348 (do_test): ... this.
3349 (TEST_FUNCTION): New macro.
3350 Include test-skeleton.c.
3351 * stdio-common/tst-printfsz.c (main): Converted to ...
3352 (do_test): ... this.
3353 (TEST_FUNCTION): New macro.
3354 Include test-skeleton.c.
3355 * stdlib/tst-strtod.c (main): Converted to ...
3356 (do_test): ... this.
3357 (TEST_FUNCTION): New macro.
3358 Include test-skeleton.c.
3359 * string/tst-strlen.c (main): Converted to ...
3360 (do_test): ... this.
3361 (TEST_FUNCTION): New macro.
3362 Include test-skeleton.c.
3363 * string/tst-svc.c (main): Converted to ...
3364 (do_test): ... this.
3365 (TEST_FUNCTION): New macro.
3366 Include test-skeleton.c.
3367 * time/tst-strptime.c (main): Converted to ...
3368 (do_test): ... this.
3369 (TEST_FUNCTION): New macro.
3370 Include test-skeleton.c.
3371 * timezone/tst-timezone.c (main): Converted to ...
3372 (do_test): ... this.
3373 (TEST_FUNCTION): New macro.
3374 Include test-skeleton.c.
3375
3376 2015-08-05 Zack Weinberg <zackw@panix.com>
3377
3378 * misc/regexp.h: Update comments.
3379
3380 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3381
3382 [BZ #18635]
3383 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3384 before return label.
3385
3386 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3387
3388 [BZ #18661]
3389 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3390 when calling __errno_location.
3391 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3392 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3393
3394 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3395
3396 [BZ #18661]
3397 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3398 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3399 __gettimeofday.
3400
3401 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 [BZ #18661]
3404 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3405 (__start_context): Don't use pop to restore %rdi so that stack
3406 is aligned to 16 bytes when calling __setcontext.
3407
3408 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3409
3410 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3411 only for libc.
3412 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3413
3414 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3415
3416 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3417 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3418 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3419
3420 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3421
3422 * string/memccpy.c (memccpy):
3423 Improve performance by using memchr/memcpy/__mempcpy.
3424
3425 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3426
3427 * string/strncpy.c (strncpy):
3428 Improve performance by using __strnlen/memcpy.
3429
3430 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3431
3432 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3433 Optimize to avoid an unnecessary FPCR read.
3434
3435 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3436
3437 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3438 Optimize to reduce FPCR/FPSR accesses.
3439
3440 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3443 dead->data[category] != NULL.
3444
3445 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3446
3447 [BZ #18647]
3448 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3449 and |x| close to 1, use absolute value of x when computing log.
3450 * math/auto-libm-test-in: Add more tests of pow.
3451 * math/auto-libm-test-out: Regenerated.
3452
3453 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3454
3455 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3456 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3457 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3458
3459 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3460
3461 [BZ #18525]
3462 * locales/km_KH: Remove timezone definition.
3463 * locales/lo_LA: Likewise.
3464 * locales/my_MM: Likewise.
3465 * locales/nan_TW@latin: Likewise.
3466 * locales/th_TH: Likewise.
3467 * locales/uk_UA: Likewise.
3468
3469 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3470
3471 [BZ #18265]
3472 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3473 (wcsncat): Likewise.
3474 (wcscmp): Likewise.
3475 (wcsncmp): Likewise.
3476
3477 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3478
3479 * test-skeleton.c (usage): New function.
3480 (main): Call usage when opt is '?'.
3481
3482 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3483
3484 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3485 before first use.
3486
3487 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3488
3489 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3490 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3491 in there too.
3492
3493 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3494
3495 * version.h (RELEASE): Set to "development".
3496 (VERSION): Set to "2.22.90"
3497
3498 * version.h (RELEASE): Set to "stable".
3499 (VERSION): Set to "2.22"
3500 * include/features.h (__GLIBC_MINOR__): Set to 22.
3501
3502 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3503
3504 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3505 Restructure macro to avoid "value computed is not used" warning.
3506 (atomic_compare_and_exchange_val_acq): Likewise.
3507
3508 2015-08-04 Andreas Schwab <schwab@suse.de>
3509
3510 [BZ #18635]
3511 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3512 ret.
3513 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3514
3515 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3516
3517 * po/pl.po: Updated translation.
3518 * po/uk.po: Likewise.
3519 * po/fi.po: Likewise.
3520 * po/ko.po: Likewise.
3521 * po/ru.po: Likewise.
3522 * po/vi.po: Likewise.
3523
3524 2015-07-31 Zack Weinberg <zackw@panix.com>
3525
3526 [BZ #18681]
3527 * regexp.h: Add unconditional #warning stating that this header
3528 will be removed soon. Revise banner comment to match.
3529 (compile): Consistently use ERROR instead of RETURN to report
3530 errors (partial fix for bz#18681).
3531 * regexp.c: Don't include regexp.h. Remove some unnecessary
3532 declarations.
3533
3534 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3535
3536 * po/libc.pot: Regenerated.
3537
3538 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3539
3540 [BZ #18740]
3541 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3542 float-vlen4-arch-ext-cflags): Removed.
3543 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3544 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3545
3546 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3547
3548 [BZ #14113]
3549 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3550 aligned to __aligned__.
3551 (pthread_cond_t, pthread_rwlock_t): Likewise.
3552
3553 2015-07-30 Torvald Riegel <triegel@redhat.com>
3554
3555 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3556
3557 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3558
3559 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3560 (struct sigaction): Change sa_flags from a long to an int, and add
3561 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3562
3563 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3564
3565 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3566 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3567 sysdeps/generic/sysdep.h include.
3568 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3569 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3570 sysdeps/hppa/sysdep.h.
3571 (ENTRY, PSEUDO): Undefine before defining.
3572
3573 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3574
3575 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3576 from scratch to use INTERNAL_SYSCALL.
3577
3578 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3579
3580 [BZ #18078]
3581 * scripts/check-localplt.awk: Support alternate relocations.
3582 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3583 sections.
3584 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3585 malloc entries with + REL R_386_GLOB_DAT.
3586 * sysdeps/x86_64/localplt.data: New file.
3587
3588 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3589
3590 [BZ #18731]
3591 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3592 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3593 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3594
3595 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3596
3597 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3598
3599 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3600
3601 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3602 directly in terms of __sync_fetch_and_add and delete (int) cast.
3603
3604 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3605
3606 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3607 the -D_ASM_IA64_CURRENT_H flag.
3608
3609 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3610
3611 [BZ #18641]
3612 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3613
3614 2015-07-27 Andreas Schwab <schwab@suse.de>
3615
3616 * conform/conformtest.pl (checknamespace): Filter out string
3617 literals while tokenizing.
3618
3619 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3620
3621 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3622 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3623 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3624
3625 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3626
3627 * nptl/tst-join7mod.c: Add #include <string.h>.
3628
3629 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3630
3631 * sysdeps/nios2/libm-test-ulps: Update.
3632
3633 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3634
3635 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3636 Fix order of arguments to the rt_sigprocmask syscall.
3637 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3638 Likewise.
3639
3640 2015-07-24 Roland McGrath <roland@hack.frob.com>
3641
3642 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3643
3644 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3645
3646 [BZ #18457]
3647 * nptl/Makefile (tests): New test case tst-join7.
3648 (modules-names): New test case module tst-join7mod.
3649 * nptl/tst-join7.c: New file.
3650 * nptl/tst-join7mod.c: New file.
3651 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3652 all translation units in libc.so, libpthread.so and rtld.
3653
3654 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3655
3656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3657
3658 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3659
3660 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3661 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3662 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3663 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3664 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3665 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3666 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3667 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3668 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3669 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3670 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3671 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3672 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3673 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3674 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3675 implementation.
3676
3677 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3678
3679 [BZ #17711]
3680 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3681 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3682 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3683 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3684 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3685 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3686
3687 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3688
3689 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3690 instead of just saying load lock in the comments.
3691
3692 2015-07-23 Roland McGrath <roland@hack.frob.com>
3693
3694 * sysdeps/unix/Subdirs: Moved ...
3695 * sysdeps/posix/Subdirs: ... here.
3696 * login/pty.h (struct termios, struct winsize): Add forward decls.
3697 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3698 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3699 * sysdeps/arm/nacl/libc.abilist: Updated.
3700 * sysdeps/nacl/libutil.abilist: New file.
3701
3702 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3703 (SIGWINCH): New macro.
3704
3705 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3706 * sysdeps/arm/nacl/libc.abilist: Add it.
3707
3708 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3709
3710 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3711
3712 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3713
3714 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3715 Swap __glibc_reserved0 and sa_flags order.
3716
3717 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3718
3719 [BZ #18657]
3720 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3721 are pending TLS destructor calls.
3722 * include/link.h (struct link_map): Add concurrency note for
3723 L_TLS_DTOR_COUNT.
3724 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3725 Don't touch the link map flag. Atomically increment
3726 l_tls_dtor_count.
3727 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3728 Avoid taking the load lock and don't touch the link map flag.
3729 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3730 * stdlib/Makefile (tests): Use it.
3731 * stdlib/tst-tls-atexit.c (do_test): dlopen
3732 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3733 to allow tst-tls-atexit-nodelete test case to use it.
3734
3735 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3736
3737 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3738 to bits/types.h.
3739 (msgqnum_t): New typedef.
3740 (msglen_t): Likewise.
3741 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3742 and msg_qbytes type to msglen_t.
3743
3744 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3745
3746 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3747 pad0 to __glibc_reserved0.
3748 (struct stat64): Likewise.
3749
3750 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3751
3752 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3753 Change sa_flags from a long to an int and add __glibc_reserved0 before
3754 it for padding.
3755
3756 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3757
3758 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3759 anonymous by deleting "siginfo" name.
3760
3761 2015-07-21 Roland McGrath <roland@hack.frob.com>
3762
3763 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3764 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3765 rather than __nacl_irt_filename.
3766 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3767
3768 * NEWS: New item for arm-nacl port.
3769 * sysdeps/arm/nacl/libc.abilist: New file.
3770 * sysdeps/nacl/ld.abilist: New file.
3771 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3772 * sysdeps/nacl/libanl.abilist: New file.
3773 * sysdeps/nacl/libcrypt.abilist: New file.
3774 * sysdeps/nacl/libdl.abilist: New file.
3775 * sysdeps/nacl/libm.abilist: New file.
3776 * sysdeps/nacl/libpthread.abilist: New file.
3777 * sysdeps/nacl/libresolv.abilist: New file.
3778 * sysdeps/nacl/librt.abilist: New file.
3779
3780 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3781
3782 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3783 __startcontext to initialize the new context.
3784 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3785 up CFI directive to forbid further backtracing.
3786
3787 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3788
3789 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3790 reference.
3791 * charmaps/ANSI_X3.4-1968: Likewise.
3792 * charmaps/BS_4730: Likewise.
3793 * charmaps/BS_VIEWDATA: Likewise.
3794 * charmaps/CP1250: Likewise.
3795 * charmaps/CP1251: Likewise.
3796 * charmaps/CP1252: Likewise.
3797 * charmaps/CP1253: Likewise.
3798 * charmaps/CP1254: Likewise.
3799 * charmaps/CP1255: Likewise.
3800 * charmaps/CP1256: Likewise.
3801 * charmaps/CSN_369103: Likewise.
3802 * charmaps/EBCDIC-DK-NO: Likewise.
3803 * charmaps/GB_1988-80: Likewise.
3804 * charmaps/GREEK-CCITT: Likewise.
3805 * charmaps/GREEK7: Likewise.
3806 * charmaps/INIS-8: Likewise.
3807 * charmaps/ISIRI-3342: Likewise.
3808 * charmaps/ISO_2033-1983: Likewise.
3809 * charmaps/ISO_5427-EXT: Likewise.
3810 * locales/POSIX: Likewise.
3811 * locales/ar_SA: Likewise.
3812 * locales/be_BY: Likewise.
3813 * locales/be_BY@latin: Likewise.
3814 * locales/ca_ES: Likewise.
3815 * locales/cs_CZ: Likewise.
3816 * locales/da_DK: Likewise.
3817 * locales/de_BE: Likewise.
3818 * locales/de_CH: Likewise.
3819 * locales/de_LU: Likewise.
3820 * locales/en_AU: Likewise.
3821 * locales/en_BW: Likewise.
3822 * locales/en_CA: Likewise.
3823 * locales/en_DK: Likewise.
3824 * locales/en_GB: Likewise.
3825 * locales/en_IE: Likewise.
3826 * locales/en_NZ: Likewise.
3827 * locales/en_ZA: Likewise.
3828 * locales/en_ZW: Likewise.
3829 * locales/es_AR: Likewise.
3830 * locales/es_BO: Likewise.
3831 * locales/es_CL: Likewise.
3832 * locales/es_CO: Likewise.
3833 * locales/es_DO: Likewise.
3834 * locales/es_EC: Likewise.
3835 * locales/es_ES: Likewise.
3836 * locales/es_HN: Likewise.
3837 * locales/es_MX: Likewise.
3838 * locales/es_PA: Likewise.
3839 * locales/es_PE: Likewise.
3840 * locales/es_PY: Likewise.
3841 * locales/es_SV: Likewise.
3842 * locales/es_US: Likewise.
3843 * locales/es_UY: Likewise.
3844 * locales/es_VE: Likewise.
3845 * locales/et_EE: Likewise.
3846 * locales/fa_IR: Likewise.
3847 * locales/fo_FO: Likewise.
3848 * locales/fr_CA: Likewise.
3849 * locales/fr_CH: Likewise.
3850 * locales/gv_GB: Likewise.
3851 * locales/he_IL: Likewise.
3852 * locales/hr_HR: Likewise.
3853 * locales/id_ID: Likewise.
3854 * locales/is_IS: Likewise.
3855 * locales/it_CH: Likewise.
3856 * locales/iw_IL: Likewise.
3857 * locales/kl_GL: Likewise.
3858 * locales/ko_KR: Likewise.
3859 * locales/kw_GB: Likewise.
3860 * locales/lg_UG: Likewise.
3861 * locales/lt_LT: Likewise.
3862 * locales/lv_LV: Likewise.
3863 * locales/mi_NZ: Likewise.
3864 * locales/nhn_MX: Likewise.
3865 * locales/nl_BE: Likewise.
3866 * locales/pl_PL: Likewise.
3867 * locales/sk_SK: Likewise.
3868 * locales/sl_SI: Likewise.
3869 * locales/sv_FI: Likewise.
3870 * locales/tl_PH: Likewise.
3871 * locales/tr_TR: Likewise.
3872 * locales/vi_VN: Likewise.
3873
3874 2015-07-21 Khem Raj <raj.khem@gmail.com>
3875
3876 [BZ #17475]
3877 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3878 of tu_IN and bh_IN.
3879
3880 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3881
3882 [BZ #18694]
3883 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3884 bits/wordsize.h.
3885 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3886
3887 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3888
3889 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3890 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3891 (spawn_thread): New function.
3892 (load): Rename to reg_dtor_and_close. Move dlopen to...
3893 (do_test): ... here. Use IS_LOADED to test for its
3894 availability.
3895
3896 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3897
3898 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3899
3900 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3901
3902 [BZ #18696]
3903 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3904 si_addr_bnd.
3905 (si_lower): New.
3906 (si_upper): Likewise.
3907
3908 2015-07-16 David S. Miller <davem@davemloft.net>
3909
3910 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3911
3912 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3913
3914 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3915 buffer.
3916 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3917 fail output information.
3918
3919 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3920
3921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3922 and strstr-ppc64..
3923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3924 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3925 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3926 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3927 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3928
3929 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3930
3931 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3932 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3933 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3934 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3935
3936 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3937
3938 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3939 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3940 rtld_hidden_proto.
3941 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3942
3943 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3944
3945 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3946 the test can fail.
3947
3948 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3949
3950 [BZ #18676]
3951 * elf/tst-nodelete-opened.c: New test case.
3952 * elf/tst-nodelete-opened-lib.c: New test case module.
3953 * elf/Makefile (tests, modules-names): Use them.
3954 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3955 early.
3956
3957 2015-07-15 David S. Miller <davem@davemloft.net>
3958
3959 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3960 futex-intenal.h
3961 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3962 * sysdeps/sparc/sparc64/Makefile: Likewise.
3963 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3964 Remove space from macro define.
3965 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3966
3967 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3968
3969 [BZ #17475]
3970 * locale/iso-639.def: Update Bhili and Tulu language codes as
3971 per iso639-3.
3972
3973 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3974
3975 * elf/tst-leaks1.c (main): Converted to ...
3976 (do_test): ... this.
3977 (TEST_FUNCTION): New macro.
3978 Include test-skeleton.c.
3979 * localedata/tst-langinfo.c (main): Converted to ...
3980 (do_test): ... this.
3981 (TEST_FUNCTION): New macro.
3982 Include test-skeleton.c.
3983 * math/test-fpucw.c (main): Converted to ...
3984 (do_test): ... this.
3985 (TEST_FUNCTION): New macro.
3986 Include test-skeleton.c.
3987 * math/test-tgmath.c (main): Converted to ...
3988 (do_test): ... this.
3989 (TEST_FUNCTION): New macro.
3990 Include test-skeleton.c.
3991 * math/test-tgmath2.c (main): Converted to ...
3992 (do_test): ... this.
3993 (TEST_FUNCTION): New macro.
3994 Include test-skeleton.c.
3995 * setjmp/tst-setjmp.c (main): Converted to ...
3996 (do_test): ... this.
3997 (TEST_FUNCTION): New macro.
3998 Include test-skeleton.c.
3999 * stdio-common/tst-sscanf.c (main): Converted to ...
4000 (do_test): ... this.
4001 (TEST_FUNCTION): New macro.
4002 Include test-skeleton.c.
4003 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4004 (do_test): ... this.
4005 (TEST_FUNCTION): New macro.
4006 Include test-skeleton.c.
4007
4008 * elf/tst-audit9.c (main): Converted to ...
4009 (do_test): ... this.
4010 (TEST_FUNCTION): New macro.
4011 Include test-skeleton.c.
4012
4013 2015-07-15 Mike Frysinger <vapier@gentoo.org>
4014
4015 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4016
4017 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4018
4019 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4020 New variable.
4021
4022 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4023
4024 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4025
4026 2015-07-14 Roland McGrath <roland@hack.frob.com>
4027
4028 * sysdeps/generic/dl-fileid.h: New file.
4029 * sysdeps/posix/dl-fileid.h: New file.
4030 * sysdeps/nacl/dl-fileid.h: New file.
4031 * include/link.h: Include <dl-fileid.h>.
4032 (struct link_map): Replace l_dev and l_ino with l_file_id.
4033 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4034 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
4035 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
4036
4037 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4038
4039 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4040
4041 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4042
4043 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4044 Add iff $CXX is set.
4045 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4046 Likewise.
4047 (tst-nodelete-zmodiff): Likewise.
4048 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4049
4050 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4051
4052 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4053
4054 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4055
4056 * sysdeps/aarch64/fpu/math_private.h
4057 (define math_opt_barrier): Add AArch64 version.
4058 (math_force_eval): Likewise.
4059
4060 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4061
4062 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4063
4064 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
4065
4066 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4067 %ld with %jd and cast to intmax_t.
4068 (do_test_length_zero): Likewise.
4069
4070 2015-07-10 Roland McGrath <roland@hack.frob.com>
4071
4072 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4073
4074 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
4075
4076 * sysdeps/tile/libm-test-ulps: Regenerated.
4077
4078 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4079 Comment out the whole function, not just its body.
4080
4081 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4082
4083 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4084 locks.
4085
4086 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4087
4088 2015-07-10 Torvald Riegel <triegel@redhat.com>
4089
4090 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4091 (sem_assume_only_signals_cause_futex_EINTR): Remove.
4092
4093 2015-07-10 Torvald Riegel <triegel@redhat.com>
4094
4095 * sysdeps/nptl/futex-internal.h: New file.
4096 * sysdeps/nacl/futex-internal.h: New file.
4097 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4098 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4099 error checking.
4100 (setxid_unmark_thread): Likewise.
4101 (__nptl_setxid): Likewise.
4102 (__wait_lookup_done): Likewise.
4103 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4104 * nptl/nptl-init.c (sighandler_setxid): Likewise.
4105 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4106 * nptl/pthread_once.c (clear_once_control): Likewise.
4107 (__pthread_once_slow): Likewise.
4108 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4109 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4110 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4111 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4112 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4113 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4114 Likewise.
4115 (__pthread_rwlock_rdlock): Likewise.
4116 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4117 Likewise.
4118 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4119 Likewise.
4120 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4121 Likewise.
4122 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4123 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4124 Likewise.
4125 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4126 __ASSUME_PRIVATE_FUTEX check.
4127 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4128 Check that shared futexes are supported.
4129 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4130 wrappers with error checking.
4131 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4132 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4133 * nptl/pthread_barrierattr_setpshared.c
4134 (pthread_barrierattr_setpshared): Check that shared futexes are
4135 supported.
4136 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4137 Likewise.
4138 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4139 Likewise.
4140 * nptl/sem_init.c (futex_private_if_supported): Remove.
4141 (__new_sem_init): Adapt and check that shared futexes are supported.
4142 * nptl/sem_open.c (sem_open): Likewise.
4143 * nptl/sem_post.c (futex_wake): Remove.
4144 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4145 (do_futex_wait): Use futex wrappers with error checking.
4146 * nptl/sem_wait.c: Include lowlevellock.h.
4147 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4148 Use futex_supports_pshared.
4149 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4150 Use futex wrappers with error checking.
4151 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4152 Likewise.
4153 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4154 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4155 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4156 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4157 (futex_wake): Likewise.
4158 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4159 (do_futex_wait): Use futex wrappers with error checking.
4160 (__new_sem_wait_slow): Update EINTR handling.
4161 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4162
4163 2015-07-09 Martin Sebor <msebor@redhat.com>
4164
4165 [BZ #18435]
4166 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4167 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4168 * nptl/Makefile (test-xfail-tst-once5): Define.
4169
4170 2015-07-09 Roland McGrath <roland@hack.frob.com>
4171
4172 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4173 * elf/dl-minimal.c: For readability, reorder some definitions and
4174 introduce more page breaks. Include <stdio.h>.
4175 (__libc_fatal): New function.
4176
4177 * include/unistd.h: Add rtld_hidden_proto for _exit.
4178 * posix/_exit.c: Add rtld_hidden_def.
4179 * sysdeps/mach/hurd/_exit.c: Likewise.
4180 * sysdeps/nacl/_exit.c: Likewise.
4181 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4182 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4183
4184 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4185
4186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4187 bndmov encoding with zero displacement.
4188
4189 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4190 H.J. Lu <hongjiu.lu@intel.com>
4191
4192 [BZ #18134]
4193 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4194 * sysdeps/i386/configure: Regenerated.
4195 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4196 (_dl_runtime_profile): Save and restore Intel MPX return bound
4197 registers when calling _dl_call_pltexit. Add
4198 PRESERVE_BND_REGS_PREFIX before return.
4199 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4200 (LRV_BND1_OFFSET): Likewise.
4201 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4202 lrv_bnd1.
4203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4204 typo in bndmov encoding.
4205 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4206 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4207 branch instructions to preserve bounds.
4208
4209 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4210
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4212 [GLIBC_2.22]: Add fmemopen.
4213
4214 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4215
4216 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4217 returns an error, also try to use host port from __mach_host_self for
4218 the __vm_wire call.
4219 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4220
4221 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4222
4223 [BZ #18400]
4224 [BZ #18648]
4225 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4226 Fix pr_uid and pr_gid members.
4227 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4228 definition to elf_greg_t.
4229
4230 2015-07-08 Roland McGrath <roland@hack.frob.com>
4231
4232 [BZ #18383]
4233 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4234 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4235 * sysdeps/arm/configure: Regenerated.
4236 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4237 (test-xfail-tst-tlsalign-static): Variable removed.
4238
4239 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4240 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4241 rather than explicit 'ln -s'.
4242
4243 * resolv/rpc/netdb.h: New file.
4244 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4245
4246 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4247
4248 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4249 length buffers.
4250 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4251 test-skeleton.c.
4252
4253 [BZ #6544]
4254 [BZ #11216]
4255 [BZ #12836]
4256 [BZ #13151]
4257 [BZ #13152]
4258 [BZ #14292]
4259 * include/stdio.h (fmemopen): Remove hidden prototype.
4260 (__fmemopen): Add new hidden prototype.
4261 * libio/Makefile: Add oldfmemopen object.
4262 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4263 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4264 compliance.
4265 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4266 symbol compatibility.
4267 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4268 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4269 fmemopen.
4270 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4271 on append and read mode.
4272 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4273 fmemopen.
4274 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4275 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4276 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4277 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4278 Likewise.
4279 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4280 [GLIBC_2.22]: Likewise.
4281 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4282 Likewise.
4283 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4284 Likewise.
4285 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4286 [GLIBC_2.22]: Likewise.
4287 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4288 [GLIBC_2.22]: Likewise.
4289 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4290 [GLIBC_2.22]: Likewise.
4291 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4292 [GLIBC_2.22]: Likewise.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4294 [GLIBC_2.22]: Likewise.
4295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4296 [GLIBC_2.22]: Likewise.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4298 [GLIBC_2.22]: Likewise.
4299 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4300 Likewise.
4301 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4302 Likewise.
4303 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4304 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4305 [GLIBC_2.22]: Likewise.
4306 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4307 [GLIBC_2.22]: Likewise.
4308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4309 [GLIBC_2.22]: Likewise.
4310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4311 [GLIBC_2.22]: Likewise.
4312 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4313 Likewise.
4314 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4315 Likewise.
4316 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4317 Likewise.
4318 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4319 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4320
4321 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4322
4323 [BZ #18643]
4324 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4325 IPV6_PATHMTU, and IPV6_DONTFRAG.
4326
4327 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4328
4329 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4330 and _IO_UNBUFFERED.
4331 * libio/oldfileops.c: Likewise.
4332 * libio/wfileops.c: Likewise.
4333
4334 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4335
4336 * nscd/selinux.c: Delete selinux/flask.h include.
4337
4338 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4339
4340 [BZ #18641]
4341 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4342 (putpwent): Likewise.
4343 (getpwnam): Likewise.
4344 (getpwent_r): Likewise.
4345 (getpwuid_r): Likewise.
4346 (getpwnam_r): Likewise.
4347 (fgetpwent_r): Likewise.
4348
4349 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4350
4351 [BZ #18557]
4352 * inet/rcmd.c (__validuser2_sa): Check user first to
4353 short-circuit host check.
4354
4355 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4356 Mikhail Ilin <m.ilin@samsung.com>
4357
4358 [BZ #17833]
4359 * elf/Makefile (tests): Add tst-nodelete.
4360 (modules-names): Add tst-nodelete-uniquemod.
4361 (tst-nodelete-uniquemod.so-no-z-defs): New.
4362 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4363 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4364 ($(objpfx)tst-nodelete): Likewise.
4365 ($(objpfx)tst-nodelete.out): Likewise.
4366 (LDFLAGS-tst-nodelete): Likewise.
4367 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4368 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4369 implement forced object deletion.
4370 (_dl_close): Pass false to _dl_close_worker.
4371 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4372 * elf/tst-nodelete.cc: New file.
4373 * elf/tst-nodeletelib.cc: Likewise.
4374 * elf/tst-znodeletelib.cc: Likewise.
4375 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4376
4377 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4378
4379 [BZ #18508]
4380 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4381 Depend on $(libdl).
4382 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4383 is not called infinitely times.
4384 (backtrace_helper): New function.
4385 (trace_arg): New struct.
4386 (st1): Enlarge stack size.
4387 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4388 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4389 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4390 Likewise.
4391
4392 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4393
4394 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4395
4396 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4397
4398 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4399 Include sys/types.h instead of bits/types.h.
4400 Remove inclusion of bits/wordsize.h.
4401
4402 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4403
4404 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4405 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4406 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4407 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4408 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4409 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4410
4411 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4412
4413 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4414 link-defines.sym.
4415 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4416 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4417 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4418 and LR_SIZE.
4419 * sysdeps/i386/link-defines.sym: New file.
4420
4421 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4422
4423 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4424 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4425 ($(objpfx)tst-audit3): New rule.
4426 ($(objpfx)tst-audit3.out): Likewise.
4427 * sysdeps/i386/tst-audit3.c: New file.
4428 * sysdeps/i386/tst-audit3.h: Likewise.
4429 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4430 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4431
4432 2015-07-07 Torvald Riegel <triegel@redhat.com>
4433
4434 [BZ #18633]
4435 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4436 pointer in C code.
4437 (__strcat_c): Likewise.
4438 (__strcat_g): Likewise.
4439
4440 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4441
4442 [BZ #18592]
4443 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4444
4445 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4446
4447 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4448 New function. (__ieee754_sqrtf): New function.
4449 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4450 New function.
4451 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4452 New function.
4453
4454 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4455
4456 * sysdeps/ieee754/support.c: Remove unused file.
4457
4458 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4459
4460 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4461 registers instead of d ones so the layout is kernel abi compatible.
4462 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4463 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4464 Likewise.
4465
4466 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4467
4468 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4469
4470 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4471
4472 [BZ #18619]
4473 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4474 and return argument in case of subnormal argument.
4475
4476 2015-07-01 Martin Sebor <msebor@redhat.com>
4477
4478 [BZ #18435]
4479 * nptl/Makefile: Add tst-once5.cc.
4480 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4481 Remove macro redefinitions.
4482 * nptl/tst-once5.cc: New test.
4483
4484 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4485
4486 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4487
4488 * sysdeps/arm/libm-test-ulps: Regenerated.
4489
4490 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4491 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4492
4493 2015-06-30 Torvald Riegel <triegel@redhat.com>
4494
4495 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4496 lll_lock_wait_private and lll_futex_wake probes.
4497
4498 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4499 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4500 Likewise.
4501 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4502 atomic_spin_nop.
4503 * sysdeps/x86_64/bits/atomic.h: Likewise.
4504 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4505 to atomic_spin_nop and move ...
4506 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4507 ... here and ...
4508 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4509 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4510 atomic_spin_nop instead of BUSY_WAIT_NOP.
4511 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4512 Likewise.
4513 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4514 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4515 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4516 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4517 instead of atomic_delay.
4518
4519 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4520
4521 [BZ #18613]
4522 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4523 X_ADJ not X when adjusting exponent.
4524 (__ieee754_gamma_r): Do intermediate computations in
4525 round-to-nearest then adjust overflowing and underflowing results
4526 as needed.
4527 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4528 of X_ADJ not X when adjusting exponent.
4529 (__ieee754_gammaf_r): Do intermediate computations in
4530 round-to-nearest then adjust overflowing and underflowing results
4531 as needed.
4532 * sysdeps/ieee754/ldbl-128/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-128ibm/e_gammal_r.c (gammal_positive): Take
4538 log 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 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4543 of X_ADJ not X when adjusting exponent.
4544 (__ieee754_gammal_r): Do intermediate computations in
4545 round-to-nearest then adjust overflowing and underflowing results
4546 as needed. Use 1.0L not 1.0f as numerator of division.
4547 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4548 to auto-libm-test-in.
4549 (tgamma_test): Use ALL_RM_TEST.
4550 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4551 tests of tgamma with spurious-overflow.
4552 * math/auto-libm-test-out: Regenerated.
4553 * math/gen-libm-have-vector-test.sh: Do not check for START.
4554 * sysdeps/i386/fpu/libm-test-ulps: Update.
4555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4556
4557 [BZ #18612]
4558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4559 arguments, just return 0.5 times the argument, with underflow
4560 forced as needed.
4561 * math/auto-libm-test-in: Add more tests of j1.
4562 * math/auto-libm-test-out: Regenerated.
4563
4564 [BZ #16559]
4565 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4566 (__ieee754_j1): Force underflow exception for small results.
4567 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4568 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4569 (__ieee754_j1f): Force underflow exception for small results.
4570 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4571 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4573 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4574 (__ieee754_j1l): Force underflow exception for small results.
4575 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4576 * math/auto-libm-test-in: Add more tests of j1 and jn.
4577 * math/auto-libm-test-out: Regenerated.
4578
4579 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4580 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4581 (PF_MPLS): Likewise.
4582 (AF_IB): Likewise.
4583 (AF_MPLS): Likewise.
4584 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4585 value and macro.
4586 (MS_RMT_MASK): Include MS_LAZYTIME.
4587
4588 2015-06-26 Mel Gorman <mgorman@suse.de>
4589
4590 [BZ #18502]
4591 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4592 already minimal.
4593
4594 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4595
4596 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4597 (DT_MIPS_NUM): Update.
4598 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4599 DT_MIPS_RLD_MAP_REL.
4600
4601 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4602
4603 [BZ #16559]
4604 [BZ #18602]
4605 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4606 round-to-nearest internally then recompute results that
4607 underflowed to zero in the original rounding mode.
4608 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4609 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4610 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4611 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4612 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4613 * sysdeps/i386/fpu/libm-test-ulps: Update.
4614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4615
4616 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4617
4618 * NEWS: Fixed description of link with vector math library.
4619
4620 2015-06-25 Andreas Schwab <schwab@suse.de>
4621
4622 [BZ #18549]
4623 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4624 * libio/test-fmemopen.c (do_test): Add test for it.
4625
4626 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4627
4628 [BZ #17841]
4629 * Makeconfig (no-pie-ldflag): New.
4630 (+link): Set to $(+link-pie) if default to PIE.
4631 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4632 * config.make.in (build-pie-default): New.
4633 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4634 is default. AC_SUBST.
4635 * configure: Regenerated.
4636 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4637
4638 2015-06-24 Roland McGrath <roland@hack.frob.com>
4639
4640 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4641 to 'unsigned int'.
4642
4643 * resolv/gai_misc.h (struct waitlist): Change type of field
4644 counterp to 'volatile unsigned int *'.
4645 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4646 FUTEXADDR and OLDVAL.
4647 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4648 Give local variable TOTAL type 'volatile unsigned int'.
4649 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4650 * resolv/gai_suspend.c (gai_suspend):
4651 Give local variable CNTR type 'unsigned int'.
4652
4653 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4654 counterp to 'volatile unsigned int *'.
4655 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4656 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4657 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4658 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4659 Give local variable TOTAL type 'volatile unsigned int'.
4660 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4661
4662 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4663
4664 [BZ #18383]
4665 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4666 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4667 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4668 comment for i386/x86-64.
4669 (test-xfail-tst-tlsalign-extern-static): Removed.
4670
4671 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4672
4673 * math/test-double.h: New file.
4674 * math/test-float.h: Likewise.
4675 * math/test-ldouble.h: Likewise.
4676 * math/test-math-inline.h: Likewise.
4677 * math/test-math-no-inline.h: Likewise.
4678 * math/test-math-scalar.h: Likewise.
4679 * math/test-math-vector.h: Likewise.
4680 * math/test-vec-loop.h: Remove file. Contents moved into
4681 test-math-vector.h.
4682 * math/libm-test.inc (MATHCONST): Do not document macro.
4683 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4684 and test-math-scalar.h.
4685 (FUNC): Remove macro.
4686 (FUNC_TEST): Likewise.
4687 (FLOAT): Likewise.
4688 (MATHCONST): Likewise.
4689 (PRINTF_EXPR): Likewise.
4690 (PRINTF_XEXPR): Likewise.
4691 (PRINTF_NEXPR): Likewise.
4692 (TEST_DOUBLE): Likewise.
4693 (TEST_MATHVEC): Likewise.
4694 (__NO_MATH_INLINES): Likewise.
4695 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4696 and test-math-scalar.h.
4697 (FUNC): Remove macro.
4698 (FUNC_TEST): Likewise.
4699 (FLOAT): Likewise.
4700 (MATHCONST): Likewise.
4701 (PRINTF_EXPR): Likewise.
4702 (PRINTF_XEXPR): Likewise.
4703 (PRINTF_NEXPR): Likewise.
4704 (TEST_FLOAT): Likewise.
4705 (TEST_MATHVEC): Likewise.
4706 (__NO_MATH_INLINES): Likewise.
4707 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4708 and test-math-scalar.h.
4709 (FUNC): Remove macro.
4710 (FUNC_TEST): Likewise.
4711 (FLOAT): Likewise.
4712 (MATHCONST): Likewise.
4713 (PRINTF_EXPR): Likewise.
4714 (PRINTF_XEXPR): Likewise.
4715 (PRINTF_NEXPR): Likewise.
4716 (TEST_DOUBLE): Likewise.
4717 (TEST_MATHVEC): Likewise.
4718 (TEST_INLINE): Likewise.
4719 (__NO_MATH_INLINES): Likewise.
4720 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4721 test-math-scalar.h.
4722 (FUNC): Remove macro.
4723 (FUNC_TEST): Likewise.
4724 (FLOAT): Likewise.
4725 (MATHCONST): Likewise.
4726 (PRINTF_EXPR): Likewise.
4727 (PRINTF_XEXPR): Likewise.
4728 (PRINTF_NEXPR): Likewise.
4729 (TEST_FLOAT): Likewise.
4730 (TEST_MATHVEC): Likewise.
4731 (TEST_INLINE): Likewise.
4732 (__NO_MATH_INLINES): Likewise.
4733 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4734 and test-math-scalar.h.
4735 (FUNC): Remove macro.
4736 (FUNC_TEST): Likewise.
4737 (FLOAT): Likewise.
4738 (MATHCONST): Likewise.
4739 (PRINTF_EXPR): Likewise.
4740 (PRINTF_XEXPR): Likewise.
4741 (PRINTF_NEXPR): Likewise.
4742 (TEST_LDOUBLE): Likewise.
4743 (TEST_MATHVEC): Likewise.
4744 (TEST_INLINE): Likewise.
4745 (__NO_MATH_INLINES): Likewise.
4746 * math/test-ldouble.c: Include test-ldouble.h,
4747 test-math-no-inline.h and test-math-scalar.h.
4748 (FUNC): Remove macro.
4749 (FUNC_TEST): Likewise.
4750 (FLOAT): Likewise.
4751 (MATHCONST): Likewise.
4752 (PRINTF_EXPR): Likewise.
4753 (PRINTF_XEXPR): Likewise.
4754 (PRINTF_NEXPR): Likewise.
4755 (TEST_LDOUBLE): Likewise.
4756 (TEST_MATHVEC): Likewise.
4757 (__NO_MATH_INLINES): Likewise.
4758 * math/test-double-vlen2.h: Include test-double.h,
4759 test-math-no-inline.h and test-math-vector.h.
4760 (FLOAT): Remove macro.
4761 (FUNC): Likewise.
4762 (MATHCONST): Likewise.
4763 (PRINTF_EXPR): Likewise.
4764 (PRINTF_XEXPR): Likewise.
4765 (PRINTF_NEXPR): Likewise.
4766 (TEST_DOUBLE): Likewise.
4767 (TEST_MATHVEC): Likewise.
4768 (__NO_MATH_INLINES): Likewise.
4769 (CNCT): Likewise.
4770 (CONCAT): Likewise.
4771 (WRAPPER_NAME): Likewise.
4772 (WRAPPER_DECL): Likewise.
4773 (WRAPPER_DECL_ff): Likewise.
4774 (WRAPPER_DECL_fFF): Likewise.
4775 (VECTOR_WRAPPER): Likewise.
4776 (VECTOR_WRAPPER_ff): Likewise.
4777 (VECTOR_WRAPPER_fFF): Likewise.
4778 (VEC_LEN): New macro.
4779 * math/test-double-vlen4.h: Include test-double.h,
4780 test-math-no-inline.h and test-math-vector.h.
4781 (FLOAT): Remove macro.
4782 (FUNC): Likewise.
4783 (MATHCONST): Likewise.
4784 (PRINTF_EXPR): Likewise.
4785 (PRINTF_XEXPR): Likewise.
4786 (PRINTF_NEXPR): Likewise.
4787 (TEST_DOUBLE): Likewise.
4788 (TEST_MATHVEC): Likewise.
4789 (__NO_MATH_INLINES): Likewise.
4790 (CNCT): Likewise.
4791 (CONCAT): Likewise.
4792 (WRAPPER_NAME): Likewise.
4793 (WRAPPER_DECL): Likewise.
4794 (WRAPPER_DECL_ff): Likewise.
4795 (WRAPPER_DECL_fFF): Likewise.
4796 (VECTOR_WRAPPER): Likewise.
4797 (VECTOR_WRAPPER_ff): Likewise.
4798 (VECTOR_WRAPPER_fFF): Likewise.
4799 (VEC_LEN): New macro.
4800 * math/test-double-vlen8.h: Include test-double.h,
4801 test-math-no-inline.h and test-math-vector.h.
4802 (FLOAT): Remove macro.
4803 (FUNC): Likewise.
4804 (MATHCONST): Likewise.
4805 (PRINTF_EXPR): Likewise.
4806 (PRINTF_XEXPR): Likewise.
4807 (PRINTF_NEXPR): Likewise.
4808 (TEST_DOUBLE): Likewise.
4809 (TEST_MATHVEC): Likewise.
4810 (__NO_MATH_INLINES): Likewise.
4811 (CNCT): Likewise.
4812 (CONCAT): Likewise.
4813 (WRAPPER_NAME): Likewise.
4814 (WRAPPER_DECL): Likewise.
4815 (WRAPPER_DECL_ff): Likewise.
4816 (WRAPPER_DECL_fFF): Likewise.
4817 (VECTOR_WRAPPER): Likewise.
4818 (VECTOR_WRAPPER_ff): Likewise.
4819 (VECTOR_WRAPPER_fFF): Likewise.
4820 (VEC_LEN): New macro.
4821 * math/test-float-vlen4.h: Include test-float.h,
4822 test-math-no-inline.h and test-math-vector.h.
4823 (FLOAT): Remove macro.
4824 (FUNC): Likewise.
4825 (MATHCONST): Likewise.
4826 (PRINTF_EXPR): Likewise.
4827 (PRINTF_XEXPR): Likewise.
4828 (PRINTF_NEXPR): Likewise.
4829 (TEST_FLOAT): Likewise.
4830 (TEST_MATHVEC): Likewise.
4831 (__NO_MATH_INLINES): Likewise.
4832 (CNCT): Likewise.
4833 (CONCAT): Likewise.
4834 (WRAPPER_NAME): Likewise.
4835 (WRAPPER_DECL): Likewise.
4836 (WRAPPER_DECL_ff): Likewise.
4837 (WRAPPER_DECL_fFF): Likewise.
4838 (VECTOR_WRAPPER): Likewise.
4839 (VECTOR_WRAPPER_ff): Likewise.
4840 (VECTOR_WRAPPER_fFF): Likewise.
4841 (VEC_LEN): New macro.
4842 * math/test-float-vlen8.h: Include test-float.h,
4843 test-math-no-inline.h and test-math-vector.h.
4844 (FLOAT): Remove macro.
4845 (FUNC): Likewise.
4846 (MATHCONST): Likewise.
4847 (PRINTF_EXPR): Likewise.
4848 (PRINTF_XEXPR): Likewise.
4849 (PRINTF_NEXPR): Likewise.
4850 (TEST_FLOAT): Likewise.
4851 (TEST_MATHVEC): Likewise.
4852 (__NO_MATH_INLINES): Likewise.
4853 (CNCT): Likewise.
4854 (CONCAT): Likewise.
4855 (WRAPPER_NAME): Likewise.
4856 (WRAPPER_DECL): Likewise.
4857 (WRAPPER_DECL_ff): Likewise.
4858 (WRAPPER_DECL_fFF): Likewise.
4859 (VECTOR_WRAPPER): Likewise.
4860 (VECTOR_WRAPPER_ff): Likewise.
4861 (VECTOR_WRAPPER_fFF): Likewise.
4862 (VEC_LEN): New macro.
4863 * math/test-float-vlen16.h: Include test-float.h,
4864 test-math-no-inline.h and test-math-vector.h.
4865 (FLOAT): Remove macro.
4866 (FUNC): Likewise.
4867 (MATHCONST): Likewise.
4868 (PRINTF_EXPR): Likewise.
4869 (PRINTF_XEXPR): Likewise.
4870 (PRINTF_NEXPR): Likewise.
4871 (TEST_FLOAT): Likewise.
4872 (TEST_MATHVEC): Likewise.
4873 (__NO_MATH_INLINES): Likewise.
4874 (CNCT): Likewise.
4875 (CONCAT): Likewise.
4876 (WRAPPER_NAME): Likewise.
4877 (WRAPPER_DECL): Likewise.
4878 (WRAPPER_DECL_ff): Likewise.
4879 (WRAPPER_DECL_fFF): Likewise.
4880 (VECTOR_WRAPPER): Likewise.
4881 (VECTOR_WRAPPER_ff): Likewise.
4882 (VECTOR_WRAPPER_fFF): Likewise.
4883 (VEC_LEN): New macro.
4884 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4885 test-vec-loop.h.
4886 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4887 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4888 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4889 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4890 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4891 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4892 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4893
4894 2015-06-24 Roland McGrath <roland@hack.frob.com>
4895
4896 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4897 (__getlogin_r): ... this.
4898
4899 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4900
4901 [BZ #18594]
4902 * math/s_ccosh.c (__ccosh): Compare with least normal value
4903 instead of comparing class with FP_SUBNORMAL.
4904 * math/s_ccoshf.c (__ccoshf): Likewise.
4905 * math/s_ccoshl.c (__ccoshl): Likewise.
4906 * math/s_cexp.c (__cexp): Likewise.
4907 * math/s_cexpf.c (__cexpf): Likewise.
4908 * math/s_cexpl.c (__cexpl): Likewise.
4909 * math/s_csin.c (__csin): Likewise.
4910 * math/s_csinf.c (__csinf): Likewise.
4911 * math/s_csinh.c (__csinh): Likewise.
4912 * math/s_csinhf.c (__csinhf): Likewise.
4913 * math/s_csinhl.c (__csinhl): Likewise.
4914 * math/s_csinl.c (__csinl): Likewise.
4915 * math/s_ctan.c (__ctan): Likewise.
4916 * math/s_ctanf.c (__ctanf): Likewise.
4917 * math/s_ctanh.c (__ctanh): Likewise.
4918 * math/s_ctanhf.c (__ctanhf): Likewise.
4919 * math/s_ctanhl.c (__ctanhl): Likewise.
4920 * math/s_ctanl.c (__ctanl): Likewise.
4921 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4922 csin, csinh, ctan and ctanh.
4923 * math/auto-libm-test-out: Regenerated.
4924 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4925 * sysdeps/i386/fpu/libm-test-ulps: Update.
4926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4927
4928 2015-06-24 Roland McGrath <roland@hack.frob.com>
4929
4930 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4931 return value is wrong, print the expected value too.
4932
4933 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4934
4935 [BZ #18585]
4936 * elf/readlib.c (is_gdb_python_file): New.
4937 (process_file): Don't issue errors on filenames with -gdb.py
4938 suffix.
4939
4940 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4941
4942 * math/auto-libm-test-in: Add more tests of csin and csinh.
4943 * math/auto-libm-test-out: Regenerated.
4944 * math/libm-test.inc (csin_test_data): Remove tests moved to
4945 auto-libm-test-in.
4946 (csinh_test_data): Likewise.
4947
4948 [BZ #18593]
4949 * math/s_csin.c (__csin): Negate before rather than after possibly
4950 overflowing multiplication.
4951 * math/s_csinf.c (__csinf): Likewise.
4952 * math/s_csinh.c (__csinh): Likewise.
4953 * math/s_csinhf.c (__csinhf): Likewise.
4954 * math/s_csinhl.c (__csinhl): Likewise.
4955 * math/s_csinl.c (__csinl): Likewise.
4956 * math/auto-libm-test-in: Add some tests of csin and csinh.
4957 * math/auto-libm-test-out: Regenerated.
4958 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4959 (csinh_test_data): Likewise.
4960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4961
4962 [BZ #18586]
4963 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4964 underflow exception for small results.
4965
4966 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4967
4968 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4969 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4970 variable and included header.
4971 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4972 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4973 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4974 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4975 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4976 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4977 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4978 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4979 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4980 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4981 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4982 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4983 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4984 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4985 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4986 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4987
4988 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4989
4990 [BZ #16526]
4991 [BZ #16538]
4992 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4993 (__sin): Force underflow exception for arguments with small
4994 absolute value.
4995 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4996 (__kernel_sinf): Force underflow exception for arguments with
4997 small absolute value.
4998 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4999 (__kernel_sincosl): Force underflow exception for arguments with
5000 small absolute value.
5001 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5002 (__kernel_sinl): Force underflow exception for arguments with
5003 small absolute value.
5004 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5005 (__kernel_sincosl): Force underflow exception for arguments with
5006 small absolute value.
5007 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5008 (__kernel_sinl): Force underflow exception for arguments with
5009 small absolute value.
5010 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5011 (__kernel_sinl): Force underflow exception for arguments with
5012 small absolute value.
5013 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5014 (__kernel_sinf): Force underflow exception for arguments with
5015 small absolute value.
5016 * math/auto-libm-test-in: Add more tests of sin and sincos.
5017 * math/auto-libm-test-out: Regenerated.
5018
5019 [BZ #18245]
5020 [BZ #18583]
5021 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5022 (__kernel_standard_l): Use feholdexcept and fesetenv around
5023 conversion to double instead of special-casing overflow and
5024 underflow.
5025 * math/libm-test.inc (fmod_test_data): Add more tests.
5026 (remainder_test_data): Likewise.
5027 (sqrt_test_data): Likewise.
5028
5029 2015-06-23 Torvald Riegel <triegel@redhat.com>
5030
5031 [BZ #17403]
5032 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5033 atomic_read_barrier, atomic_write_barrier): Define.
5034 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5035 atomic_read_barrier, atomic_write_barrier): Define.
5036
5037 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5038
5039 * math/Makefile [$(PERL) != no]
5040 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5041 dependency on libm-test.stmp below the inclusion of Rules.
5042
5043 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
5044
5045 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5046 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5047 and included header.
5048 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5049 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5050 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5051 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5052 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5053 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5054 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5055 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5056 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5057 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5058 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5059 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5060 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5061 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5062 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5063 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5064 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5065 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5066 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5067
5068 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5069
5070 [BZ #18371]
5071 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5072 intermediate but not final result might underflow.
5073 * math/s_csqrtf.c (__csqrtf): Likewise.
5074 * math/s_csqrtl.c (__csqrtl): Likewise.
5075 * math/auto-libm-test-in: Add more tests of csqrt.
5076 * math/auto-libm-test-out: Regenerated.
5077 * sysdeps/i386/fpu/libm-test-ulps: Update.
5078
5079 [BZ #18219]
5080 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5081 threshold on absolute value of exponent for which scaling is used.
5082 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5083 * math/auto-libm-test-in: Add more tests of exp2.
5084 * math/auto-libm-test-out: Regenerated.
5085
5086 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
5087
5088 [BZ #17977]
5089 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5090 when initializing interface list, based on the bug analysis
5091 and the patch proposed by Eric Newton.
5092 * resolv/tst-res_hconf_reorder.c: New test.
5093 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5094 tst-res_hconf_reorder.
5095 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5096 and $(shared-thread-library).
5097 (tst-res_hconf_reorder-ENV): New variable.
5098
5099 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5100 in comment.
5101
5102 2015-06-22 Joseph Myers <joseph@codesourcery.com>
5103
5104 [BZ #16353]
5105 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5106 (__expm1): Force underflow exception for arguments with small
5107 absolute value.
5108 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5109 (__expm1f): Force underflow exception for arguments with small
5110 absolute value.
5111 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5112 (__expm1): Force underflow exception for arguments with small
5113 absolute value.
5114 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5115 (__expm1f): Force underflow exception for arguments with small
5116 absolute value.
5117 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5118 Check for small arguments before calling __expm1.
5119 * math/auto-libm-test-in: Do not mark underflow exceptions as
5120 possibly missing for bug 16353.
5121 * math/auto-libm-test-out: Regenerated.
5122
5123 2015-06-22 Andreas Schwab <schwab@suse.de>
5124
5125 [BZ #18513]
5126 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5127 PTR queries.
5128
5129 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
5130
5131 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5132
5133 * string/strcoll_l.c: Remove unused struct element idxnow.
5134
5135 2015-06-21 Joseph Myers <joseph@codesourcery.com>
5136
5137 [BZ #18569]
5138 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5139 underflow and return argument in case of subnormal argument.
5140 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5141 Likewise.
5142 * math/auto-libm-test-in: Add more tests of expm1.
5143 * math/auto-libm-test-out: Regenerated.
5144
5145 [BZ #16361]
5146 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5147 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5148 tiny results.
5149 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5150 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5151 tiny results.
5152 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5153 mark underflow exceptions as possibly missing for bug 16361.
5154 * math/auto-libm-test-out: Regenerated.
5155
5156 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5157
5158 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5159 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5160 Remove variable.
5161 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5162 (test-xfail-XOPEN2K8/utmpx.h/conform).
5163
5164 * conform/conformtest.pl ($xerrors): New variable.
5165 (note_error): New function.
5166 (compiletest): New argument $xfail. Use not_error.
5167 (runtest): Likewise.
5168 (top level): Handle xfail- lines. Update calls to compiletest and
5169 runtest. Handle xfail- and optional- in headers listed with
5170 allow-header.
5171 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5172 (O_EXEC): Likewise.
5173 (O_SEARCH): Likewise.
5174 * conform/data/stropts.h-data (ioctl): Likewise.
5175 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5176 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5177 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5178 (msghdr.msg_controllen): Likewise.
5179 (cmsghdr.cmsg_len): Likewise.
5180 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5181 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5182 variable.
5183 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5184 (test-xfail-XPG4/stropts.h/conform): Likewise.
5185 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5186 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5187 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5188 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5189 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5190 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5191 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5192 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5193 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5194 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5195 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5196 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5197 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5198 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5199 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5200 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5201 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5202 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5203 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5204
5205 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5206
5207 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5208 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5209 definitions for proper unfolding of __MATHDECL_VEC.
5210
5211 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5212
5213 * benchtests/bench-strcoll.c:
5214 Include string.h.
5215 (main): Remove unused variable res.
5216
5217 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5218
5219 * timezone/Makefile (%/UTC %/Universal):
5220 Generate test-result files for UTC and Universal.
5221
5222 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5223
5224 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5225
5226 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5227
5228 [BZ #16350]
5229 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5230 for arguments with small absolute value.
5231 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5232 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5233 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5234 (__asinh): Force underflow exception for arguments with small
5235 absolute value.
5236 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5237 (__asinhf): Force underflow exception for arguments with small
5238 absolute value.
5239 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5240 (__asinhl): Force underflow exception for arguments with small
5241 absolute value.
5242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5243 (__asinhl): Force underflow exception for arguments with small
5244 absolute value.
5245 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5246 (__asinhl): Force underflow exception for arguments with small
5247 absolute value.
5248 * math/auto-libm-test-in: Do not mark underflow exceptions as
5249 possibly missing for bug 16350.
5250 * math/auto-libm-test-out: Regenerated.
5251
5252 * include/bits/ipc.h: Remove file.
5253 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5254 variable.
5255 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5256 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5257 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5258 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5259 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5260 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5261 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5262 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5263 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5264
5265 * math/auto-libm-test-in: Remove spurious underflow allowance for
5266 tests of cexp.
5267 * math/auto-libm-test-out: Regenerated.
5268
5269 [BZ #18558]
5270 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5271 unconditional definition.
5272 (MCAST_BLOCK_SOURCE): Likewise.
5273 (MCAST_UNBLOCK_SOURCE): Likewise.
5274 (MCAST_LEAVE_GROUP): Likewise.
5275 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5276 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5277 (MCAST_MSFILTER): Likewise.
5278 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5279 Remove variable.
5280 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5281 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5282 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5283 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5284 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5285
5286 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5287
5288 * NEWS: Mention addition of x86_64 vector sincosf.
5289 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5290 * math/test-float-vlen4.h: Likewise.
5291 * math/test-float-vlen8.h: Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5293 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5294 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5295 * sysdeps/x86_64/fpu/Versions: New versions added.
5296 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5297 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5298 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5299 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5300 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5301 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5302 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5303 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5304 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5305 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5306 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5307 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5308 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5309 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5310 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5311 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5312 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5313 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5314 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5315 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5316 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5317 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5318 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5319 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5320
5321 * NEWS: Mention addition of x86_64 vector sincos.
5322 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5323 * math/math.h (__MATHDECL_VEC): New macro.
5324 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5325 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5326 declaration under condition.
5327 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5328 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5329 TEST_VEC_LOOP change.
5330 * math/test-double-vlen4.h: Likewise.
5331 * math/test-double-vlen8.h: Likewise.
5332 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5333 * math/test-float-vlen4.h: Likewise.
5334 * math/test-float-vlen8.h: Likewise.
5335 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5336 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5337 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5338 * sysdeps/x86_64/fpu/Versions: New versions added.
5339 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5340 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5341 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5342 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5343 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5344 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5345 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5346 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5347 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5348 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5349 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5350 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5351 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5352 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5353 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5354 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5355 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5356 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5357 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5358 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5359 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5360 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5361 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5362 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5363
5364 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5365 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5366 redirections for powf.
5367 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5368 * sysdeps/x86_64/fpu/Versions: New versions added.
5369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5370 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5371 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5372 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5373 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5374 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5375 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5376 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5377 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5378 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5379 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5380 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5381 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5382 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5383 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5384 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5385 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5386 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5387 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5388 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5389 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5390 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5391 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5392 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5393 * math/test-float-vlen16.h: Fixed 2 argument macro.
5394 * math/test-float-vlen4.h: Likewise.
5395 * math/test-float-vlen8.h: Likewise.
5396 * NEWS: Mention addition of x86_64 vector powf.
5397
5398 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5399
5400 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5401 and redefine.
5402 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5403 and redefine.
5404 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5405 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5407
5408 [BZ #18553]
5409 * resource/getpriority.c (getpriority): Rename to __getpriority
5410 and define as weak alias of __getpriority.
5411 * resource/setpriority.c (setpriority): Rename to __setpriority
5412 and define as weak alias of __setpriority.
5413 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5414 __getpriority and define as weak alias of __getpriority.
5415 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5416 __setpriority and define as weak alias of __setpriority.
5417 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5418 strong name.
5419 (setpriority): Use __setpriority as strong name.
5420 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5421 __getpriority and define as weak alias of __getpriority.
5422 * include/sys/resource.h (__getpriority): Declare. Use
5423 libc_hidden_proto.
5424 (__setpriority): Likewise.
5425 (getpriority): Don't use libc_hidden_proto.
5426 (setpriority): Likewise.
5427 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5428 getpriority. Call __setpriority instead of setpriority.
5429 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5430 Remove variable.
5431
5432 [BZ #18547]
5433 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5434 as weak alias of __getttynam. Use prototype function definition.
5435 Call __setttyent, __getttyent and __endttyent instead of
5436 setttyent, getttyent and endttyent.
5437 (getttyent): Rename to __getttyent and define as weak alias of
5438 __getttyent. Call __setttyent instead of setttyent. Call
5439 __fgets_unlocked instead of fgets_unlocked.
5440 (setttyent): Rename to __setttyent and define as weak alias of
5441 __setttyent.
5442 (endttyent): Rename to __endttyent and define as weak alias of
5443 __endttyent.
5444 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5445 (__setttyent): Likewise.
5446 (__endttyent): Likewise.
5447 (getttyent): Don't use libc_hidden_proto.
5448 (setttyent): Likewise.
5449 (endttyent): Likewise.
5450 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5451 __endttyent instead of setttyent, getttyent and endttyent.
5452 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5453 Remove variable.
5454
5455 [BZ #18546]
5456 * socket/recv.c (__recv): Use libc_hidden_def.
5457 * socket/socket.c (__socket): Likewise.
5458 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5459 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5460 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5461 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5462 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5463 libc_hidden_def.
5464 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5465 libc_hidden_weak.
5466 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5467 Use libc_hidden_proto.
5468 (__recv): Likewise.
5469 * socket/Versions (libc): Export __recv and __socket at version
5470 GLIBC_PRIVATE.
5471 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5472 instead of recv.
5473 (init_mq_netlink): Call __socket instead of socket.
5474 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5475 Remove variable.
5476
5477 [BZ #18545]
5478 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5479 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5480 hidden_weak.
5481 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5482 define as alias of __mq_timedsend. Use hidden_weak.
5483 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5484 __mq_timedsend as strong name.
5485 (mq_timedreceive): Use __mq_timedreceive as strong name.
5486 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5487 (__mq_timedreceive): Likewise.
5488 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5489 __mq_timedreceive instead of mq_timedreceive.
5490 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5491 instead of mq_timedsend.
5492 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5493 Remove variable.
5494
5495 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5496 hidden_def and hidden_weak instead of libc_hidden_def and
5497 libc_hidden_weak.
5498 (top level): Refer to hidden_def in comment.
5499 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5500 macro. Use it instead of libc_hidden_def.
5501 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5502 specify __GI_* name explicitly.
5503 (mq_timedreceive): Likewise.
5504 (mq_setattr): Likewise.
5505
5506 [BZ #18544]
5507 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5508 __pthread_barrier_init and define as weak alias of
5509 __pthread_barrier_init.
5510 * sysdeps/sparc/nptl/pthread_barrier_init.c
5511 (pthread_barrier_init): Likewise.
5512 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5513 __pthread_barrier_wait and define as weak alias of
5514 __pthread_barrier_wait.
5515 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5516 (pthread_barrier_wait): Likewise.
5517 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5518 (pthread_barrier_wait): Likewise.
5519 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5520 (pthread_barrier_wait): Likewise.
5521 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5522 (pthread_barrier_wait): Likewise.
5523 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5524 __pthread_barrier_wait at version GLIBC_PRIVATE.
5525 * include/pthread.h (__pthread_barrier_init): Declare.
5526 (__pthread_barrier_wait): Likewise.
5527 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5528 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5529 (helper_thread): Likewise.
5530 (init_mq_netlink): Call __pthread_barrier_init instead of
5531 pthread_barrier_init.
5532
5533 [BZ #18542]
5534 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5535 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5536 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5537 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5538 vswscanf.
5539 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5540 Remove variable.
5541
5542 [BZ #18540]
5543 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5544 strong alias of _IO_fflush. Use libc_hidden_def.
5545 * libio/iofflush_u.c (fflush_unlocked): Rename to
5546 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5547 Use libc_hidden_weak.
5548 * include/stdio.h (__fflush_unlocked): Declare. Use
5549 libc_hidden_proto.
5550 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5551 fflush_unlocked.
5552 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5553 Remove variable.
5554
5555 [BZ #18539]
5556 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5557 define as weak alias of __addseverity.
5558 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5559 Remove variable.
5560 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5561 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5562 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5563
5564 [BZ #18536]
5565 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5566 (__tfind): Likewise.
5567 (__tdelete): Likewise.
5568 (__twalk): Likewise.
5569 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5570 __twalk to GLIBC_PRIVATE.
5571 * include/search.h (__tsearch): Use libc_hidden_proto.
5572 (__tfind): Likewise.
5573 (__tdelete): Likewise.
5574 (__twalk): Likewise.
5575 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5576 Call __tdelete instead of tdelete.
5577 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5578 tfind. Call __tsearch instead of tsearch.
5579 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5580 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5581 Remove variable.
5582 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5583
5584 [BZ #18534]
5585 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5586 (dprintf): Define as a weak alias of __dprintf, not a strong
5587 alias.
5588 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5589 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5590 dprintf.
5591 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5592 Remove variable.
5593 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5594 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5595
5596 [BZ #18533]
5597 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5598 not a strong alias.
5599 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5600 Remove variable.
5601
5602 [BZ #18532]
5603 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5604 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5605 (in6addr_loopback): Rename to __in6addr_loopback and define as
5606 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5607 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5608 libc_hidden_proto.
5609 (__in6addr_any): Likewise.
5610 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5611 in6addr_any.
5612 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5613 variable.
5614 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5615
5616 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5617
5618 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5619 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5620 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5621 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5622 redirections for pow.
5623 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5624 * sysdeps/x86_64/fpu/Versions: New versions added.
5625 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5626 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5627 build of SSE, AVX2 and AVX512 IFUNC versions.
5628 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5629 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5630 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5631 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5632 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5633 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5634 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5635 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5636 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5637 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5638 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5639 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5640 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5641 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5642 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5643 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5644 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5645 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5646 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5647 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5648 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5649 * NEWS: Mention addition of x86_64 vector pow.
5650
5651 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5652 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5653 redirections for expf.
5654 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5655 * sysdeps/x86_64/fpu/Versions: New versions added.
5656 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5657 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5658 build of SSE, AVX2 and AVX512 IFUNC versions.
5659 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5660 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5661 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5662 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5663 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5664 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5665 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5666 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5667 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5668 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5669 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5670 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5671 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5672 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5673 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5674 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5675 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5676 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5677 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5678 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5679 * NEWS: Mention addition of x86_64 vector expf.
5680
5681 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5682 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5683 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5684 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5685 redirections for exp.
5686 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5687 * sysdeps/x86_64/fpu/Versions: New versions added.
5688 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5689 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5690 build of SSE, AVX2 and AVX512 IFUNC versions.
5691 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5692 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5693 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5694 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5695 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5696 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5697 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5698 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5699 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5700 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5701 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5702 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5703 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5704 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5705 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5706 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5707 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5708 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5709 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5710 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5711 * NEWS: Mention addition of x86_64 vector exp.
5712
5713 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5714 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5715 redirections for logf.
5716 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5717 * sysdeps/x86_64/fpu/Versions: New versions added.
5718 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5719 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5720 build of SSE, AVX2 and AVX512 IFUNC versions.
5721 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5722 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5723 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5724 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5725 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5726 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5727 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5728 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5729 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5730 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5731 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5732 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5733 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5734 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5735 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5736 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5737 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5738 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5739 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5740 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5741 * NEWS: Mention addition of x86_64 vector logf.
5742
5743 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5744 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5745 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5746 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5747 redirections for log.
5748 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5749 * sysdeps/x86_64/fpu/Versions: New versions added.
5750 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5751 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5752 build of SSE, AVX2 and AVX512 IFUNC versions.
5753 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5754 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5755 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5756 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5757 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5758 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5759 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5760 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5761 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5762 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5763 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5764 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5765 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5766 test.
5767 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5768 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5769 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5770 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5771 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5772 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5773 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5774 * NEWS: Mention addition of x86_64 vector log.
5775
5776 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5777
5778 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5779 cfi_adjust_cfa_offset argument.
5780 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5781 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5782
5783 [BZ #18034]
5784 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5785 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5786 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5787 ordering using ldar.
5788 (_dl_tlsdesc_dynamic): Likewise.
5789 (_dl_tlsdesc_return_lazy): Likewise.
5790 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5791 relaxed atomics instead of volatile and synchronize with release store.
5792 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5793 volatile.
5794 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5795
5796 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5797
5798 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5799 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5800 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5801 * sysdeps/x86_64/fpu/Versions: New versions added.
5802 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5803 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5804 build of SSE, AVX2 and AVX512 IFUNC versions.
5805 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5806 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5807 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5808 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5809 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5810 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5811 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5812 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5813 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5814 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5815 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5816 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5817 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5818 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5819 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5820 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5821 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5822 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5823 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5824 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5825 * NEWS: Mention addition of x86_64 vector sinf.
5826
5827 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5828
5829 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5830 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5831 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5832 Remove variable.
5833 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5834 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5835
5836 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5837
5838 [BZ #18530]
5839 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5840 strong alias of _IO_fputs. Use libc_hidden_def.
5841 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5842 and define as weak alias of __fputs_unlocked. Use
5843 libc_hidden_weak.
5844 * include/stdio.h (__fputs_unlocked): Declare. Use
5845 libc_hidden_proto.
5846 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5847 fputs_unlocked.
5848
5849 [BZ #18529]
5850 * resolv/netdb.h [__USE_POSIX]: Change condition to
5851 [__USE_XOPEN2K].
5852 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5853 not expect.
5854 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5855 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5856 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5857 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5858 [XPG4 || UNIX98] (AI_ALL): Likewise.
5859 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5860 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5861 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5862 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5863 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5864 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5865 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5866 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5867 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5868 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5869 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5870 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5871 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5872 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5873 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5874 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5875 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5876 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5877 [XPG4 || UNIX98] (gai_strerror): Likewise.
5878 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5879 [XPG4 || UNIX98] (getnameinfo): Likewise.
5880
5881 [BZ #18528]
5882 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5883 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5884 __USE_XOPEN2K8].
5885 (getgrent): Likewise.
5886 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5887 expect.
5888 [XPG3 || POSIX2008] (endgrent): Likewise.
5889 [XPG3] (setgrent): Likewise.
5890 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5891 variable.
5892 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5893
5894 [BZ #18527]
5895 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5896 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5897 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5898 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5899 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5900 * include/unistd.h (__getlogin_r): Declare. Use
5901 libc_hidden_proto.
5902 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5903 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5904 variable.
5905 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5906 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5907 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5908
5909 2015-06-12 Martin Sebor <msebor@redhat.com>
5910
5911 [BZ #18512]
5912 * Makerules (check-install-supported): New target.
5913 (install): Add check-install-supported as a dependency.
5914 * manual/install.texi (Installing the C Library): Document
5915 that overriding prefix and exec_prefix is not supported.
5916 Mention DESTDIR.
5917 * INSTALL: Regenerate from the above.
5918
5919 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5920
5921 [BZ #18519]
5922 * posix/Versions (libc): Export __libc_pread at version
5923 GLIBC_PRIVATE.
5924 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5925 instead of pread.
5926 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5927 variable.
5928
5929 [BZ #18522]
5930 * misc/efgcvt_r.c
5931 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5932 (cvt_symbol): Use weak_alias instead of strong_alias.
5933 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5934 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5935 Remove variable.
5936 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5937 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5938
5939 [BZ #18520]
5940 * inet/herrno.c (h_errno): Rename to __h_errno.
5941 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5942 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5943 to __h_errno instead of h_errno.
5944 * nptl/herrno.c (h_errno): Rename to __h_errno.
5945 (__h_errno_location): Refer to __h_errno not h_errno.
5946 * resolv/Versions (h_errno): Rename to __h_errno.
5947 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5948 Remove variable.
5949 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5950
5951 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5952
5953 * configure.ac: More strict check for AVX512 assembler support.
5954 * configure: Regenerated.
5955
5956 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5957 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5958 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5959 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5960 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5961 * sysdeps/x86_64/fpu/Versions: New versions added.
5962 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5963 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5964 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5965 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5966 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5967 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5968 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5969 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5970 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5971 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5972 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5973 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5974 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5975 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5976 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5977 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5978 test.
5979 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5980 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5981 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5982 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5983 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5984 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5985 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5986 * NEWS: Mention addition of x86_64 vector sin.
5987
5988 2015-06-11 Florian Weimer <fweimer@redhat.com>
5989
5990 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5991 comment.
5992
5993 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5994
5995 [BZ #18479]
5996 * nptl/pt-interp.c: New file.
5997 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5998 Add pt-interp.
5999 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6000 $(common-objpfx)runtime-linker.h.
6001
6002 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
6003
6004 * Makeconfig (+interp): Remove unused variable.
6005 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6006 only. Depend on $(common-objpfx)runtime-linker.h instead of
6007 $(elf-objpfx)runtime-linker.h.
6008 ($(elf-objpfx)runtime-linker.h): Rename to
6009 $(common-objpfx)runtime-linker.h and move ...
6010 * Makerules [$(build-shared) = yes]: ... here.
6011 * elf/interp.c: Include <runtime-linker.h> instead of
6012 <elf/runtime-linker.h>.
6013
6014 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6015
6016 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6017 (__gettimeofday_syscall): Remove vsyscall fallback.
6018 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6019 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6020 Add syscall fallback function.
6021 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6022 if vDSO is not present.
6023 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6024 fallback function.
6025 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6026 present.
6027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6028 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6029
6030 2015-06-09 Joseph Myers <joseph@codesourcery.com>
6031
6032 [BZ #18497]
6033 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6034 of wcscmp.
6035 (wcscmp): Define as weak alias of WCSCMP.
6036 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6037 wcscoll.
6038 (USE_HIDDEN_DEF): Define.
6039 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6040 __wcscoll. Don't use libc_hidden_weak.
6041 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6042 wcscmp.
6043 * sysdeps/i386/i686/multiarch/wcscmp-c.c
6044 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6045 __GI_wcscmp.
6046 (weak_alias): Undefine and redefine.
6047 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6048 __wcscmp and define as weak alias of __wcscmp.
6049 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6050 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
6051 (__wcscoll): Likewise.
6052 (wcscmp): Don't use libc_hidden_proto.
6053 (wcscoll): Likewise.
6054 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6055 wcscoll.
6056 * posix/regexec.c (check_node_accept_bytes): Likewise.
6057 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6058 variable.
6059 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6060 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6061
6062 [BZ #18507]
6063 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6064 __fstatvfs and define as weak alias of __fstatvfs. Use
6065 libc_hidden_weak.
6066 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6067 and define as weak alias of __statvfs. Use libc_hidden_weak.
6068 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6069 Define as alias of __fstatvfs, not fstatvfs.
6070 (fstatvfs64): Likewise.
6071 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6072 Define as alias of __statvfs, not statvfs.
6073 (statvfs64): Likewise.
6074 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6075 Remove variable.
6076
6077 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6078
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6080 (HAVE_GETCPU_VSYSCALL): Define.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6082 (HAVE_GETCPU_VSYSCALL): Likewise.
6083 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6084 * sysdeps/unix/sysv/linux/sched_getcpu.c
6085 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6086 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6087 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6088 prototype.
6089 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6090 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6091 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6093 Define.
6094 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6095 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6096 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6097 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6098
6099 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
6100
6101 * sysdeps/x86_64/fpu/Makefile: New file.
6102 * sysdeps/x86_64/fpu/Versions: New file.
6103 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6104 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6105 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6106 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6107 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6108 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6109 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6110 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6111 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6112 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6113 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6114 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6115 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6116 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6117 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6118 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6119 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6120 * sysdeps/x86_64/configure.ac: Options for libmvec build.
6121 * sysdeps/x86_64/configure: Regenerated.
6122 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6123 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6124 * manual/install.texi (Configuring and compiling): Document
6125 --disable-mathvec.
6126 * INSTALL: Regenerated.
6127 * NEWS: Mention addition of libmvec and x86_64 vector cos.
6128
6129 * math/Makefile: Added rules for vector tests.
6130 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6131 declaration under condition.
6132 * math/test-double-vlen2.h: New file.
6133 * math/test-double-vlen4.h: New file.
6134 * math/test-double-vlen8.h: New file.
6135 * math/test-vec-loop.h: Added initialization macro.
6136 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6137 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6138 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6139 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6140 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6141 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6142 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6143 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6144 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6145 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6146 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6147
6148 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6149 * sysdeps/x86_64/fpu/Versions: New versions added.
6150 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6151 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6152 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6153 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6154 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6155 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6156 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6157 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6158 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6159 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6160 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6161 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6162 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6163 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6164 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6165 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6166 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6167 * NEWS: Mention addition of x86_64 vector cosf.
6168
6169 * math/Makefile: Added CFLAGS for new tests.
6170 * math/test-float-vlen16.h: New file.
6171 * math/test-float-vlen4.h: New file.
6172 * math/test-float-vlen8.h: New file.
6173 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6174 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6175 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6176 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6177 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6178 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6179 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6180 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6181 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6182 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6183 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6184
6185 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6186
6187 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6188 * locale/programs/ld-ctype.c: Likewise.
6189
6190 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6191
6192 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6193 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6194 bit_ZMM16_31_state): New macro.
6195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6196 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6197
6198 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6199
6200 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6201
6202 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6203
6204 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6205
6206 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6207
6208 [BZ #18498]
6209 * libio/memstream.c (open_memstream): Rename to __open_memstream
6210 and define as weak alias of __open_memstream.
6211 * include/stdio.h (__open_memstream): Declare. Use
6212 libc_hidden_proto.
6213 (open_memstream): Don't use libc_hidden_proto.
6214 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6215 open_memstream.
6216 * posix/getopt.c (_getopt_internal_r): Likewise.
6217 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6218 variable.
6219 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6220 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6221 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6222
6223 [BZ #18496]
6224 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6225 instead of wcrtomb.
6226
6227 [BZ #18483]
6228 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6229 [__USE_XOPEN2K8]. Remove redundant #endif.
6230 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6231 Remove redundant #if.
6232 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6233 Remove variable.
6234 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6235 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6236
6237 [BZ #18495]
6238 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6239 (__iswlower): Likewise.
6240 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
6241 (__iswlower): Likewise.
6242 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6243 instead of towlower.
6244 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6245 instead of iswlower. Call __towupper instead of towupper.
6246 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6247 instead of iswalnum.
6248
6249 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6250
6251 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6252 errors to stderr.
6253
6254 2015-06-05 Florian Weimer <fweimer@redhat.com>
6255
6256 [BZ #15661]
6257 [BZ #17322]
6258 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6259 Check for overflow properly. Check for O_APPEND. Ignore large
6260 file system block sizes. Add comments about problems.
6261 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6262 * manual/filesys.texi (Storage Allocation): New node.
6263
6264 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6265
6266 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6267 cancellable syscalls.
6268 (SYS_ify): Add guard to no redefine it.
6269 (INLINE_SYSCALL): Likewise.
6270 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6271 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6272 SYSCALL_CANCEL instead.
6273 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6274 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6275 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6276 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6277 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6278 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6279 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6280 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6281 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6282 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6283 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6284 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6285 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6286 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6287 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6288 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6289 Likewise.
6290 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6291 (__libc_pread64): Likewise.
6292 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6293 (__libc_preadv): Likewise.
6294 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6295 (__libc_readv64): Likewise.
6296 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6297 (__libc_pwrite): Likewise.
6298 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6299 (__libc_pwrite64): Likewise.
6300 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6301 (__libc_pwritev): Likewise.
6302 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6303 (__libc_pwritev64): Likewise.
6304 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6305 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6306 (sync_file_range): Likewise.
6307 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6308 Likewise.
6309 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6310 Likewise.
6311 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6312 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6313 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6314 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6315 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6316 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6317 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6318 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6320 Likewise.
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6322 (__libc_read64): Likewise.
6323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6324 Likewise.
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6326 Likewise.
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6328 Likewise.
6329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6330 Likewise.
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6332 (__libc_pread64): Likewise.
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6334 Likewise.
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6336 (__libc_pwrite64): Likewise.
6337 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6338 (sync_file_range): Likewise.
6339 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6340 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6341 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6342 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6343 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6344 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6345 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6346 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6347 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6348 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6349 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6350 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6351 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6352 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6353 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6354 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6355 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6356 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6357 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6358 Likewise.
6359 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6360 Likewise.
6361 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6362 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6363 Likewise.
6364 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6365 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6366 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6367 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6368 Likewise.
6369 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6370 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6371 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6372 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6373 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6374
6375 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6376
6377 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6378 Include dl-vdso.
6379 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6380 Use VDSO routines for gettimeofday, clock_gettime if
6381 available.
6382 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6383 Declare VDSO symbols.
6384 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6385 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6386 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6387 * sysdeps/unix/sysv/linux/arm/Versions: Add
6388 __vdso_clock_gettime.
6389
6390 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6391
6392 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6393 be an inline implementation regardless of library is built within.
6394 (open_not_cancel_2): Likewise.
6395 (__read_nocancel): Likewise.
6396 (__write_nocancel): Likewise.
6397 (openat_not_cancel): Likewise.
6398 (openat_not_cancel_3): Likewise.
6399 (openat64_not_cancel): Likewise.
6400 (openat64_not_cancel_3): Likewise.
6401 (__close_nocancel): Likewise.
6402 (pause_not_cancel): Likewise.
6403 (nanosleep_not_cancel): Likewise.
6404 (sigsuspend_not_cancel): Likewise.
6405
6406 2015-06-04 Torvald Riegel <triegel@redhat.com>
6407
6408 [BZ #14958]
6409 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6410 wake-up.
6411 (__pthread_rwlock_rdlock_slow): Likewise.
6412 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6413 Likewise.
6414 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6415 Likewise.
6416 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6417 * nptl/tst-rwlock16.c: New file.
6418 * nptl/Makefile (tests): Add new test.
6419
6420 2015-06-04 Torvald Riegel <triegel@redhat.com>
6421
6422 [BZ #18324]
6423 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6424 missing wake-up of readers.
6425 * nptl/tst-rwlock15.c: New file.
6426 * nptl/Makefile (tests): Add new test.
6427
6428 2015-06-03 Roland McGrath <roland@hack.frob.com>
6429
6430 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6431 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6432 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6433 and __nacl_supply_interface_rtld.
6434 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6435 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6436 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6437 Add __nacl_supply_interface_rtld.
6438 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6439
6440 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6441
6442 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6443 isfinite.
6444 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6445 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6446
6447 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6448
6449 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6450 __signbit* with standard C99 macros.
6451 * math/e_exp10l.c: Likewise.
6452 * math/e_exp2l.c: Likewise.
6453 * math/e_scalb.c: Likewise.
6454 * math/e_scalbf.c: Likewise.
6455 * math/e_scalbl.c: Likewise.
6456 * math/s_ldexp.c: Likewise.
6457 * math/s_ldexpf.c: Likewise.
6458 * math/s_ldexpl.c: Likewise.
6459 * math/w_atan2.c: Likewise.
6460 * math/w_atan2f.c: Likewise.
6461 * math/w_atan2l.c: Likewise.
6462 * math/w_cosh.c: Likewise.
6463 * math/w_coshf.c: Likewise.
6464 * math/w_coshl.c: Likewise.
6465 * math/w_exp10.c: Likewise.
6466 * math/w_exp10f.c: Likewise.
6467 * math/w_exp10l.c: Likewise.
6468 * math/w_exp2.c: Likewise.
6469 * math/w_exp2f.c: Likewise.
6470 * math/w_exp2l.c: Likewise.
6471 * math/w_fmod.c: Likewise.
6472 * math/w_fmodf.c: Likewise.
6473 * math/w_fmodl.c: Likewise.
6474 * math/w_hypot.c: Likewise.
6475 * math/w_hypotf.c: Likewise.
6476 * math/w_hypotl.c: Likewise.
6477 * math/w_jnl.c: Likewise.
6478 * math/w_lgamma.c: Likewise.
6479 * math/w_lgamma_r.c: Likewise.
6480 * math/w_lgammaf.c: Likewise.
6481 * math/w_lgammaf_r.c: Likewise.
6482 * math/w_lgammal.c: Likewise.
6483 * math/w_lgammal_r.c: Likewise.
6484 * math/w_pow.c: Likewise.
6485 * math/w_powf.c: Likewise.
6486 * math/w_powl.c: Likewise.
6487 * math/w_remainder.c: Likewise.
6488 * math/w_remainderf.c: Likewise.
6489 * math/w_remainderl.c: Likewise.
6490 * math/w_scalb.c: Likewise.
6491 * math/w_scalbf.c: Likewise.
6492 * math/w_scalbl.c: Likewise.
6493 * math/w_scalbln.c: Likewise.
6494 * math/w_scalblnf.c: Likewise.
6495 * math/w_scalblnl.c: Likewise.
6496 * math/w_sinh.c: Likewise.
6497 * math/w_sinhf.c: Likewise.
6498 * math/w_sinhl.c: Likewise.
6499 * math/w_tgamma.c: Likewise.
6500 * math/w_tgammaf.c: Likewise.
6501 * math/w_tgammal.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6509 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6510 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6511 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6512 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6530 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6533 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6534 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6535 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6536 * stdio-common/printf_fp.c: Likewise.
6537 * stdio-common/printf_fphex.c: Likewise.
6538 * stdio-common/printf_size.c: Likewise.
6539
6540 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6541
6542 [BZ #18470]
6543 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6544 strnlen.
6545 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6546 Remove variable.
6547 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6548 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6549 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6550 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6551 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6552 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6553 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6554 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6555 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6556 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6557
6558 [BZ #18468]
6559 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6560 weak alias of __wmemchr. Use libc_hidden_weak.
6561 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6562 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6563 instead of wmemchr.
6564
6565 2015-06-02 Roland McGrath <roland@hack.frob.com>
6566
6567 [BZ #18383]
6568 * elf/tst-tlsalign-extern.c: New file.
6569 * elf/tst-tlsalign-extern-static.c: New file.
6570 * elf/tst-tlsalign-vars.c: New file.
6571 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6572 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6573 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6574 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6575 (test-xfail-tst-tlsalign-extern-static): New variable.
6576
6577 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6578
6579 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6580 Use variable name _sc_err instead of err.
6581 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6582 instead of ret.
6583 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6584 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6585 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6586 (INLINE_SYSCALL): Likewise.
6587
6588 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6589 * include/string.h (__strnlen): Use libc_hidden_proto.
6590 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6591 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6592 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6593 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6594 (libc_hidden_def): Undefine and redefine.
6595 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6596 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6597 __GI_strnlen.
6598 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6599 libc_hidden_def.
6600 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6601
6602 [BZ #18469]
6603 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6604 weak alias of __towlower. Use libc_hidden_weak.
6605 (towupper): Rename to __towupper and define as weak alias of
6606 __towupper. Use libc_hidden_weak.
6607 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6608 (__towupper): Likewise.
6609 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6610 __towlower instead of towlower.
6611
6612 2015-06-02 Roland McGrath <roland@hack.frob.com>
6613
6614 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6615 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6616
6617 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6618
6619 * sysdeps/aarch64/libm-test-ulps: Update.
6620
6621 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6622
6623 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6624 Define.
6625 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6627 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6628 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6629 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6630 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6631 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6632
6633 2015-06-01 Martin Sebor <msebor@redhat.com>
6634
6635 [BZ #18116]
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6637 (__setcontext): Use extended four-operand version of mtsf whenever
6638 possible.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6640 (__novec_swapcontext): Likewise.
6641
6642 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6643
6644 * benchtests/scripts/compare_bench.py: New file.
6645 * benchtests/scripts/import_bench.py (mean): New function.
6646 (split_list): Likewise.
6647 (do_for_all_timings): Likewise.
6648 (compress_timings): Likewise.
6649
6650 * benchtests/scripts/import_bench.py: New file.
6651 * benchtests/scripts/validate_benchout.py: Import import_bench
6652 instead of jsonschema.
6653 (validate_bench): Remove function.
6654 (main): Use import_bench.
6655
6656 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6657
6658 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6659 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6660
6661 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6662
6663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6664
6665 2015-05-28 Roland McGrath <roland@hack.frob.com>
6666
6667 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6668 set THREAD_SELF->tid to a magic value and futex-wake it.
6669 Pass its address to the thread_exit system call.
6670 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6671 bit is clear.
6672 * sysdeps/nacl/lowlevellock.h: New file.
6673 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6674
6675 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6676 Add TIMEOUT to current time, don't subtract it.
6677
6678 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 [BZ #2981]
6681 [BZ #18422]
6682 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6683 ($(objpfx)tst-audit2.out): Also depend on
6684 $(objpfx)tst-auditmod9b.so.
6685 * elf/tst-audit2.c: Include <dlfcn.h>.
6686 (calloc_called): New.
6687 (calloc): Allow to be called more than once.
6688 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6689
6690 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6691
6692 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6693 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6694
6695 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6696
6697 * stdlib/monetary.h: Fix comment.
6698
6699 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6700
6701 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6702 Avoid using variables in #defines that might cause shadowing.
6703 (INTERNAL_VSYSCALL_CALL): Likewise.
6704
6705 2015-05-26 Roland McGrath <roland@hack.frob.com>
6706
6707 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6708
6709 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6710 * nptl/lll_timedlock_wait.c: ... to this new file.
6711 * nptl/Makefile (libpthread-routines): Add it.
6712 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6713 * nptl/lll_timedwait_tid.c: ... to this new file.
6714 * nptl/Makefile (libpthread-routines): Add it.
6715 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6716 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6717 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6718 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6719 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6720 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6721 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6722 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6723 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6724 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6725
6726 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6727
6728 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6729 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6730 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6731 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6732 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6733 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6734 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6736 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6737 * sysdeps/unix/sysv/linux/tile/sysdep.h
6738 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6739 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6740 using vDSO syscall macro.
6741
6742 2015-05-26 Andriy Rysin <arysin@gmail.com>
6743
6744 [BZ #17293]
6745 * uk_UA: Fix sorting order for Ukrainian locale
6746
6747 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6748
6749 * stdlib/monetary.h: Fix comment.
6750
6751 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6752
6753 [BZ #18234]
6754 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6755 st_mtim and st_ctim members.
6756 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6757 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6758 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6759 (struct stat64): Likewise.
6760 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6761 (struct stat64): Likewise.
6762 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6763 (struct stat64): Likewise.
6764
6765 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6766
6767 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6768 Define and include sysdep-vdso.h.
6769 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6770 Likewise.
6771 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6772 Likewise.
6773 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6774 Define with VDSO_SYMBOL and use PTR_MANGLE.
6775 (__vdso_clock_gettime): Likewise.
6776 (__vdso_clock_getres): Likewise.
6777 (_libc_vdso_platform_setup): Likewise.
6778 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6779 Likewise.
6780 (_libc_vdso_platform_setup): Likewise.
6781 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6782 Likewise.
6783 (__vdso_clock_gettime): Likewise.
6784 (__vdso_clock_getres): Likewise.
6785 (__vdso_get_tbfreq): Likewise.
6786 (__vdso_getcpu): Likewise.
6787 (__vdso_time): Likewise.
6788 (__vdso_sigtramp_rt64): Likewise.
6789 (__vdso_signtramp32): Likewise.
6790 (__vdso_sigtramp_rt32): Likewise.
6791 (_libc_vdso_platform_setup): Likewise.
6792 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6793 Likewise.
6794 (__vdso_clock_gettime): Likewise.
6795 (__vdso_clock_getres): Likewise.
6796 (_libc_vdso_platform_setup): Likewise.
6797 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6798 Likewise.
6799 (__vdso_clock_gettime): Likewise.
6800 (_libc_vdso_platform_setup): Likewise.
6801 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6802 Likewise.
6803 (__vdso_getcpu): Likewise.
6804 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6805 Use VDSO_SYMBOL macro to define.
6806 (__vdso_clock_gettime): Likewise.
6807 (__vdso_clock_getres): Likewise.
6808 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6809 Likewise.
6810 (__vdso_clock_gettime): Likewise.
6811 (__vdso_clock_getres): Likewise.
6812 (__vdso_get_tbfreq): Likewise.
6813 (__vdso_getcpu): Likewise.
6814 (__vdso_time): Likewise.
6815 (__vdso_sigtramp_rt64): Likewise.
6816 (__vdso_signtramp32): Likewise.
6817 (__vdso_sigtramp_rt32): Likewise.
6818 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6819 Likewise.
6820 (__vdso_clock_gettime): Likewise.
6821 (__vdso_clock_getres): Likewise.
6822 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6823 Likewise.
6824 (__vdso_clock_gettime): Likewise.
6825 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6826 Likewise.
6827 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6828 macro.
6829 (INTERNAL_VSYSCALL): Likewise.
6830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6831 Remove macro.
6832 (INTERNAL_VSYSCALL): Likewise.
6833 (INTERNAL_VSYSCALL_NCS): Likewise.
6834 (INTERNAL_VSYSCALL_CALL): New macro.
6835 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6836 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6837 Likewise.
6838 (INTERNAL_VSYSCALL): Likewise.
6839 (INTERNAL_VSYSCALL_NCS): Likewise.
6840 (INTERNAL_VSYSCALL_CALL): New macro.
6841 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6843 (INLINE_VSYSCALL): Remove macro.
6844 (INTERNAL_VSYSCALL): Remove macro.
6845 (INTERNAL_VSYSCALL_NCS): Remove macro.
6846 (INTERNAL_VSYSCALL_CALL): New macro.
6847 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6848 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6849 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6850 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6851 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6853 (INLINE_VSYSCALL): Remove macro.
6854 (INTERNAL_VSYSCALL): Likewise.
6855 (INTERNAL_VSYSCALL_NCS): Likewise.
6856 (INTERNAL_VSYSCALL_CALL): New macro.
6857 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6858 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6859 PTR_DEMANGLE on vDSO pointer.
6860 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6861 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6862 macro.
6863 (INTERNAL_SYSCALL): Likewise.
6864 (INTERNAL_VSYSCALL_NCS): Remove macro.
6865 (INTERNAL_VSYSCALL_CALL): New macro.
6866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6867 Remove macro.
6868 (INTERNAL_VSYSCALL): Likewise.
6869 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6870 sysdep-vdso.h instead of libc-vdso.h.
6871 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6872 definition.
6873 (INLINE_VSYSCALL): Likewise.
6874 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6875 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6876 definition.
6877 (INLINE_VSYSCALL): Likewise.
6878 (INTERNAL_VSYSCALL): Likewise.
6879 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6880 * sysdeps/unix/sysv/linux/timespec_get.c
6881 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6882 (timespec_get): Use ANSI prototype.
6883 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6884 and definition for Linux.
6885
6886 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6887
6888 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6889 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6890
6891 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6892
6893 [BZ #2981]
6894 [BZ #18410]
6895 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6896 for missing DT_PLTRELSZ.
6897
6898 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6899
6900 Remove obsolete aliases that broke 'locale -a'
6901 [BZ #18412]
6902 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6903 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6904 breaking some applications that use 'locale -a' output.
6905 Change the encoding of this file from Latin-1 to ASCII to avoid
6906 other potential problems with people grepping this file.
6907
6908 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6909
6910 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6911 -fasynchronous-unwind-tables.
6912 (CFLAGS-sendto.c): Likewise.
6913 (CFLAGS-sendmsg.c): Likewise.
6914 (CFLAGS-connect.c): Likewise.
6915 (CFLAGS-recvmsg.c): Likewise.
6916 (CFLAGS-recvfrom.c): Likewise.
6917 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6918 (SOCKETCALL): New macro: non-cancellable socketcall.
6919 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6920 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6921 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6922 * sysdeps/unix/sysv/linux/accept.c: New file.
6923 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6924 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6925 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6926 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6927 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6928 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6929 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6930 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6931 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6932 * sysdeps/unix/sysv/linux/send.c: Likewise.
6933 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6934 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6935 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6936 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6937 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6938 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6939 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6940 prototype.
6941 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6942 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6943 instead of __internal_xxx function.
6944 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6945 prototype.
6946 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6947 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6948 instead of __internal_xxx function.
6949 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6950 prototype.
6951 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6952 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6953 instead of __internal_xxx function.
6954 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6955 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6956 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6957 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6958 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6959 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6960 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6961 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6962 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6963 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6964 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6965 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6966 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6967 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6968 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6969 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6970 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6971 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6972 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6973 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6976 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6977 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6978 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6979 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6980 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6981 * sysdeps/unix/sysv/linux/send.S: Likewise.
6982 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6983 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6984 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6985 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6986 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6987 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6988 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6989 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6990 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6991 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6992 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6993 socketcall is implemented in GLIBC.
6994
6995 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6996
6997 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6998 (__fma): Ignore uninitialized warnings around packing.
6999 * soft-fp/fmasf4.c: Include <libc-internal.h>.
7000 (__fmaf): Ignore uninitialized warnings around packing.
7001 * soft-fp/fmatf4.c: Include <libc-internal.h>.
7002 (__fmal): Ignore uninitialized warnings around packing.
7003
7004 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7005 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7006 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7007 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7008
7009 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7010 switch statement into default case.
7011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7012
7013 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7014 a conditional in forcing "inexact".
7015 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7016 Likewise.
7017
7018 2015-05-22 Roland McGrath <roland@hack.frob.com>
7019
7020 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7021 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7022 for each INTERNAL_SYSCALL use.
7023
7024 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7025
7026 [BZ #438]
7027 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7028 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7029 variable.
7030
7031 [BZ #18444]
7032 * string/basename.c (basename): Rename to __basename and define as
7033 weak alias of __basename. Use libc_hidden_weak.
7034 * include/string.h (__basename): Declare. Use libc_hidden_proto.
7035 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7036 __basename instead of basename.
7037 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7038 Remove variable.
7039 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7040
7041 2015-05-18 Florian Weimer <fweimer@redhat.com>
7042
7043 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7044 (_IO_JUMPS_FILE_plus): New.
7045 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7046 _IO_CAST_FIELD_ACCESS.
7047 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7048 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7049 * libio/freopen.c (freopen): Likewise.
7050 * libio/freopen64.c (freopen64): Likewise.
7051 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7052 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7053 * libio/iofwide.c (_IO_fwide): Likewise.
7054 * libio/memstream.c (open_memstream): Likewise.
7055 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7056 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7057 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7058
7059 2015-05-21 Joseph Myers <joseph@codesourcery.com>
7060
7061 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7062 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7063 NADJ.
7064 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7065 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7066 NADJ.
7067 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7068 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7069 NADJ.
7070
7071 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7072 (p == 4) case.
7073
7074 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7075 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7076 Remove variable.
7077 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7078 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7079 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7080
7081 2015-05-21 Florian Weimer <fweimer@redhat.com>
7082
7083 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7084 Adjust jump table label generation macros.
7085
7086 2015-05-21 Florian Weimer <fweimer@redhat.com>
7087
7088 * stdio-common/vfprintf.c (vfprintf): Move local variables
7089 args_malloced, specs, specs_malloced, and the code after
7090 do_positional to the printf_positional function.
7091 (printf_positional): New function.
7092
7093 2015-05-21 Florian Weimer <fweimer@redhat.com>
7094
7095 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7096 function.
7097 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7098 STEP4_TABLE, process_arg): Move macro definitions
7099 out of the vfprintf function. (Cosmetic change only.)
7100
7101 2015-05-21 Carlos O'Donell <carlos@redhat.com>
7102
7103 * benchtests/Makefile (stdio-common-bench): Define.
7104 (benchset): Add stdio-common-bench.
7105 * sprintf-inputs: New file.
7106 * sprintf-source.c: New file.
7107
7108 2015-05-21 Andreas Schwab <schwab@suse.de>
7109
7110 [BZ #13028]
7111 [BZ #17053]
7112 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7113 of struct __res_state.
7114 * resolv/res_send.c (__libc_res_nsend): Likewise.
7115 (get_nsaddr): New function.
7116 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7117 statp directly.
7118
7119 2015-05-20 Joseph Myers <joseph@codesourcery.com>
7120
7121 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7122 -D_POSIX_C_SOURCE=199506L.
7123
7124 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7125
7126 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7127 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7128 Do not mention otherwise.
7129 [POSIX] (_XOPEN_VERSION): Do not expect.
7130 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7131 [POSIX] (_POSIX2_C_BIND): Likewise.
7132 [POSIX] (_POSIX2_VERSION): Likewise.
7133 [POSIX] (_XOPEN_XPG2): Likewise.
7134 [POSIX] (_XOPEN_XPG3): Likewise.
7135 [POSIX] (_XOPEN_XPG4): Likewise.
7136 [POSIX] (_XOPEN_UNIX): Likewise.
7137 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7138 [POSIX] (_POSIX_BARRIERS): Likewise.
7139 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7140 [POSIX] (_POSIX_CPUTIME): Likewise.
7141 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7142 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7143 [POSIX] (_POSIX_SHELL): Likewise.
7144 [POSIX] (_POSIX_SPAWN): Likewise.
7145 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7146 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7147 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7148 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7149 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7150 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7151 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7152 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7153 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7154 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7155 [POSIX] (_POSIX2_PBS): Likewise.
7156 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7157 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7158 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7159 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7160 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7161 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7162 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7163 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7164 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7165 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7166 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7167 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7168 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7169 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7170 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7171 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7172 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7173 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7174 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7175 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7176 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7177 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7178 [POSIX] (_SC_2_C_BIND): Likewise.
7179 [POSIX] (_SC_2_C_VERSION): Likewise.
7180 [POSIX] (_SC_2_PBS): Likewise.
7181 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7182 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7183 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7184 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7185 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7186 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7187 [POSIX] (_SC_BARRIERS): Likewise.
7188 [POSIX] (_SC_BASE): Likewise.
7189 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7190 [POSIX] (_SC_DEVICE_IO): Likewise.
7191 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7192 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7193 [POSIX] (_SC_FD_MGMT): Likewise.
7194 [POSIX] (_SC_FIFO): Likewise.
7195 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7196 [POSIX] (_SC_FILE_LOCKING): Likewise.
7197 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7198 [POSIX] (_SC_IOV_MAX): Likewise.
7199 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7200 [POSIX] (_SC_NETWORKING): Likewise.
7201 [POSIX] (_SC_PAGE_SIZE): Likewise.
7202 [POSIX] (_SC_PASS_MAX): Likewise.
7203 [POSIX] (_SC_PIPE): Likewise.
7204 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7205 [POSIX] (_SC_REGEXP): Likewise.
7206 [POSIX] (_SC_SHELL): Likewise.
7207 [POSIX] (_SC_SIGNALS): Likewise.
7208 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7209 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7210 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7211 [POSIX] (_SC_USER_GROUPS): Likewise.
7212 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7213 [POSIX] (_SC_STREAMS): Likewise.
7214 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7215 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7216 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7217 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7218 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7219 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7220 [POSIX] (_PC_FILESIZEBITS): Likewise.
7221 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7222 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7223 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7224 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7225 [POSIX] (uid_t): Likewise.
7226 [POSIX] (gid_t): Likewise.
7227 [POSIX] (off_t): Likewise.
7228 [POSIX] (pid_t): Likewise.
7229 [POSIX] (cuserid): Allow.
7230 (_SC_2_CHAR_TERM): Require constant.
7231 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7232 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7233 variable.
7234
7235 2015-05-20 Roland McGrath <roland@hack.frob.com>
7236
7237 * sysdeps/nacl/pthread-pids.h: New file.
7238 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7239 (create_thread): Use __nacl_get_tid to initialize PD->tid.
7240
7241 * nptl/pthread-pids.h: New file.
7242 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7243 * nptl/nptl-init.c: Include <pthread-pids.h>.
7244 (__pthread_initialize_minimal_internal):
7245 Call __pthread_initialize_pids instead of set_tid_address syscall.
7246
7247 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7248 * sysdeps/posix/usleep.c: ... here.
7249
7250 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7251
7252 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7253 call_pselect6 object.
7254 [$(subdir) = io]: Remove call_sync_file_range object.
7255 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7256 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7257 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7258 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7259
7260 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7261
7262 * math/s_cproj.c: Add include "math_private.h".
7263 * math/s_cprojf.c: Likewise.
7264 * math/s_cprojl.c: Likewise.
7265
7266 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7267
7268 [BZ #18244]
7269 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7270 high mantissa bit when testing whether P is a NaN.
7271 * math/libm-test.inc (remainder_test_data): Add more tests.
7272 (remquo_test_data): Likewise.
7273
7274 [BZ #18049]
7275 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7276 below -32, return the argument, with underflow if subnormal.
7277 * math/auto-libm-test-in: Add more tests of atanh.
7278 * math/auto-libm-test-out: Regenerated.
7279
7280 2015-05-19 Roland McGrath <roland@hack.frob.com>
7281
7282 [BZ #18434]
7283 * nptl/tst-sem15.c: New file.
7284 * nptl/Makefile (tests): Add it.
7285 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7286 s/<</>>/ to fix typo in EOVERFLOW check.
7287 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7288
7289 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7290
7291 * manual/strings.texi (envz_remove): Fix typo in safety
7292 annotations.
7293
7294 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7295 Steve Ellcey <sellcey@imgtec.com>
7296
7297 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7298 in order to avoid strict alias warnings.
7299 (iruserok_af): Ditto for ra.
7300
7301 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7302
7303 [BZ #17581]
7304 * malloc/hooks.c
7305 (magicbyte): Convert to a function and avoid returning 0x01.
7306 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7307 (mem2chunk_check): Fix unsigned comparisons to zero.
7308 Hoist defs of sz and magic.
7309
7310 2015-05-19 Richard Henderson <rth@redhat.com>
7311
7312 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7313
7314 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7315
7316 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7317
7318 [BZ #16159]
7319 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7320 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7321 (reused_arena): Find a non-corrupt arena.
7322 (heap_trim): Pass arena to unlink.
7323 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7324 malloc_printerr.
7325 (top_check): Likewise.
7326 (free_check): Likewise.
7327 (realloc_check): Likewise.
7328 * malloc/malloc.c (malloc_printerr): Add arena argument.
7329 (unlink): Likewise.
7330 (munmap_chunk): Adjust.
7331 (ARENA_CORRUPTION_BIT): New macro.
7332 (arena_is_corrupt): Likewise.
7333 (set_arena_corrupt): Likewise.
7334 (sysmalloc): Use mmap if there are no usable arenas.
7335 (_int_malloc): Likewise.
7336 (__libc_malloc): Don't fail if arena_get returns NULL.
7337 (_mid_memalign): Likewise.
7338 (__libc_calloc): Likewise.
7339 (__libc_realloc): Adjust for additional argument to
7340 malloc_printerr.
7341 (_int_free): Likewise.
7342 (malloc_consolidate): Likewise.
7343 (_int_realloc): Likewise.
7344 (_int_memalign): Don't touch corrupt arenas.
7345 * malloc/tst-malloc-backtrace.c: New test case.
7346
7347 * Makefile (summarize-tests): Fix return value on success.
7348
7349 * manual/string.texi (Envz Functions): Add envz_remove.
7350
7351 2015-05-18 Roland McGrath <roland@hack.frob.com>
7352
7353 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7354 (invalid_name): New function, broken out of ...
7355 (__opendirat): ... here. Call it.
7356 (need_isdir_precheck): New function, broken out of ...
7357 (__opendirat): ... here. Call it.
7358 Use __fxstatat64, not __xstatat64.
7359 (opendir_oflags): New function, broken out of ...
7360 (__opendirat): ... here. Call it.
7361 (opendir_tail): New function, broken out of ...
7362 (__opendirat): ... here. Call it.
7363 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7364 opendir_tail, rather than punting to __opendirat.
7365 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7366
7367 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7368
7369 * .gitignore: Ignore generated *.pyc.
7370
7371 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7372
7373 * include/stdio.h: Define __need_wint_t.
7374 * test-skeleton.c: Avoid `for' loop initial declaration.
7375 * nptl/tst-initializers1.c: Use test-skeleton.c.
7376
7377 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7378
7379 [BZ #18418]
7380 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7381
7382 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7383
7384 [BZ #16352]
7385 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7386 (__ieee754_atanh): Force underflow exception for results with
7387 small absolute value.
7388 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7389 (__ieee754_atanhf): Force underflow exception for results with
7390 small absolute value.
7391 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7392 (__ieee754_atanh): Force underflow exception for results with
7393 small absolute value.
7394 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7395 (__ieee754_atanhf): Force underflow exception for results with
7396 small absolute value.
7397 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7398 (__ieee754_atanhl): Force underflow exception for results with
7399 small absolute value.
7400 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7401 (__ieee754_atanhl): Force underflow exception for results with
7402 small absolute value.
7403 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7404 (__ieee754_atanhl): Force underflow exception for results with
7405 small absolute value.
7406 * math/auto-libm-test-in: Do not allow missing underflow
7407 exceptions from atanh.
7408 * math/auto-libm-test-out: Regenerated.
7409
7410 [BZ #18221]
7411 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7412 2**-28 as threshold for returning x or +/- 1/x.
7413 * math/auto-libm-test-in: Add more tests of tan.
7414 * math/auto-libm-test-out: Regenerated.
7415
7416 [BZ #18220]
7417 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7418 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7419 * math/auto-libm-test-in: Add another test of lgamma.
7420 * math/auto-libm-test-out: Regenerated.
7421
7422 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7423
7424 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7425 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7426 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7427 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7428 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7429 (ADD2A): Use fabs. (SUB2A): Use fabs.
7430 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7431 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7433 (log1): Use fabs. (my_log2): Use fabs.
7434 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7435 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7436 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7437 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7438 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7439 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7440 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7441 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7442 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7443 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7444 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7445
7446 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7447
7448 [BZ #18217]
7449 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7450 as threshold for returning 1 - x.
7451 * math/auto-libm-test-in: Add more tests of erfc.
7452 * math/auto-libm-test-out: Regenerated.
7453
7454 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7455
7456 [BZ #18196]
7457 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7458 threshold for large arguments.
7459 * math/auto-libm-test-in: Add another test of atan.
7460 * math/auto-libm-test-out: Regenerated.
7461
7462 [BZ #16339]
7463 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7464 (__log1p): Force underflow exception for results with small
7465 absolute value.
7466 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7467 (__log1pf): Force underflow exception for results with small
7468 absolute value.
7469 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7470 (__log1p): Force underflow exception for results with small
7471 absolute value.
7472 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7473 (__log1pf): Force underflow exception for results with small
7474 absolute value.
7475 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7476 (__log1pl): Force underflow exception for results with small
7477 absolute value.
7478 * math/auto-libm-test-in: Do not allow missing underflow
7479 exceptions from log1p.
7480 * math/auto-libm-test-out: Regenerated.
7481
7482 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7483 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7484
7485 [BZ #16704]
7486 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7487
7488 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7489
7490 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7491 (libmvec): New variable.
7492 * configure.ac: Added option for mathvec build.
7493 * configure: Regenerated.
7494 * mathvec/Depend: New file.
7495 * mathvec/Makefile: New file.
7496 * shlib-versions: Added libmvec.
7497 * math/Makefile: Added rule for libm.so installation.
7498
7499 * bits/math-vector.h: New file.
7500 * bits/libm-simd-decl-stubs.h: New header.
7501 * math/Makefile (headers): Added new header
7502 libm-simd-decl-stubs.h.
7503 * math/math.h (__MATHCALL_VEC): New macro.
7504
7505 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7506 for conditions in testing functions.
7507 * math/Makefile: Added call of libm-have-vector-test.sh.
7508 * math/libm-test.inc (HAVE_VECTOR): New macros.
7509
7510 * math/libm-test.inc: START refactored.
7511 * math/test-double.c (TEST_MATHVEC): Add define.
7512 * math/test-float.c: Likewise.
7513 * math/test-idouble.c: Likewise.
7514 * math/test-ifloat.c: Likewise.
7515 * math/test-ildoubl.c: Likewise.
7516 * math/test-ldouble.c: Likewise.
7517 * sysdeps/generic/math-tests-arch.h
7518 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7519 architecture check.
7520
7521 * math/test-double.c (FUNC_TEST): New macro.
7522 * math/test-float.c: Likewise.
7523 * math/test-idouble.c: Likewise.
7524 * math/test-ifloat.c: Likewise.
7525 * math/test-ildoubl.c: Likewise.
7526 * math/test-ldouble.c: Likewise.
7527 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7528
7529 2015-05-13 Roland McGrath <roland@hack.frob.com>
7530
7531 * sysdeps/nacl/fdopendir.c: New file.
7532
7533 * dirent/scandir-tail.c: New file.
7534 * dirent/scandir64-tail.c: New file.
7535 * dirent/Makefile (routines): Add them.
7536 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7537 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7538 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7539 [!SCANDIR] (SCANDIR_TAIL): New macro.
7540 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7541 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7542 (SCANDIRAT): Macro removed.
7543 (SCANDIR_TAIL): New macro.
7544 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7545 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7546 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7547 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7548 (READDIR): Macro removed.
7549 (SCANDIR_TAIL): New macro.
7550 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7551 (SCANDIR_TAIL): New macro.
7552
7553 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7554 * dirent/scandir-cancel.c: ... to this new file.
7555 * dirent/Makefile (routines): Add it.
7556 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7557 * sysdeps/unix/sysv/linux/i386/scandir64.c
7558 (SKIP_SCANDIR_CANCEL): Macro removed.
7559 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7560
7561 * dirent/tst-scandir.c: New file.
7562 * dirent/tst-scandir64.c: New file.
7563 * dirent/Makefile (tests): Add them.
7564
7565 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 [BZ #18409]
7568 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7569
7570 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7571
7572 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7573 list.
7574
7575 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7576
7577 * benchtests/bench-strcoll.c: New benchmark.
7578 * benchtests/Makefile: Generate locales and run benchmark.
7579 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7580 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7581 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7582 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7583 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7584 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7585 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7586 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7587 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7588 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7589 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7590 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7591 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7592 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7593 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7594 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7595 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7596 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7597 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7598 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7599 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7600 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7601 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7602 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7603
7604 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7605
7606 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7607 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7608
7609 2015-05-12 Roland McGrath <roland@hack.frob.com>
7610
7611 * posix/uname-values.h: New file.
7612 * posix/uname.c: Include that instead of <config-name.h>.
7613 * sysdeps/nacl/uname-values.h: New file.
7614 * sysdeps/arm/nacl/uname-values.h: New file.
7615
7616 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7617
7618 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7619 splitting into fields.
7620
7621 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7622
7623 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7624 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7625 * locale/localeinfo.h: Add enum collation_encoding_type.
7626 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7627 * programs/ld-collate.c (collate_output): Add encoding type info.
7628 * string/strcoll_l.c (STRDIFF): New function.
7629 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7630 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7631
7632 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7633
7634 [BZ #18397]
7635 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7636 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7637 <fpu_control.h> instead of <math/fpu_control.c>.
7638 * sysdeps/mips/mips32/fpu/Makefile: New file.
7639
7640 2015-05-11 Andreas Schwab <schwab@suse.de>
7641
7642 [BZ #18007]
7643 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7644 nss_endgrent.
7645 (_nss_compat_endgrent): Call nss_endgrent.
7646 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7647 nss_endpwent.
7648 (_nss_compat_endpwent): Call nss_endpwent.
7649 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7650 needent, call nss_setspent only if non-zero.
7651 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7652 (internal_endspent): Don't call nss_endspent.
7653 (_nss_compat_endspent): Call nss_endspent.
7654 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7655 Remove. All uses removed.
7656 (internal_setent): Remove parameter stayopen, add parameter
7657 stream. Use it instead of global variable.
7658 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7659 (internal_endent, internal_getent): Add parameter stream. Use it
7660 instead of global variable.
7661 (CONCAT(_nss_files_end,ENTNAME))
7662 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7663 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7664 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7665 uses removed.
7666 (internal_setent, internal_endent): Add parameter stream. Use it
7667 instead of global variable.
7668 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7669 stream.
7670 (get_next_alias): Add parameter stream.
7671 (_nss_files_getaliasent_r): Pass global stream.
7672 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7673 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7674 (_nss_files_gethostbyname4_r): Pass local stream to
7675 internal_setent, internal_getent and internal_endent. Remove
7676 locking.
7677
7678 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7679
7680 * tst-strfmon1.c (tests): Update expected currency symbol.
7681
7682 2015-05-08 Roland McGrath <roland@hack.frob.com>
7683
7684 * sysdeps/nacl/gethostname.c: New file.
7685
7686 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7687
7688 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7689 and sinh.
7690 * math/auto-libm-test-out: Regenerated.
7691 * sysdeps/i386/fpu/libm-test-ulps: Update.
7692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7693
7694 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7695
7696 [BZ #18125]
7697 * stdlib/tst-setcontext3.c: New file.
7698 * stdlib/tst-setcontext3.sh: New file.
7699 * stdlib/Makefile (tests): Add tst-setcontext3.
7700 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7701 to verify test program created output file.
7702 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7703 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7704 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7705 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7706
7707 2015-05-06 Roland McGrath <roland@hack.frob.com>
7708
7709 [BZ #18383]
7710 * elf/tst-tlsalign.c: New file.
7711 * elf/tst-tlsalign-static.c: New file.
7712 * elf/tst-tlsalign-lib.c: New file.
7713 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7714 (tests-static): Add tst-tlsalign-static.
7715 (modules-names): Add tst-tlsalign-lib.
7716 (test-xfail-tst-tlsalign): New variable.
7717 (test-xfail-tst-tlsalign-static): New variable.
7718
7719 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7720 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7721
7722 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7723
7724 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7725 csqrt, erfc, sin and sincos.
7726 * math/auto-libm-test-out: Regenerated.
7727 * sysdeps/i386/fpu/libm-test-ulps: Update.
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7729
7730 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7731
7732 * sysdeps/aarch64/libm-test-ulps: Update.
7733
7734 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7735
7736 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7737 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7738 * math/auto-libm-test-out: Regenerated.
7739 * sysdeps/i386/fpu/libm-test-ulps: Update.
7740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7741
7742 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7743
7744 [BZ #18265]
7745 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7746 (wcsncpy): Likewise.
7747
7748 2015-05-05 Florian Weimer <fweimer@redhat.com>
7749
7750 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7751 Assume __ASSUME_FALLOCATE is always true.
7752 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7753 (__posix_fallocate64_l64): Likweise.
7754 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7755 (posix_fallocate): Likewise.
7756 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7757 (__posix_fallocate64_l64): Likewise.
7758 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7759 [!__ASSUME_FALLOCATE]: Add comment.
7760
7761 2015-05-05 Florian Weimer <fweimer@redhat.com>
7762
7763 * sysdeps/unix/sysv/linux/i386/Makefile
7764 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7765 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7766 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7767 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7768 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7769 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7770 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7771
7772 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7773
7774 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7775 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7776 tgamma.
7777 * math/auto-libm-test-out: Regenerated.
7778 * sysdeps/i386/fpu/libm-test-ulps: Update.
7779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7780
7781 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7782
7783 * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
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 tan.
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 more tests of cos, sin and sincos.
7799 * math/auto-libm-test-out: Regenerated.
7800 * sysdeps/i386/fpu/libm-test-ulps: Update.
7801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7802
7803 * math/auto-libm-test-in: Add another test of pow.
7804 * math/auto-libm-test-out: Regenerated.
7805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7806
7807 * math/auto-libm-test-in: Add more tests of lgamma.
7808 * math/auto-libm-test-out: Regenerated.
7809 * sysdeps/i386/fpu/libm-test-ulps: Update.
7810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7811
7812 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7813 log1p.
7814 * math/auto-libm-test-out: Regenerated.
7815 * sysdeps/i386/fpu/libm-test-ulps: Update.
7816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7817
7818 2015-05-01 Mark Wielaard <mjw@redhat.com>
7819
7820 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7821 Elf64_Chdr structs and ELFCOMPRESS constants.
7822
7823 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7824
7825 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7826 expm1.
7827 * math/auto-libm-test-out: Regenerated.
7828 * sysdeps/i386/fpu/libm-test-ulps: Update.
7829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7830
7831 * math/auto-libm-test-in: Add more tests of erf and erfc.
7832 * math/auto-libm-test-out: Regenerated.
7833 * sysdeps/i386/fpu/libm-test-ulps: Update.
7834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7835
7836 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7837
7838 * config.h.in (HAVE_AARCH64_BE): Add.
7839
7840 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7841
7842 * math/auto-libm-test-in: Add more tests of csqrt.
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 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7848 * math/auto-libm-test-out: Regenerated.
7849 * sysdeps/i386/fpu/libm-test-ulps: Update.
7850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7851
7852 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7853
7854 2015-04-29 Roland McGrath <roland@hack.frob.com>
7855
7856 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7857 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7858
7859 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7860 (euidaccess, eaccess): Define as weak aliases.
7861
7862 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7863 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7864 but __suseconds_t is often 'long int' so some sources assume that
7865 type is being used (e.g. they use %ld to print tv_usec).
7866
7867 2015-04-29 Florian Weimer <fweimer@redhat.com>
7868
7869 [BZ #18007]
7870 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7871 (CVE-2014-8121)
7872 * nss/tst-nss-getpwent.c: New file.
7873 * nss/Makefile (tests): Add new test.
7874
7875 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7876
7877 [BZ #18346]
7878 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7879 exponents less than 48 as cases where high part of mantissa needs
7880 examining to determine whether argument is integral.
7881 * math/libm-test.inc (round_test_data): Add more tests.
7882
7883 2015-04-28 Mark Wielaard <mjw@redhat.com>
7884
7885 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7886
7887 2015-04-27 David S. Miller <davem@davemloft.net>
7888
7889 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7890 __tls_get_addr.
7891 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7892
7893 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7894
7895 [BZ#18333]
7896 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7897
7898 2015-04-27 Florian Weimer <fweimer@redhat.com>
7899
7900 [BZ#18333]
7901 * time/tzset.c (parse_tzname): Return error on memory allocation
7902 failure.
7903 * test-skeleton.c (struct temp_name_list): Change type of name
7904 member to non-const.
7905 (add_temp_file): Create a copy of the file name.
7906 (delete_temp_files): Deallocate memory.
7907 (create_temp_file): Add comment.
7908
7909 2015-04-24 Florian Weimer <fweimer@redhat.com>
7910
7911 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7912 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7913
7914 2015-04-24 Roland McGrath <roland@hack.frob.com>
7915
7916 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7917 * sysdeps/arm/configure: Regenerated.
7918
7919 2015-04-24 Florian Weimer <fweimer@redhat.com>
7920
7921 [BZ #17715]
7922 * time/tzfile.c (__tzfile_read): Check for large values of
7923 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7924 * time/tzset.c (__tzstring_len): New function, based on the old
7925 __tzstring function.
7926 (__tzstring): Call __tzstring_len.
7927 (parse_tzname): New helper function extracted from
7928 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7929 the input string.
7930 (parse_offset): New helper function extracted from
7931 __tzset_parse_tz. Replace switch with fallthrough with
7932 initialization before sscanf.
7933 (parse_rule): Likewise.
7934 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7935 new-style function definition.
7936 * timezone/Makefile (tests): Add tst-tzset.
7937 (tst-tzset.out): Dependencies on time zone files.
7938 (tst-tzset-ENV): Set TZDIR.
7939 (testdata/XT%): Copy crafted time zone files.
7940 * timezone/README: Mention crafted time zone files.
7941 * timezone/testdata/XT1, timezone/testdata/XT2,
7942 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7943 files.
7944 * timezone/tst-tzset.c: New test.
7945
7946 2015-04-24 Florian Weimer <fweimer@redhat.com>
7947
7948 * Makeconfig (+gccwarn): Remove -Winline.
7949
7950 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7951
7952 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7953
7954 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7955
7956 * NEWS: Mention sysconf() cache information support for s390.
7957 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7958
7959 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7960
7961 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7962 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7963 (__nearbyint): Likewise.
7964 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7965 (copysignl): Likewise.
7966
7967 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7968
7969 [BZ #18287]
7970 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7971 based on padding. (CVE-2015-1781)
7972
7973 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7974
7975 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7976 libc-vdso.h.
7977 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7978 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7979 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7980 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7981 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7982 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7983 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7985 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7986 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7987 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7988 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7989 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7990 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7991 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7992 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7993 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7994 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7995 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7996 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7997 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7998 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7999 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8000
8001 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8002
8003 * stdlib/setenv.c (__add_to_environ):
8004 Dump core quickly if setenv (..., NULL, ...) is called.
8005 This time, do it the right way, and pacify GCC with a pragma.
8006
8007 2015-04-17 Roland McGrath <roland@hack.frob.com>
8008
8009 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8010 IMAP->l_prev cannot be null, and #if out the code for the contrary
8011 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8012 believe that NS (&_dl_ns[NSID]) could point outside the array.
8013
8014 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8015 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8016 before using NSID as an index.
8017
8018 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
8019
8020 [BZ #17825]
8021 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8022 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8023 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8024
8025 2015-04-17 Roland McGrath <roland@hack.frob.com>
8026
8027 Add preliminary port to Google Native Client on ARM.
8028 * abi-tags (.*-.*-nacl.*): New entry.
8029 * sysdeps/arm/nacl: New directory.
8030 * sysdeps/nacl: New directory.
8031
8032 2015-04-16 David S. Miller <davem@davemloft.net>
8033
8034 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8035 lowlevellock-futex.h
8036
8037 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
8038
8039 * sysdeps/tile/configure.ac: New file.
8040 * sysdeps/tile/configure: Regenerated.
8041
8042 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8043
8044 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
8045 conditionals for weak_alias and libc_hidden_weak.
8046 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8047 libc_hidden_weak and weak_alias.
8048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8049 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8050 and weak_alias for static one.
8051
8052 2015-04-15 David S. Miller <davem@davemloft.net>
8053
8054 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8055
8056 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8057
8058 [BZ #18206]
8059 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8060 Use signed comparision instead of substraction to avoid
8061 overflow bug.
8062 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8063 Take the sign of ret.
8064 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8065 Do not expect precise return values. Only the sign matters.
8066 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8067 * wcsmbs/test-wcsncmp.c: New File.
8068 * string/test-strncmp.c: Add wcsncmp support.
8069
8070 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8071
8072 [BZ #6792]
8073 * math/w_log1p.c: New file.
8074 * math/w_log1pf.c: Likewise.
8075 * math/w_log1pl.c: Likewise.
8076 * math/Makefile (libm-calls): Add w_log1p.
8077 * math/s_log1pl.c (log1pl): Remove weak_alias.
8078 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8079 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8080 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8081 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8082 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8083 [NO_LONG_DOUBLE] (log1pl): Likewise.
8084 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8085 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8086 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8087 (log1p): Remove long_double_symbol.
8088 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8089 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8090 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8091 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8092 remove weak_alias for corresponding log1p function.
8093 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8094 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8095 * sysdeps/ia64/fpu/w_log1p.c: New file.
8096 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8097 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8098 * math/libm-test.inc (log1p_test_data): Add errno expectations.
8099
8100 2015-04-10 Joseph Myers <joseph@codesourcery.com>
8101
8102 [BZ #18247]
8103 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8104 decimal exponent by 1.
8105 * stdlib/tst-strtod-round-data: Add more tests.
8106 * stdlib/tst-strtod-round.c (tests): Regenerated.
8107
8108 2015-04-09 Joseph Myers <joseph@codesourcery.com>
8109
8110 * math/auto-libm-test-in: Add more tests of clog and clog10.
8111 * math/auto-libm-test-out: Regenerated.
8112 * sysdeps/i386/fpu/libm-test-ulps: Update.
8113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8114
8115 2015-04-09 Roland McGrath <roland@hack.frob.com>
8116
8117 * Makeconfig (module-cppflags): Exclude all .v.i files.
8118 (skip-module-cppflags): Variable removed.
8119
8120 * configure.ac (libc_config_ok): Initialize before reading
8121 preconfigure scripts, not after.
8122 * configure: Regenerated.
8123
8124 * test-skeleton.c (TIMEOUT): Move #define to top level.
8125 (main): Grok environment variable TEST_DIRECT. If set, print
8126 test expectation details into that file and then behave as if
8127 given --direct.
8128
8129 2015-04-09 Florian Weimer <fweimer@redhat.com>
8130
8131 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8132 warning on 32-bit.
8133
8134 2015-04-08 David S. Miller <davem@davemloft.net>
8135
8136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8137
8138 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8139
8140 * math/auto-libm-test-in: Add more tests of atanh.
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 * math/auto-libm-test-in: Add more tests of atan.
8146 * math/auto-libm-test-out: Regenerated.
8147 * sysdeps/i386/fpu/libm-test-ulps: Update.
8148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8149
8150 2015-04-08 Florian Weimer <fweimer@redhat.com>
8151
8152 * elf/pldd.c (main): Rewrite to use struct
8153 scratch_buffer instead of extend_alloca.
8154 * elf/pldd-xx.c (find_maps): Likewise.
8155 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8156 <alloca.h>.
8157 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8158 scratch_buffer instead of extend_alloca.
8159 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8160 grp/compat-initgroups.c.
8161 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8162 Rewrite to use struct scratch_buffer instead of extend_alloca.
8163 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8164 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8165
8166 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8167
8168 * math/auto-libm-test-in: Add more tests of cbrt.
8169 * math/auto-libm-test-out: Regenerated.
8170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8171
8172 * math/auto-libm-test-in: Add more tests of cabs.
8173 * math/auto-libm-test-out: Regenerated.
8174 * sysdeps/i386/fpu/libm-test-ulps: Update.
8175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8176
8177 [BZ #18210]
8178 [BZ #18211]
8179 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8180 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8181 computations.
8182 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8183 clog10.
8184 * math/auto-libm-test-out: Regenerated.
8185 * sysdeps/i386/fpu/libm-test-ulps: Update.
8186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8187
8188 [BZ #18197]
8189 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8190 (atan): Set FE_TONEAREST mode for internal computations.
8191 * math/auto-libm-test-in: Add more tests of atan.
8192 * math/auto-libm-test-out: Regenerated.
8193
8194 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8195
8196 [BZ #17930]
8197 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8198
8199 2015-04-07 Florian Weimer <fweimer@redhat.com>
8200
8201 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8202
8203 2015-04-07 Florian Weimer <fweimer@redhat.com>
8204
8205 * include/scratch_buffer.h: New file.
8206 * malloc/scratch_buffer_grow.c: Likewise.
8207 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8208 * malloc/scratch_buffer_set_array_size.c: Likewise.
8209 * malloc/tst-scratch_buffer.c: Likewise.
8210 * malloc/Makefile (routines): Add scratch_buffer_grow.
8211 (tests): Add test case.
8212 * malloc/Versions (GLIBC_PRIVATE): Export
8213 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8214 __libc_scratch_buffer_set_array_size.
8215
8216 2015-04-06 Richard Henderson <rth@redhat.com>
8217
8218 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8219 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8220
8221 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8222 unsigned int before printing.
8223
8224 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8225
8226 [BZ #17596]
8227 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8228 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8229
8230 2015-04-02 Florian Weimer <fweimer@redhat.com>
8231
8232 * include/libc-internal.h (libc_max_align_t): Define.
8233
8234 2015-04-02 Andreas Schwab <schwab@suse.de>
8235
8236 [BZ #16850]
8237 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8238
8239 2015-04-02 Mel Gorman <mgorman@suse.de>
8240
8241 [BZ #17195]
8242 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8243 as well as the main arena.
8244
8245 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8246
8247 [BZ #18185]
8248 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8249 sharing L2 cache to 2 for Silvermont/Knights Landing.
8250
8251 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8252
8253 [BZ #17711]
8254 * config.make.in (have-protected-data): New.
8255 * configure.ac: Check linker support for protected data symbol.
8256 * configure: Regenerated.
8257 * elf/Makefile (modules-names): Add tst-protected1moda and
8258 tst-protected1modb if $(have-protected-data) is yes.
8259 (tests): Add tst-protected1a and tst-protected1b if
8260 $(have-protected-data) is yes.
8261 ($(objpfx)tst-protected1a): New.
8262 ($(objpfx)tst-protected1b): Likewise.
8263 (tst-protected1modb.so-no-z-defs): Likewise.
8264 * elf/tst-protected1a.c: New file.
8265 * elf/tst-protected1b.c: Likewise.
8266 * elf/tst-protected1mod.h: Likewise.
8267 * elf/tst-protected1moda.c: Likewise.
8268 * elf/tst-protected1modb.c: Likewise.
8269
8270 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 [BZ #17711]
8273 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8274 indicates it is called from do_lookup_x on relocation against
8275 protected data, skip the data definion in the executable from
8276 copy reloc.
8277 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8278 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8279 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8280 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8281 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8282 otherwise to 0.
8283 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8284 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8285 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8286 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8287 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8288 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8289
8290 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8291
8292 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8293 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8294
8295 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8296
8297 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8298 THREAD_SETMEM_NC.
8299 * sysdeps/x86_64/nptl/tls.h: Ditto.
8300
8301 2015-03-27 Roland McGrath <roland@hack.frob.com>
8302
8303 * dlfcn/tststatic.c (main): Converted to ...
8304 (do_test): ... this.
8305 (TEST_FUNCTION): New macro.
8306 Include test-skeleton.c.
8307
8308 2015-03-26 Alan Modra <amodra@gmail.com>
8309
8310 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8311 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8312 zero for undefined weak.
8313 (elf_machine_plt_conflict): Similarly.
8314
8315 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8316
8317 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8318 atanh.
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 * math/auto-libm-test-in: Add another test of asin.
8324 * math/auto-libm-test-out: Regenerated.
8325 * sysdeps/i386/fpu/libm-test-ulps: Update.
8326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8327
8328 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8329 Remove macro.
8330 (LLL_EBX_REG): Likewise.
8331 (LLL_ENTER_KERNEL): Likewise.
8332
8333 * math/auto-libm-test-in: Add more tests of asin.
8334 * math/auto-libm-test-out: Regenerated.
8335 * sysdeps/i386/fpu/libm-test-ulps: Update.
8336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8337
8338 [BZ #18138]
8339 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8340 libc_do_syscall_args): New structure.
8341 (INTERNAL_SYSCALL_MAIN_0): New macro.
8342 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8343 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8344 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8345 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8346 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8347 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8348 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8349 Replace conditional definitions by conditional definitions of ....
8350 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8351 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8352 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8353 (libpthread-sysdep_routines): Add libc-do-syscall.
8354 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8355 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8356 to __NR_futex not 240.
8357
8358 2015-03-25 Alan Modra <amodra@gmail.com>
8359
8360 * NEWS: Advertise TLS optimization.
8361 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8362 (DT_PPC_NUM): Increment.
8363 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8364 (CHECK_STATIC_TLS): Use here.
8365 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8366 TLS descriptors.
8367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8368 * sysdeps/powerpc/dl-tls.c: New file.
8369 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8370 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8371 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8372 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8376
8377 2015-03-25 Alan Modra <amodra@gmail.com>
8378
8379 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8380 for overlapping .opd entries" to "support...".
8381 * sysdeps/powerpc/powerpc64/configure: Regenerate
8382
8383 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8384
8385 * math/auto-libm-test-in: Add more tests of acos.
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 * math/auto-libm-test-in: Add more tests of expm1.
8391 * math/auto-libm-test-out: Regenerated.
8392 * sysdeps/i386/fpu/libm-test-ulps: Update.
8393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8394
8395 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8396
8397 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8398 * math/auto-libm-test-out: Regenerated.
8399 * sysdeps/i386/fpu/libm-test-ulps: Update.
8400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8401
8402 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8404
8405 * math/auto-libm-test-in: Add more tests of log2.
8406 * math/auto-libm-test-out: Regenerated.
8407 * sysdeps/i386/fpu/libm-test-ulps: Update.
8408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8409
8410 2015-03-23 Roland McGrath <roland@hack.frob.com>
8411
8412 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8413 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8414 _IO_IS_APPENDING bit in READ_WRITE instead.
8415
8416 2015-03-23 Florian Weimer <fweimer@redhat.com>
8417
8418 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8419 (__determine_cpumask_size): Replace extend_alloca with a
8420 variable-length array. Do not treat res == 0 as an error.
8421
8422 2015-03-23 Florian Weimer <fweimer@redhat.com>
8423
8424 [BZ #18100]
8425 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8426 and integer overflow.
8427 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8428 (main): Add integer overflow tests.
8429 * manual/pattern.texi (Calling Wordexp): Document additional use
8430 for WRDE_SYNTAX.
8431
8432 2015-03-23 Alan Modra <amodra@gmail.com>
8433
8434 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8435 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8436 and false branch of conditional.
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8438 Likewise.
8439
8440 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8441
8442 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8443 libc-modules.h
8444 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8445 unused declaration of _hurd_intr_rpc_msg_in_trap.
8446 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8447 defined instead of whether it is non-zero.
8448 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8449 input constraint instead of both input and output constraint. Use ecx
8450 clobber instead of %ecx.
8451 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8452 mutex_unlock): Use a statement expression instead of an expression list.
8453 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8454 type to vm_size_t instead of vm_address_t.
8455 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8456 defined instead of whether it is non-zero.
8457 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8458 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8459 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8460 comparisons with mapaddr.
8461 * nscd/nscd-client.h: Include <time.h>.
8462 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8463 9th parameter to __vm_region instead of int.
8464 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8465 * scripts/check-local-headers.sh (exclude): Add device/,
8466 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8467 cthreads.h.
8468
8469 2015-03-19 Roland McGrath <roland@hack.frob.com>
8470
8471 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8472 to account for alignment padding.
8473 * sysdeps/arm/memmove.S: Likewise.
8474
8475 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8476
8477 * sysdeps/unix/sysv/linux/generic/README: New file.
8478
8479 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8480
8481 [BZ #18138]
8482 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8483 (futex_abstimed_wait)
8484 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8485 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8486 of lll_futex_timed_wait.
8487
8488 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8489
8490 [BZ #17542]
8491 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8492
8493 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8494
8495 [BZ #17090]
8496 [BZ #17620]
8497 [BZ #17621]
8498 [BZ #17628]
8499 * NEWS: Update.
8500 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8501 entries with Static TLS too. Skip entries past the end of the
8502 allocated DTV, from Alan Modra.
8503 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8504 Static TLS DTV entry set up from...
8505 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8506 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8507 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8508 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8509 for Static TLS.
8510 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8511 that the slot we find is associated with the given map before
8512 using its generation count.
8513 * nptl_db/db_info.c: Include ldsodefs.h.
8514 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8515 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8516 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8517 (link_map::l_tls_offset): New struct field.
8518 (dtv_t::counter): Likewise.
8519 (rtld_global): New struct.
8520 (_rtld_global): New rtld variable.
8521 (dl_tls_dtv_slotinfo_list): New rtld global field.
8522 (dtv_slotinfo_list): New struct.
8523 (dtv_slotinfo): Likewise.
8524 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8525 (td_lookup): Rename to...
8526 (td_mod_lookup): ... this. Use new mod parameter instead of
8527 LIBPTHREAD_SO.
8528 * nptl_db/td_thr_tlsbase.c: Include link.h.
8529 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8530 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8531 addresses even if the DTV is out of date or missing them.
8532 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8533 index zero-length arrays.
8534 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8535 (td_lookup): Make it a macro implemented in terms of...
8536 (td_mod_lookup): ... this declaration.
8537 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8538 (DB_MAIN_VARIABLE): Likewise.
8539
8540 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8541
8542 [BZ #18134]
8543 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8544
8545 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8546
8547 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8548
8549 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8550
8551 [BZ #18128]
8552 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8553 (atomic_add, atomic_increment_and_test)
8554 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8555
8556 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8557
8558 * stdlib/setenv.c (__add_to_environ):
8559 Dump core quickly if setenv (..., NULL, ...) is called.
8560
8561 2015-03-13 Roland McGrath <roland@hack.frob.com>
8562
8563 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8564 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8565 all the necessary asm magic in one place.
8566 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8567 using those.
8568
8569 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8570
8571 [BZ #14906]
8572 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8573 traced file mtime. Use consistent log message.
8574 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8575 (register_traced_file): Call install_watches. Always set mtime.
8576 (invalidate_cache): Iterate over all trace files. Call install_watches.
8577 (inotify_check_files): Don't inline. Handle watching parent
8578 directories and configuration file movement in and out.
8579 (handle_inotify_events): New function.
8580 (main_loop_poll): Call handle_inotify_events.
8581 (main_loop_epoll): Likewise.
8582 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8583 (struct traced_file): Use array of inotify fds. Add parent directory,
8584 and basename.
8585 (struct database_dyn): Remove unused file_mtime.
8586 (init_traced_file): New inline function.
8587 (define_traced_file): New macro.
8588 * nss/nss_db/db-init.c: Use define_traced_file.
8589 (_nss_db_init): Use init_traced_file.
8590 * nss/nss_files/files-init.c: Use define_traced_file.
8591 (_nss_files_init): Use init_traced_file.
8592
8593 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8594
8595 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8596 [_LIBC]: Do not include <stdlib.h>.
8597 [!_LIBC] (abort): Remove declaration.
8598 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8599 _FP_STATIC_ASSERT instead of conditionally calling abort.
8600 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8601 (_FP_EXTEND_CNAN): Likewise.
8602 (FP_TRUNC): Likewise.
8603 (__FP_CLZ): Likewise.
8604 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8605
8606 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8607
8608 * manual/string.texi (XPG basename): Fix prototype.
8609
8610 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8611
8612 [BZ #18080]
8613 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8614 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8615 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8616 (__setcontext): Likewise.
8617 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8618 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8619 Call rt_sigprocmask syscall one time to set new signal mask
8620 and retrieve the current signal mask instead of two calls.
8621 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8622 (__swapcontext): Likewise.
8623 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8624 * stdlib/tst-setcontext2.c: New file.
8625
8626 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8627
8628 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8629
8630 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8631
8632 [BZ #18093]
8633 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8634 the wrong size.
8635
8636 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8637
8638 [BZ #18043]
8639 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8640
8641 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8642
8643 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8644 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8645 Remove define.
8646 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8647 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8648 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8649 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8650 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8651 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8652 define.
8653 * nptl_db/td_symbol_list.c (td_lookup): Remove
8654 HAVE_ASM_GLOBAL_DOT_NAME code.
8655 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8656 HAVE_ASM_GLOBAL_DOT_NAME check.
8657 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8658 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8659 (DOT_LABEL): Remove define.
8660 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8661 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8662 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8663 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8664 (__TLS_GET_ADDR): Likewise.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8666 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8667
8668 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8669
8670 [BZ #18111]
8671 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8672 (_FPU_SETCW): Initialize cw from fpsr before storing.
8673 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8674 (fesetexceptflag): Rewrite using fpu_control.h.
8675 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8676
8677 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8678
8679 [BZ #18110]
8680 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8681 asms.
8682 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8683
8684 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8685
8686 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8687 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8688 abort.
8689 (_FP_FMA): Likewise.
8690 (_FP_DIV): Likewise.
8691
8692 2015-03-10 Roland McGrath <roland@hack.frob.com>
8693
8694 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8695 with 0 in that case.
8696 * Makefile (summarize-tests): New canned sequence, factored out of
8697 commands for targets tests and xtests. Display summary lines that
8698 don't start with PASS: or XFAIL: rather than ones that do start with
8699 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8700 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8701 do start with ERROR: or FAIL:.
8702 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8703 (except for [$(build-shared) = yes]).
8704 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8705 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8706 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8707 * nptl/Makefile: Revert 2015-03-04 changes.
8708 [$(CXX) empty] (tests-unsupported): New variable.
8709 * debug/Makefile: Likewise.
8710
8711 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8712 gnulib file. Replace __attribute with __attribute__ throughout.
8713
8714 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8715
8716 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8717
8718 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8719
8720 [BZ #18104]
8721 * math/auto-libm-test-in: Add another test of pow.
8722 * math/auto-libm-test-out: Regenerated.
8723
8724 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8725
8726 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8727 $(config-cflags-nofma).
8728
8729 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8730
8731 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8732 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8733 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8734 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8735 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8736 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8737 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8738 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8739 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8740 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8741 Add comment on closing #endif.
8742
8743 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8744
8745 * posix/wordexp.c (CHAR_IN_SET): New macro.
8746 (parse_param): Use it.
8747
8748 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8749
8750 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8751
8752 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8753
8754 [BZ #18043]
8755 * posix/wordexp.c (parse_param): Fix buffer overflow.
8756 * posix/wordexp-test.c (test_case): Add test case.
8757
8758 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8759
8760 [BZ #18042]
8761 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8762 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8763
8764 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8765
8766 [BZ #18043]
8767 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8768 (do_bz18043): Delete.
8769 (at_page_end): New.
8770 (testit): Refactor to have words at the edge of unreadable page.
8771
8772 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8773
8774 [BZ #16734]
8775 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8776 Cleanup read-only streams as well.
8777 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8778
8779 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8780
8781 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8782 <bits/libc-lockP.h>
8783
8784 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8785
8786 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8787 on [__KERNEL__].
8788 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8789 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8790 * soft-fp/op-common.h (_FP_DECL): Likewise.
8791
8792 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8793
8794 * elf/ifuncdep2.c (global): Replace
8795 __attribute__((visibility("protected"))) with
8796 asm (".protected global").
8797 * elf/ifuncmod1.c (global): Likewise.
8798 * elf/ifuncmod5.c (global): Likewise.
8799
8800 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8801
8802 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8803 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8804
8805 2015-03-06 Roland McGrath <roland@hack.frob.com>
8806
8807 * manual/install.texi (Configuring and compiling):
8808 Document test-wrapper-env-only.
8809 * INSTALL: Regenerated.
8810
8811 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8812
8813 [BZ #18043]
8814 * posix/wordexp.c (parse_param): Fix buffer overflow.
8815 * posix/wordexp-test.c (do_bz18043): Add test case.
8816
8817 2015-03-06 Vincent Bernat <vincent@bernat.im>
8818
8819 * time/tst-strptime2.c (do_test): Ensure failing tests are
8820 reported correctly.
8821 * time/tst-strptime3.c (do_test): Likewise.
8822
8823 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8824
8825 Fix aio_error thread-safety.
8826 * sysdeps/pthread/aio_error.c: New file
8827 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8828 synchronization.
8829
8830 2015-03-06 Florian Weimer <fweimer@redhat.com>
8831
8832 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8833 (group_number, vfprintf): Use it.
8834 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8835 (JUMP, REF): Use it.
8836 (WORK_BUFFER_SIZE): New enum constant.
8837 (process_arg, vfprintf): Use it.
8838
8839 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8840
8841 * manual/errno.texi (Error Messages): Complete example function
8842 by adding missing #define.
8843 (program_invocation_name): Add statement indicating GNU
8844 extension and reference which header file declares the variable.
8845 (program_invocation_short_name): Likewise.
8846
8847 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8848
8849 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8850 compatibility note.
8851
8852 2015-03-05 Roland McGrath <roland@hack.frob.com>
8853
8854 * Makeconfig (test-wrapper-env-only): New variable.
8855 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8856 then use that with $(test-wrapper-env-only) rather than using
8857 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8858
8859 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8860
8861 [BZ #18082]
8862 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8863 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8864 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8865 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8866 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8867 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8868 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8869 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8870 Likewise.
8871 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8872 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8873 Likewise.
8874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8875 Likewise.
8876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8877 Likewise.
8878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8879 Likewise.
8880 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8882 Likewise.
8883 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8884 Likewise.
8885 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8886 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8887
8888 2015-03-04 Roland McGrath <roland@hack.frob.com>
8889
8890 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8891 (ETH_ALEN): New macro.
8892 (struct ether_addr): Use it for length of ether_addr_octet.
8893
8894 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8895 (setdb): Don't call __nss_configure_lookup for "rpc".
8896 (do_test): Don't call test_rpc.
8897 (output_rpcent, test_rpc): Functions moved ...
8898 * sunrpc/test-rpcent.c: ... to this new file.
8899 * sunrpc/Makefile (tests): Add it.
8900
8901 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8902 __xpg_sigpause.
8903 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8904 * nptl/tst-signal6.c: Likewise.
8905 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8906 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8907
8908 * configure.ac (libc_cv_cxx_link_ok): New check.
8909 Reset CXX to empty if it fails to link.
8910 * configure: Regenerated.
8911 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8912 bug-atexit3-lib only if $(CXX) is nonempty.
8913 * nptl/Makefile (tests): Likewise for tst-cancel24.
8914 (tests, tests-static): Likewise for tst-cancel24-static.
8915 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8916 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8917 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8918 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8919
8920 2015-03-04 Andreas Schwab <schwab@suse.de>
8921
8922 [BZ #17631]
8923 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8924 for non-GCC compilers.
8925 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8926 Likewise.
8927
8928 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8929
8930 [BZ #17776]
8931 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8932 integer before bitwise and assembly operations.
8933 (feclearexcept): Likewise.
8934 * math/test-fenvinline.c: New file.
8935 * math/Makefile: Add test-fenvinline test.
8936
8937 2015-03-03 Alan Modra <amodra@gmail.com>
8938
8939 [BZ #16512]
8940 * scripts/localplt.awk: Strip off symbol version.
8941 * NEWS: Mention bug fix.
8942
8943 2015-03-02 Roland McGrath <roland@hack.frob.com>
8944
8945 * sysdeps/pthread/timer_routines.c
8946 (timer_free_list, thread_free_list, thread_active_list): Make static.
8947
8948 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8949
8950 [BZ #17779]
8951 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8952 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8953 Undefine.
8954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8955 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8956 Likewise.
8957 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8958 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8959 Likewise.
8960
8961 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8962
8963 [BZ #18036]
8964 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8965 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8966
8967 2015-03-02 Andreas Schwab <schwab@suse.de>
8968
8969 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8970 variable name.
8971
8972 2015-03-02 Florian Weimer <fweimer@redhat.com>
8973
8974 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8975 Return error status.
8976
8977 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8978
8979 [BZ #15969]
8980 * locale/findlocale.c (_nl_find_locale): Introduce const
8981 version of loc_name and drop unsafe type casts.
8982
8983 2015-02-27 Roland McGrath <roland@hack.frob.com>
8984
8985 * dlfcn/tststatic2.c (main): Converted to ...
8986 (do_test): ... this.
8987 (TEST_FUNCTION): New macro.
8988 Include test-skeleton.c.
8989
8990 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8991
8992 [BZ #17711]
8993 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8994 (tests-pie): Add vismain.
8995 (CFLAGS-vismain.c): New.
8996 * elf/vismain.c: Add comments for PIE requirement.
8997
8998 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8999
9000 [BZ #18046]
9001 [BZ #18047]
9002 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9003 0x1p-56L as threshold for just returning the argument.
9004 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9005 0x1p-32L as threshold for just returning the argument.
9006 * math/auto-libm-test-in: Add more tests of atanh.
9007 * math/auto-libm-test-out: Regenerated.
9008 * sysdeps/i386/fpu/libm-test-ulps: Update.
9009 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9010
9011 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9012
9013 * string/bcopy.c (bcopy): Call memmove for performance.
9014
9015 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9016
9017 * string/bzero.c (__bzero): Call memset for performance.
9018
9019 2015-02-27 John David Anglin <dave.anglin@bell.net>
9020
9021 [BZ #18068]
9022 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9023 to 00100000.
9024
9025 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9026
9027 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9028
9029 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9030
9031 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9032 (__kernel_standard): Use CSTR macro when setting exc.name.
9033 * sysdeps/ieee754/Makefile [$(subdir) = math]
9034 (CFLAGS-k_standard.c): Remove variable.
9035
9036 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9037 setting p and q from "else if" to "else".
9038 (qzero): Likewise.
9039 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9040 (qone): Likewise.
9041 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9042 (qzerof): Likewise.
9043 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9044 (qonef): Likewise.
9045 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9046 (qzero): Likewise.
9047 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9048 (qone): Likewise.
9049
9050 [BZ #18038]
9051 [BZ #18039]
9052 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9053 return pi/2 for arguments below 0x1p-113L.
9054 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9055 return pi/2 for arguments below 0x1p-106L.
9056 * math/auto-libm-test-in: Add more tests of acos.
9057 * math/auto-libm-test-out: Regenerated.
9058
9059 [BZ #16351]
9060 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9061 (MO): New macro.
9062 (__ieee754_asin): Force underflow exception for results with small
9063 absolute value.
9064 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9065 (MO): New macro.
9066 (__ieee754_asinf): Force underflow exception for results with
9067 small absolute value.
9068 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9069 (__ieee754_asin): Force underflow exception for results with small
9070 absolute value.
9071 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9072 (__ieee754_asinf): Force underflow exception for results with
9073 small absolute value.
9074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9075 (__ieee754_asinl): Force underflow exception for results with
9076 small absolute value.
9077 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9078 (__ieee754_asinl): Force underflow exception for results with
9079 small absolute value.
9080 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9081 (__ieee754_asinl): Force underflow exception for results with
9082 small absolute value.
9083 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9084 Include <math.h>.
9085 * math/auto-libm-test-in: Do not mark underflow exceptions as
9086 possibly missing for bug 16351.
9087 * math/auto-libm-test-out: Regenerated.
9088
9089 [BZ #18030]
9090 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9091 of power of 2 down when low part has opposite sign.
9092 * math/libm-test.inc (logb_test_data): Add more tests.
9093
9094 2015-02-26 Andreas Schwab <schwab@suse.de>
9095
9096 [BZ #18032]
9097 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9098 over collating symbol inside a bracket expression. Minor cleanup.
9099 * posix/tst-fnmatch3.c (do_test): Add test case.
9100
9101 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9102
9103 [BZ #18029]
9104 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9105 Adjust exponent of power of 2 down when low part has opposite
9106 sign.
9107 * math/libm-test.inc (ilogb_test_data): Add more tests.
9108
9109 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
9110
9111 [BZ #15969]
9112 * locale/findlocale.c (_nl_find_locale): Fix constness error in
9113 the previous change.
9114
9115 [BZ #15969]
9116 * locale/findlocale.c (_nl_find_locale): Retry archive search
9117 after alias expansion.
9118
9119 2015-02-25 Roland McGrath <roland@hack.frob.com>
9120
9121 * iconv/tst-iconv3.c (main): Converted to ...
9122 (do_test): ... this.
9123 (TEST_FUNCTION): New macro.
9124 Include test-skeleton.c.
9125
9126 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9127 (convert): Make function static.
9128 (test_unalign): Likewise. Add const to argument pointee types.
9129 (main): Replace with static function do_test.
9130 Print "Succeeded." only if RET is zero.
9131 (TEST_FUNCTION): New macro.
9132 Include test-skeleton.c.
9133
9134 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9135 returns a null pointer.
9136
9137 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9138
9139 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9140 to __memcpy_ppc only for static builds.
9141
9142 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9143
9144 [BZ #18020]
9145 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9146 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9147 * math/auto-libm-test-in: Add more tests of asinh.
9148 * math/auto-libm-test-out: Regenerated.
9149 * sysdeps/i386/fpu/libm-test-ulps: Update.
9150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9151
9152 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9153
9154 [BZ #15850]
9155 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9156 and ip6_mtuinfo definitions here.
9157 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9158 in this define too. Update comment.
9159
9160 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9161
9162 * elf/sprof.c (load_shobj): Tweak error message to match others.
9163
9164 2015-02-24 Kevin Easton <kevin@guarana.org>
9165
9166 [BZ #16145] (partial fix)
9167 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9168 to reduce lock contention.
9169
9170 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9171
9172 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9173 (struct timex): Update time comment.
9174 (ADJ_SETOFFSET): Define.
9175
9176 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9177
9178 [BZ #18019]
9179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9180 2**56 not 2**28 as threshold for log (2x) formula.
9181 * math/auto-libm-test-in: Add more tests of acosh.
9182 * math/auto-libm-test-out: Regenerated.
9183 * sysdeps/i386/fpu/libm-test-ulps: Update.
9184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9185
9186 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9187
9188 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9189 parenthesis around the buf assignment.
9190 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9191
9192 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9193
9194 [BZ #16783]
9195 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9196 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9197 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9198 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9199 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9200 * math/libm-test.inc (scalb_test_data): Add more tests.
9201
9202 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9203
9204 [BZ #17916]
9205 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9206 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9207
9208 2015-02-24 Eric Rannaud <e@nanocritical.com>
9209
9210 [BZ #17523]
9211 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9212 * io/bits/fcntl2.h (open): Use it.
9213 (openat): Likewise.
9214 * io/open.c (__libc_open): Likewise.
9215 * io/open64.c (__libc_open64): Likewise.
9216 * io/open64_2.c (__open64_2): Likewise.
9217 * io/open_2.c (__open_2): Likewise.
9218 * io/openat.c (__openat): Likewise.
9219 * io/openat64.c (__openat64): Likewise.
9220 * io/openat64_2.c (__openat64_2): Likewise.
9221 * io/openat_2.c (__openat_2): Likewise.
9222 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9223 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9224 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9225 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9226 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9227 (__open_nocancel): Likewise.
9228 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9229 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9230 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9231
9232 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9233
9234 [BZ #14841]
9235 * resolv/gethnamaddr.c (getanswer): Skip logging if
9236 RES_USE_DNSSEC is set.
9237 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9238
9239 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9240
9241 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9242
9243 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
9244
9245 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9246 201304L, for Unicode 7.
9247
9248 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
9249
9250 [BZ #17836]
9251 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9252 shared library. Add gmon-start.os otherwise.
9253 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9254 $(objpfx)gmon-start.os if builing shared library.
9255 ($(objpfx)g$(static-start-installed-name)): Likewise.
9256
9257 2015-02-23 Andreas Schwab <schwab@suse.de>
9258
9259 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9260
9261 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9262
9263 [BZ #17269]
9264 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9265 (enlarge_userbuf): Likewise.
9266
9267 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9268
9269 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9270 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9271 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9272 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9273
9274 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9275
9276 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9277 expression inside statement expression.
9278
9279 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9280
9281 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9282 <sysdeps/nptl/lowlevellock.h> and remove macros and
9283 functions that are now defined there.
9284 (SYS_futex): Remove.
9285 (lll_compare_and_swap): Remove.
9286 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9287
9288 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9289
9290 [BZ #17999]
9291 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9292 instead of scandirat.
9293 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9294 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9295 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9296 __scandirat.
9297 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9298 (__scandirat): Declare. Use libc_hidden_proto.
9299 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9300 Remove variable.
9301 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9302
9303 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9304
9305 [BZ #15319]
9306 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9307 (MO): New macro.
9308 (__ieee754_atan2): For results with small absolute value, force
9309 underflow exception and remove excess range and precision from
9310 return value.
9311 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9312 (MO): New macro.
9313 (__ieee754_atan2f): For results with small absolute value, force
9314 underflow exception and remove excess range and precision from
9315 return value.
9316 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9317 (MO): New macro.
9318 (__atan): For results with small absolute value, force underflow
9319 exception and remove excess range and precision from return value.
9320 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9321 (MO): New macro.
9322 (__atanf): For results with small absolute value, force underflow
9323 exception and remove excess range and precision from return value.
9324 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9325 <math.h>.
9326 (__ieee754_atan2): Force underflow exception for results with
9327 small absolute value.
9328 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9329 <math_private.h>.
9330 (atan): Force underflow exception for results with small absolute
9331 value.
9332 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9333 (__atanf): Force underflow exception for results with small
9334 absolute value.
9335 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9336 <math.h>.
9337 (__atanl): Force underflow exception for results with small
9338 absolute value.
9339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9340 (__atanl): Force underflow exception for results with small
9341 absolute value.
9342 * sysdeps/x86/fpu/bits/mathinline.h
9343 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9344 (__ieee754_atan2): Only define inline for long double.
9345 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9346 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9347 * math/auto-libm-test-in: Do not mark underflow exceptions as
9348 possibly missing for bug 15319. Add more tests of atan2.
9349 * math/auto-libm-test-out: Regenerated.
9350 * math/libm-test.inc (casin_test_data): Do not mark underflow
9351 exceptions as possibly missing for bug 15319.
9352 (casinh_test_data): Likewise.
9353 * sysdeps/i386/fpu/libm-test-ulps: Update.
9354
9355 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9356
9357 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9358 * sysdeps/mips/bits/endian.h: Fix comments.
9359
9360 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9361
9362 [BZ #17996]
9363 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9364 (hdestroy_r): Likewise.
9365 (hsearch_r): Likewise.
9366 (__hcreate_r): Declare and use libc_hidden_proto.
9367 (__hdestroy_r): Likewise.
9368 (__hsearch_r): Likewise.
9369 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9370 (hcreate): Call __hcreate_r instead of hcreate_r.
9371 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9372 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9373 as weak alias of __hcreate_r.
9374 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9375 __hdestroy_r.
9376 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9377 __hsearch_r.
9378 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9379 Remove variable.
9380 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9381 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9382 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9383 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9384
9385 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9386
9387 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9388 arena_lock into a single arena_get.
9389
9390 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9391
9392 * dl-reloc.c: Inlucde libc-internal.h.
9393 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9394 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9395 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9396 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9397 (grow_heap): Likewise.
9398 * malloc/malloc.c: Include libc-internal.h.
9399 (do_check_malloc): Call powerof2.
9400 (sysmalloc): Use pagesize. Call ALIGN_UP.
9401 (systrim): Use pagesize.
9402 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9403 (__libc_valloc): Use pagesize.
9404 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9405
9406 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9407
9408 [BZ #17991]
9409 * include/sys/resource.h (__getrlimit64): Declare. Use
9410 libc_hidden_proto.
9411 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9412 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9413 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9414 getrlimit64.
9415 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9416 __getrlimit64.
9417 [!getrlimit64] (getrlimit64): Define as weak alias of
9418 __getrlimit64. Use libc_hidden_weak.
9419 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9420 using __getrlimit64 not __new_getrlimit64.
9421 (__GI_getrlimit64): Likewise.
9422 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9423 Likewise.
9424 (__GI_getrlimit64): Likewise.
9425 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9427 (getrlimit): Add __getrlimit64 alias.
9428 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9429 Likewise.
9430 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9431 Remove variable.
9432 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9433 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9434
9435 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9436
9437 * libio/fileops.c: Add missing sys/mman.h
9438 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9439
9440 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9441
9442 * manual/math.texi (Errors in Math Functions): Clarify goals
9443 regarding inexact and underflow exceptions.
9444
9445 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9446
9447 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9448 * sysdeps/mips/memset.S: Ditto.
9449
9450 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9451
9452 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9453
9454 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9455
9456 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9457 (__v1longjmp): Remove versioned symbol.
9458 (__v1siglongjmp): Remove alias and versioned symbol.
9459 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9460 (__v2siglongjmp): Likewise.
9461
9462 2015-02-16 Torvald Riegel <triegel@redhat.com>
9463
9464 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9465
9466 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9467
9468 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9469
9470 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9471
9472 [BZ #17987]
9473 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9474 zero result does not depend on the sign resulting from
9475 subtraction.
9476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9477 Likewise.
9478 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9479 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9480 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9481 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9482 * math/libm-test.inc (remquo_test_data): Add more tests.
9483
9484 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9485
9486 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9487 Problem reported by J William Piggott.
9488
9489 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9490
9491 [BZ #17978]
9492 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9493 products 4 * y and 2 * y where those would overflow.
9494 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9495 Likewise.
9496 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9497 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9499 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9500 * math/libm-test.inc (remquo_test_data): Add more tests.
9501
9502 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9503
9504 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9505 [defined _COMPILING_NEWLIB].
9506 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9507 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9508
9509 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9510 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9511
9512 2015-02-16 Torvald Riegel <triegel@redhat.com>
9513
9514 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9515 acquired.
9516
9517 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9518
9519 [BZ #17792]
9520 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9521 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9522 HOST_STACK_END_ADDR): Likewise.
9523
9524 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9525
9526 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9527 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9528 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9529
9530 2015-02-13 Roland McGrath <roland@hack.frob.com>
9531
9532 * sysdeps/generic/c++-types.data: New file.
9533 * sysdeps/generic/ld.abilist: New file.
9534 * sysdeps/generic/libBrokenLocale.abilist: New file.
9535 * sysdeps/generic/libanl.abilist: New file.
9536 * sysdeps/generic/libc.abilist: New file.
9537 * sysdeps/generic/libcrypt.abilist: New file.
9538 * sysdeps/generic/libdl.abilist: New file.
9539 * sysdeps/generic/libm.abilist: New file.
9540 * sysdeps/generic/libpthread.abilist: New file.
9541 * sysdeps/generic/libresolv.abilist: New file.
9542 * sysdeps/generic/librt.abilist: New file.
9543
9544 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9545
9546 [BZ #17569]
9547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9548 Compute absolute value of x as modified by fmod, not original
9549 value of x.
9550 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9551 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9552 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9553 RUN_TEST_ffI_f1_mod8.
9554 (remquo_test_data): Add more tests.
9555
9556 2015-02-13 Roland McGrath <roland@hack.frob.com>
9557
9558 * sysdeps/init_array/pt-crti.S: New file.
9559
9560 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9561
9562 [BZ #17967]
9563 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9564 __builtin_fmaf instead of relying on contraction of a * b + c.
9565
9566 2015-02-12 J William Piggott <elseifthen@gmx.com>
9567
9568 [BZ #17969]
9569 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9570 node.
9571
9572 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9573
9574 [BZ #17964]
9575 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9576 __builtin_fma instead of relying on contraction of a * b + c.
9577
9578 2015-02-12 Roland McGrath <roland@hack.frob.com>
9579
9580 * Makeconfig (ASFLAGS): Add -Werror=undef.
9581 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9582 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9583 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9584
9585 * Makeconfig (after-link): New variable.
9586 (+link-pie, +link-pie-tests): Use it.
9587 (+link-static, +link-static-tests): Likewise.
9588 (+link, +link-tests): Likewise.
9589 * Makerules (build-module, build-module-asneeded): Likewise.
9590 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9591 Likewise.
9592 * elf/Makefile ($(objpfx)ld.so): Likewise.
9593
9594 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9595
9596 [BZ #17965]
9597 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9598 both struct timeval and struct timespec.
9599
9600 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9601
9602 [BZ #16560]
9603 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9604 and redefine.
9605 (__ieee754_exp2l): Do not multiply small fractional parts by
9606 M_LN2l.
9607 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9608 small argument.
9609 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9610 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9611 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9612 * math/auto-libm-test-in: Add more tests of exp2.
9613 * math/auto-libm-test-out: Regenerated.
9614
9615 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9616
9617 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9618 unaligned path.
9619
9620 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9621
9622 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9623 little endian.
9624
9625 2015-02-12 Andreas Schwab <schwab@suse.de>
9626
9627 [BZ #15790]
9628 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9629 Filter out elision flags from value returned in kind.
9630 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9631 * nptl/tst-pthread-mutexattr.c: New file.
9632
9633 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9634
9635 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9636 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9637 into gnu-gnu, and update comment to refer to abi-tags.
9638
9639 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9640
9641 [BZ #15467]
9642 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9643 (__sincos): Set errno to EDOM for infinite argument.
9644 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9645 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9646 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9647 (__sincosl): Set errno to EDOM for infinite argument.
9648 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9649 (__sincosl): Set errno to EDOM for infinite argument.
9650 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9651 (__sincosl): Set errno to EDOM for infinite argument.
9652 * math/libm-test.inc (sincos_test_data): Test errno setting.
9653
9654 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9655
9656 * string/strxfrm_l.c: Remove #define STRCMP.
9657 * string/strcoll_l.c: Remove #define STRLEN.
9658 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9659 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9660
9661 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9662
9663 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9664 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9665 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9666 * sysdeps/mips/mips64/Makefile: ... here.
9667 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9668 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9669 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9670 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9671 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9672 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9673 * sysdeps/mips/mips64/n64/Implies: Likewise.
9674
9675 2015-02-10 Roland McGrath <roland@hack.frob.com>
9676
9677 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9678 <sys/time.h>, <string.h>, and <errno.h>.
9679 (dest_offset, dest_address, value, zero): Remove unused variables.
9680 (ldouble): Remove typedef.
9681 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9682 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9683 1). Fix code style.
9684 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9685 (check): Function removed.
9686 (CHECK): New macro.
9687 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9688 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9689 Don't call set_sigaction_FP and remove_sigaction_FP here.
9690 (ldouble_test): Just use 'long double' as macro argument, no need for
9691 the 'ldouble' typedef.
9692 (do_test): Set up SIGFPE handler at start, using plain signal rather
9693 than sigaction. Fix code style.
9694
9695 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9696
9697 [BZ #17949]
9698 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9699 jump label.
9700
9701 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9702
9703 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9704 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9705
9706 * sysdeps/powerpc/configure.ac: Remove file.
9707 * sysdeps/powerpc/configure: Likewise.
9708
9709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9710 [sysdep_routines]: Remove wordcopy-power6 object.
9711 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9712 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9713 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9714 (__memmove_ppc32): Likewise.
9715 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9716 file.
9717 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9718 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9719 Remove preprocessor.
9720
9721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9722 [sysdep_routines]: Remove wide chars objects.
9723 [wcsmbs]: New rule for wide char objects.
9724
9725 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9726 Remove wordcopy-power6 obejct.
9727 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9728 Use local call for wordcopy and memcpy symbols.
9729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9731 implementation for loader.
9732 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9733
9734 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9735 Remove wordcopy-power7 object.
9736 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9737 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9738 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9739 (_wordcopy_fwd_dest_aligned): Likewise.
9740 (_wordcopy_bwd_aligned): Likewise.
9741 (_wordcopy_bwd_dest_aligned): Likewise.
9742
9743 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9744 Rewrite to call __memmove_ppc instead of include default
9745 implementation.
9746
9747 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9748 Remove wide chars objects.
9749 [wcsmbs]: New rule for wide char objects.
9750
9751 2015-02-09 Andreas Schwab <schwab@suse.de>
9752
9753 [BZ #17912]
9754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9755 in terms of __O_DIRECTORY.
9756
9757 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9758
9759 * time/getdate.c: Include <stdbool.h>.
9760 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9761 call PTR_MANGLE.
9762 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9763 PTR_DEMANGLE.
9764
9765 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9766
9767 Add ersatz _Static_assert on older C hosts
9768 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9769 pre-C11 C platform that is not known to support _Static_assert.
9770
9771 2015-02-07 Richard Braun <rbraun@sceen.net>
9772
9773 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9774 sigstate.
9775 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9776
9777 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9778
9779 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9780 priority against unexistent AIO_PRIO_DELTA_MAX.
9781 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9782 instead of int.
9783 * misc/fchflags.c (fchflags): Likewise.
9784 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9785 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9786 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9787 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9788 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9789 Declare macros.
9790 [__USE_MISC] (chflags, fchflags): Declare functions.
9791 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9792 EINVAL when nfds is greater than FD_SETSIZE.
9793 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9794 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9795 45.
9796 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9797 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9798 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9799 MACH_RCV_TIMED_OUT.
9800 * hurd/hurd/signal.h (_hurd_self_sigstate,
9801 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9802 Explicit casts from void *.
9803 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9804 * abi-tags: Rename gnu-gnu os into gnu.
9805
9806 [BZ #4719]
9807 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9808 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9809 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9810 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9811 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9812 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9813
9814 [BZ #17944]
9815 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9816 duplicates ADDR->sun_path with sockaddr LEN limitation.
9817 * sysdeps/mach/hurd/connect.c: Include <string.h>
9818 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9819 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9820 * sysdeps/mach/hurd/sendto.c: Likewise.
9821 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9822 implementing it by hand.
9823
9824 2015-02-06 Roland McGrath <roland@hack.frob.com>
9825
9826 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9827 Use sfi_breg on ldr.
9828 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9829 Likewise.
9830
9831 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9832 it's defined.
9833 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9834 Test SIGSETXID only if it's defined.
9835
9836 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9837
9838 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9839 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9840
9841 * nptl/tst-align2.c: Moved ...
9842 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9843 * nptl/Makefile (tests): Remove tst-align2.
9844 * sysdeps/unix/sysv/linux/Makefile
9845 [$(subdir) = nptl] (tests): Add tst-align-clone.
9846 * nptl/tst-getpid1.c: Moved ...
9847 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9848 * nptl/tst-getpid2.c: Moved ...
9849 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9850 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9851 * sysdeps/unix/sysv/linux/Makefile
9852 [$(subdir) = nptl] (tests): ... here.
9853 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9854 * sysdeps/unix/sysv/linux/Makefile
9855 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9856
9857 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9858 Drop trailing \n from perror argument. Use return rather than exit.
9859
9860 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9861 on [SA_SIGINFO].
9862 * nptl/tst-cancel21.c (do_test): Likewise.
9863 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9864 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9865 [!SA_SIGINFO]: Make it a stub test.
9866
9867 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9868 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9869
9870 * posix/tst-getlogin.c: Move to ...
9871 * login/tst-getlogin.c: ... here.
9872 * posix/Makefile (tests): Move tst-getlogin to ...
9873 * login/Makefile (tests): ... here.
9874
9875 * libio/tst-atime.c (do_test): Move local variables SV and E
9876 inside [ST_NOATIME] conditional.
9877
9878 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9879
9880 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9881
9882 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9883 (wait_code): New function replaces macro.
9884 Call nanosleep rather than syscall.
9885
9886 * nptl/pt-system.c: Rewritten. Put everything under
9887 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9888 Use IFUNC to redirect when possible.
9889
9890 * nptl/pt-longjmp.c: Rewritten. Put everything under
9891 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9892 Use IFUNC to redirect when possible.
9893
9894 * nptl/pt-fork.c: Rewritten. Put everything under
9895 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9896 Use IFUNC to redirect when possible.
9897 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9898
9899 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9900 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9901 unconditionally nowadays. This included the only reference to
9902 __vdso_clock_gettime that appears outside libc proper.
9903 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9904 Remove version set (containing only __vdso_clock_gettime).
9905 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9906 Add attribute_hidden.
9907 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9908 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9909 libc_hidden_data_def.
9910 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9911 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9912
9913 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9914 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9915 setrpcent, and getrpcport to ...
9916 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9917 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9918 getrpcbynumber_r, and getrpcent_r to ...
9919 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9920 * inet/getrpcbyname.c: Moved ...
9921 * sunrpc/getrpcbyname.c: ... here.
9922 * inet/getrpcbyname_r.c: Moved ...
9923 * sunrpc/getrpcbyname_r.c: ... here.
9924 * inet/getrpcbynumber.c: Moved ...
9925 * sunrpc/getrpcbynumber.c: ... here.
9926 * inet/getrpcbynumber_r.c: Moved ...
9927 * sunrpc/getrpcbynumber_r.c: ... here.
9928 * inet/getrpcent.c: Moved ...
9929 * sunrpc/getrpcent.c: ... here.
9930 * inet/getrpcent_r.c: Moved ...
9931 * sunrpc/getrpcent_r.c: ... here.
9932 * inet/Makefile (routines): Move those to ...
9933 * sunrpc/Makefile (routines): ... here.
9934 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9935 the $(subdirs) list.
9936 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9937 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9938 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9939 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9940
9941 * elf/Makefile (routines): Include $(all-dl-routines), not just
9942 $(dl-routines).
9943 (rtld-routines): Likewise. Use = rather than :=.
9944 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9945 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9946 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9947 * sysdeps/arm/Makefile: Likewise.
9948 * sysdeps/i386/Makefile: Likewise.
9949 * sysdeps/x86_64/Makefile: Likewise.
9950 * sysdeps/hppa/Makefile [$(subdir) = elf]
9951 (sysdep_routines, sysdep-rtld-routines): Don't add
9952 $(sysdep-dl-routines) to these.
9953 * sysdeps/ia64/Makefile: Likewise.
9954 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9955 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9956 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9957 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9958 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9959 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9960 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9961 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9962 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9963 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9964 these; sysdep-dl-routines alone is enough.
9965
9966 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9967
9968 [BZ #17932]
9969 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9970 where multiplication results in zero and third argument is finite
9971 and nonzero.
9972 * math/auto-libm-test-in: Add more tests of fma.
9973 * math/auto-libm-test-out: Regenerated.
9974
9975 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9976 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9977 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9978 (_FP_CMP_EQ): Likewise.
9979 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9980
9981 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9982 extra argument CHECK_NAN. Redefine as wrapper around
9983 _FP_EXTEND_CNAN.
9984
9985 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9986
9987 * version.h (RELEASE): Set to "stable".
9988 (VERSION): Set to "2.21"
9989 * include/features.h (__GLIBC_MINOR__): Set to 21.
9990
9991 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9992
9993 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9994 Paul Eggert <eggert@cs.ucla.edu>
9995
9996 [BZ #16618]
9997 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9998 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9999 size in bytes. Store needed elements in wpmax. Use needed size
10000 in bytes for extend_alloca.
10001
10002 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
10003
10004 * manual/install.texi: Latest tested versions are GCC 4.9.2,
10005 binutls 2.25, and texinfo 5.2.
10006 * INSTALL: Regenerate.
10007 * sysdeps/nios2/configure: Regenerate.
10008 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10009 * manual/contrib.texi: Update.
10010 * po/be.po: Update.
10011 * po/bg.po: Update.
10012 * po/ca.po: Update.
10013 * po/cs.po: Update.
10014 * po/da.po: Update.
10015 * po/de.po: Update.
10016 * po/el.po: Update.
10017 * po/eo.po: Update.
10018 * po/es.po: Update.
10019 * po/fi.po: Update.
10020 * po/fr.po: Update.
10021 * po/gl.po: Update.
10022 * po/hr.po: Update.
10023 * po/hu.po: Update.
10024 * po/ia.po: Update.
10025 * po/id.po: Update.
10026 * po/it.po: Update.
10027 * po/ja.po: Update.
10028 * po/ko.po: Update.
10029 * po/lt.po: Update.
10030 * po/nb.po: Update.
10031 * po/nl.po: Update.
10032 * po/pl.po: Update.
10033 * po/pt_BR.po: Update.
10034 * po/ru.po: Update.
10035 * po/rw.po: Update.
10036 * po/sk.po: Update.
10037 * po/sl.po: Update.
10038 * po/sv.po: Update.
10039 * po/tr.po: Update.
10040 * po/uk.po: Update.
10041 * po/vi.po: Update.
10042 * po/zh_CN.po: Update.
10043 * po/zh_TW.po: Update.
10044
10045 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10046 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10047 * sysdeps/hppa/dl-irel.h: Remove #warning.
10048 * sysdeps/hppa/entry.h: Provide prototype for
10049 __canonicalize_funcptr_for_compare and cast argument.
10050 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10051 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10052 * sysdeps/hppa/sotruss-lib.c: New file.
10053 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10054 (atomic_compare_and_exchange_val_acq): Use __typeof__.
10055 (atomic_compare_and_exchange_bool_acq): Likewise.
10056 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10057 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10058
10059 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10060 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10061 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10062
10063 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10064
10065 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10066 called function in non-PIC case.
10067
10068 2015-01-31 David S. Miller <davem@davemloft.net>
10069
10070 * sysdeps/sparc/sparc32/bits/atomic.h
10071 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10072 unlock not after it.
10073 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10074 volatile register usage warnings from the compiler.
10075
10076 * sysdeps/sparc/nptl/sem_init.c: Delete.
10077 * sysdeps/sparc/nptl/sem_post.c: Delete.
10078 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10079 * sysdeps/sparc/nptl/sem_wait.c: Delete.
10080 * sysdeps/sparc/sparc32/sem_init.c: New file.
10081 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10082 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10083 padding explicitly initialized.
10084 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10085 padding for in-semaphore spinlock.
10086 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10087 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10088 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10089 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10090 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10091 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10092 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10093 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10094 version.
10095 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10096 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10097
10098 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
10099
10100 [BZ #17801]
10101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10102 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10103 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10104 New.
10105 (index_AVX_Fast_Unaligned_Load): Likewise.
10106 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10107 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10108 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10109 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10110 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10111 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10112 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10113 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10114 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10115
10116 2015-01-29 Andreas Schwab <schwab@suse.de>
10117
10118 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10119
10120 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10121
10122 [BZ #17892]
10123 * nscd/nscd_stat.c (send_stats): Initialize DATA.
10124
10125 2015-01-28 Martin Sebor <msebor@redhat.com>
10126
10127 * math/README.libm-test: Clarify. Add "How to read the test output."
10128
10129 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
10130
10131 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10132 Define to 0.
10133
10134 2015-01-28 Joseph Myers <joseph@codesourcery.com>
10135
10136 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10137 (__HAVE_64B_ATOMICS): Define to 0.
10138
10139 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10140
10141 [BZ #17885]
10142 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10143 value to set as new flag.
10144
10145 [BZ #16576]
10146 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10147 and use _ARCH_PPCSQ instead.
10148 (__ieee754_sqrt): Likewise.
10149 (__ieee754_sqrtf): Likewise.
10150 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10151 _ARCH_PPCSQ is defined.
10152 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10153 fsqrt instruction.
10154 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10155 _ARCH_PPCSQ is defined.
10156 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10157 fsqrts instruction.
10158 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10159
10160 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10161
10162 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10163 bug (GCC BZ #64739).
10164
10165 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10166
10167 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10168 Mark _retval as used.
10169 (lll_futex_wake_unlock): Likewise.
10170 (lll_futex_timed_wait_requeue_pi): Likewise.
10171
10172 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10173 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10174 register variables.
10175
10176 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10177 libm_hidden_def.
10178
10179 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10180 (__bswap_64): Mark as __always_inline.
10181
10182 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10183
10184 [BZ #15378]
10185 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10186 when none of the search directories exist.
10187
10188 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10189
10190 [BZ #17869]
10191 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10192 power8 in .machine directive.
10193
10194 [BZ #17868]
10195 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10196 set dependency from opd value.
10197
10198 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10199
10200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10201 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10202 architecture.
10203
10204 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10205
10206 [BZ #17870]
10207 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10208 with uint64_t.
10209 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10210 (uint64_t) 1.
10211 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10212 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10213 Replace 1UL with (uint64_t) 1.
10214 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10215 int with uint64_t.
10216
10217 2015-01-23 Roland McGrath <roland@hack.frob.com>
10218
10219 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10220 (if_freenameindex): Likewise.
10221
10222 * resource/getrlimit64.c: Add missing libc_hidden_def.
10223
10224 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10225
10226 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10227 __label__.
10228 (_FP_FMA): Likewise.
10229 (_FP_TO_INT_ROUND): Likewise.
10230 (_FP_FROM_INT): Likewise.
10231
10232 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10233
10234 [BZ #16418]
10235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10236 Make code racy and cancel safe.
10237
10238 2015-01-21 Carlos O'Donell <carlos@redhat.com>
10239
10240 * sysdeps/arm/unwind-resume.h: Fix copyright year.
10241 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10242 attribution.
10243
10244 * pwd/tst-getpw.c: Rewrite.
10245
10246 [BZ #17702]
10247 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10248 (modules-names): Add moddummy1 and moddummy2.
10249 ($(objpfx)tst-rec-dlopen): Define.
10250 * dlfcn/moddummy1.c: New file.
10251 * dlfcn/moddummy2.c: New file.
10252 * dlfcn/tst-rec-dlopen.c: New file.
10253 * elf/dl-cache.c (_dl_load_cache_lookup):
10254 Return char*. Copy result with alloca/strcpy/strdup.
10255 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10256 returns char*. Free cached. If not saving realname
10257 free cached.
10258 * elf/dl-open.c (dl_open_worker): Do not assert that
10259 _r_debug->r_state is RT_CONSISTENT.
10260 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10261 returns char*.
10262
10263 2015-01-21 Torvald Riegel <triegel@redhat.com>
10264 Carlos O'Donell <carlos@redhat.com>
10265
10266 [BZ #12674]
10267 * nptl/sem_waitcommon.c: New file.
10268 * nptl/sem_wait.c: Include sem_waitcommon.c.
10269 (__sem_wait_cleanup, do_futex_wait): Remove.
10270 (__new_sem_wait): Adapt.
10271 (__new_sem_trywait): New function.
10272 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10273 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10274 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10275 (sem_timedwait): Adapt.
10276 * nptl/sem_post.c (__new_sem_post): Adapt.
10277 (futex_wake): New function.
10278 (__old_sem_post): Add release MO fence.
10279 * nptl/sem_open.c (sem_open): Adapt.
10280 * nptl/sem_init.c (__new_sem_init): Adapt.
10281 (futex_private_if_supported): New function.
10282 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10283 (__old_sem_getvalue): Add using previous code.
10284 * sysdeps/nptl/internaltypes.h: Adapt.
10285 * nptl/tst-sem13.c (do_test): Adapt.
10286 * nptl/tst-sem11.c (main): Adapt.
10287 * nptl/sem_trywait.c: Remove.
10288 * nptl/DESIGN-sem.txt: Remove.
10289 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10290 (gen-as-const-headers): Remove structsem.sym.
10291 * nptl/structsem.sym: Remove.
10292 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10293 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10294 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10295 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10296 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10297 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10298 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10299 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10300 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10301 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10302 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10303 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10304 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10305 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10306 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10307 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10308 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10309 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10310 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10311 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10312 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10313 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10314
10315 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10316
10317 * INSTALL: Regenerated.
10318
10319 * po/libc.pot: Regenerated.
10320
10321 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10322 Sandra Loosemore <sandra@codesourcery.com>
10323 Andrew Jenner <andrew@codesourcery.com>
10324 Joseph Myers <joseph@codesourcery.com>
10325 Nathan Sidwell <nathan@codesourcery.com>
10326
10327 * NEWS: Mention new Nios II port.
10328 * sysdeps/nios2/Implies: New file.
10329 * sysdeps/nios2/Makefile: New file.
10330 * sysdeps/nios2/Subdirs: New file.
10331 * sysdeps/nios2/Versions: New file.
10332 * sysdeps/nios2/__longjmp.S: New file.
10333 * sysdeps/nios2/abort-instr.h: New file.
10334 * sysdeps/nios2/backtrace.c: New file.
10335 * sysdeps/nios2/bits/endian.h: New file.
10336 * sysdeps/nios2/bits/fenv.h: New file.
10337 * sysdeps/nios2/bits/link.h: New file.
10338 * sysdeps/nios2/bits/setjmp.h: New file.
10339 * sysdeps/nios2/bsd-_setjmp.S: New file.
10340 * sysdeps/nios2/bsd-setjmp.S: New file.
10341 * sysdeps/nios2/configure: New generated file.
10342 * sysdeps/nios2/configure.ac: New file.
10343 * sysdeps/nios2/crti.S: New file.
10344 * sysdeps/nios2/crtn.S: New file.
10345 * sysdeps/nios2/dl-init.c: New file.
10346 * sysdeps/nios2/dl-machine.h: New file.
10347 * sysdeps/nios2/dl-sysdep.h: New file.
10348 * sysdeps/nios2/dl-tls.h: New file.
10349 * sysdeps/nios2/dl-trampoline.S: New file.
10350 * sysdeps/nios2/gccframe.h: New file.
10351 * sysdeps/nios2/gmp-mparam.h: New file.
10352 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10353 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10354 * sysdeps/nios2/ldsodefs.h: New file.
10355 * sysdeps/nios2/libc-tls.c: New file.
10356 * sysdeps/nios2/libm-test-ulps: New file.
10357 * sysdeps/nios2/machine-gmon.h: New file.
10358 * sysdeps/nios2/math-tests.h: New file.
10359 * sysdeps/nios2/math_private.h: New file.
10360 * sysdeps/nios2/memusage.h: New file.
10361 * sysdeps/nios2/nptl/Makefile: New file.
10362 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10363 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10364 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10365 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10366 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10367 * sysdeps/nios2/nptl/tls.h: New file.
10368 * sysdeps/nios2/preconfigure: New file.
10369 * sysdeps/nios2/s_fma.c: New file.
10370 * sysdeps/nios2/s_fmaf.c: New file.
10371 * sysdeps/nios2/setjmp.S: New file.
10372 * sysdeps/nios2/sfp-machine.h: New file.
10373 * sysdeps/nios2/sotruss-lib.c: New file.
10374 * sysdeps/nios2/stackguard-macros.h: New file.
10375 * sysdeps/nios2/stackinfo.h: New file.
10376 * sysdeps/nios2/start.S: New file.
10377 * sysdeps/nios2/sysdep.h: New file.
10378 * sysdeps/nios2/tls-macros.h: New file.
10379 * sysdeps/nios2/tst-audit.h: New file.
10380 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10381 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10382 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10383 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10384 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10385 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10386 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10387 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10388 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10389 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10390 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10391 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10392 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10393 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10394 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10395 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10396 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10397 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10398 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10399 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10400 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10401 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10402 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10403 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10404 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10405 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10406 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10407 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10408 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10409 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10410 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10411 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10412 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10413 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10414 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10415 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10416 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10417 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10418 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10419 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10420 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10421 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10422 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10423 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10424
10425 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10426
10427 [BZ #17844]
10428 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10429 (getutent): Use weak_alias in non SHARED case
10430 and default_symbol_version in SHARED case.
10431 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10432 (getutent_r, pututline): Likewise.
10433 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10434 (getutid): Likewise.
10435 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10436 (getutid_r): Likewise.
10437 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10438 (getutline): Likewise.
10439 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10440 (getutline_r): Likewise.
10441 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10442 (updwtmp): Likewise.
10443
10444 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10445
10446 [BZ #17848]
10447 * sysdeps/s390/s390-32/memcmp.S
10448 (memcmp_g5): Rename to __memcmp_g5.
10449 * sysdeps/s390/s390-32/memcpy.S
10450 (memcpy_g5): Rename to __memcpy_g5.
10451 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10452 (memcpy_mvcle) Rename to __memcpy_mvcle.
10453 * sysdeps/s390/s390-32/memset.S
10454 (memset_g5): Rename to __memset_g5.
10455 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10456 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10457 and use prefixed functions.
10458 * sysdeps/s390/s390-32/multiarch/memcmp.S
10459 (memcmp_z196): Rename to __memcmp_z196.
10460 (memcmp_z10): Rename to __memcmp_z10.
10461 (memcmp): Set alias to __memcmp_g5.
10462 (bcmp): Set alias to __memcmp_g5.
10463 * sysdeps/s390/s390-32/multiarch/memcpy.S
10464 (memcpy_z196): Rename to __memcpy_z196.
10465 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10466 (memcpy_z10): Rename to __memcpy_z10.
10467 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10468 (memcpy): Set alias to __memcpy_g5.
10469 * sysdeps/s390/s390-32/multiarch/memset.S
10470 (memset_z196): Rename to __memset_z196.
10471 Jump to __memset_mvcle instead of memset_mvcle.
10472 (memset_z10): Rename to __memset_z10.
10473 Jump to __memset_mvcle instead of memset_mvcle.
10474 (memset_mvcle) Rename to __memset_mvcle.
10475 (memset): Set alias to __memset_g5.
10476 * sysdeps/s390/s390-64/memcmp.S
10477 (memcmp_z900): Rename to __memcmp_z900.
10478 * sysdeps/s390/s390-64/memcpy.S
10479 (memcpy_z900): Rename to __memcpy_z900.
10480 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10481 (memcpy_mvcle) Rename to __memcpy_mvcle.
10482 * sysdeps/s390/s390-64/memset.S
10483 (memset_z900): Rename to __memset_z900.
10484 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10485 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10486 and use prefixed functions.
10487 * sysdeps/s390/s390-64/multiarch/memcmp.S
10488 (memcmp_z196): Rename to __memcmp_z196.
10489 (memcmp_z10): Rename to __memcmp_z10.
10490 (memcmp): Set alias to __memcmp_z900.
10491 (bcmp): Set alias to __memcmp_z900.
10492 * sysdeps/s390/s390-64/multiarch/memcpy.S
10493 (memcpy_z196): Rename to __memcpy_z196.
10494 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10495 (memcpy_z10): Rename to __memcpy_z10.
10496 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10497 (memcpy): Set alias to __memcpy_z900.
10498 * sysdeps/s390/s390-64/multiarch/memset.S
10499 (memset_z196): Rename to __memset_z196.
10500 Jump to __memset_mvcle instead of memset_mvcle.
10501 (memset_z10): Rename to __memset_z10.
10502 Jump to __memset_mvcle instead of memset_mvcle.
10503 (memset_mvcle) Rename to __memset_mvcle.
10504 (memset): Set alias to __memset_z900.
10505
10506 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10507
10508 [BZ #17748]
10509 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10510 __fesetenv instead of fesetenv.
10511
10512 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10513
10514 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10515 macro.
10516
10517 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10518
10519 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10520 regression on LE.
10521
10522 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10523 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10524 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10525 strncmp-power8 object.
10526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10527 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10528 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10529 * NEWS: Update.
10530
10531 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10532 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10533
10534 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10535 trailing byte check.
10536
10537 2015-01-13 David S. Miller <davem@davemloft.net>
10538
10539 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10540
10541 2015-01-13 Roland McGrath <roland@hack.frob.com>
10542
10543 * login/logout.c (logout): Use memset rather than bzero.
10544 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10545 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10546 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10547 (_gethtbyaddr): Likewise.
10548 * locale/programs/simple-hash.c (bcopy): Macro removed.
10549
10550 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10551
10552 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10553 Add strcmp-power8 object.
10554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10555 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10556 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10557 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10558 __strcmp_power8 implementation.
10559 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10560 * NEWS: Update.
10561
10562 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10563 Add strncpy-power8 and stpncpy-power8 objects.
10564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10565 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10566 implementations.
10567 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10568 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10569 __stpncpy_power8 implementation.
10570 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10571 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10572 __strncpy_power8 implementation.
10573 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10574 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10575 * NEWS: Update.
10576
10577 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10578 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10579 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10580
10581 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10582 strncat-power8 object.
10583 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10584 __strcat_power8 implementation.
10585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10586 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10587 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10588 optimized strcat for power8.
10589
10590 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10591 strcpy-power8 and stpcpy-power8 objects.
10592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10593 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10594 implementations.
10595 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10596 multiarch stpcpy implementation for POWER8.
10597 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10598 multiarch strcpy implementation for POWER8.
10599 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10600 __strcpy_power8 function.
10601 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10602 stpcpy for POWER8.
10603 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10604 strcpy for POWER8.
10605 * NEWS: Update.
10606
10607 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10608
10609 [BZ #16009]
10610 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10611 weights and rules. Use do_xfrm_cached if data fits in cache,
10612 do_xfrm otherwise. Moved former main loop to...
10613 * (do_xfrm_cached): New function.
10614 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10615 find_idx, find_position and stack_push.
10616 * (find_idx): New function.
10617 * (find_position): Likewise.
10618 * localedata/sort-test.sh: Added test run for do_xfrm.
10619 * localedata/xfrm-test.c (main): Added command line option
10620 -nocache to run the test with strings that are too large for
10621 the STRXFRM cache.
10622
10623 2015-01-13 Torvald Riegel <triegel@redhat.com>
10624
10625 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10626 variable to lll_futex_wake call, not the value itself.
10627
10628 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10629
10630 [BZ #17803]
10631 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10632 twom64. Adjust value to 0x1p-64L.
10633 (__scalblnl): Only return standard underflowing result for K <=
10634 -64 not K <= -63; adjust exponent for underflowing result by 64
10635 not 63.
10636 * math/libm-test.inc (scalbn_test_data): Add more tests.
10637 (scalbln_test_data): Likewise.
10638
10639 [BZ #17834]
10640 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10641 0x1p63L.
10642 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10643 not HX.
10644 * math/libm-test.inc (scalbn_test_data): Add more tests.
10645 (scalbln_test_data): Likewise.
10646
10647 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10648 Stefani Seibold <stefani@seibold.net>
10649
10650 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10651 (sysdep_routines): Add dl-vdso here, ...
10652 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10653 (sysdep_routines): ... not here.
10654 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10655 fallback when vDSO is not presented.
10656 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10657 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10658 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10659 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10660 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10661 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10662 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10663 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10664 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10665 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10666 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10667 fallback configurable symbol when vDSO is not available.
10668 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10669 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10670 be able to redefine fallback symbol when vDSO is not available.
10671 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10672 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10673
10674 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10675
10676 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10677 (TLS_INIT_TP): Add tm_capable initialization.
10678 (TLS_DEFINE_INIT_TP): Likewise.
10679 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10680 TCB.
10681 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10682 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10683 calculation.
10684 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10685 transactoion is lock elision is built and TCB tm_capable is set.
10686 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10688 (INTERNAL_SYSCALL_NCS): Likewise.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10690 (INTERNAL_SYSCALL_NCS): Likewise.
10691 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10692
10693 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10694 for powerpc.
10695 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10696 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10697 and remove it for 32 bits case.
10698 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10699 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10700 initialization.
10701 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10702 Disable lock elision with rdlocks if elision is not available.
10703
10704 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10705 (sysdep_routines): Add lock elision objects.
10706 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10707 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10708 [pthread_mutex_t] (__elision): Add field.
10709 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10710 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10711 elision definitions for powerpc.
10712 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10713 implementation of lock elision for powerpc.
10714 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10715 implementation of timed lock elision for powerpc.
10716 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10717 implementation of trylock with lock elision for powerpc.
10718 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10719 implementaion of unlock for lock elision for powerpc.
10720 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10721 automatic enable lock elision for mutexes.
10722 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10723 transaction execution definitions for powerpc.
10724 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10725 definitions.
10726 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10727 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10728 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10729 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10730 * NEWS: Update.
10731
10732 2015-01-09 Roland McGrath <roland@hack.frob.com>
10733
10734 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10735 for #include of <shm-directory.h>.
10736
10737 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10738
10739 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10740 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10741
10742 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10743
10744 [BZ #17791]
10745 * NEWS: Mention bug fix.
10746 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10747 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10748 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10749
10750 2015-01-09 Torvald Riegel <triegel@redhat.com>
10751
10752 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10753
10754 2015-01-09 Torvald Riegel <triegel@redhat.com>
10755
10756 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10757
10758 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10759
10760 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10761 pointer and cast to uintptr_t.
10762
10763 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10764
10765 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10766 removed.
10767 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10768
10769 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10770
10771 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10772 of 0.
10773
10774 2015-01-08 Roland McGrath <roland@hack.frob.com>
10775
10776 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10777 <nptl/pthreadP.h> instead.
10778 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10779
10780 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10781 already defined.
10782 [__SIGRTMIN] (init): Function removed.
10783 [__SIGRTMIN] (initialized): Variable removed.
10784 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10785 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10786 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10787 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10788 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10789 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10790 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10791 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10792 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10793 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10794 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10795 * sysdeps/nptl/allocrtsig.c: New file.
10796 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10797 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10798 * sysdeps/generic/testrtsig.h: File removed.
10799
10800 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10801 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10802
10803 * nptl/nptl-init.c (pthread_functions): Conditionalize
10804 .ptr__nptl_setxid initialization on [SIGSETXID].
10805
10806 * sysdeps/nptl/sys/procfs.h: New file.
10807 * nptl_db/Makefile (headers): Add it.
10808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10809
10810 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10811 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10812 * nptl/pthread_attr_setaffinity.c: Include it.
10813 * nptl/pthread_setattr_default_np.c: Likewise.
10814 * nptl/check-cpuset.h: New file.
10815
10816 2015-01-08 Richard Henderson <rth@redhat.com>
10817
10818 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10819 (CFLAGS-tst-execstack-prog.c): Likewise.
10820 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10821
10822 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10823 Sandra Loosemore <sandra@codesourcery.com>
10824 Andrew Jenner <andrew@codesourcery.com>
10825 Joseph Myers <joseph@codesourcery.com>
10826 Nathan Sidwell <nathan@codesourcery.com>
10827
10828 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10829 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10830 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10831 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10832 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10833 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10834 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10835 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10836 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10837 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10838 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10839 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10840 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10841 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10842 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10843 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10844 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10845
10846 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10847
10848 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10849 timespec struct member in syscall macro.
10850 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10851 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10852 first timeval struct member in syscall macro.
10853 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10854
10855 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10856
10857 [BZ #17748]
10858 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10859 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10860 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10861 __feupdateenv and define as weak alias of __feupdateenv. Use
10862 libm_hidden_weak.
10863 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10864 libm_hidden_def.
10865 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10866 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10867 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10868 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10869 libm_hidden_def.
10870 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10871 __feupdateenv and define as weak alias of __feupdateenv. Use
10872 libm_hidden_weak.
10873 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10874 libm_hidden_def.
10875 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10876 __feupdateenv and define as weak alias of __feupdateenv. Use
10877 libm_hidden_weak.
10878 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10879 libm_hidden_def.
10880 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10881 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10882 (__feupdateenv): Likewise.
10883 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10884 __feupdateenv and define as weak alias of __feupdateenv. Use
10885 libm_hidden_weak.
10886 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10887 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10888 libm_hidden_def.
10889 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10890 function.
10891 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10892 libm_hidden_def.
10893 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10894 __feupdateenv instead of feupdateenv.
10895 (default_libc_feupdateenv_test): Likewise.
10896 (libc_feresetround_ctx): Likewise.
10897
10898 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10899
10900 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10901 prototype.
10902
10903 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10904
10905 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10906 COLL_SYM in a couple of places to avoid uninitialized variable
10907 wanings on tilegx gcc 4.8.2.
10908
10909 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10910
10911 * sysdeps/aarch64/strcpy.S: New file.
10912 * sysdeps/aarch64/stpcpy.S: New file.
10913 * NEWS: Updated.
10914
10915 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10916
10917 * sysdeps/aarch64/strrchr.S: New file.
10918 * NEWS: Updated.
10919
10920 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10921
10922 [BZ #17658]
10923 * stdlib/setenv.c: Fix memory leak when setting large,
10924 duplicate string.
10925
10926 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10927
10928 [BZ #17273]
10929 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10930 and tabs from buffer before parsing fstab entry.
10931 * misc/tst-mntent.c (main): Add test for mount entry with
10932 trailing spaces and tabs.
10933
10934 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10935
10936 [BZ #17748]
10937 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10938 * math/fesetround.c (fesetround): Rename to __fesetround and
10939 define as weak alias of __fesetround. Use libm_hidden_weak.
10940 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10941 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10942 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10943 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10944 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10945 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10946 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10947 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10948 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10949 __fesetround_inline.
10950 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10951 __fesetround_inline instead of __fesetround.
10952 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10953 __fesetround and define as weak alias of __fesetround. Use
10954 libm_hidden_weak. Call __fesetround_inline instead of
10955 __fesetround.
10956 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10957 __fesetround and define as weak alias of __fesetround. Use
10958 libm_hidden_weak.
10959 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10960 Likewise.
10961 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10962 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10963 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10964 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10965 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10966 __fesetround and define as weak alias of __fesetround. Use
10967 libm_hidden_weak.
10968 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10969 __fesetround instead of fesetround.
10970 (default_libc_feholdexcept_setround): Likewise.
10971 (libc_feholdsetround_ctx): Likewise.
10972 (libc_feholdsetround_noex_ctx): Likewise.
10973
10974 [BZ #17748]
10975 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10976 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10977 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10978 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10979 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10980 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10981 define as weak alias of __fesetenv. Use libm_hidden_weak.
10982 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10983 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10984 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10985 define as weak alias of __fesetenv. Use libm_hidden_weak.
10986 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10987 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10988 define as weak alias of __fesetenv. Use libm_hidden_weak.
10989 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10990 libm_hidden_def.
10991 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10992 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10993 Likewise.
10994 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10995 define as weak alias of __fesetenv. Use libm_hidden_weak.
10996 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10997 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10998 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10999 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11000 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11001 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11002 __fesetenv instead of fesetenv.
11003 (libc_feresetround_noex_ctx): Likewise.
11004 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11005 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11006 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11007 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11008 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11009 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11010 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11011 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11012 (__feupdateenv): Likewise.
11013 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11014 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11015 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11016 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11017
11018 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11019
11020 [BZ #17806]
11021 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11022 addresses have been freed.
11023
11024 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11025
11026 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11027 and nservall.
11028
11029 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
11030
11031 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11032 Clean up check_pf allocation pattern. addresses
11033
11034 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11035
11036 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11037 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11038 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11039 * nptl/pthread_exit.c (__pthread_exit): Likewise.
11040 * nptl/pthread_join.c (pthread_join): Likewise.
11041 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11042 * sysdeps/posix/waitid.c (__waitid): Likewise.
11043 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11044 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11045 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11046 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11047 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11048 Likewise.
11049 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11050 (__libc_pread64): Likewise.
11051 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11052 (__libc_pwrite): Likewise.
11053 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11054 (__libc_pwrite64): Likewsie.
11055 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11056 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11057 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11058 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11059 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11060 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11061 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11063 Likewise.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11065 (__libc_pread64): Likewise.
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11067 Likewise.
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11069 (__libc_pwrite64): Likewise.
11070 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11071 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11072 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11073 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11074 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11075 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11076 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11077 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11078 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11079 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11080 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11081 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11082 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11083 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11084 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11085 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11086 Likewise.
11087
11088 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11089
11090 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11091 (CFLAGS-test-double.c): Likewise.
11092 (CFLAGS-test-ldouble.c): Likewise.
11093 (CPPFLAGS-test-ifloat.c): Likewise.
11094 (CPPFLAGS-test-idouble.c): Likewise.
11095 (CPPFLAGS-test-ildoubl.c): Likewise.
11096 (CFLAGS-test-test-fenv.c): Remove variable.
11097 (CFLAGS-test-misc.c): Likewise.
11098
11099 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
11100
11101 [BZ #17797]
11102 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11103 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11104 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11105 CLOCKS_PER_SEC == 1000000.
11106 * time/clocktest.c (main): Replace %ld with %jd and cast to
11107 intmax_t.
11108
11109 2015-01-05 Roland McGrath <roland@hack.frob.com>
11110
11111 * sysdeps/generic/unwind-resume.h: New file.
11112 * sysdeps/gnu/unwind-resume.c: Include it.
11113 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11114 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11115 argument list.
11116 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11117 global rather than static.
11118 (_Unwind_Resume): Update user.
11119 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11120 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
11121 rather than static. Add __attribute__ ((cold)).
11122 (_Unwind_Resume, __gcc_personality_v0): Update callers.
11123 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11124 * sysdeps/arm/arm-unwind-resume.S: New file.
11125 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11126 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11127 * sysdeps/arm/Makefile [$(subdir) = csu]
11128 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11129 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11130 Add rt-arm-unwind-resume.
11131 [$(subdir) = nptl]
11132 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11133 Add pt-arm-unwind-resume.
11134 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11135 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11136
11137 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11138
11139 [BZ #17748]
11140 * include/fenv.h (__feholdexcept): Declare. Use
11141 libm_hidden_proto.
11142 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11143 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11144 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11145 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11146 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11147 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11148 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11149 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11150 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11151 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11152 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11153 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11154 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11155 (feholdexcept): Likewise.
11156 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11157 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11158 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11159 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11160 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11161 __feholdexcept instead of feholdexcept.
11162 (default_libc_feholdexcept_setround): Likewise.
11163
11164 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11165
11166 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11167 to avoid using stl/str to align destination.
11168
11169 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11170
11171 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11172
11173 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11174
11175 [BZ #17796]
11176 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11177 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11178 Define as weak alias not strong alias.
11179
11180 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11181
11182 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11183 bltzal with addiupc.
11184 (RTLD_START): Ditto.
11185
11186 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11187
11188 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11189 for __vdso_* functions in declarations.
11190 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11191 definitions.
11192 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11193 INTERNAL_VSYSCALL): Use struct return types to check for error.
11194
11195 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11196 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11197 function with cast from llround().
11198 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11199 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11200 Define.
11201
11202 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11203
11204 [BZ #17793]
11205 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11206 Define as weak alias not strong alias.
11207
11208 [BZ #17635]
11209 * ctype/ctype-c99.c: New file. isblank implementation moved from
11210 ...
11211 * ctype/ctype-extn.c: ... here.
11212 (__isblank_l): Move to ...
11213 * ctype/ctype-c99_l.c: ... here. New file.
11214 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11215 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11216 Remove variable.
11217 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11218 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11219 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11220 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11221 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11222
11223 [BZ #17777]
11224 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11225 (posix_fadvise64): Define as weak alias not strong alias.
11226 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11227 (posix_fallocate64): Likewise.
11228 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11229 Remove variable.
11230 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11231 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11232 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11233 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11234 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11235
11236 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
11237
11238 [BZ #16191]
11239 * NEWS: Mention bug fix.
11240 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11241 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11242 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11243 (HOST_STACK_END_ADDR): Likewise.
11244
11245 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11246
11247 [BZ #17748]
11248 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
11249 * math/fegetround.c (fegetround): Rename to __fegetround and
11250 define as weak alias of __fegetround. Use libm_hidden_weak.
11251 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11252 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11253 * sysdeps/arm/fegetround.c (fegetround): Likewise.
11254 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11255 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11256 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11257 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11258 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11259 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11260 Undefine after rather than before function definition; use
11261 parentheses around function name in definition.
11262 (__fegetround): Also undefine macro after function definition.
11263 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11264 __fegetround and define as weak alias of __fegetround. Use
11265 libm_hidden_weak. Do not undefine as macro.
11266 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11267 Likewise.
11268 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11269 __fegetround and define as weak alias of __fegetround. Use
11270 libm_hidden_weak.
11271 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11272 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11273 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11274 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11275 __fegetround and define as weak alias of __fegetround. Use
11276 libm_hidden_weak.
11277 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11278 __fegetround instead of fegetround.
11279
11280 [BZ #17782]
11281 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11282 Condition macro definition on [__USE_MISC].
11283
11284 [BZ #17781]
11285 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11286 (struct sigaction): Change type of sa_flags field to int.
11287
11288 [BZ #17780]
11289 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11290 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11291 __glibc_reserved0.
11292
11293 * nptl/version.c (banner): Use single year in copyright notice.
11294
11295 * NEWS: Update copyright dates.
11296 * catgets/gencat.c (print_version): Likewise.
11297 * csu/version.c (banner): Likewise.
11298 * debug/catchsegv.sh: Likewise.
11299 * debug/pcprofiledump.c (print_version): Likewise.
11300 * debug/xtrace.sh (do_version): Likewise.
11301 * elf/ldconfig.c (print_version): Likewise.
11302 * elf/ldd.bash.in: Likewise.
11303 * elf/pldd.c (print_version): Likewise.
11304 * elf/sotruss.sh: Likewise.
11305 * elf/sprof.c (print_version): Likewise.
11306 * iconv/iconv_prog.c (print_version): Likewise.
11307 * iconv/iconvconfig.c (print_version): Likewise.
11308 * locale/programs/locale.c (print_version): Likewise.
11309 * locale/programs/localedef.c (print_version): Likewise.
11310 * login/programs/pt_chown.c (print_version): Likewise.
11311 * malloc/memusage.sh (do_version): Likewise.
11312 * malloc/memusagestat.c (print_version): Likewise.
11313 * malloc/mtrace.pl: Likewise.
11314 * manual/libc.texinfo: Likewise.
11315 * nptl/version.c (banner): Likewise.
11316 * nscd/nscd.c (print_version): Likewise.
11317 * nss/getent.c (print_version): Likewise.
11318 * nss/makedb.c (print_version): Likewise.
11319 * posix/getconf.c (main): Likewise.
11320 * scripts/test-installation.pl: Likewise.
11321 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11322
11323 2015-01-02 Will Newton <will.newton@linaro.org>
11324
11325 * sysdeps/arm/armv7/configure: Removed.
11326 * sysdeps/arm/armv7/configure.ac: Likewise.
11327
11328 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11329
11330 * All files with FSF copyright notices: Update copyright dates
11331 using scripts/update-copyrights.
11332 * intl/plural.c: Regenerated.
11333 * locale/programs/charmap-kw.h: Likewise.
11334 * locale/programs/locfile-kw.h: Likewise.
11335
11336 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11337
11338 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11339
11340 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11341
11342 [BZ #17748]
11343 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11344 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11345 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11346 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11347 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11348 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11349 define as weak alias of __fegetenv. Use libm_hidden_weak.
11350 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11351 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11352 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11353 define as weak alias of __fegetenv. Use libm_hidden_weak.
11354 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11355 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11356 define as weak alias of __fegetenv. Use libm_hidden_weak.
11357 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11358 libm_hidden_def.
11359 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11360 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11361 Likewise.
11362 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11363 define as weak alias of __fegetenv. Use libm_hidden_weak.
11364 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11365 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11366 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11367 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11368 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11369 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11370 __fegetenv instead of fegetenv.
11371 (libc_feholdsetround_noex_ctx): Likewise.
11372
11373 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11374
11375 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11376 (Elf_MIPS_ABIFlags_v0): New structure.
11377 (EF_MIPS_FP64): Define.
11378 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11379 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11380 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11381 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11382 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11383 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11384 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11385 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11386 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11387 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11388 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11389 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11390 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11391 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11392 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11393 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11394 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11395 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11396 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11397 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11398 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11399 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11400 field.
11401 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11402 EF_MIPS_FP64.
11403 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11404 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11405 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11406 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11407 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11408 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11409 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11410 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11411 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11412 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11413 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11414 record the current FP ABI extension.
11415 (mips-mode-switch): Define to show if kernel headers support mode
11416 switching.
11417 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11418 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11419 supported SYSV ABI version to 3.
11420 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11421 feature.
11422
11423 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11424 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11425
11426 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11427 path.
11428 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11429
11430 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11431
11432 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11433 __fegetround and redefine to call __fegetround. Remove condition
11434 on [!__NO_MATH_INLINES].
11435 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11436 function.
11437 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11438 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11439 Remove macro.
11440 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11441 instead of <fenv_libc.h>.
11442 (__llrintl): Call fegetround instead of __fegetround.
11443 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11444 instead of <fenv_libc.h>.
11445 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11446 (__lrintl): Call fegetround instead of __fegetround.
11447 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11448 instead of <fenv_libc.h>.
11449 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11450 (__rintl): Call fegetround instead of __fegetround.
11451
11452 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11453
11454 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11455 arrays.
11456
11457 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11458
11459 [BZ #17775]
11460 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11461 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11462 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11463
11464 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11465
11466 * sysdeps/i386/tls-macros.h: Include <features.h>.
11467 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11468 (TLS_IE): Likewise.
11469 (TLS_LD): Likewise.
11470 (TLS_GD): Likewise.
11471 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11472 define for GCC >= 5.0.
11473
11474 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11475
11476 * math/test-fenv.c (test_single_exception, set_single_exc,
11477 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11478 feexcp_mask_test, feenable_test, fe_single_test): Add
11479 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11480 case where they are not used.
11481 * math/libm-test.inc: Likewise.
11482 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11483 unused in the absence of FP rounding/exception support.
11484 * stdio-common/tst-printf-round.c: Likewise.
11485 * stdlib/tst-strtod-round.c: Likewise.
11486 * stdlib/tst-strtod-underflow.c: Likewise.
11487
11488 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11489
11490 [BZ #17723]
11491 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11492 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11493 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11494 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11495 libm_hidden_weak.
11496 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11497 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11498 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11499 libm_hidden_def.
11500 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11501 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11502 libm_hidden_weak.
11503 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11504 Likewise.
11505 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11506 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11507 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11508 libm_hidden_weak.
11509 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11510 libm_hidden_def.
11511 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11512 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11513 (__feraiseexcept): Likewise.
11514 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11515 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11516 libm_hidden_weak.
11517 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11518 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11519 libm_hidden_def.
11520 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11521 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11522 Use libm_hidden_def.
11523 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11524 libm_hidden_def.
11525 (feraiseexcept): Define as weak not strong alias. Use
11526 libm_hidden_weak.
11527 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11528 New inline function. Factored out of ...
11529 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11530 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11531 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11532 feraiseexcept.
11533 * math/w_acos.c (__acos): Likewise.
11534 * math/w_asin.c (__asin): Likewise.
11535 * math/w_ilogb.c (__ilogb): Likewise.
11536 * math/w_j0.c (y0): Likewise.
11537 * math/w_j1.c (y1): Likewise.
11538 * math/w_jn.c (yn): Likewise.
11539 * math/w_log.c (__log): Likewise.
11540 * math/w_log10.c (__log10): Likewise.
11541 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11542 * sysdeps/aarch64/fpu/math_private.h
11543 (libc_feupdateenv_test_aarch64): Likewise.
11544 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11545 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11546 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11547 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11548 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11549 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11550 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11551 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11552 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11553 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11554
11555 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11556
11557 [BZ #17732]
11558 * io/test-utime.c (main): Replace %ld with %jd and cast to
11559 intmax_t.
11560 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11561 * nptl/tst-mutex5.c: Include <stdint.h>.
11562 (do_test): Replace %ld with %jd and cast to intmax_t.
11563 * posix/tst-regex.c (run_test): Likewise.
11564 (run_test_backwards): Likewise.
11565 * rt/tst-clock.c: Include <stdint.h>.
11566 (clock_test): Replace %ld with %jd and cast to intmax_t.
11567 * rt/tst-cpuclock1.c: Include <stdint.h>.
11568 (do_test): Replace %lu with %ju and cast to uintmax_t.
11569 * rt/tst-cpuclock2.c: Include <stdint.h>.
11570 (do_test): Replace %lu with %ju and cast to uintmax_t.
11571 * rt/tst-mqueue1.c: Include <stdint.h>.
11572 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11573 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11574 intmax_t.
11575 * rt/tst-mqueue4.c (do_test): Likewise.
11576 * rt/tst-timer4.c: Include <stdint.h>.
11577 (check_ts): Replace %ld with %jd and cast to intmax_t.
11578 (do_test): Likewise.
11579 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11580 and cast to intmax_t.
11581 * sysdeps/pthread/tst-timer.c (main): Likewise.
11582 * time/clocktest.c (main): Likewise.
11583 * time/tst-posixtz.c (do_test): Likewise.
11584 * timezone/tst-timezone.c (main): Likewise.
11585
11586 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11587 H.J. Lu <hongjiu.lu@intel.com>
11588
11589 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11590 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11591 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11592 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11593 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11594 version if bit_Fast_Unaligned_Load is set.
11595 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11596 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11597 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11598 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11599 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11600 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11602 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11603 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11604 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11605 to 4.
11606 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11607 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11608 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11609 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11610
11611 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11612
11613 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11614 instead of #if to avoid a Wundef warning.
11615 * stdlib/tst-limits.c (do_test): Likewise.
11616
11617 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11618 parallel other exception macros.
11619 (fegetenv): Convert from macro to extern inline so that it applies
11620 retroactively to inline functions already seen by the compiler.
11621 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11622
11623 * posix/Makefile (before-compile): Use $(objpfx) for
11624 posix-conf-vars-def.h.
11625
11626 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11627
11628 * posix/getconf.c (main): Use size_t for type of I.
11629 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11630 NSPEC.
11631
11632 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11633 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11634 * posix/posix-envs.def: Likewise.
11635 * sysdeps/posix/sysconf.c: Likewise.
11636 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11637 (specs): Remove array.
11638 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11639 array.
11640
11641 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11642 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11643 (__sysconf): Use CONF_IS_* macros.
11644
11645 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11646 ($(objpfx)posix-conf-vars-def.h): New target.
11647 * posix/posix-conf-vars.list: New file.
11648 * posix/posix-conf-vars.h: New file.
11649 * posix/confstr.c: Include posix-conf-vars.h.
11650 (confstr): Use CONF_IS_* macros.
11651 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11652 CONF_IS_* macros.
11653 * scripts/gen-posix-conf-vars.awk: New file.
11654
11655 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11656
11657 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11658 fegetround): Add no-op macros to avoid linknamespace issues.
11659
11660 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11661 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11662
11663 * sysdeps/unix/sysv/linux/tile/sysdep.h
11664 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11665 assembly-specific section to avoid a redefinition warning.
11666
11667 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11668 long before casting to pointer to avoid a cast warning.
11669
11670 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11671
11672 * sysdeps/tile/tilegx/Implies: New file.
11673
11674 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11675
11676 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11677
11678 2014-12-23 Florian Weimer <fweimer@redhat.com>
11679
11680 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11681
11682 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11683
11684 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11685 not define.
11686 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11687 <kernel-features.h>.
11688 (__utimes) [__NR_utimes]: Make code unconditional.
11689 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11690 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11691 (__ASSUME_UTIMES): Do not undefine.
11692 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11693 (__ASSUME_UTIMES): Likewise.
11694 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11695 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11696 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11697 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11698
11699 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11700
11701 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11702
11703 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11704
11705 [BZ #17747]
11706 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11707 alias to weak alias for j0l, y0l.
11708 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11709 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11710
11711 [BZ #17746]
11712 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11713 conversion.
11714
11715 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11716
11717 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11718 to zero if not already defined.
11719
11720 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11721
11722 [BZ #17724]
11723 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11724 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11725 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11726 (char *) casts added.
11727 * sysdeps/ieee754/k_standardf.c: New file.
11728 * sysdeps/ieee754/k_standardl.c: Likewise.
11729 * math/Makefile (libm-support): Remove k_standard.
11730 (libm-calls): Add k_standard.
11731
11732 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11733
11734 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11735 Optimize to avoid an unnecessary FPCR read.
11736
11737 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11738
11739 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11740 Optimize to reduce FPCR/FPSR accesses.
11741
11742 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11743
11744 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11745 Call libc_fetestexcept_aarch64.
11746
11747 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11748
11749 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11750 Call libc_fesetround_aarch64.
11751
11752 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11753
11754 [BZ #17733]
11755 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11756 (__bind): Do not define as weak alias.
11757 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11758 define.
11759 (__getsockname): Do not define as weak alias.
11760
11761 2014-12-22 Will Newton <will.newton@linaro.org>
11762
11763 * manual/install.texi: Document that we require bison 2.7
11764 or above.
11765 * INSTALL: Regenerate.
11766 * configure.ac: Use AC_CHECK_PROG_VER instead of
11767 AC_PATH_PROG when checking for bison and check for
11768 version 2.7 or above.
11769 * configure: Regenerate.
11770
11771 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11772
11773 [BZ #17745]
11774 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11775 * sysdeps/tile/ffsll.c (ffsll): To here.
11776
11777 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11778
11779 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11780
11781 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11782 if not defined.
11783 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11784 definition.
11785 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11786 hidden ___tls_get_addr.
11787 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11788 hidden __tls_get_addr.
11789 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11790 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11791 Likewise.
11792
11793 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11794
11795 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11796 _dl_init call.
11797
11798 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11799
11800 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11801 from "call _dl_init@PLT".
11802 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11803
11804 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11805
11806 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11807 guarantees.
11808
11809 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11810
11811 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11812
11813 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11814
11815 [BZ #17744]
11816 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11817 strnlen.
11818
11819 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11820
11821 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11822 of multu on MIPSr6.
11823 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11824 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11825 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11826 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11827 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11828
11829 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11830
11831 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11832 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11833 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11834 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11835 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11836 mips32r6/mips64r6.
11837 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11838
11839 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11840
11841 * string/strncat.c (STRNCAT): Simplify implementation.
11842
11843 2014-12-19 David S. Miller <davem@davemloft.net>
11844
11845 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11846 access the quad as both a long double and as a series of 4 words.
11847
11848 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11849 link_map->l_info array access.
11850
11851 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11852
11853 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11854
11855 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11856 * math/atest-exp2.c (TIMEOUT): Likewise.
11857 * math/atest-sincos.c (TIMEOUT): Likewise.
11858
11859 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11860
11861 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11862 -Wno-error with -fno-builtin-lround.
11863
11864 2014-12-19 Torvald Riegel <triegel@redhat.com>
11865
11866 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11867 Contains futex constants and functions moved over from ...
11868 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11869 <lowlevellock-futex.h>.
11870 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11871 (lll_timedwait_tid): Add comments and parentheses around macro
11872 arguments.
11873
11874 2014-12-19 Torvald Riegel <triegel@redhat.com>
11875
11876 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11877 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11878 (__lll_private_flag): Remove.
11879 (lll_futex_wait): Likewise.
11880 (lll_futex_timed_wait): Likewise.
11881 (lll_futex_wake): Likewise.
11882 (lll_futex_requeue): Likewise.
11883 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11884 (__lll_timedwait_tid): Spell out argument names.
11885 (lll_timedwait_tid): Add comments and parentheses around macro
11886 arguments.
11887 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11888 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11889
11890 2014-12-19 Torvald Riegel <triegel@redhat.com>
11891
11892 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11893 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11894 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11895 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11896 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11897 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11898 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11899 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11900 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11901 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11902 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11903 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11904 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11905 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11906 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11907 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11908 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11909 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11910 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11911
11912 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11913
11914 * sysdeps/x86_64/x32/Makefile: New file.
11915
11916 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11917
11918 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11919 1L with (mp_limb_t) 1.
11920
11921 2014-12-17 Roland McGrath <roland@hack.frob.com>
11922
11923 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11924 * nptl/libc_pthread_init.c: ... here.
11925 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11926 * nptl/register-atfork.c: ... here.
11927
11928 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11929 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11930 Use assert_perror to check its return value.
11931 (__gai_create_helper_thread): Likewise.
11932
11933 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11934
11935 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11936
11937 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11938
11939 [BZ #17725]
11940 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11941 __profil_counter.
11942 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11943 Likewise.
11944 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11945 Likewise.
11946 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11947 Likewise.
11948 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11949 (profil_counter): Likewise.
11950 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11951 (profil_counter): Likewise.
11952 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11953 Likewise.
11954 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11955 Likewise.
11956 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11957 (profil_counter): Likewise.
11958 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11959 Likewise.
11960 [!__profil_counter] (profil_counter): Define as weak alias of
11961 __profil_counter.
11962 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11963 (profil_counter): Rename to __profil_counter.
11964 [!__profil_counter] (profil_counter): Define as weak alias of
11965 __profil_counter.
11966 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11967 (profil_counter): Rename to __profil_counter.
11968 [!__profil_counter] (profil_counter): Define as weak alias of
11969 __profil_counter.
11970 * sysdeps/posix/profil.c: Update comment referring to
11971 profil_counter.
11972 (__profil): Use __profil_counter instead of profil_counter.
11973 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11974 __profil_counter. Use __profil_counter_ushort and
11975 __profil_counter_uint in definitions.
11976 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11977 instead of profil_counter_uint and profil_counter_ushort.
11978
11979 [BZ #17722]
11980 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11981 define as weak alias of __inet_makeaddr.
11982 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11983 as weak alias of __inet_addr.
11984 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11985 as weak alias of __inet_pton. Use libc_hidden_weak.
11986 * include/arpa/inet.h (__inet_pton): Declare. Use
11987 libc_hidden_proto.
11988 (inet_makeaddr): Don't use libc_hidden_proto.
11989 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11990 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11991 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11992 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11993 Remove variable.
11994 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11995 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11996
11997 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11998
11999 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12000
12001 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12002
12003 * stdio-common/bug-vfprintf-nargs.c (do_test):
12004 Cast value to intptr_t to avoid format warning
12005 for usage with PRIdPTR printing macro.
12006
12007 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12008
12009 * libio/tst-widetext.c (do_test):
12010 Use format type %td instead of %Zd for ptrdiff_t
12011 in order to avoid format warning.
12012
12013 2014-12-17 Andreas Schwab <schwab@suse.de>
12014
12015 * nscd/mem.c (gc): Add size_t cast to match printf format.
12016
12017 2014-12-16 Roland McGrath <roland@hack.frob.com>
12018
12019 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12020 (init): Apply PTR_MANGLE to pointers before storing them.
12021 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12022 before using them.
12023
12024 2014-12-16 Joseph Myers <joseph@codesourcery.com>
12025
12026 [BZ #17719]
12027 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12028 define as weak alias of __memrchr.
12029 (__memrchr): Do not define as strong alias of memrchr.
12030 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12031 Remove variable.
12032 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12033 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12034 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12035
12036 [BZ #17717]
12037 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12038 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
12039 (if_indextoname): Rename to __if_indextoname and define as weak
12040 alias of __if_indextoname. Use libc_hidden_weak.
12041 (if_freenameindex): Rename to __if_freenameindex and define as
12042 weak alias of __if_freenameindex.
12043 (if_nameindex): Rename to __if_nameindex and define as weak alias
12044 of __if_nameindex.
12045 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12046 __if_nametoindex and define as weak alias of __if_nametoindex.
12047 Use libc_hidden_weak.
12048 (if_freenameindex): Rename to __if_freenameindex and define as
12049 weak alias of __if_freenameindex.
12050 (if_nameindex): Rename to __if_nameindex and define as weak alias
12051 of __if_nameindex.
12052 (if_indextoname): Rename to __if_indextoname and define as weak
12053 alias of __if_indextoname. Use libc_hidden_weak.
12054 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12055 __if_nametoindex and define as weak alias of __if_nametoindex.
12056 Use libc_hidden_weak.
12057 (if_freenameindex): Rename to __if_freenameindex and define as
12058 weak alias of __if_freenameindex. Use libc_hidden_weak.
12059 (if_nameindex_netlink): Use __if_freenameindex instead of
12060 if_freenameindex.
12061 (if_nameindex): Rename to __if_nameindex and define as weak alias
12062 of __if_nameindex. Use libc_hidden_weak.
12063 (if_indextoname): Rename to __if_indextoname and define as weak
12064 alias of __if_indextoname. Use libc_hidden_weak.
12065 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12066 libc_hidden_proto.
12067 [!_ISOMAC] (__if_freenameindex): Likewise.
12068 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12069 if_nametoindex.
12070 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12071 variable.
12072 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12073 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12074 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12075 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12076 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12077 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12078 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12079
12080 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12081 Remove variable.
12082 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12083 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12084
12085 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12086
12087 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12088 subscript above bounds'
12089
12090 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12091 bounds.
12092
12093 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
12094
12095 * libio/tst-fopenloc.c: Use test-skeleton.c.
12096
12097 * stdlib/tst-bsearch.c: Use test-skeleton.c.
12098 (entry): Rename to ITEM.
12099 (do_test, comp): Adjust.
12100
12101 * stdio-common/tst-fseek.c: Use test-skeleton.c.
12102
12103 2014-12-16 Torvald Riegel <triegel@redhat.com>
12104
12105 * string/tester.c: Include <libc-internal.h>.
12106 (test_memset): Ignore -Wmemset-transposed-args.
12107
12108 2014-12-16 Torvald Riegel <triegel@redhat.com>
12109
12110 * misc/tst-mntent2.c (do_test): Fix warning.
12111
12112 2014-12-16 Torvald Riegel <triegel@redhat.com>
12113
12114 * elf/tst-unique4lib.cc(a): Mark as used.
12115
12116 2014-12-16 Florian Weimer <fweimer@redhat.com>
12117
12118 [BZ #17630]
12119 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12120 names.
12121
12122 2014-12-16 Allan McRae <allan@archlinux.org>
12123
12124 * stdio-common/Makefile (tests): Re-add bug26.
12125
12126 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
12127
12128 [BZ #17657]
12129 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12130 static array.
12131
12132 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12133
12134 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12135 (__lll_lock_wait): Likewise.
12136 (__lll_timedlock_wait): Likewise.
12137 (__lll_timedwait_tid): Likewise.
12138 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12139 (__lll_robust_timedlock_wait): Likewise.
12140 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12141 (lll_cond_trylock): Likewise.
12142 (__lll_lock): Likewise.
12143 (__lll_robust_lock): Likewise.
12144 (__lll_cond_lock): Likewise.
12145 (lll_robust_cond_lock): Likewise.
12146 (__lll_timedlock): Likewise.
12147 (__lll_robust_timedlock): Likewise.
12148 (__lll_unlock): Likewise.
12149 (__lll_robust_unlock): Likewise.
12150 (lll_wait_tid): Likewise.
12151 (lll_timedwait_tid): Likewise.
12152
12153 2014-12-15 Torvald Riegel <triegel@redhat.com>
12154
12155 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12156
12157 2014-12-15 Torvald Riegel <triegel@redhat.com>
12158
12159 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12160
12161 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12162
12163 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12164 * stdio-common/tst-sprintf.c: Likewise.
12165
12166 2014-12-15 Torvald Riegel <triegel@redhat.com>
12167
12168 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12169
12170 2014-12-15 Jeff Law <law@redhat.com>
12171
12172 [BZ #16617]
12173 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12174 on the heap. (CVE-2012-3406)
12175 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12176 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12177 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12178
12179 2014-12-15 Will Newton <will.newton@linaro.org>
12180
12181 * manual/install.texi: Bump required version of texinfo
12182 to 4.7 from 4.5.
12183 * INSTALL: Regenerated.
12184 * configure.ac: Check for makeinfo version 4.7 and above.
12185 * configure: Regenerated.
12186
12187 2014-12-12 Roland McGrath <roland@hack.frob.com>
12188
12189 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12190 PREFIX, string constant to insert between directory and name.
12191 * sysdeps/posix/shm_open.c: Update caller.
12192 * sysdeps/posix/shm_unlink.c: Likewise.
12193 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12194 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12195 (SEM_SHM_PREFIX): New macro.
12196 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12197 [$(have-thread-library) = no].
12198 * nptl/Makefile (libpthread-routines): Add shm-directory.
12199 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12200 * sysdeps/nptl/shm-directory.h: New file.
12201 * sysdeps/posix/shm-directory.c
12202 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12203 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12204 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12205 INTERNAL_SYSCALL.
12206 (__where_is_shmfs): Function removed.
12207 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12208 Variables removed.
12209 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12210 Use SHM_GET_NAME.
12211 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12212
12213 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12214 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12215 unconditional for use inside libpthread.
12216 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12217
12218 2014-12-12 Roland McGrath <roland@hack.frob.com>
12219
12220 * nptl/pthread_getaffinity.c: New file.
12221 * nptl/pthread_setaffinity.c: New file.
12222 * nptl/pthread_getname.c: New file.
12223 * nptl/pthread_setname.c: New file.
12224
12225 * nptl/pthread_create.c (START_THREAD_DEFN)
12226 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12227
12228 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12229 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12230
12231 * resolv/res_send.c (send_vc): Disable warning resplen may
12232 be used uninitialized.
12233
12234 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12235
12236 * nptl/tst-mutex6.c
12237 (ATTR_NULL): New define checks ATTR against NULL.
12238 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12239 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12240
12241 2014-12-11 James Lemke <jwlemke@codesourcery.com>
12242
12243 [BZ #17581]
12244 * malloc/hooks.c
12245 (mem2mem_check): Revert my previous change.
12246 (malloc_check_get_size): Revert my previous change.
12247 (mem2chunk_check): Revert my previous change.
12248
12249 2014-12-11 Roland McGrath <roland@hack.frob.com>
12250
12251 * sysdeps/posix/shm-directory.c: New file.
12252 * sysdeps/posix/shm-directory.h: New file.
12253 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12254 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12255 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12256 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12257 Transmute EPERM to EACCES.
12258 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12259 from ...
12260 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12261 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12262
12263 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12264
12265 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12266 pointer and cast to uintptr_t.
12267 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12268 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12269 Add cast to avoid warning.
12270 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12271
12272 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12273
12274 * nptl/semaphore.h: Move to ...
12275 * sysdeps/pthread/semaphore.h: ... here.
12276 * Makefile (installed-headers): Change nptl/semaphore.h to
12277 sysdeps/pthread/semaphore.h.
12278
12279 2014-12-11 Roland McGrath <roland@hack.frob.com>
12280
12281 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12282 generated error format strings.
12283
12284 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12285 -Wformat-extra-args warnings for scanf formats.
12286 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12287 test of zero-length format (duh).
12288 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12289 corner-case scanf format test.
12290 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12291 generated fprintf format string.
12292 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12293 corner-case sprintf format tests.
12294 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12295 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12296 -Wformat-extra-args warnings throughout.
12297 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12298 (CFLAGS-scanf4.c): Likewise.
12299 (CFLAGS-scanf7.c): Likewise.
12300 (CFLAGS-tst-sprintf.c): Likewise.
12301 (CFLAGS-tst-printf.c): Likewise.
12302 (CFLAGS-tst-printfsz.c): Likewise.
12303
12304 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12305
12306 * include/cpio.h: New file.
12307 * include/fmtmsg.h: Likewise.
12308
12309 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12310 corresponding format argument to size_t.
12311 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12312 arguments.
12313 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12314 corresponding format argument to size_t.
12315 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12316 arguments.
12317 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12318 corresponding format argument to size_t.
12319 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12320 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12321 (CFLAGS-tst-mbswcs2.c): Likewise.
12322 (CFLAGS-tst-mbswcs3.c): Likewise.
12323 (CFLAGS-tst-mbswcs4.c): Likewise.
12324 (CFLAGS-tst-mbswcs5.c): Likewise.
12325 (CFLAGS-tst-trans.c): Likewise
12326
12327 2014-12-11 Roland McGrath <roland@hack.frob.com>
12328
12329 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12330 rather than assuming they won't contain any '%'s.
12331
12332 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12333
12334 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12335 inhibit_loop_to_libcall to avoid recursive calls.
12336 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12337 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12338
12339 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12340
12341 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12342 prototype.
12343
12344 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12345
12346 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12347 integer value instead of boolean.
12348
12349 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12350
12351 * malloc/malloc.c: Fix powerof2 check.
12352
12353 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12354
12355 * locale/programs/locfile.h (maybe_swap_uint32):
12356 Remove inline and add unused attribute.
12357
12358 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12359
12360 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12361 Truncating assembler expression to a .long expression.
12362
12363 2014-12-11 Andreas Schwab <schwab@suse.de>
12364
12365 * elf/rtld.c (struct map_args): Constify str member.
12366 (do_preload): Constify fname argument.
12367
12368 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12369
12370 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12371 constants definition.
12372
12373 2014-12-11 Andreas Schwab <schwab@suse.de>
12374
12375 [BZ #16657]
12376 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12377 FORCE_ELISION instead of DO_ELISION.
12378 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12379 Remove.
12380 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12381 Likewise.
12382
12383 * iconvdata/gconv-modules: Remove duplicate entry.
12384
12385 2014-12-11 Will Newton <will.newton@linaro.org>
12386
12387 Merge gettext 0.19.3 into intl/.
12388
12389 This involves a number of cosmetic changes to comments
12390 and ANSI function definitions and prototypes throughout
12391 all the files. The gettext copyright header is used but
12392 with the date ranges taken from the glibc copy.
12393
12394 * NEWS: Add gettext merge to 2.21.
12395 * intl/bindtextdom.c: Switch to gettext copyright.
12396 Use ANSI definitions and prototypes.
12397 Use gl_* locking primitives rather than __libc_* ones.
12398 Use __builtin_expect rather than __glibc_likely/unlikely.
12399 * intl/dcgettext.c: Switch to gettext copyright.
12400 Use ANSI definitions and prototypes.
12401 * intl/dcigettext.c: Switch to gettext copyright.
12402 Use ANSI definitions and prototypes.
12403 (INTDIV0_RAISES_SIGFPE): New define.
12404 Use gl_* locking primitives rather than __libc_* ones.
12405 Include eval-plural.h instead of plural-eval.c.
12406 Use __builtin_expect rather than __glibc_likely/unlikely.
12407 * intl/dcngettext.c: Switch to gettext copyright.
12408 Use ANSI definitions and prototypes.
12409 * intl/dgettext.c: Likewise.
12410 * intl/dngettext.c: Likewise.
12411 * intl/plural-eval.c: Renamed to...
12412 * intl/eval-plural.h: ...this.
12413 * intl/explodename.c: Switch to gettext copyright.
12414 Use ANSI definitions and prototypes.
12415 (_nl_explode_name): Use strchr instead of __rawmemchr.
12416 * intl/finddomain.c: Switch to gettext copyright.
12417 Use ANSI definitions and prototypes.
12418 Use gl_* locking primitives rather than __libc_* ones.
12419 (_nl_find_domain): Use malloc rather than alloca for
12420 allocation of temporary locale name.
12421 * intl/gettext.c: Switch to gettext copyright.
12422 Use ANSI definitions and prototypes.
12423 * intl/gettextP.h: Switch to gettext copyright.
12424 Use ANSI definitions and prototypes.
12425 Use gl_* locking primitives rather than __libc_* ones.
12426 * intl/gmo.h: Switch to gettext copyright.
12427 (struct sysdep_string): Move struct segment_pair outside of
12428 struct definition.
12429 * intl/hash-string.c: Use ANSI definitions and prototypes.
12430 * intl/hash-string.h: Switch to gettext copyright.
12431 Use ANSI definitions and prototypes.
12432 * intl/l10nflist.c: Switch to gettext copyright.
12433 Use ANSI definitions and prototypes.
12434 (_nl_normalize_codeset): Avoid integer overflow.
12435 * intl/loadinfo.h: Switch to gettext copyright.
12436 Use ANSI definitions and prototypes.
12437 (LIBINTL_DLL_EXPORTED): New define.
12438 (PATH_SEPARATOR): New define.
12439 * intl/loadmsgcat.c: Switch to gettext copyright.
12440 * intl/localealias.c: Switch to gettext copyright.
12441 Use ANSI definitions and prototypes.
12442 (_nl_expand_alias): Use PATH_SEPARATOR.
12443 * intl/ngettext.c: Switch to gettext copyright.
12444 Use ANSI definitions and prototypes.
12445 * intl/plural-exp.c: Likewise.
12446 * intl/plural-exp.h: Switch to gettext copyright.
12447 Use ANSI definitions and prototypes.
12448 (struct expression): Move definition of enum operator outside
12449 of struct definition.
12450 * intl/plural.c: Regenerate.
12451 * intl/plural.y: Switch to gettext copyright.
12452 Use ANSI definitions and prototypes.
12453 Port to bison 3.0.
12454 * intl/textdomain.c: Switch to gettext copyright.
12455 Use ANSI definitions and prototypes.
12456 Use gl_* locking primitives rather than __libc_* ones.
12457
12458 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12459
12460 * debug/warning-nop.c: Add used atrribute.
12461
12462 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12463
12464 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12465
12466 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12467 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12468 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12469
12470 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12471 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12472
12473 [BZ #17634]
12474 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12475 Undefine after defining function. Define as weak alias of
12476 __wcschr. Use libc_hidden_weak.
12477 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12478 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12479 (libc_hidden_def): Also define __GI___wcschr alias.
12480 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12481 __wcschr and define as weak alias of __wcschr.
12482 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12483 __wcschr.
12484 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12485 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12486 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12487 libc_hidden_weak. Do not use libc_hidden_def.
12488 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12489 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12490 __GI___wcschr alias.
12491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12492 [IS_IN (libc)] (wcschr): Define as macro expanding to
12493 __redirect_wcschr.
12494 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12495 [IS_IN (libc)] (__wcschr_power6): Likewise.
12496 [IS_IN (libc)] (__wcschr_power7): Likewise.
12497 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12498 instead of wcschr.
12499 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12500 __libc_wcschr.
12501 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12502 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12503 __wcschr and define as weak alias of __wcschr. Use
12504 libc_hidden_builtin_def.
12505 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12506 as weak alias of __wcschr. Use libc_hidden_weak.
12507 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12508 wcschr.
12509 * time/era.c (_nl_init_era_entries): Likewise.
12510 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12511 variable.
12512 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12513 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12514
12515 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12516
12517 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12518 format for long int variable.
12519
12520 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12521
12522 [BZ #10672]
12523 * manual/search.texi: (Array Sort Function): Remove claim how to make
12524 qsort stable.
12525
12526 2014-12-10 Andreas Schwab <schwab@suse.de>
12527
12528 [BZ #12847]
12529 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12530 user-controlled locks.
12531
12532 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12533
12534 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12535 register.
12536
12537 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12538
12539 * configure.ac (--disable-werror): New configure option.
12540 (enable_werror): New AC_SUBST.
12541 * configure: Regenerated.
12542 * config.make.in (enable-werror): New variable.
12543 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12544 -Wno-error=undef.
12545 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12546 * manual/install.texi (Configuring and compiling): Document
12547 --disable-werror.
12548 * INSTALL: Regenerated.
12549 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12550 (CFLAGS-tst-chk2.c): Likewise.
12551 (CFLAGS-tst-chk3.c): Likewise.
12552 (CFLAGS-tst-chk4.cc): Likewise.
12553 (CFLAGS-tst-chk5.cc): Likewise.
12554 (CFLAGS-tst-chk6.cc): Likewise.
12555 (CFLAGS-tst-lfschk1.c): Likewise.
12556 (CFLAGS-tst-lfschk2.c): Likewise.
12557 (CFLAGS-tst-lfschk3.c): Likewise.
12558 (CFLAGS-tst-lfschk4.cc): Likewise.
12559 (CFLAGS-tst-lfschk5.cc): Likewise.
12560 (CFLAGS-tst-lfschk6.cc): Likewise.
12561
12562 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12563 (main): Disable -Wdeprecated-declarations around calls to
12564 register_printf_function.
12565
12566 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12567 (do_test): Disable -Wdiv-by-zero around some calls to
12568 fwrite_unlocked and fread_unlocked.
12569
12570 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12571 (DIAG_POP_NEEDS_COMMENT): Likewise.
12572 (_DIAG_STR1): Likewise.
12573 (_DIAG_STR): Likewise.
12574 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12575 * stdio-common/bug21.c: Include <libc-internal.h>.
12576 (do_test): Disable -Wformat around call to sscanf.
12577 * stdio-common/scanf14.c: Include <libc-internal.h>.
12578 (main): Disable -Wformat around some calls to scanf functions.
12579
12580 2014-12-09 Torvald Riegel <triegel@redhat.com>
12581
12582 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12583
12584 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12585
12586 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12587 stack variable alignment.
12588
12589 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12590
12591 [BZ #17682]
12592 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12593 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12594 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12595 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12596 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12597 __getrlimit instead of getrlimit.
12598 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12599 __gettimeofday instead of gettimeofday.
12600 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12601 Likewise.
12602 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12603 Likewise.
12604 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12605 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12606 Remove variable.
12607 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12608 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12609
12610 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12611
12612 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12613 for wide-character tests.
12614
12615 2014-12-04 Roland McGrath <roland@hack.frob.com>
12616
12617 * io/openat64.c: #include <libc-internal.h>
12618 (__openat64): Prototypify. Use ignore_value on MODE.
12619 * io/openat.c: Likewise.
12620 * misc/reboot.c: #include <libc-internal.h>
12621 (reboot): Prototypify. Use ignore_value on HOWTO.
12622 * misc/ptrace.c: #include <libc-internal.h>
12623 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12624
12625 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12626
12627 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12628 XPG4, UNIX98 and XOPEN2K.
12629 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12630 Remove variable.
12631 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12632
12633 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12634
12635 * libio/fileops.c: Use ISO C style for function definitions.
12636 * libio/iofopen.c: Likewise.
12637 * libio/wfileops.c: Likewise.
12638
12639 [BZ #17653]
12640 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12641 offset on EOF.
12642 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12643 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12644 (fgets_func): Function pointer to fgets and fgetws.
12645 (do_ftell_test): Add test to verify ftell value after read
12646 EOF.
12647 (do_test): Set fgets_func.
12648
12649 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12650 O_TRUNC flag for w and w+ modes.
12651 (do_rewind_test): Likewise.
12652 (do_ftell_test): Likewise.
12653 (do_write_test): Likewise.
12654
12655 [BZ #17647]
12656 * libio/fileops.c (do_ftell): Seek only when there are
12657 unflushed writes.
12658 * libio/wfileops.c (do_ftell_wide): Likewise.
12659 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12660 test case.
12661 (do_one_test): Call it.
12662
12663 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12664
12665 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12666 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12667 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12668 Remove variable.
12669 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12670 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12671 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12672
12673 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12674
12675 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12676 Remove variable.
12677 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12678
12679 [BZ #17668]
12680 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12681 as weak alias of __getifaddrs. Use libc_hidden_weak.
12682 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12683 __freeifaddrs. Use libc_hidden_weak.
12684 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12685 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12686 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12687 __freeifaddrs. Use libc_hidden_weak.
12688 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12689 __getifaddrs and define as weak alias of __getifaddrs. Use
12690 libc_hidden_weak.
12691 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12692 __freeifaddrs. Use libc_hidden_weak.
12693 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12694 Remove variable.
12695 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12696 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12697
12698 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12699
12700 [BZ #17601]
12701 * sysdeps/mips/start.S (__start): Use indirect jump to call
12702 __libc_start_main.
12703
12704 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12705
12706 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12707
12708 * nptl/tst-mutex1.c: Include <stdbool.h>.
12709 [!ATTR] (ATTR_NULL): New macro.
12710 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12711 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12712 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12713
12714 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12715 to char *.
12716
12717 [BZ #17665]
12718 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12719 Change conditional to [__USE_MISC].
12720
12721 [BZ #17664]
12722 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12723 fgets_unlocked.
12724 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12725 __fgets_unlocked.
12726 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12727 fgets_unlocked.
12728 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12729 Remove variable.
12730 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12731 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12732 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12733 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12734 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12735 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12736 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12737 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12738 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12739
12740 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12741
12742 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12743
12744 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12745 Remove strpbrk objects.
12746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12747 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12748 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12749 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12750 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12751 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12752
12753 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12754 Remove strcspn objects.
12755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12756 (__libc_ifunc_impl_list): Remove strcspn implementation.
12757 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12758 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12759 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12760 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12761
12762 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12763 Remove strspn objetcs.
12764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12765 (__libc_ifunc_impl_list): Remove strspn implementation.
12766 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12767 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12768 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12769 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12770
12771 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12772
12773 [BZ #17581]
12774 * malloc/hooks.c
12775 (mem2mem_check): Add a terminator to the chain of checking blocks.
12776 (malloc_check_get_size): Use it here.
12777 (mem2chunk_check): Ditto.
12778
12779 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12780
12781 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12782 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12783
12784 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12785
12786 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12787
12788 * nptl/nptl-init.c: Include libc-internal.h.
12789 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12790
12791 * elf/ldconfig.c (search_dir): Expand comment.
12792
12793 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12794
12795 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12796 variable.
12797 (linknamespace-symlist-stdlibs-tests): Likewise.
12798 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12799 instead of $(objpfx)symlist-stdlibs.
12800 (linknamespace-libs-isoc): New variable.
12801 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12802 (linknamespace-libs-ISO): New variable.
12803 (linknamespace-libs-ISO99): Likewise.
12804 (linknamespace-libs-ISO11): Likewise.
12805 (linknamespace-libs-XPG3): Likewise.
12806 (linknamespace-libs-XPG4): Likewise.
12807 (linknamespace-libs-POSIX): Likewise.
12808 (linknamespace-libs-UNIX98): Likewise.
12809 (linknamespace-libs-XOPEN2K): Likewise.
12810 (linknamespace-libs-POSIX2008): Likewise.
12811 (linknamespace-libs-XOPEN2K8): Likewise.
12812 ($(objpfx)symlist-stdlibs): Replace by
12813 $(linknamespace-symlist-stdlibs-tests). Use
12814 $(linknamespace-libs-$*) as set of libraries.
12815 ($(linknamespace-header-tests)): Update dependencies. Use
12816 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12817 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12818 * conform/linknamespace.pl: Remove comment about considering
12819 definitions of symbols from irrelevant libraries.
12820
12821 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12822
12823 [BZ #13862]
12824 * elf/dl-tls.c: Include <atomic.h>.
12825 (oom): Remove #ifdef SHARED/#endif.
12826 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12827 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12828 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12829 big enough.
12830 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12831 * nptl/Makefile (tests): Add tst-stack4.
12832 (modules-names): Add tst-stack4mod.
12833 ($(objpfx)tst-stack4): New.
12834 (tst-stack4mod.sos): Likewise.
12835 ($(objpfx)tst-stack4.out): Likewise.
12836 ($(tst-stack4mod.sos)): Likewise.
12837 (clean): Likewise.
12838 * nptl/tst-stack4.c: New file.
12839 * nptl/tst-stack4mod.c: Likewise.
12840
12841 2014-11-27 J. Brown <jb999@gmx.de>
12842
12843 * sysdeps/x86/bits/string.h: Add recent CPUs.
12844
12845 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12846
12847 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12848 sigblock.
12849
12850 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12851 feof.
12852
12853 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12854 variable.
12855
12856 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12857
12858 * nscd/connections.c: Include libc-internal.h because of macro
12859 usage ignore_value.
12860
12861 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12862
12863 * string/bits/string3.h (__warn_memset_zero_len): Don't
12864 declare for gcc newer than 5.0.
12865 (memset): Don't test for zero-length __LEN for gcc newer than
12866 5.0.
12867
12868 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12869
12870 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12871 size_t for %zu format.
12872
12873 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12874 difference, not %ju.
12875
12876 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12877
12878 * include/libc-internal.h (ignore_value): New macro.
12879 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12880 with ignore_value.
12881
12882 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12883 definition.
12884
12885 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12886 pthread_cleanup_push to void *.
12887
12888 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12889 Undefine.
12890
12891 [BZ #16619]
12892 [BZ #16740]
12893 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12894 instead of 1L << 52.
12895
12896 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12897 * libio/bug-rewind2.c (do_test): Likewise.
12898
12899 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12900 * debug/test-strcpy_chk-ifunc.c: Likewise.
12901 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12902 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12903 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12904 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12905 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12906 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12907 * Rules [$(multi-arch) = no] (tests): Do not filter out
12908 $(tests-ifunc).
12909 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12910 * debug/Makefile (tests-ifunc): Remove variable.
12911 (tests): Do not add $(tests-ifunc).
12912 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12913 (tests): Do not add $(tests-ifunc).
12914 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12915 [TEST_IFUNC]: Remove conditionals.
12916 * string/test-string.h (TEST_IFUNC): Remove macro.
12917 [TEST_IFUNC]: Remove conditionals.
12918
12919 * string/test-strchr.c [!WIDE] (L): New macro.
12920 [WIDE] (L): Likewise.
12921 (check1): Use CHAR instead of char. Use L on string and character
12922 constants.
12923
12924 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12925
12926 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12927 tests.
12928 * sysdeps/powerpc/bits/atomic.h
12929 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12930 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12931 (atomic_exchange_and_add_acq): Likewise.
12932 (atomic_exchange_and_add_rel): Likewise.
12933 * sysdeps/powerpc/powerpc32/bits/atomic.h
12934 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12935 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12936 * sysdeps/powerpc/powerpc64/bits/atomic.h
12937 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12938 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12939
12940 2014-11-26 Torvald Riegel <triegel@redhat.com>
12941
12942 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12943 Change synchronization of __sched_fifo_min_prio and
12944 __sched_fifo_max_prio.
12945 * nptl/pthread_mutexattr_getprioceiling.c
12946 (pthread_mutexattr_getprioceiling): Likewise.
12947 * nptl/pthread_mutexattr_setprioceiling.c
12948 (pthread_mutexattr_setprioceiling): Likewise.
12949 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12950 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12951 Likewise.
12952
12953 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12954
12955 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12956 void.
12957
12958 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12959
12960 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12961 third argument const.
12962
12963 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12964
12965 fnmatch: work around GCC compiler warning bug with uninit var
12966 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12967 This works around a bug with x86-64 GCC 4.9.2 and earlier
12968 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12969 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12970 used uninitialized in this function [-Wmaybe-uninitialized]".
12971
12972 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12973
12974 * posix/bug-regex31.c (main): Return RES not 0.
12975
12976 2014-11-25 Anton Blanchard <anton@samba.org>
12977
12978 * sysdeps/powerpc/bits/atomic.h
12979 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12980
12981 2014-11-24 Sterling Augustine <saugustine@google.com>
12982
12983 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12984
12985 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12986
12987 [BZ #17608]
12988 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12989
12990 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12991
12992 [BZ #17633]
12993 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12994 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12995 variable.
12996 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12997 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12998
12999 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13000
13001 * string/strncpy.c (strncpy): Improve performance by using memset.
13002
13003 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13004
13005 * string/strcpy.c (strcpy):
13006 Improve performance by using strlen and memcpy.
13007
13008 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
13009
13010 * string/strcoll_l.c (get_next_seq): __always_inline.
13011 * string/strcoll_l.c (do_compare): __always_inline.
13012
13013 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13014
13015 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13016 defined.
13017 * include/mqueue.h: Likewise.
13018 * include/stdlib.h: Likewise.
13019
13020 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13021 (get_null_defines): Adjust.
13022 * sunrpc/Makefile: Adjust comment.
13023 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13024 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13025 (CFLAGS-interp.c): Likewise.
13026 (CFLAGS-ldconfig.c): Likewise.
13027 (CPPFLAGS-.os): Likewise.
13028 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13029 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13030 * extra-modules.mk (extra-modules.mk): Likewise.
13031 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13032 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13033 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13034 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13035 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13036 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13037 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13038 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13039 * iconvdata/Makefile (CPPFLAGS): Likewise.
13040 (cpp-srcs-left): Add libof for all iconvdata routines.
13041 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13042 * include/assert.h: Likewise.
13043 * include/ctype.h: Likewise.
13044 * include/errno.h: Likewise.
13045 * include/libc-symbols.h: Likewise.
13046 * include/math.h: Likewise.
13047 * include/netdb.h: Likewise.
13048 * include/resolv.h: Likewise.
13049 * include/stdio.h: Likewise.
13050 * include/stdlib.h: Likewise.
13051 * include/string.h: Likewise.
13052 * include/sys/stat.h: Likewise.
13053 * include/wctype.h: Likewise.
13054 * intl/l10nflist.c: Likewise.
13055 * libidn/idn-stub.c: Likewise.
13056 * libio/libioP.h: Likewise.
13057 * nptl/libc_multiple_threads.c: Likewise.
13058 * nptl/pthreadP.h: Likewise.
13059 * posix/regex_internal.h: Likewise.
13060 * resolv/res_hconf.c: Likewise.
13061 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13062 * sysdeps/arm/memmove.S: Likewise.
13063 * sysdeps/arm/sysdep.h: Likewise.
13064 * sysdeps/generic/_itoa.h: Likewise.
13065 * sysdeps/generic/symbol-hacks.h: Likewise.
13066 * sysdeps/gnu/errlist.awk: Likewise.
13067 * sysdeps/gnu/errlist.c: Likewise.
13068 * sysdeps/i386/i586/memcpy.S: Likewise.
13069 * sysdeps/i386/i586/memset.S: Likewise.
13070 * sysdeps/i386/i686/memcpy.S: Likewise.
13071 * sysdeps/i386/i686/memmove.S: Likewise.
13072 * sysdeps/i386/i686/mempcpy.S: Likewise.
13073 * sysdeps/i386/i686/memset.S: Likewise.
13074 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13076 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13077 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13078 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13079 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13080 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13081 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13083 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13084 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13085 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13086 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13087 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13088 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13089 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13090 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13091 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13092 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13093 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13094 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13095 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13096 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13097 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13098 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13099 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13100 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13101 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13102 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13103 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13104 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13108 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13110 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13111 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13112 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13114 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13115 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13117 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13120 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13121 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13122 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13124 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13125 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13126 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13127 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13128 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13129 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13130 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13131 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13132 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13133 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13134 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13135 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13136 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13137 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13138 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13139 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13140 * sysdeps/posix/closedir.c: Likewise.
13141 * sysdeps/posix/opendir.c: Likewise.
13142 * sysdeps/posix/readdir.c: Likewise.
13143 * sysdeps/posix/rewinddir.c: Likewise.
13144 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13145 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13146 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13147 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13148 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13149 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13150 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13152 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13155 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13156 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13157 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13158 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13160 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13161 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13162 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13163 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13164 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13165 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13166 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13167 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13168 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13169 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13170 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13172 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13178 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13179 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13180 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13181 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13182 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13183 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13184 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13185 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13186 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13188 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13189 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13190 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13191 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13192 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13193 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13194 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13195 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13196 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13197 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13198 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13199 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13200 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13201 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13202 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13203 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13204 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13205 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13206 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13207 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13208 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13209 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13210 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13211 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13212 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13213 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13214 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13215 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13216 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13217 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13218 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13219 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13220 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13221 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13222 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13223 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13224 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13225 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13226 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13227 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13228 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13229 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13230 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13231 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13232 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13233 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13234 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13235 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13236 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13237 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13238 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13240 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13241 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13242 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13243 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13245 * sysdeps/unix/alpha/sysdep.S: Likewise.
13246 * sysdeps/unix/alpha/sysdep.h: Likewise.
13247 * sysdeps/unix/make-syscalls.sh: Likewise.
13248 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13250 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13251 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13252 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13253 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13254 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13255 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13256 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13257 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13258 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13259 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13261 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13262 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13263 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13264 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13265 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13266 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13267 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13268 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13269 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13270 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13271 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13272 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13273 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13274 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13277 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13282 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13286 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13287 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13288 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13289 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13290 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13291 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13292 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13298 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13299 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13300 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13301 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13304 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13306 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13307 * sysdeps/x86_64/memcpy.S: Likewise.
13308 * sysdeps/x86_64/memmove.c: Likewise.
13309 * sysdeps/x86_64/memset.S: Likewise.
13310 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13311 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13312 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13313 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13314 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13315 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13316 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13317 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13318 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13319 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13320 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13321 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13322 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13323 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13324 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13325 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13326 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13327 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13328 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13329 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13330 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13331 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13332 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13333 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13334 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13335 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13336 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13337 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13338 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13339 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13340 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13341 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13342 * sysdeps/x86_64/strcmp.S: Likewise.
13343
13344 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13345
13346 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13347 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13348 * elf/rtld-Rules: Likewise.
13349 * elf/setup-vdso.h: Likewise.
13350 * include/assert.h: Likewise.
13351 * include/bits/stdlib-float.h: Likewise.
13352 * include/errno.h: Likewise.
13353 * include/sys/stat.h: Likewise.
13354 * include/unistd.h: Likewise.
13355 * sysdeps/aarch64/setjmp.S: Likewise.
13356 * sysdeps/alpha/setjmp.S: Likewise.
13357 * sysdeps/arm/__longjmp.S: Likewise.
13358 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13359 * sysdeps/arm/setjmp.S: Likewise.
13360 * sysdeps/arm/sysdep.h: Likewise.
13361 * sysdeps/generic/_itoa.h: Likewise.
13362 * sysdeps/generic/dl-sysdep.h: Likewise.
13363 * sysdeps/generic/ldsodefs.h: Likewise.
13364 * sysdeps/i386/dl-tls.h: Likewise.
13365 * sysdeps/i386/setjmp.S: Likewise.
13366 * sysdeps/m68k/setjmp.c: Likewise.
13367 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13368 * sysdeps/mach/hurd/opendir.c: Likewise.
13369 * sysdeps/posix/getcwd.c: Likewise.
13370 * sysdeps/posix/opendir.c: Likewise.
13371 * sysdeps/posix/profil.c: Likewise.
13372 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13373 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13374 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13376 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13377 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13378 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13379 * sysdeps/s390/dl-tls.h: Likewise.
13380 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13381 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13382 * sysdeps/sh/sh3/setjmp.S: Likewise.
13383 * sysdeps/sh/sh4/setjmp.S: Likewise.
13384 * sysdeps/unix/alpha/sysdep.h: Likewise.
13385 * sysdeps/unix/arm/sysdep.S: Likewise.
13386 * sysdeps/unix/i386/sysdep.S: Likewise.
13387 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13388 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13389 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13390 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13391 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13392 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13393 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13394 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13395 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13396 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13397 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13398 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13399 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13402 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13403 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13404 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13405 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13406 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13407 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13408 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13410 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13411 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13412 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13414 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13415 * sysdeps/x86_64/setjmp.S: Likewise.
13416
13417 * include/math.h: Use IS_IN instead of IS_IN_libm.
13418 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13430 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13438 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13439 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13440 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13441 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13442 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13443 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13445 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13446 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13447 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13448 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13449 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13450 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13452 Likewise.
13453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13454 Likewise.
13455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13456 Likewise.
13457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13458 Likewise.
13459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13460 Likewise.
13461 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13462 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13463 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13464 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13465 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13466 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13472 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13473 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13474 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13475 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13476 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13477 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13478 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13479 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13480 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13481 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13482 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13483 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13484 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13485 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13487 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13488
13489 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13490 * nptl/pthreadP.h: Likewise.
13491 * nptl_db/structs.def: Likewise.
13492 * sysdeps/arm/sysdep.h: Likewise.
13493 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13494 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13495 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13496 * sysdeps/unix/alpha/sysdep.h: Likewise.
13497 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13498 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13499 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13500 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13501 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13502 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13504 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13505 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13506 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13507 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13508 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13509 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13510 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13513 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13514 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13515 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13518 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13519 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13520 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13521 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13522 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13523
13524 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13525 * nptl/pthreadP.h: Likewise.
13526 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13527 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13528 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13529 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13530 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13531 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13532 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13533 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13534 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13535 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13536 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13537 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13539 Likewise.
13540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13541 Likewise.
13542 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13543 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13544 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13547 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13548 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13549 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13550
13551 * dlfcn/dladdr.c: Use IS_IN.
13552 * dlfcn/dladdr1.c: Likewise.
13553 * dlfcn/dlclose.c: Likewise.
13554 * dlfcn/dlerror.c: Likewise.
13555 * dlfcn/dlinfo.c: Likewise.
13556 * dlfcn/dlmopen.c: Likewise.
13557 * dlfcn/dlopen.c: Likewise.
13558 * dlfcn/dlsym.c: Likewise.
13559 * dlfcn/dlvsym.c: Likewise.
13560
13561 * include/ifaddrs.h: Use IS_IN.
13562 * inet/check_pf.c: Likewise.
13563 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13564 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13565
13566 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13567 IS_IN_ldconfig.
13568 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13569 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13570
13571 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13572 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13573 IS_IN (libc).
13574
13575 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13576
13577 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13578 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13579 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13580 * include/libc-symbols.h (IS_IN_LIB): New macro.
13581 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13582 * include/netdb.h: Likewise.
13583 * include/stap-probe.h: Remove all uses of IN_LIB.
13584
13585 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13586 instead of IN_MODULE.
13587 * include/libc-symbols.h (IN_MODULE): Define using
13588 MODULE_NAME.
13589 (PASTE_NAME, PASTE_NAME1): New macros.
13590 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13591 of IN_LIB.
13592 (STAP_PROBE_ASM): Likewise.
13593
13594 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13595
13596 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13597 __mach_init in dlopened libc.
13598
13599 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13600
13601 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13602 * sysdeps/arm/preconfigure: Regenerate.
13603
13604 2014-11-21 Roland McGrath <roland@hack.frob.com>
13605
13606 * nptl/pthread_create.c (__pthread_create_2_1): Set
13607 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13608 when copying values from IATTR into PD.
13609
13610 2014-11-21 Will Newton <will.newton@linaro.org>
13611 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13612
13613 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13614 Refactor inline-asm. Also add comment.
13615
13616 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13617 ElfW macro instead of hardcoded Elf64 types.
13618 (la_aarch64_gnu_pltenter): Likewise.
13619 * sysdeps/aarch64/dl-machine.h
13620 (elf_machine_runtime_setup): Use ElfW(Addr).
13621
13622 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13623 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13624 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13625 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13626 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13627 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13628 (R_AARCH64_TLS_DTPMOD): This.
13629 (R_AARCH64_TLS_DTPREL64): Rename to ...
13630 (R_AARCH64_TLS_DTPREL): This.
13631 (R_AARCH64_TLS_TPREL64): Rename to ...
13632 (R_AARCH64_TLS_TPREL): This.
13633 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13634 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13635 R_AARCH64_TLS_TPREL64.
13636 (elf_machine_rela): Likewise.
13637
13638 2014-11-21 Torvald Riegel <triegel@redhat.com>
13639
13640 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13641 by setting it to 0. 64b atomics are not supported currently.
13642
13643 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13644
13645 [BZ #16469]
13646 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13647 search domain names.
13648
13649 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13650
13651 [BZ #16469]
13652 * NEWS: Update.
13653 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13654 trailing dot.
13655 * posix/tst-getaddrinfo5.c: New.
13656 * posix/Makefile (tests): Add it.
13657
13658 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13659
13660 [BZ #14498]
13661 * NEWS: Fixed.
13662 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13663 after parsing line but before break_if_match.
13664 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13665 if there is a protocol mismatch.
13666
13667 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13668
13669 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13670 because the potential race is on the user-supplied stream.
13671
13672 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13673
13674 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13675 string literal if not passed a buffer.
13676 * manual/job.texi (ctermid): Update reasoning, note deviation
13677 from posix, suggest mtasurace when not passed a buffer, for
13678 future non-preliminary safety notes.
13679
13680 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13681
13682 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13683 of not passing it a buffer.
13684 Reported by Peng Haitao.
13685
13686 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13687
13688 * manual/Makefile ($(objpfx)stamp-summary): Require
13689 check-safety.sh to pass.
13690 * manual/check-safety.sh: Wish for verification that every
13691 @deftypefn and @deftypefun is followed by a @safety remark.
13692
13693 2014-11-20 Roland McGrath <roland@hack.frob.com>
13694
13695 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13696
13697 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13698 PTHREAD_CANCEL_ASYNCHRONOUS.
13699 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13700 send SIGCANCEL.
13701
13702 * nptl/default-sched.h: New file.
13703 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13704 * nptl/pthread_create.c: Include it.
13705 (__pthread_create_2_1): Use collect_default_sched instead of making
13706 Linux syscalls here directly.
13707
13708 2014-11-20 Torvald Riegel <triegel@redhat.com>
13709
13710 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13711 __pthread_once): Use C11 atomics.
13712
13713 2014-11-20 Torvald Riegel <triegel@redhat.com>
13714
13715 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13716
13717 2014-11-20 Torvald Riegel <triegel@redhat.com>
13718
13719 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13720 atomic_thread_fence_acquire, atomic_thread_fence_release,
13721 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13722 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13723 atomic_compare_exchange_weak_relaxed,
13724 atomic_compare_exchange_weak_acquire,
13725 atomic_compare_exchange_weak_release,
13726 atomic_exchange_acquire, atomic_exchange_release,
13727 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13728 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13729 atomic_fetch_and_acquire,
13730 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13731
13732 2014-11-20 Torvald Riegel <triegel@redhat.com>
13733
13734 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13735 USE_ATOMIC_COMPILER_BUILTINS): Define.
13736 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13737 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13738 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13739 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13740 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13741 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13742 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13743 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13744 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13745 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13746 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13747 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13748 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13750 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13751 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13752 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13753 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13754 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13755 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13756 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13757 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13758 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13759 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13760 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13761 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13762 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13763 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13764 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13765 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13766 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13767 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13768 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13769 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13770 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13771 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13772 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13773 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13774 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13776
13777 2014-11-19 Roland McGrath <roland@hack.frob.com>
13778
13779 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13780 the sched_priority value here. It was already checked when the user
13781 called pthread_attr_setschedparam.
13782
13783 * nptl/tst-bad-schedattr.c: New file.
13784 * nptl/Makefile (tests): Add it.
13785
13786 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13787 Florian Weimer <fweimer@redhat.com>
13788 Joseph Myers <joseph@codesourcery.com>
13789 Adam Conrad <adconrad@0c3.net>
13790 Andreas Schwab <schwab@suse.de>
13791 Brooks <bmoses@google.com>
13792
13793 [BZ #17625]
13794 * wordexp-test.c (__dso_handle): Add prototype.
13795 (__register_atfork): Likewise.
13796 (__app_register_atfork): New function.
13797 (registered_forks): New global.
13798 (register_fork): New function.
13799 (test_case): Add 3 new tests for WRDE_CMDSUB.
13800 (main): Call __app_register_atfork.
13801 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13802 fork count is non-zero fail the test.
13803 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13804 is set.
13805 (parse_dollars): Remove check for WRDE_NOCMD.
13806 (parse_dquote): Likewise.
13807
13808 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13809
13810 * Makeconfig (built-modules): List non-library modules to be
13811 built.
13812 (module-cppflags): Include libc-modules.h for
13813 everything except shlib-versions.v.i.
13814 (CPPFLAGS): Use it.
13815 (before-compile): Add libc-modules.h.
13816 ($(common-objpfx)libc-modules.h,
13817 $(common-objpfx)libc-modules.stmp): New targets.
13818 (common-generated): Add libc-modules.h and libc-modules.stmp.
13819 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13820 * include/libc-symbols.h: Don't include libc-modules.h.
13821 * include/libc-modules.h: Remove file.
13822 * scripts/gen-libc-modules.awk: New script to generate
13823 libc-modules.h.
13824 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13825 Depend on libc-modules.stmp.
13826
13827 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13828
13829 * Makeconfig (in-module): Get value of libof set for the
13830 translation unit.
13831 (CPPFLAGS): Use $(in-module).
13832 * Makerules: Don't suffix routine names for nonlib.
13833 * include/libc-modules.h: New file.
13834 * include/libc-symbols.h: Include libc-modules.h
13835 (IS_IN): New macro to replace IS_IN_* macros.
13836 * elf/Makefile: Set libof-* for each routine.
13837 * elf/rtld-Rules: Likewise.
13838 * extra-modules.mk: Likewise.
13839 * iconv/Makefile: Likewise.
13840 * iconvdata/Makefile: Likewise.
13841 * locale/Makefile: Likewise.
13842 * malloc/Makefile: Likewise.
13843 * nss/Makefile: Likewise.
13844 * sysdeps/gnu/Makefile: Likewise.
13845 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13846 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13847 * sysdeps/s390/s390-64/Makefile: Likewise.
13848 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13849 CPPFLAGS for nscd instead of nonlib.
13850
13851 2014-11-18 Roland McGrath <roland@hack.frob.com>
13852
13853 * nptl/createthread.c: New file.
13854
13855 * nptl/createthread.c: Moved ...
13856 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13857
13858 * nptl/createthread.c: Add proper top-line comment.
13859 (do_clone): Folded into ...
13860 (create_thread): ... here. Take new arguments STOPPED_START and
13861 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13862 increment __nptl_threads, do event-reporting logic, do
13863 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13864 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13865 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13866 just send SIGCANCEL.
13867 * nptl/pthread_create.c: Forward-declare create_thread before
13868 including createthread.c.
13869 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13870 declaration, and new macro START_THREAD_SELF to replace argument.
13871 Remove return statement.
13872 (report_thread_creation): New function.
13873 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13874 synchronization logic, and __nptl_nthreads increment here, around
13875 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13876 PD->parent_cancelhandling here, before create_thread. When
13877 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13878 __deallocate_stack, and ENOMEM translation here.
13879
13880 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13881
13882 [BZ #17616]
13883 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13884 (mptwo): Rename to __mptwo.
13885 (__inv): Use __mptwo instead of mptwo.
13886 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13887 (mptwo): Rename to __mptwo.
13888 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13889 of mpone and __mptwo instead of mptwo.
13890 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13891 instead of mpone.
13892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13893 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13894 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13895 of mpone and __mptwo instead of mptwo.
13896 (__mpranred): Use __mpone instead of mpone.
13897 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13898 variable.
13899 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13900 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13901 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13902 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13903 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13904 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13905 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13906 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13907 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13908 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13909 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13910 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13911 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13912 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13913 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13914 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13915 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13916 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13917 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13918
13919 2014-11-18 Tom de Vries <tom@codesoucery.com>
13920
13921 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13922 replace BSD Handler xref with BSD Signal Handling.
13923
13924 2014-11-17 Richard Henderson <rth@redhat.com>
13925
13926 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13927 (_FP_PACK_RAW_2): Remove.
13928 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13929 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13930 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13931 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13932 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13933 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13934 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13935 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13936 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13937 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13938 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13939 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13940 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13941 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13942 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13943 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13944
13945 2014-11-14 Roland McGrath <roland@hack.frob.com>
13946
13947 * signal/signal.h [__USE_MISC]
13948 (struct sigvec): Remove type.
13949 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13950 (sigvec): Remove declaration.
13951 * sysdeps/posix/sigvec.c: Moved ...
13952 * signal/sigvec.c: ... here, replacing old file.
13953 (struct sigvec): New type, copied from old signal.h definition.
13954 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13955 (__sigvec): Convert definition to prototype.
13956 (sigvec): Replace weak_alias with compat_symbol.
13957 * signal/Versions (libc: GLIBC_2.21): New version set.
13958 * include/signal.h: Remove __sigvec declaration.
13959 * sysdeps/unix/bsd/sigvec.c: Remove file.
13960 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13961 * manual/signal.texi (BSD Handler): Remove subsection.
13962 Move siginterrupt up to ...
13963 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13964 (Blocking in BSD): Fold subsection into its parent.
13965 * NEWS: Mention sigvec removal.
13966
13967 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13968
13969 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13970 (DLA_FMS): Make definition conditional only on [__FMA4__].
13971 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13972 definition.
13973
13974 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13975 Make definition conditional only on [PROF].
13976 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13977 definition.
13978 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13979 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13980
13981 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13982 !__GNUC__].
13983 * include/signal.h (__sigpause): Move declaration above call to
13984 libc_hidden_proto.
13985 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13986 variable.
13987 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13988 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13989
13990 2014-11-14 David S. Miller <davem@davemloft.net>
13991
13992 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13993 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13994
13995 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13996
13997 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13998 * configure: Regenerated.
13999 * manual/install.texi (Tools for Compilation): Document a
14000 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14001 compiler verified to work.
14002 * INSTALL: Regenerated.
14003
14004 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14005 redeclare with asm name.
14006 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14007 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14008 including <string.h>.
14009 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14010 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14011 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14012 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14013 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14014 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14015 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14016
14017 2014-11-13 Joseph Myers <joseph@codesourcery.com>
14018
14019 * stdlib/strtol.c (__strtol): Use prototype definition.
14020
14021 [BZ #17594]
14022 * stdlib/strtol.c (SYM__): New macro.
14023 (SYM__1): Likewise.
14024 (__strtol): Likewise.
14025 (strtol): Rename to __strtol and define as weak alias of
14026 __strtol. Use libc_hidden_weak.
14027
14028 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14029
14030 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14031 Use numbered labels in inline assembly.
14032
14033 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14034
14035 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14036 Add setjmp LIBC_PROBE.
14037 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14038 Likewise.
14039 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14040 Add longjmp, longjmp_target LIBC_PROBE.
14041 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14042 Likewise.
14043
14044 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14045
14046 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14047 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14048 to get rid of unused variable warning.
14049
14050 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14051
14052 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14053 Check for unwind_backtrace == NULL only in SHARED case.
14054 (__backchain_backtrace): Compile only in SHARED case.
14055 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14056 Likewise.
14057 (__backchain_backtrace): Declare as static.
14058
14059 2014-11-12 Roland McGrath <roland@hack.frob.com>
14060
14061 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14062 (__libc_multiple_threads_ptr): Variable moved ...
14063 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14064
14065 2014-11-12 Joseph Myers <joseph@codesourcery.com>
14066
14067 * conform/GlibcConform.pm: New file.
14068 * conform/conformtest.pl: Use GlibcConform module.
14069 * conform/linknamespace.pl: New file.
14070 * conform/list-header-symbols.pl: Likewise.
14071 * conform/Makefile (linknamespace-symlists-base): New variable.
14072 (linknamespace-symlists-tests): Likewise.
14073 (linknamespace-header-base): Likewise.
14074 (linknamespace-header-tests): Likewise.
14075 (tests-special): Add new tests.
14076 ($(linknamespace-symlists-tests)): New rule.
14077 (linknamespace-libs): New variable.
14078 ($(objpfx)symlist-stdlibs): New rule.
14079 ($(linknamespace-header-tests)): Likewise.
14080 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14081 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14082 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14083 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14084 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14085 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14086 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14087 (test-xfail-ISO/math.h/linknamespace): Likewise.
14088 (test-xfail-ISO/signal.h/linknamespace): Likewise.
14089 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14090 (test-xfail-ISO/time.h/linknamespace): Likewise.
14091 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14092 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14093 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14094 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14095 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14096 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14097 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14098 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14099 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14100 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14101 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14102 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14103 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14104 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14105 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14106 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14107 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14108 (test-xfail-XPG3/search.h/linknamespace): Likewise.
14109 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14110 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14111 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14112 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14113 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14114 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14115 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14116 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14117 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14118 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14119 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14120 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14121 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14122 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14123 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14124 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14125 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14126 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14127 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14128 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14129 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14130 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14131 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14132 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14133 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14134 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14135 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14136 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14137 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14138 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14139 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14140 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14141 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14142 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14143 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14144 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14145 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14146 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14147 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14148 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14149 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14150 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14151 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14152 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14153 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14154 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14155 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14156 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14157 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14158 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14159 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14160 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14161 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14162 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14163 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14164 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14165 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14166 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14167 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14168 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14169 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14170 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14171 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14172 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14173 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14174 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14175 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14176 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14177 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14178 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14179 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14180 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14181 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14182 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14183 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14184 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14185 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14186 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14187 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14188 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14189 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14190 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14191 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14192 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14193 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14194 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14195 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14196 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14197 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14198 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14199 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14200 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14201 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14202 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14203 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14204 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14205 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14206 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14207 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14208 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14209 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14210 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14211 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14212 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14213 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14214 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14215 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14216 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14217 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14218 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14219 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14220 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14221 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14222 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14223 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14224 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14225 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14226 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14227 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14228 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14229 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14230 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14231 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14232 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14233 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14234 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14235 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14236 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14237 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14238 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14239 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14240 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14241
14242 [BZ #17589]
14243 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14244 of fgets_unlocked.
14245
14246 [BZ #17585]
14247 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14248 (memmem): Rename to __memmem and define as weak alias of
14249 __memmem. Use libc_hidden_weak.
14250 (__memmem): Use libc_hidden_def.
14251 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
14252 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14253 memmem.
14254
14255 [BZ #17582]
14256 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14257 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14258 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14259 and define as weak alias of __fgets_unlocked. Use
14260 libc_hidden_weak.
14261 (__fgets_unlocked): Use libc_hidden_def.
14262 * include/stdio.h (__fgets_unlocked): Declare. Use
14263 libc_hidden_proto.
14264 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14265 __fgets_unlocked instead of fgets_unlocked.
14266 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14267 (GET_NPROCS_CONF_PARSER): Likewise.
14268 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14269 (GET_NPROCS_CONF_PARSER): Likewise.
14270
14271 [BZ #17574]
14272 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14273 weak alias of __wmemset. Use libc_hidden_weak.
14274 (__wmemset): Use libc_hidden_def.
14275 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14276 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14277 of wmemset.
14278
14279 [BZ #17573]
14280 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14281 with asm name __mempcpy.
14282 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14283
14284 [BZ #17572]
14285 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14286 and define as weak alias of __rawmemchr.
14287 (__rawmemchr): Do not define as strong alias of rawmemchr.
14288
14289 [BZ #17571]
14290 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14291 alias of __qsort_r.
14292 (qsort): Call __qsort_r instead of qsort_r.
14293 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14294 (__qsort_r): Declare. Call libc_hidden_proto.
14295 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14296 instead of qsort_r.
14297 * nscd/gai.c (__qsort_r): Define to qsort_r.
14298 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14299 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14300 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14301
14302 [BZ #17570]
14303 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14304 define as weak alias of __malloc_info.
14305
14306 [BZ #17584]
14307 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14308 as weak alias of __rewinddir. Don't use libc_hidden_def.
14309 (__rewinddir): Use libc_hidden_def.
14310 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14311 as weak alias of __rewinddir. Don't use libc_hidden_def.
14312 (__rewinddir): Use libc_hidden_def.
14313 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14314 weak alias of __rewinddir. Don't use libc_hidden_def.
14315 (__rewinddir): Use libc_hidden_def.
14316 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14317 (__rewinddir): Use libc_hidden_proto.
14318 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14319 rewinddir.
14320 (__getcwd): Use __rewinddir instead of rewinddir.
14321
14322 [BZ #17583]
14323 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14324 alias of __fileno. Use libc_hidden_weak.
14325 (__fileno): Use libc_hidden_def.
14326 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14327 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14328 alias of __ftello.
14329 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14330 __ftello.
14331 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14332 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14333 libc_hidden_def.
14334 (fread_unlocked): Don't use libc_hidden_ver.
14335 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14336 and define as weak alias of __fread_unlocked. Don't use
14337 libc_hidden_def.
14338 (__fread_unlocked): Use libc_hidden_def.
14339 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14340 (ftello): Don't use libc_hidden_proto.
14341 (__ftello): Declare. Use libc_hidden_proto.
14342 (fread_unlocked): Don't use libc_hidden_proto.
14343 (__fread_unlocked): Declare. Use libc_hidden_proto.
14344 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14345 and __ftello instead of fileno, fread_unlocked and ftello.
14346
14347 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14348
14349 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14350 GOT12.
14351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14352 Likewise.
14353 (_dl_start_user): Likewise.
14354 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14355
14356 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14357 Siddhesh Poyarekar <siddhesh@redhat.com>
14358
14359 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14360 Move argv and envp down instead of moving argc up.
14361 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14362
14363 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14364
14365 [BZ #17506]
14366 * test-skeleton.c (main): Return successful if one of
14367 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14368 * string/tst-strcoll-overflow.c: Define expected status.
14369
14370 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14371
14372 [BZ #17475]
14373 * locale/iso-639.def: Define Bhili and Tulu language codes.
14374
14375 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14376
14377 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14378
14379 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14380
14381 [BZ #17555]
14382 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14383
14384 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14385
14386 * configure.ac: Updated check of minimal required version to
14387 2.22.
14388 * manual/install.texi (Tools for Compilation): Updated version
14389 number.
14390 * configure: Regenerated.
14391 * INSTALL: Likewise.
14392
14393 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14394
14395 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14396 __tls_get_addr.
14397
14398 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14399
14400 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14401 * posix/waitpid.c (__libc_waitpid): Rename to __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/bsd/waitpid.c (__libc_waitpid): Rename to
14406 __waitpid.
14407 (__waitpid): Don't define as alias. Use libc_hidden_def not
14408 libc_hidden_weak.
14409 (waitpid): Define as alias of __waitpid.
14410 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14411 __libc_waitpid alias.
14412 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14413 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14414 Likewise.
14415 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14416 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14417 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14418 alias.
14419 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14420 __waitpid.
14421 (__waitpid): Don't define as alias. Use libc_hidden_def not
14422 libc_hidden_weak.
14423 (waitpid): Define as alias of __waitpid.
14424
14425 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14426
14427 * manual/llio.texi: Add comment that write safety has been
14428 fixed in Linux.
14429
14430 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14431 (localplt-build-dso): Add elf/ld.so.
14432 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14433 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14434 and free for ld.so.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14436 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14438 Likewise.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14440 Likewise.
14441 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14442 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14443 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14444 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14445 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14446 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14447 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14448 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14449 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14450 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14451 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14452
14453 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14454
14455 [BZ #14132]
14456 * include/libc-symbols.h (INTUSE): Remove macro.
14457 (INTDEF): Likewise.
14458 (INTVARDEF): Likewise.
14459 (_INTVARDEF): Likewise.
14460 (INTDEF2): Likewise.
14461 (INTVARDEF2): Likewise.
14462 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14463 rtld_hidden_def instead of INTVARDEF.
14464 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14465 (_dl_starting_up_internal): Remove declaration.
14466 (_dl_starting_up): Use rtld_hidden_proto.
14467 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14468 declaration.
14469 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14470 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14471 _dl_starting_up.
14472 * elf/dl-writev.h (_dl_writev): Likewise.
14473 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14474 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14475 _dl_starting_up_internal.
14476
14477 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14478
14479 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14480 test-skeleton.c.
14481
14482 2014-11-05 Will Newton <will.newton@linaro.org>
14483
14484 * benchtests/Makefile: (bench-malloc): Add malloc thread
14485 scalability benchmark.
14486 * benchtests/bench-malloc-threads.c: New file.
14487
14488 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14489
14490 * sysdeps/aarch64/strchrnul.S: New file.
14491
14492 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14493
14494 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14495 definition.
14496 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14497 Likwise.
14498 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14499 Likewise.
14500 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14501 Likewise.
14502 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14503 Likewise.
14504 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14505 Likewise.
14506
14507 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14508
14509 * catgets/test-gencat.c: Use test-skeleton.c.
14510 * catgets/tst-catgets.c: Likewise.
14511 * csu/tst-empty.c: Likewise.
14512 * elf/tst-audit2.c: Likewise.
14513 * elf/tst-global1.c: Likewise.
14514 * elf/tst-pathopt.c: Likewise.
14515 * elf/tst-piemod1.c: Likewise.
14516 * elf/tst-tls10.c: Likewise.
14517 * elf/tst-tls11.c: Likewise.
14518 * elf/tst-tls12.c: Likewise.
14519 * gnulib/tst-gcc.c: Likewise.
14520 * iconvdata/tst-e2big.c: Likewise.
14521 * iconvdata/tst-loading.c: Likewise.
14522 * iconv/tst-iconv1.c: Likewise.
14523 * iconv/tst-iconv2.c: Likewise.
14524 * inet/test-inet6_opt.c: Likewise.
14525 * inet/tst-gethnm.c: Likewise.
14526 * inet/tst-network.c: Likewise.
14527 * inet/tst-ntoa.c: Likewise.
14528 * intl/tst-codeset.c: Likewise.
14529 * intl/tst-gettext2.c: Likewise.
14530 * intl/tst-gettext3.c: Likewise.
14531 * intl/tst-ngettext.c: Likewise.
14532 * intl/tst-translit.c: Likewise.
14533 * io/test-stat.c: Likewise.
14534 * libio/test-fmemopen.c: Likewise.
14535 * libio/tst-freopen.c: Likewise.
14536 * libio/tst-sscanf.c: Likewise.
14537 * libio/tst-ungetwc1.c: Likewise.
14538 * libio/tst-ungetwc2.c: Likewise.
14539 * libio/tst-widetext.c: Likewise.
14540 * localedata/tst-ctype.c: Likewise.
14541 * localedata/tst-digits.c: Likewise.
14542 * localedata/tst-leaks.c: Likewise.
14543 * localedata/tst-mbswcs1.c: Likewise.
14544 * localedata/tst-mbswcs2.c: Likewise.
14545 * localedata/tst-mbswcs3.c: Likewise.
14546 * localedata/tst-mbswcs4.c: Likewise.
14547 * localedata/tst-mbswcs5.c: Likewise.
14548 * localedata/tst-setlocale.c: Likewise.
14549 * localedata/tst-trans.c: Likewise.
14550 * localedata/tst-wctype.c: Likewise.
14551 * localedata/tst-xlocale1.c: Likewise.
14552 * login/tst-grantpt.c: Likewise.
14553 * malloc/tst-calloc.c: Likewise.
14554 * malloc/tst-malloc.c: Likewise.
14555 * malloc/tst-mallocstate.c: Likewise.
14556 * malloc/tst-mcheck.c: Likewise.
14557 * malloc/tst-mtrace.c: Likewise.
14558 * malloc/tst-obstack.c: Likewise.
14559 * math/atest-exp2.c: Likewise.
14560 * math/atest-exp.c: Likewise.
14561 * math/atest-sincos.c: Likewise.
14562 * math/test-matherr.c: Likewise.
14563 * math/test-misc.c: Likewise.
14564 * math/test-powl.c: Likewise.
14565 * math/tst-definitions.c: Likewise.
14566 * misc/tst-dirname.c: Likewise.
14567 * misc/tst-efgcvt.c: Likewise.
14568 * misc/tst-fdset.c: Likewise.
14569 * misc/tst-hsearch.c: Likewise.
14570 * misc/tst-mntent2.c: Likewise.
14571 * nptl/tst-sem7.c: Likewise.
14572 * nptl/tst-sem8.c: Likewise.
14573 * nptl/tst-sem9.c: Likewise.
14574 * nss/test-netdb.c: Likewise.
14575 * posix/tst-fnmatch.c: Likewise.
14576 * posix/tst-getlogin.c: Likewise.
14577 * posix/tst-gnuglob.c: Likewise.
14578 * posix/tst-mmap.c: Likewise.
14579 * pwd/tst-getpw.c: Likewise.
14580 * resolv/tst-inet_ntop.c: Likewise.
14581 * rt/tst-timer.c: Likewise.
14582 * stdio-common/test-fseek.c: Likewise.
14583 * stdio-common/test-popen.c: Likewise.
14584 * stdio-common/test-vfprintf.c: Likewise.
14585 * stdio-common/tst-cookie.c: Likewise.
14586 * stdio-common/tst-fileno.c: Likewise.
14587 * stdio-common/tst-gets.c: Likewise.
14588 * stdio-common/tst-obprintf.c: Likewise.
14589 * stdio-common/tst-perror.c: Likewise.
14590 * stdio-common/tst-sprintf2.c: Likewise.
14591 * stdio-common/tst-sprintf3.c: Likewise.
14592 * stdio-common/tst-sprintf.c: Likewise.
14593 * stdio-common/tst-swprintf.c: Likewise.
14594 * stdio-common/tst-tmpnam.c: Likewise.
14595 * stdio-common/tst-unbputc.c: Likewise.
14596 * stdio-common/tst-wc-printf.c: Likewise.
14597 * stdlib/tst-environ.c: Likewise.
14598 * stdlib/tst-fmtmsg.c: Likewise.
14599 * stdlib/tst-limits.c: Likewise.
14600 * stdlib/tst-rand48-2.c: Likewise.
14601 * stdlib/tst-rand48.c: Likewise.
14602 * stdlib/tst-random2.c: Likewise.
14603 * stdlib/tst-random.c: Likewise.
14604 * stdlib/tst-strtol.c: Likewise.
14605 * stdlib/tst-strtoll.c: Likewise.
14606 * stdlib/tst-tls-atexit.c: Likewise.
14607 * stdlib/tst-xpg-basename.c: Likewise.
14608 * string/test-ffs.c: Likewise.
14609 * string/tst-bswap.c: Likewise.
14610 * string/tst-inlcall.c: Likewise.
14611 * string/tst-strtok.c: Likewise.
14612 * string/tst-strxfrm.c: Likewise.
14613 * sysdeps/x86_64/tst-audit10.c: Likewise.
14614 * sysdeps/x86_64/tst-audit3.c: Likewise.
14615 * sysdeps/x86_64/tst-audit4.c: Likewise.
14616 * sysdeps/x86_64/tst-audit5.c: Likewise.
14617 * time/tst-ftime_l.c: Likewise.
14618 * time/tst-getdate.c: Likewise.
14619 * time/tst-mktime3.c: Likewise.
14620 * time/tst-mktime.c: Likewise.
14621 * time/tst-posixtz.c: Likewise.
14622 * time/tst-strptime2.c: Likewise.
14623 * time/tst-strptime3.c: Likewise.
14624 * wcsmbs/tst-btowc.c: Likewise.
14625 * wcsmbs/tst-mbrtowc.c: Likewise.
14626 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14627 * wcsmbs/tst-wchar-h.c: Likewise.
14628 * wcsmbs/tst-wcpncpy.c: Likewise.
14629 * wcsmbs/tst-wcrtomb.c: Likewise.
14630 * wcsmbs/tst-wcsnlen.c: Likewise.
14631 * wcsmbs/tst-wcstof.c: Likewise.
14632
14633 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14634
14635 [BZ #14132]
14636 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14637 INTDEF.
14638 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14639 declaration.
14640 (_dl_mcount): Use rtld_hidden_proto.
14641 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14642 _dl_mcount.
14643 * elf/rtld.c (_rtld_global_ro): Likewise.
14644
14645 [BZ #14132]
14646 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14647 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14648 of _dl_init_internal.
14649 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14650 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14651 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14652 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14653 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14654 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14655 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14656 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14657 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14658 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14659 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14660 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14661 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14662 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14663 * sysdeps/tile/dl-start.S (_start): Likewise.
14664 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14665 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14666
14667 [BZ #14132]
14668 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14669 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14670 (rtld_progname): Make macro definition unconditional.
14671 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14672 INTDEF.
14673 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14674 (dl_main): Likewise.
14675 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14676 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14677 instead of _dl_argv_internal.
14678 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14679 __GI__dl_argv instead of INTUSE(_dl_argv).
14680 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14681 __GI__dl_argv instead of _dl_argv_internal.
14682
14683 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14684 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14685 macro.
14686 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14687 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14688 New macro.
14689 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14690 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14691 macro.
14692 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14693 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14694
14695 2014-11-04 Andreas Schwab <schwab@suse.de>
14696
14697 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14698
14699 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14700
14701 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14702 mtvsrd instruction in binary form.
14703
14704 2014-11-03 Andreas Schwab <schwab@suse.de>
14705
14706 [BZ #17522]
14707 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14708 for less than MB_LEN_MAX use a local buffer of that size.
14709 * libio/tst-fputws.c: New file.
14710 * libio/Makefile (tests): Add tst-fputws.
14711
14712 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14713
14714 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14715 the size of the fpu_fr.fpu_dregs[] array.
14716
14717 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14718
14719 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14720 (__nanosleep): Do not define as alias.
14721 (nanosleep): Define as alias of __nanosleep.
14722 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14723 __libc_nanosleep name.
14724
14725 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14726
14727 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14728 install.texi in comment.
14729
14730 2014-10-31 Torvald Riegel <triegel@redhat.com>
14731
14732 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14733 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14734 ... add here and use lwsync or sync ...
14735 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14736 ... and add here using lwsync.
14737
14738 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14739
14740 * elf/dl-machine-reject-phdr.h: New file.
14741 * elf/dl-load.c: #include that.
14742 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14743 if that returned true.
14744
14745 2014-10-31 Roland McGrath <roland@hack.frob.com>
14746
14747 [BZ #17496]
14748 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14749 gen-as-const-headers chunk. Add a big scare comment after the last
14750 safe place to touch before-compile.
14751
14752 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14753
14754 * manual/install.texi (Tools for Compilation): Update autoconf
14755 version requirements.
14756 * INSTALL: Regenerated.
14757
14758 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14759 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14760 (__libc_pselect): Likewise.
14761
14762 [BZ #14138]
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14767
14768 2014-10-31 Torvald Riegel <triegel@redhat.com>
14769
14770 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14771 correct barrier instruction.
14772 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14773 Likewise.
14774 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14775 Likewise.
14776
14777 2014-10-30 Roland McGrath <roland@hack.frob.com>
14778
14779 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14780 after defining inlines. Instead, just use parens to defeat macro
14781 expansion of __isctype in its declaration.
14782
14783 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14784
14785 * include/sys/uio.h (__libc_readv): Remove declaration.
14786 (__libc_writev): Likewise.
14787 * misc/readv.c (__libc_readv): Rename to __readv.
14788 (__readv): Do not define as alias.
14789 (readv): Define as alias of __readv.
14790 * misc/writev.c (__libc_writev): Rename to __writev.
14791 (__writev): Do not define as alias.
14792 (writev): Define as alias of __writev.
14793 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14794 (__readv): Do not define as alias.
14795 (readv): Define unconditionally as alias of __readv.
14796 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14797 (__writev): Do not define as alias.
14798 (writev): Define unconditionally as alias of __writev.
14799 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14800 name.
14801 (writev): Do not define __libc_writev name.
14802
14803 2014-10-30 Roland McGrath <roland@hack.frob.com>
14804
14805 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14806 (convert_charseq): New function, broken out of ...
14807 (use_from_charmap): ... here. Call it.
14808 (use_to_charmap): Use convert_charseq and free instead of duplicating
14809 its code with a variable-length stack struct.
14810
14811 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14812
14813 * include/fcntl.h (__libc_creat): Remove declaration.
14814 * io/creat.c (__libc_creat): Rename to creat.
14815 (creat): Do not define as alias.
14816 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14817 of creat instead of __libc_creat.
14818 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14819 to creat.
14820 (creat): Do not define as alias.
14821 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14822 __libc_creat.
14823 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14824 __libc_creat name.
14825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14826 Likewise.
14827
14828 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14829
14830 * manual/llio.texi: Add comments discussing why write() may be
14831 considered MT-unsafe on Linux.
14832
14833 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14834
14835 * dl-load.c (local_strdup): Remove.
14836 (expand_dynamic_string_token): Use __strdup.
14837 (decompose_rpath): Likewise.
14838 (_dl_map_object): Likewise.
14839
14840 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14841
14842 [BZ #14132]
14843 * sysdeps/generic/unwind-dw2-fde.c
14844 (__register_frame_info_bases_internal): Do not declare.
14845 (__register_frame_info_table_bases_internal): Likewise.
14846 (__deregister_frame_info_bases_internal): Likewise.
14847 (__register_frame_info_bases): Declare and use hidden_proto before
14848 definition. Use hidden_def instead of INTDEF.
14849 (__register_frame_info_table_bases): Likewise.
14850 (__deregister_frame_info_bases): Likewise.
14851 (__register_frame_info): Do not use INTUSE.
14852 (__register_frame): Likewise.
14853 (__register_frame_info_table): Likewise.
14854 (__register_frame_table): Likewise.
14855 (__deregister_frame_info): Likewise.
14856 (__deregister_frame): Likewise.
14857
14858 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14859
14860 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14861 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14862 not undefine.
14863 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14864 Likewise.
14865 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14866 Likewise.
14867
14868 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14869
14870 [BZ #14138]
14871 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14872 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14873 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14874 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14875 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14876 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14877 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14878 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14879 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14880 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14881 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14882 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14883 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14884 syscall.
14885 (setfsuid): Likewise.
14886 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14887 (setfsuid): Likewise.
14888 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14889 (setfsuid): Likewise.
14890 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14891 Likewise.
14892 (setfsuid): Likewise.
14893 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14894 (setfsuid): Likewise.
14895 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14896 Likewise.
14897 (setfsuid): Likewise.
14898
14899 2014-10-27 Andreas Schwab <schwab@suse.de>
14900
14901 [BZ #17501]
14902 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14903 check for Slow_SSE4_2 feature bit.
14904 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14905 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14906 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14907 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14908
14909 2014-10-24 Roland McGrath <roland@hack.frob.com>
14910
14911 * configure.ac: Validate compiler version with a empirical test of
14912 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14913 $CC -v output.
14914 * configure: Regenerated.
14915
14916 * inet/htons.c (htons): Prototypify.
14917 * inet/htonl.c (htonl): Likewise.
14918
14919 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14920
14921 * string/strncat.c (strncat): Improve performance by using strlen.
14922
14923 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14924
14925 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14926
14927 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14928
14929 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14930 Call libc_fetestexcept_aarch64.
14931
14932 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14933
14934 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14935 Call libc_feholdexcept_aarch64.
14936
14937 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14938
14939 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14940 Call get_rounding_mode.
14941
14942 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14943
14944 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14945 Simplify logic.
14946
14947 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14948
14949 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14950 Simplify logic.
14951
14952 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14953
14954 [BZ #14138]
14955 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14956 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14957 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14958 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14959 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14960 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14961 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14962 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14963 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14964 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14965 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14966 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14967 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14968 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14969 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14970 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14971 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14972 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14973 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14974 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14975 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14976 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14977 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14978 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14979 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14980 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14981 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14982 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14983 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14984 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14985 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14986 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14987 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14988 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14989 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14990 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14991 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14992 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14993 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14994 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14995 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14996 syscall.
14997 (geteuid): Likewise.
14998 (getgid): Likewise.
14999 (getuid): Likewise.
15000 (getresgid): Likewise.
15001 (getresuid): Likewise.
15002 (getgroups): Likewise.
15003 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15004 (geteuid): Likewise.
15005 (getgid): Likewise.
15006 (getuid): Likewise.
15007 (getresgid): Likewise.
15008 (getresuid): Likewise.
15009 (getgroups): Likewise.
15010 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15011 (geteuid): Likewise.
15012 (getgid): Likewise.
15013 (getuid): Likewise.
15014 (getresgid): Likewise.
15015 (getresuid): Likewise.
15016 (getgroups): Likewise.
15017 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15018 Likewise.
15019 (geteuid): Likewise.
15020 (getgid): Likewise.
15021 (getuid): Likewise.
15022 (getresgid): Likewise.
15023 (getresuid): Likewise.
15024 (getgroups): Likewise.
15025 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15026 (geteuid): Likewise.
15027 (getgid): Likewise.
15028 (getuid): Likewise.
15029 (getresgid): Likewise.
15030 (getresuid): Likewise.
15031 (getgroups): Likewise.
15032 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15033 Likewise.
15034 (geteuid): Likewise.
15035 (getgid): Likewise.
15036 (getuid): Likewise.
15037 (getgroups): Likewise.
15038
15039 [BZ #14138]
15040 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15041 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15042 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15043 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15044 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15045 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15046 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15047 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15048 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15049 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15050 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15051 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15052 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15053 __chown.
15054 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15055 (lchown): Likewise.
15056 (fchown): Likewise.
15057 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15058 Likewise.
15059 (lchown): Likewise.
15060 (fchown): Likewise.
15061 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15062 (lchown): Likewise.
15063 (fchown): Likewise.
15064 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15065 Likewise.
15066 (lchown): Likewise.
15067 (fchown): Likewise.
15068
15069 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15070
15071 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15072 Simplify logic.
15073
15074 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15075
15076 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15077 Cleanup logic.
15078
15079 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15080
15081 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15082 Remove unused include.
15083
15084 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15085
15086 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15087 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15088 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15089 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15090
15091 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
15092 Helge Deller <deller@gmx.de>
15093
15094 [BZ #17508]
15095 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15096 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15097 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15098
15099 2014-10-23 Joseph Myers <joseph@codesourcery.com>
15100
15101 [BZ #14132]
15102 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15103 Remove macro definition.
15104 (__ashrdi3_v_glibc20): Likewise.
15105 (__lshrdi3_v_glibc20): Likewise.
15106 (__cmpdi2_v_glibc20): Likewise.
15107 (__ucmpdi2_v_glibc20): Likewise.
15108 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15109 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15110 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15111 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15112 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15113 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15114
15115 2014-10-22 Roland McGrath <roland@hack.frob.com>
15116
15117 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15118 old GNU extension [0] syntax.
15119 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15120 alloca rather than an array member with variable length.
15121 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15122 * nscd/nscd.c (invalidate_db): New function, broken out of ...
15123 (parse_opt): ... here. Likewise use alloca there.
15124 Validate the -i argument before checking for rootness.
15125 (send_shutdown): New function, broken out of ...
15126 (parse_opt): ... here.
15127
15128 2014-10-22 Roland McGrath <roland@hack.frob.com>
15129
15130 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15131 macro to get at the _rt_local_ro field.
15132 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15133 ([PIC] case) or _dl_hwcap ([!PIC] case).
15134 * sysdeps/arm/setjmp.S: Likewise.
15135
15136 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15137 * sysdeps/arm/configure.ac: New check to define it.
15138 * sysdeps/arm/configure: Regenerated.
15139 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15140 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15141 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15142 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15143 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15144 Use move/movt pair instead of a load.
15145 (LDST_GLOBAL): Macro removed.
15146 (LDR_GLOBAL): New macro replaces it.
15147 (LDR_HIDDEN): New macro.
15148 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15149 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15150
15151 * setjmp/tst-setjmp-static.c: New file.
15152 * setjmp/Makefile (tests): Add it.
15153 (tests-static): New variable.
15154
15155 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15156
15157 [BZ #17485]
15158 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15159
15160 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15161
15162 [BZ #14132]
15163 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15164
15165 2014-10-21 Roland McGrath <roland@hack.frob.com>
15166
15167 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15168
15169 2014-10-20 Roland McGrath <roland@hack.frob.com>
15170
15171 * io/fts.c (dirent_not_directory): New function.
15172 (fts_build): Call it.
15173
15174 2014-10-20 Roland McGrath <roland@hack.frob.com>
15175
15176 * nptl/version.c (__nptl_main): Use normal __write rather than
15177 INTERNAL_SYSCALL.
15178 (banner): Update copyright years.
15179
15180 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15181 gettimeofday.
15182 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15183 * nptl/pthread_cond_timedwait.c: Likewise.
15184 * nptl/pthread_mutex_timedlock.c: Likewise.
15185 * nptl/sem_timedwait.c: Likewise.
15186
15187 * sysdeps/nptl/bits/libc-lock.h
15188 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15189 (__libc_lock_init_recursive): Return void, not 0.
15190 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15191 (__libc_rwlock_init): Likewise.
15192 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15193
15194 2014-10-20 Torvald Riegel <triegel@redhat.com>
15195
15196 [BZ #15215]
15197 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15198 (__pthread_once_slow): ... here.
15199 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15200 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15201
15202 2014-10-20 Torvald Riegel <triegel@redhat.com>
15203
15204 [BZ #15215]
15205 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15206 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15207 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15208 * nptl/pthread_once.c (__pthread_once): Likewise.
15209 Update comments.
15210
15211 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15212
15213 [BZ #14138]
15214 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15215 name.
15216 (writev): Use __libc_writev as strong name.
15217 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15218 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15219
15220 2014-10-17 Roland McGrath <roland@hack.frob.com>
15221
15222 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15223
15224 * sysdeps/i386/nptl/tls.h
15225 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15226 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15227 New macros.
15228 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15229 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15230 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15231 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15232 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15233 Call CHECK_THREAD_SYSINFO instead of doing an assert.
15234
15235 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15236 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15237 on [__NR_futex].
15238 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15239 broken out of ...
15240 (__pthread_mutex_init): ... here. Call it.
15241 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15242 Conditionalize PI cases on [__NR_futex].
15243 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15244 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15245 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15246
15247 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15248 conditional on [SIGSETXID].
15249 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15250 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15251 is defined. Likewise for SIGSETXID.
15252 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15253 Conditionalize definitions on [SIGSETXID].
15254 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15255 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15256 unblocking on [SIGCANCEL].
15257
15258 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15259 [__NR_set_robust_list].
15260
15261 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15262
15263 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15264 (do_compare): Likewise.
15265
15266 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15267
15268 [BZ #15884]
15269 * string/strcoll_l.c: Don't include stdio.h.
15270 (coll_seq): Remove members idxarr and rulearr.
15271 (get_next_seq_cached): Remove function.
15272 (get_next_seq): Likewise.
15273 (get_next_seq_nocache): Rename to get_next_seq.
15274 (do_compare): Remove function.
15275 (do_compare_nocache): Rename to do_compare.
15276 (STRCOLL): Remove weight and rules cache.
15277
15278 2014-10-16 Roland McGrath <roland@hack.frob.com>
15279
15280 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15281 * sysdeps/arm/sfp-machine.h: ... to here.
15282 * sysdeps/arm/Implies: Remove arm/soft-fp.
15283
15284 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15285
15286 * conform/data/sys/utsname.h-data (*_t): Allow.
15287 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15288 [POSIX] (WEXITED): Do not expect constant.
15289 [POSIX] (WSTOPPED): Likewise.
15290 [POSIX] (WNOHANG): Likewise.
15291 [POSIX] (WNOWAIT): Likewise.
15292 [POSIX] (siginfo_t): Do not expect type or elements.
15293 [POSIX] (pid_t): Do not expect type.
15294 [POSIX] (signal.h): Do not allow header.
15295 [POSIX] (sys/resource.h): Likewise.
15296 [POSIX] (si_*): Do not allow pattern.
15297 [POSIX] (W*): Likewise.
15298 [POSIX] (P_*): Likewise.
15299 [POSIX] (BUS_*): Likewise.
15300 [POSIX] (CLD_*): Likewise.
15301 [POSIX] (FPE_*): Likewise.
15302 [POSIX] (ILL_*): Likewise.
15303 [POSIX] (POLL_*): Likewise.
15304 [POSIX] (SEGV_*): Likewise.
15305 [POSIX] (SI_*): Likewise.
15306 [POSIX] (TRAP_*): Likewise.
15307 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15308 variable.
15309
15310 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15311
15312 [BZ #12926]
15313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15314 infinite loop when __recvmsg returns 0.
15315
15316 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15317
15318 * CANCEL-FCT-WAIVE: Remove file.
15319 * CANCEL-FILE-WAIVE: Likewise.
15320
15321 [BZ #14132]
15322 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15323 instead of INTVARDEF.
15324 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15325 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15326 rtld_hidden_data_def instead of INTVARDEF.
15327 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15328 * elf/dl-deps.c (expand_dst): Likewise.
15329 * elf/dl-load.c (_dl_dst_count): Likewise.
15330 (_dl_dst_substitute): Likewise.
15331 (decompose_rpath): Likewise.
15332 (_dl_init_paths): Likewise.
15333 (open_path): Likewise.
15334 (_dl_map_object): Likewise.
15335 * elf/rtld.c (dl_main): Likewise.
15336 (process_dl_audit): Likewise.
15337 (process_envvars): Likewise.
15338 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15339 Remove declaration.
15340 (__libc_enable_secure): Use rtld_hidden_proto.
15341
15342 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15343
15344 * elf/dl-load.c
15345 (add_path): New function broken out of _dl_rtld_di_serinfo.
15346 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15347
15348 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15349
15350 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15351 parentheses around macro arguments.
15352 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15353 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15354 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15355 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15356 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15357 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15358 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15359 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15360 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15361 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15362 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15363 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15364 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15365 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15366 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15367 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15368 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15369 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15370 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15371 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15372 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15373 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15374 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15375 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15376 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15377 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15378 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15379 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15380 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15381 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15382 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15383 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15384 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15385 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15386 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15387 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15388 Likewise.
15389 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15391 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15392 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15393 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15394 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15396 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15397 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15398 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15399 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15400 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15401 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15402 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15403 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15405 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15408 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15409 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15410 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15411 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15412 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15413 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15414 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15415 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15416 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15417 (_FP_FRAC_SRS_1): Likewise.
15418 (_FP_FRAC_CLZ_1): Likewise.
15419 (_FP_MUL_MEAT_1_imm): Likewise.
15420 (_FP_MUL_MEAT_1_wide): Likewise.
15421 (_FP_MUL_MEAT_1_hard): Likewise.
15422 (_FP_SQRT_MEAT_1): Likewise.
15423 (_FP_FRAC_ASSEMBLE_1): Likewise.
15424 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15425 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15426 (__FP_CLZ_2): Likewise.
15427 (_FP_MUL_MEAT_2_wide): Likewise.
15428 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15429 (_FP_MUL_MEAT_2_gmp): Likewise.
15430 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15431 (_FP_SQRT_MEAT_2): Likewise.
15432 (_FP_FRAC_ASSEMBLE_2): Likewise.
15433 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15434 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15435 (_FP_FRAC_CLZ_4): Likewise.
15436 (_FP_MUL_MEAT_4_wide): Likewise.
15437 (_FP_MUL_MEAT_4_gmp): Likewise.
15438 (_FP_SQRT_MEAT_4): Likewise.
15439 (_FP_FRAC_ASSEMBLE_4): Likewise.
15440 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15441 * soft-fp/op-common.h (_FP_CMP): Likewise.
15442 (_FP_CMP_EQ): Likewise.
15443 (_FP_CMP_UNORD): Likewise.
15444 (_FP_TO_INT): Likewise.
15445 (_FP_FROM_INT): Likewise.
15446 [!__FP_CLZ] (__FP_CLZ): Likewise.
15447 (_FP_DIV_HELP_imm): Likewise.
15448 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15449 Likewise.
15450 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15452 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15453 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15454 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15455 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15456 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15457 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15458 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15459 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15460 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15461 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15462 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15463 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15464 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15465 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15466 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15467 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15468 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15471 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15472 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15473 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15474 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15475 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15476 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15477 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15478 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15479 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15480 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15481 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15482 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15483 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15484 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15485 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15486 (FP_UNPACK_RAW_SP): Likewise.
15487 (FP_PACK_RAW_S): Likewise.
15488 (FP_PACK_RAW_SP): Likewise.
15489 (FP_UNPACK_S): Likewise.
15490 (FP_UNPACK_SP): Likewise.
15491 (FP_UNPACK_SEMIRAW_S): Likewise.
15492 (FP_UNPACK_SEMIRAW_SP): Likewise.
15493 (FP_PACK_S): Likewise.
15494 (FP_PACK_SP): Likewise.
15495 (FP_PACK_SEMIRAW_S): Likewise.
15496 (FP_PACK_SEMIRAW_SP): Likewise.
15497 (_FP_SQRT_MEAT_S): Likewise.
15498 (FP_CMP_S): Likewise.
15499 (FP_CMP_EQ_S): Likewise.
15500 (FP_CMP_UNORD_S): Likewise.
15501 (FP_TO_INT_S): Likewise.
15502 (FP_FROM_INT_S): Likewise.
15503
15504 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15505
15506 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15507 (FP_EX_INVALID_IMZ): Likewise.
15508 (FP_EX_INVALID_IMZ_FMA): Likewise.
15509 (FP_EX_INVALID_ISI): Likewise.
15510 (FP_EX_INVALID_ZDZ): Likewise.
15511 (FP_EX_INVALID_IDI): Likewise.
15512 (FP_EX_INVALID_SQRT): Likewise.
15513 (FP_EX_INVALID_CVI): Likewise.
15514 (FP_EX_INVALID_VC): Likewise.
15515 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15516 "invalid" exceptions.
15517 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15518 (_FP_ADD_INTERNAL): Likewise.
15519 (_FP_MUL): Likewise.
15520 (_FP_FMA): Likewise.
15521 (_FP_DIV): Likewise.
15522 (_FP_CMP_CHECK_NAN): Likewise.
15523 (_FP_SQRT): Likewise.
15524 (_FP_TO_INT): Likewise.
15525 (FP_EXTEND): Likewise.
15526
15527 2014-10-09 Allan McRae <allan@archlinux.org>
15528
15529 * po/fr.po: Update French translation from translation project.
15530
15531 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15532
15533 [BZ #14132]
15534 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15535 of INTDEF.
15536 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15537 (__cxa_atexit): Use libc_hidden_proto.
15538 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15539
15540 [BZ #14132]
15541 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15542 declaration.
15543 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15544 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15545 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15546 [!_ISOMAC] (__iswctype_internal): Likewise.
15547 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15548 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15549 alias.
15550 (fcntl): Remove __fcntl_internal alias.
15551 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15552 __connect_internal alias.
15553 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15554 Likewise.
15555
15556 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15557 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15558 FP_DENORM_ZERO.
15559 (_FP_CHECK_FLUSH_ZERO): New macro.
15560 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15561 (_FP_CMP): Likewise.
15562 (_FP_CMP_EQ): Likewise.
15563 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15564 FP_DENORM_ZERO.
15565 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15566 (FP_TRUNC): Likewise.
15567
15568 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15569 treated as invalid conversion, not as normal exponent.
15570
15571 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15572 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15573 (_FP_CMP_EQ): Likewise.
15574 (_FP_CMP_UNORD): Likewise.
15575 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15576 (FP_CMP_EQ_D): Likewise.
15577 (FP_CMP_UNORD_D): Likewise.
15578 * soft-fp/extended.h (FP_CMP_E): Likewise.
15579 (FP_CMP_EQ_E): Likewise.
15580 (FP_CMP_UNORD_E): Likewise.
15581 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15582 (FP_CMP_EQ_Q): Likewise.
15583 (FP_CMP_UNORD_Q): Likewise.
15584 * soft-fp/single.h (FP_CMP_S): Likewise.
15585 (FP_CMP_EQ_S): Likewise.
15586 (FP_CMP_UNORD_S): Likewise.
15587 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15588 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15589 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15590 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15591 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15592 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15593 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15594 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15595 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15596 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15597 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15598 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15599 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15600 to FP_CMP_Q.
15601 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15602 FP_CMP_Q.
15603 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15604 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15605 FP_CMP_EQ_Q.
15606 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15607 FP_CMP_Q.
15608 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15609 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15610 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15611 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15612 FP_CMP_EQ_Q.
15613 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15614 FP_CMP_Q.
15615 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15616 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15617 FP_CMP_EQ_Q.
15618 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15619 FP_CMP_Q.
15620 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15621 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15622 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15623 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15624 FP_CMP_EQ_Q.
15625
15626 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15627 a subnormal result, set the underflow exception if trapping on
15628 underflow is enabled.
15629 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15630 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15631 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15632 redefine to 0.
15633 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15634 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15635 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15636 * soft-fp/extendxftf2.c (__extendxftf2): Use
15637 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15638
15639 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15640 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15641 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15642 FP_HANDLE_EXCEPTIONS.
15643 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15644 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15645 FP_HANDLE_EXCEPTIONS.
15646 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15647 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15648 FP_HANDLE_EXCEPTIONS.
15649 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15650 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15651 FP_HANDLE_EXCEPTIONS.
15652
15653 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15654
15655 [BZ #14132]
15656 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15657 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15658 use INTUSE.
15659 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15660 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15661 Remove alias.
15662 (__adjtimex): Define using libc_hidden_ver.
15663 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15664 Remove declaration.
15665 (ntp_gettime): Call __adjtimex directly.
15666 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15667 Remove declaration.
15668 (ntp_gettimex): Call __adjtimex directly.
15669 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15670 __adjtimex_internal alias.
15671
15672 2014-10-08 Roland McGrath <roland@hack.frob.com>
15673
15674 [BZ #17460]
15675 * nscd/nscd.c (more_help): Rewrite list of tables collection
15676 using xstrdup and asprintf.
15677
15678 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15679
15680 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15681 Roland McGrath <roland@hack.frob.com>
15682
15683 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15684 (do_lookup_unique): ... local function 'enter' here; update callers.
15685
15686 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15687
15688 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15689 compat_symbol calls on [SHARED].
15690 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15691 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15692 Remove.
15693 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15694 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15695 (oldsetrlimit): Remove.
15696 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15698 (lchown): New syscall entry.
15699 (oldsetrlimit): Remove.
15700 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15701 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15702 (oldsetrlimit): Remove.
15703 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15704
15705 [BZ #14138]
15706 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15707 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15708 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15709 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15710 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15711 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15712 (fchown): Likewise.
15713 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15714 (fchown): Likewise.
15715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15716 Likewise.
15717
15718 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15719
15720 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15721 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15722 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15723 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15724 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15725 Likewise.
15726 (__old_sem_post): Likewise.
15727
15728 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15729
15730 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15731 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15732 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15733 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15734 Use INLINE_VSYSCALL macro.
15735 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15736 __vdso_clock_gettime.
15737 * sysdeps/unix/sysv/linux/tile/init-first.c
15738 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15739 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15740 __vdso_clock_gettime.
15741
15742 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15743 to set up frame more cleanly.
15744
15745 * sysdeps/tile/memcmp.c: New file.
15746
15747 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15748
15749 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15750 * sysdeps/tile/tilegx/strcasestr.c: New file.
15751 * sysdeps/tile/tilegx/strnlen.c: New file.
15752 * sysdeps/tile/tilegx/strstr.c: New file.
15753
15754 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15755
15756 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15757
15758 * nptl/tst-setuid3.c: Write errors to stdout.
15759
15760 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15761
15762 * elf/dl-deps.c
15763 (preload): New functions broken out of _dl_map_object_deps.
15764 (_dl_map_object_deps): Remove a nested function. Update call sites.
15765
15766 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15767
15768 [BZ #14138]
15769 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15770 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15771
15772 2014-10-01 Steve Ellcey <sellcey@mips.com>
15773
15774 * sysdeps/mips/strcmp.S: New.
15775
15776 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15777
15778 [BZ #14138]
15779 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15780 (linkat): Likewise.
15781 (mkdirat): Likewise.
15782 (readlinkat): Likewise.
15783 (renameat): Likewise.
15784 (symlinkat): Likewise.
15785 (unlinkat): Likewise.
15786 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15787 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15788 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15789 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15790 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15791 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15792 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15793
15794 2014-09-30 Will Newton <will.newton@linaro.org>
15795
15796 * math/math.h: Define long double math functions if
15797 _LIBC_TEST is defined.
15798 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15799
15800 * localedata/Makefile: Move assignment to tests-special
15801 into an ifdef testing run-built-tests.
15802 * timezone/Makefile: Likewise.
15803
15804 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15805
15806 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15807 with $(BASH) not $(SHELL).
15808
15809 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15810 Matthew LeGendre <legendre1@llnl.gov>
15811
15812 [BZ #17411]
15813 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15814 l_reloc_result.
15815
15816 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15817
15818 * stdio-common/printf_fp.c
15819 (hack_digit): New function, broken out of ...
15820 (__printf_fp): ... local function here. Update call sites.
15821 hack_digit now takes an additional parameter that is a pointer
15822 to a struct of the referenced locals. Those locals moved inside
15823 the struct and references updated.
15824
15825 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15826
15827 * aclocal.m4: Require autoconf 2.69.
15828 * configure: Regenerated.
15829 * sysdeps/aarch64/configure: Likewise.
15830 * sysdeps/alpha/configure: Likewise.
15831 * sysdeps/arm/armv7/configure: Likewise.
15832 * sysdeps/arm/configure: Likewise.
15833 * sysdeps/ia64/configure: Likewise.
15834 * sysdeps/mach/configure: Likewise.
15835 * sysdeps/mips/configure: Likewise.
15836 * sysdeps/s390/configure: Likewise.
15837 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15839
15840 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15841 file.
15842 * sysdeps/ia64/configure.ac: Likewise.
15843
15844 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15845
15846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15847 specify symbol version for ld.so. Do not include entry for
15848 libpthread.
15849 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15850 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15851 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15852
15853 [BZ #14171]
15854 * Makeconfig [$(build-shared) = yes]
15855 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15856 makefiles.
15857 [$(build-shared) = yes && $(soversions.mk-done) = t]
15858 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15859 [$(build-shared) = yes && $(soversions.mk-done) = t]
15860 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15861 to Makerules.
15862 [$(build-shared) = yes && $(soversions.mk-done) = t]
15863 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15864 here.
15865 [$(build-shared) = yes && $(soversions.mk-done) = t]
15866 (common-generated): Don't append gnu/lib-names.h and
15867 gnu/lib-names.stmp here.
15868 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15869 (lib-names-h-abi): New variable.
15870 [$(build-shared) = yes && $(soversions.mk-done) = t]
15871 (lib-names-stmp-abi): Likewise.
15872 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15873 abi-variants] (before-compile): Append
15874 $(common-objpfx)$(lib-names-h-abi).
15875 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15876 abi-variants] (common-generated): Append gnu/lib-names.h.
15877 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15878 abi-variants] (install-others-nosubdir): Depend on
15879 $(inst_includedir)/$(lib-names-h-abi).
15880 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15881 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15882 [$(build-shared) = yes && $(soversions.mk-done) = t]
15883 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15884 [$(build-shared) = yes && $(soversions.mk-done) = t]
15885 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15886 [$(build-shared) = yes && $(soversions.mk-done) = t]
15887 (common-generated): Append $(lib-names-h-abi) and
15888 $(lib-names-stmp-abi).
15889 * scripts/lib-names.awk: Do not handle multi being set.
15890 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15891 Remove variable.
15892 (abi-lp64_be-ld-soname): Likewise.
15893 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15894 Likewise.
15895 (abi-hard-ld-soname): Likewise.
15896 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15897 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15898 Remove variable.
15899 (abi-o32_hard-ld-soname): Likewise.
15900 (abi-o32_soft_2008-ld-soname): Likewise.
15901 (abi-o32_hard_2008-ld-soname): Likewise.
15902 (abi-n32_soft-ld-soname): Likewise.
15903 (abi-n32_hard-ld-soname): Likewise.
15904 (abi-n32_soft_2008-ld-soname): Likewise.
15905 (abi-n32_hard_2008-ld-soname): Likewise.
15906 (abi-n64_soft-ld-soname): Likewise.
15907 (abi-n64_hard-ld-soname): Likewise.
15908 (abi-n64_soft_2008-ld-soname): Likewise.
15909 (abi-n64_hard_2008-ld-soname): Likewise.
15910 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15911 Likewise.
15912 (abi-64-v2-ld-soname): Likewise.
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15914 ld.so entries.
15915 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15916 variable.
15917 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15918 entry.
15919 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15920 variable.
15921 (abi-64-ld-soname): Likewise.
15922 (abi-x32-ld-soname): Likewise.
15923 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15924 entry.
15925 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15926
15927 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15928
15929 [BZ #14138]
15930 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15931 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15932 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15933 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15934 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15935 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15936 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15937 syscall entry for GLIBC_2.2 symbol version.
15938 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15939 Likewise.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15941 (setrlimit): Likewise.
15942 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15943 Likewise.
15944
15945 2014-09-23 Will Newton <will.newton@linaro.org>
15946
15947 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15948 _LINUX_ARM_SYSDEP_H include guard too.
15949 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15950 define.
15951
15952 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15953
15954 * sysdeps/unix/sysv/linux/eventfd.c:
15955 Make first argument unsigned.
15956 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15957 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15958
15959 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15960
15961 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15962 * socket/sys/socket.h: Likewise
15963 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15964
15965 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15966
15967 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15968
15969 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15970
15971 * time/tst-ftime.c: New test.
15972 * time/Makefile (tests): Add tst-ftime.
15973
15974 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15975
15976 * soft-fp/extended.h: Fix comment formatting.
15977 * soft-fp/op-1.h: Likewise.
15978 * soft-fp/op-2.h: Likewise.
15979 * soft-fp/op-4.h: Likewise.
15980 * soft-fp/op-8.h: Likewise.
15981 * soft-fp/op-common.h: Likewise.
15982 * soft-fp/soft-fp.h: Likewise.
15983
15984 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15985
15986 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15987
15988 [BZ #6652]
15989 * Makeconfig (soversions-default-setname): Remove variable.
15990 ($(common-objpfx)soversions.i): Don't pass default_setname to
15991 soversions.awk.
15992 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15993 oldest_abi to abi-versions.awk.
15994 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15995 * config.make.in (oldest-abi): Remove variable.
15996 * configure.ac (--enable-oldest-abi): Remove configure option.
15997 * configure: Regenerated.
15998 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15999 text.
16000 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16001 * scripts/soversions.awk: Do not handle default_setname variable.
16002 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16003 variable.
16004 * sysdeps/mach/hurd/configure: Regenerated.
16005 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16006 variable.
16007 * sysdeps/unix/sysv/linux/configure: Regenerated.
16008
16009 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16010
16011 * elf/Makefile (CFLAGS-interp.c): Remove.
16012 ($(elf-objpfx)runtime-linker.h): Generate header with linker
16013 path string.
16014 * elf/interp.c: Include generated runtime-linker.h
16015
16016 * Makerules (lib%.so): Don't include $(+interp) in
16017 prerequisites.
16018 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16019 * dlfcn/eval.c: Remove file.
16020
16021 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16022 macros.
16023
16024 [BZ #17266]
16025 * misc/sys/cdefs.h: Define __extern_always_inline for clang
16026 4.2 and newer.
16027
16028 [BZ #17370]
16029 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16030
16031 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16032 Jakub Jelinek <jakub@redhat.com>
16033
16034 [BZ #17266]
16035 * libio/stdio.h: Check definition of __fortify_function
16036 instead of __extern_always_inline to include bits/stdio2.h.
16037 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16038 check if __extern_always_inline is defined.
16039 [__USE_MISC || __USE_XOPEN]: Likewise.
16040 [__USE_ISOC99] Likewise.
16041 * misc/sys/cdefs.h (__fortify_function): Define only if
16042 __extern_always_inline is defined.
16043 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16044 __extern_always_inline and __extern_inline only for g++-4.3
16045 and newer or a compatible gcc.
16046
16047 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
16048
16049 [BZ #17371]
16050 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16051 last change to handle zero prefix length.
16052
16053 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16054
16055 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16056 _SC_REGEX_VERSION.
16057
16058 * posix/getconf.c (vars): Add _POSIX_IPV6 and
16059 _POSIX_RAW_SOCKETS.
16060
16061 2014-09-13 Allan McRae <allan@archlinux.org>
16062
16063 * po/ru.po: Update Russian translation from translation project.
16064
16065 2014-09-12 Roland McGrath <roland@hack.frob.com>
16066
16067 * locale/programs/locale.c (show_locale_vars): Inline local function
16068 into its sole call site. Clean up some style nits.
16069 (print_item): New function, broken out of ...
16070 (show_info): ... local function here. Clean up style nits.
16071
16072 * locale/programs/ld-ctype.c (set_one_default): New function, broken
16073 out of ...
16074 (set_class_defaults): ... local function set_default here.
16075 Define set_default as a macro locally to pass constant parameters.
16076 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16077 rather than a shared local.
16078
16079 * stdlib/rpmatch.c (try): New function, broken out of ...
16080 (rpmatch): ... local function here. Also, prototypify definition.
16081
16082 2014-09-12 Joseph Myers <joseph@codesourcery.com>
16083
16084 * scripts/soversions.awk: Do not handle configuration names.
16085 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16086 vendor and os variables to soversions.awk.
16087 * configure.ac: Do not modify gnu-* host_os.
16088 * configure: Regenerated
16089 * shlib-versions: Remove first column with configuration names.
16090 * nptl/shlib-versions: Likewise.
16091 * nptl_db/shlib-versions: Likewise.
16092 * sysdeps/hppa/shlib-versions: Likewise.
16093 * sysdeps/m68k/shlib-versions: Likewise.
16094 * sysdeps/mach/hurd/shlib-versions: Likewise.
16095 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16096 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16097 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16098 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16099 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16100 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16101 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16102 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16104 Likewise.
16105 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16106 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16107 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16108 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16109 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16110 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16111 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16112 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16113
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16115 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16117 Regenerated.
16118 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16120 Condition symbol version definitions on [HAVE_ELFV2_ABI].
16121
16122 * shlib-versions: Remove OS-specific entries. Moved to files in
16123 sysdeps.
16124 * sysdeps/mach/hurd/shlib-versions: New file.
16125 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16126
16127 * nptl/shlib-versions: Remove architecture-specific entries.
16128 Moved to files in sysdeps.
16129 * shlib-versions: Likewise.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16131 file.
16132 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16133 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16134 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16135 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16136
16137 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16138 (UDP_NO_CHECK6_RX): Likewise.
16139
16140 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16141
16142 * sysdeps/posix/sysconf.c (__sysconf): Spell
16143 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16144
16145 2014-08-12 Florian Weimer <fweimer@redhat.com>
16146
16147 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16148 loading.
16149 * iconv/Versions (__gconv_transliterate): Export for use from
16150 gconv modules.
16151 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16152 (struct __gconv_trans_data, __gconv_trans_fct,
16153 __gconv_trans_context_fct, __gconv_trans_query_fct,
16154 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16155 definitions.
16156 (struct __gconv_step_data): Remove __trans member.
16157 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16158 longer hidden. Remove unused trans_data argument.
16159 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16160 (__gconv_translit_find): Remove declaration.
16161 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16162 prototype.
16163 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16164 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16165 trans_data argument. Add hidden definition.
16166 (__gconv_translit_find): Remove.
16167 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16168 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16169 * iconv/skeleton.c: Remove transliteration initialization.
16170 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16171 __gconv_step_data initialization.
16172 * libio/iofwide.c (__libio_translit_): Remove.
16173 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16174 * wcsmbs/btowc.c (__btowc): Likewise.
16175 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16176 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16177 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16178 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16179 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16180 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16181 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16182 * wcsmbs/wctob.c (wctob): Likewise.
16183
16184 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16185
16186 [BZ #16194]
16187 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16188 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16189 register usage.
16190 * sysdeps/x86/Makefile: Adjust.
16191
16192 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16193 Roland McGrath <roland@hack.frob.com>
16194
16195 * locale/weight.h: Add include guard.
16196 (findidx): Make static rather than auto; take new parameters
16197 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16198 * locale/weightwc.h: Likewise.
16199 * posix/fnmatch_loop.c
16200 (FCT): Change type of EXTRA from int32_t to wint_t.
16201 Don't include either header inside the function.
16202 Call FINDIDX rather than findidx, and pass new arguments.
16203 #undef FINDIDX at the end of the file.
16204 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16205 FINDIDX before including fnmatch_loop.c for the non-wide version.
16206 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16207 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16208 for the wide version.
16209 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16210 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16211 Pass new arguments to findidx.
16212 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16213 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16214 Don't #include it inside the function. Pass new arguments to findidx.
16215 * posix/regex_internal.h
16216 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16217 (re_string_elem_size_at): Don't #include it inside the function.
16218 Pass new arguments to findidx.
16219 * string/strcoll_l.c: #include WEIGHT_H at top level.
16220 (get_next_seq): Don't #include it inside the function.
16221 Pass new arguments to findidx.
16222 (get_next_seq_nocache): Likewise.
16223 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16224 (STRXFRM): Don't #include it inside the function.
16225 Pass new arguments to findidx.
16226
16227 2014-09-11 Florian Weimer <fweimer@redhat.com>
16228
16229 [BZ #17344]
16230 * malloc/malloc.c (unlink): Turn asserts into a call to
16231 malloc_printerr.
16232
16233 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
16234
16235 [BZ #17370]
16236 * libio/wfileops (do_ftell_wide): Free OUT.
16237
16238 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
16239
16240 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16241
16242 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16243
16244 [BZ #17363]
16245 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16246 group if the current group is empty.
16247
16248 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16249
16250 * benchtests/bench-memset.c (test_main): Add more test from size
16251 from 32 to 512 bytes.
16252 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16253 Add POWER8 memset object.
16254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16255 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16256 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16257 implementation.
16258 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16259 Likewise.
16260 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16261 multiarch POWER8 memset optimization.
16262 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16263 POWER8 memset optimization.
16264
16265 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16266 Remove bzero multiarch objects.
16267 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16268 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16269 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16270 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16271 Remove define.
16272 [__bzero]: Redefine to specific name.
16273 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16274 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16275 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16276 define.
16277 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16278 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16279
16280 2014-09-10 Florian Weimer <fweimer@redhat.com>
16281
16282 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16283 warnings into errors.
16284
16285 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16286 __cxa_thread_atexit_impl prototype.
16287
16288 2014-09-09 Steve Ellcey <sellcey@mips.com>
16289
16290 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16291 Fix capitalization of error message.
16292
16293 2014-09-09 Steve Ellcey <sellcey@mips.com>
16294
16295 * sysdeps/mips/preconfigure: Modify ABI tests.
16296
16297 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16298
16299 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16300
16301 2014-09-07 Roland McGrath <roland@hack.frob.com>
16302 Carlos O'Donell <carlos@systemhalted.org>
16303
16304 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16305 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16306 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16307 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16308 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16309 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16310 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16311 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16312 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16313 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16314 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16315 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16316 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16317 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16318 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16319 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16320 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16321 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16322 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16323 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16324 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16325 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16326 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16327 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16328 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16329 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16330 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16331 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16332 Deconditionalize the code that was previously under [RESET_PID].
16333 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16334 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16335 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16336 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16337 include sysdep.h.
16338
16339 2014-09-08 Allan McRae <allan@archlinux.org>
16340
16341 * version.h (RELEASE): Set to "development".
16342 (VERSION): Set to "2.20.90"
16343
16344 2014-09-07 Allan McRae <allan@archlinux.org
16345
16346 * version.h (RELEASE): Set to "stable".
16347 (VERSION): Set to "2.20"
16348 * include/features.h (__GLIBC_MINOR__): Set to 20.
16349
16350 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16351 Liebler.
16352
16353 * po/ko.po: Update Korean translation from translation project.
16354
16355 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16356
16357 [BZ #17354]
16358 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16359 macro for handling signed relocations.
16360
16361 2014-09-03 Florian Weimer <fweimer@redhat.com>
16362
16363 [BZ #17325]
16364 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16365 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16366 assert.
16367 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16368 * iconvdata/ibm935.c (BODY): Likewise.
16369 * iconvdata/ibm937.c (BODY): Likewise.
16370 * iconvdata/ibm939.c (BODY): Likewise.
16371 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16372 assert.
16373 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16374 script.
16375 * iconvdata/run-iconv-test.sh: New test loop for checking for
16376 decoder crashers.
16377
16378 2014-09-02 Khem Raj <raj.khem@gmail.com>
16379
16380 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16381 libm_hidden_ver.
16382
16383 2014-09-01 Allan McRae <allan@archlinux.org>
16384
16385 * po/eo.po: Update Esperanto translation from translation project.
16386
16387 * po/ca.po: Update Catalan translation from translation project.
16388
16389 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16390
16391 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16392 __proc_dostop call.
16393
16394 2014-08-27 Mark Wielaard <mjw@redhat.com>
16395
16396 [BZ #17319]
16397 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16398 to call set_thread_area instead of hand written asm.
16399 (__NR_set_thread_area): Removed define.
16400 (TLS_FLAG_WRITABLE): Likewise.
16401 (__ASSUME_SET_THREAD_AREA): Remove check.
16402 (TLS_EBX_ARG): Remove define.
16403 (TLS_LOAD_EBX): Likewise.
16404
16405 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16406
16407 Simplify atomicity of socket creation in bind.
16408
16409 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16410 looking up the name after linking the file.
16411
16412 2014-08-27 Allan McRae <allan@archlinux.org>
16413
16414 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16415
16416 2014-08-26 Florian Weimer <fweimer@redhat.com>
16417
16418 [BZ #17187]
16419 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16420 trans_compare, open_translit, __gconv_translit_find):
16421 Remove module loading code.
16422
16423 2014-08-26 Allan McRae <allan@archlinux.org>
16424
16425 * po/vi.po: Update Vietnamese translation from translation project.
16426
16427 * po/uk.po: Update Ukrainian translation from translation project.
16428
16429 * po/fr.po: Update French translation from translation project.
16430
16431 * po/ru.po: Update Russian translation from translation project.
16432
16433 * po/pl.po: Update Polish translation from translation project.
16434
16435 * po/cs.po: Update Czech translation from translation project.
16436
16437 * po/de.po: Update German translation from translation project.
16438
16439 * po/bg.po: Update Bulgarian translation from translation project.
16440
16441 * po/sv.po: Update Sweedish translation from translation project.
16442
16443 * po/nl.po: Update Dutch translation from translation project.
16444
16445 * po/es.po: Update Spanish translation from translation project.
16446
16447 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16448
16449 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16450
16451 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16452 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16453 (CPPFLAGS-iconvconfig): Likewise.
16454 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16455
16456 * include/libc-symbols.h: Remove unnecessary check for
16457 NOT_IN_libc.
16458 * nptl/pthreadP.h: Likewise.
16459 * sysdeps/aarch64/setjmp.S: Likewise.
16460 * sysdeps/alpha/setjmp.S: Likewise.
16461 * sysdeps/arm/sysdep.h: Likewise.
16462 * sysdeps/i386/setjmp.S: Likewise.
16463 * sysdeps/m68k/setjmp.c: Likewise.
16464 * sysdeps/posix/getcwd.c: Likewise.
16465 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16466 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16467 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16468 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16469 * sysdeps/sh/sh3/setjmp.S: Likewise.
16470 * sysdeps/sh/sh4/setjmp.S: Likewise.
16471 * sysdeps/unix/alpha/sysdep.h: Likewise.
16472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16473 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16474 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16475 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16480 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16483 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16485 * sysdeps/x86_64/setjmp.S: Likewise.
16486
16487 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16488
16489 [BZ #17263]
16490 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16491 <stdint.h>.
16492 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16493 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16494
16495 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16496
16497 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16498
16499 [BZ #17262]
16500 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16501 and __x86_64__ when disabling x87 inline functions.
16502
16503 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16504
16505 [BZ #17259]
16506 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16507 asm statement with __cpuid_count.
16508
16509 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16510
16511 * configure.ac: Change __ehdr_start code to dereference the struct.
16512 Run readelf on the output to look for relocations.
16513 * configure: Regenerated.
16514
16515 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16516
16517 [BZ #17261]
16518 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16519 value to 0.
16520 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16521
16522 2014-08-12 Roland McGrath <roland@hack.frob.com>
16523
16524 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16525
16526 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16527
16528 [BZ #16892]
16529 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16530 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16531
16532 2014-08-12 Sean Anderson <seanga2@gmail.com>
16533
16534 * malloc/malloc.c: Fix typo in comment.
16535
16536 2014-08-09 Allan McRae <allan@archlinux.org>
16537
16538 * Regenerate libc.po.
16539
16540 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16541
16542 * intl/tst-gettext2.sh: Check every lang file for creation.
16543
16544 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16545
16546 * sysdeps/aarch64/fpu/math_private.h
16547 (libc_feholdsetround_noex_aarch64_ctx): New function.
16548
16549 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16550
16551 * sysdeps/arm/armv6/strcpy.S (strcpy):
16552 Fix performance issue in misaligned cases.
16553
16554 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16555
16556 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16557 Move definition from termios.h.
16558 (struct termio): Likewise.
16559 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16560 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16561 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16562 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16563 Likewise.
16564 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16565 Move definition to ioctl-types.h
16566 (struct termio): Likewise.
16567 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16568 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16569 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16570 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16571 Likewise.
16572
16573 2014-08-05 Richard Henderson <rth@redhat.com>
16574
16575 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16576 exceptions.
16577 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16578 Add fraiseexcpt.
16579 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16580 Use __feraiseexcept.
16581 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16582 Protect libm symbols with IS_IN_libm.
16583
16584 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16585
16586 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16587
16588 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16589
16590 2014-08-04 Will Newton <will.newton@linaro.org>
16591
16592 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16593 file.
16594
16595 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16596
16597 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16598 variants for each function.
16599
16600 2014-08-04 Roland McGrath <roland@hack.frob.com>
16601
16602 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16603 appended ...
16604 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16605 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16606 appended ...
16607 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16608 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16609 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16610 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16611 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16612 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16613 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16614 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16615 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16616 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16617 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16618 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16619 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16620 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16621 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16622 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16623 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16624 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16625 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16626 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16627 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16628 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16629 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16630 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16631 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16632 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16633 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16634 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16635 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16636 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16637 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16638 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16639 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16640 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16641 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16642 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16643 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16644 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16645 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16646 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16647 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16648 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16649 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16650 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16651 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16652 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16653 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16654 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16655 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16656 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16657 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16658 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16659 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16660 Update #include.
16661 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16662 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16663
16664 2014-08-04 Roland McGrath <roland@hack.frob.com>
16665
16666 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16667 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16668 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16669 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16670 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16671 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16672
16673 2014-08-04 Roland McGrath <roland@hack.frob.com>
16674
16675 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16676 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16677 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16678 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16679
16680 2014-08-04 Roland McGrath <roland@hack.frob.com>
16681
16682 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16683 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16684 (__libc_vfork): Define function under this name.
16685 (__vfork): Define as an alias.
16686 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16687 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16688
16689 2014-08-04 Roland McGrath <roland@hack.frob.com>
16690
16691 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16692 that was previously under [RESET_PID].
16693 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16694
16695 2014-08-04 Andreas Schwab <schwab@suse.de>
16696
16697 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16698
16699 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16700
16701 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16702 (main): Likewise.
16703
16704 2014-08-01 Roland McGrath <roland@hack.frob.com>
16705
16706 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16707
16708 2014-08-01 Richard Henderon <rth@redhat.com>
16709
16710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16711 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16712 typo in exact zero test.
16713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16714 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16716
16717 2014-08-01 Roland McGrath <roland@hack.frob.com>
16718
16719 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16720 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16721 * sysdeps/arm/sysdep.h: ... here.
16722 [!__ASSEMBLER__]: Include <stdint.h>.
16723
16724 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16725
16726 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16727 (HAVE_WCTYPE_H): Likewise.
16728 (HAVE_ISWCTYPE): Likewise.
16729 (ENABLE_NLS): Likewise.
16730 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16731 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16732
16733 * posix/regex_internal.c: Check if DEBUG is defined and is
16734 set.
16735
16736 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16737 (HAVE_MBSRTOWCS): Likewise.
16738 * posix/fnmatch.c: Include string.h unconditionally.
16739
16740 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16741
16742 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16743 reversal.
16744
16745 2014-07-31 Roland McGrath <roland@hack.frob.com>
16746
16747 * sysdeps/generic/safe-fatal.h: New file.
16748 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16749 * nptl/forward.c: Include it.
16750 (__pthread_unwind): Use __safe_fatal as default action, rather
16751 than a bogus use of INTERNAL_SYSCALL that could never work.
16752
16753 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16754 * configure.ac (libc_cv_builtin_trap): New test.
16755 * configure: Regenerated.
16756 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16757 (ABORT_INSTRUCTION): Define using __builtin_trap.
16758
16759 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16760 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16761 * sysdeps/nptl/nptl-signals.h: New file.
16762 * nptl/pthreadP.h: Include <nptl-signals.h>.
16763
16764 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16765
16766 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16767 (ONE_DIRECTION): Define.
16768 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16769 (ONE_DIRECTION): Define.
16770 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16771 (ONE_DIRECTION): Define.
16772
16773 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16774
16775 * sysdeps/s390/Makefile: Delete file.
16776 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16777 * sysdeps/s390/__longjmp.c: Delete file.
16778 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16779 Remove fields __flags and __reserved.
16780 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16781 and add versioning.
16782 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16783 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16784 * sysdeps/s390/rtld-setjmp.S: Likewise.
16785 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16786 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16787 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16788 * sysdeps/s390/s390-32/setjmp.S: ... here.
16789 Add versioning.
16790 (__sigsetjmp): Remove setting __flags field.
16791 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16792 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16793 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16794 * sysdeps/s390/s390-64/setjmp.S: ... here.
16795 Add versioning.
16796 (__sigsetjmp): Remove setting __flags field.
16797 * sysdeps/s390/setjmp.S: Delete file.
16798 * sysdeps/s390/sigjmp.c: Likewise.
16799 * sysdeps/s390/v1-longjmp.c: Likewise.
16800 * sysdeps/s390/v1-setjmp.h: Likewise.
16801 * sysdeps/s390/v1-sigjmp.c: Likewise.
16802 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16803 Remove v1-longjmp_chk.
16804 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16805 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16806 Include debug/longjmp_chk.c and add versioning.
16807 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16808 Include nptl/pt-longjmp.c and add versioning.
16809 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16810 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16811 Include __longjmp.c.
16812 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16813 Move to ...
16814 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16815 (__getcontext): Remove setting __flags field.
16816 Add versioning.
16817 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16818 Don't restore upper high grps.
16819 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16820 Likewise.
16821 (__swapcontext): Remove setting uc_flags field.
16822 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16823 Delete file.
16824 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16825 Include __longjmp.c.
16826 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16827 Move to ...
16828 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16829 (__getcontext): Remove setting __flags field.
16830 Add versioning.
16831 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16832 (__swapcontext): Remove setting uc_flags field.
16833 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16834 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16835 Remove fields uc_high_gprs and __reserved.
16836 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16837 New file with reverted content.
16838 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16839 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16840 Regenerated.
16841 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16842 Regenerated.
16843
16844 2014-07-31 Andreas Schwab <schwab@suse.de>
16845
16846 * config.h.in (HAVE_IFUNC): Define to 0.
16847 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16848 definedness.
16849
16850 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16851
16852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16853 memmove-avx-unaligned, memcpy-avx-unaligned and
16854 mempcpy-avx-unaligned.
16855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16856 Add tests for AVX memcpy functions.
16857 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16858 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16859 memcpy_chk.
16860 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16861 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16862 memmove_chk.
16863 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16864 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16865 mempcpy_chk.
16866 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16867 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16868 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16869
16870 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16871
16872 [BZ #17213]
16873 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16874 powerpc64le.
16875
16876 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16877
16878 [BZ #16839]
16879 * manual/llio.texi: Add section about open file description locks.
16880 * manual/examples/ofdlocks.c: Example of open file description
16881 lock usage.
16882 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16883 F_OFD_SETLK, and F_OFD_SETLKW.
16884
16885 2014-07-23 Allan McRae <allan@archlinux.org>
16886
16887 * po/es.po: Update Spanish translation from translation project.
16888
16889 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16890
16891 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16892
16893 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16894
16895 [BZ #17078]
16896 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16897 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16898 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16899
16900 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16901
16902 [BZ #17088]
16903 * math/fesetenv.c (__fesetenv)
16904 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16905 * math/feupdateenv.c (__feupdateenv)
16906 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16907
16908 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16909 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16910 (__ASSUME_SOCKETCALL): Do not define.
16911
16912 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16913 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16914 (__ASSUME_SOCKETCALL): Do not define.
16915 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16916 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16917 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16918 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16919 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16920 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16921 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16922 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16923
16924 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16925 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16926 (__ASSUME_SOCKETCALL): Do not define.
16927 (__ASSUME_IPC64): Define unconditionally.
16928 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16929 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16930 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16931 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16932 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16933 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16934 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16935 Likewise.
16936
16937 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16938 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16939 (__ASSUME_SOCKETCALL): Do not define.
16940 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16941 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16942 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16943 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16944 (__ASSUME_REQUEUE_PI): Define unconditionally.
16945 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16946 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16947 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16948 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16949 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16950 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16951
16952 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16953 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16954 (__ASSUME_SOCKETCALL): Do not define.
16955 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16956 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16957 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16958 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16959 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16960 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16961
16962 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16963 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16964 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16965 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16966 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16967 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16968 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16969 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16970 (__ASSUME_GETCPU_SYSCALL): Likewise.
16971
16972 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16973 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16974 cases for individual architectures.
16975 * sysdeps/gnu/configure: Regenerated.
16976 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16977 LIBC_SLIBDIR_RTLDDIR.
16978 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16979 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16980 LIBC_SLIBDIR_RTLDDIR.
16981 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16983 LIBC_SLIBDIR_RTLDDIR.
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16985 Regenerated.
16986 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16987 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16988 file.
16989 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16990 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16991 file.
16992 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16993 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16994 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16995 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16996
16997 * sysdeps/aarch64/shlib-versions: Move to ...
16998 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16999 * sysdeps/alpha/shlib-versions: Move to ...
17000 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17001 * sysdeps/arm/shlib-versions: Move to ...
17002 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17003 * sysdeps/hppa/shlib-versions: Move all contents except for
17004 libgcc_s entry to ...
17005 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
17006 entry from ...
17007 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
17008 * sysdeps/ia64/shlib-versions: Move to ...
17009 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
17010 entry from ...
17011 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
17012 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17013 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17014 * sysdeps/microblaze/shlib-versions: Move to ...
17015 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17016 * sysdeps/mips/shlib-versions: Move to ...
17017 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
17018 entry from ...
17019 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
17020 * sysdeps/tile/shlib-versions: Move to ...
17021 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17022 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17023 from ...
17024 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
17025 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17026 entry from ...
17027 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
17028
17029 2014-07-17 Will Newton <will.newton@linaro.org>
17030
17031 * sysdeps/arm/bits/atomic.h
17032 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17033 (__arch_compare_and_exchange_bool_16_int): Likewise.
17034 (__arch_compare_and_exchange_bool_64_int): Likewise.
17035
17036 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17037 into an #else block.
17038
17039 2014-07-16 Roland McGrath <roland@hack.frob.com>
17040
17041 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17042 just Linux configurations. Test empirically that the compiler sets
17043 __ARM_EABI__, rather than using the tuple to decide.
17044 * sysdeps/arm/preconfigure: Regenerated.
17045 * sysdeps/unix/sysv/linux/arm/configure: File removed.
17046 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17047 contents appended ...
17048 * sysdeps/arm/configure.ac: ... here.
17049 * sysdeps/arm/configure: Regenerated.
17050
17051 2014-07-15 Roland McGrath <roland@hack.frob.com>
17052
17053 * nptl/pthread_kill.c: New file.
17054 * nptl/pthread_sigmask.c: New file.
17055 * nptl/pthread_sigqueue.c: New file.
17056
17057 * sysdeps/nptl/lowlevellock.h: New file.
17058 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17059 * sysdeps/nptl/lowlevellock-futex.h: New file.
17060
17061 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17062 Remove dead declarations.
17063
17064 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
17065
17066 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17067 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17068 config-cflags-avx2.
17069 * sysdeps/x86_64/configure.ac: Likewise.
17070 * sysdeps/i386/configure: Regenerated.
17071 * sysdeps/x86_64/configure: Likewise.
17072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17073 memset-avx2 only if config-cflags-avx2 is yes.
17074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17075 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17076 defined.
17077 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17078 only if HAVE_AVX2_SUPPORT is defined.
17079 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17080
17081 2014-07-14 Alan Modra <amodra@gmail.com>
17082
17083 [BZ #17153]
17084 * elf/elf.h (DT_PPC64_NUM): Correct value.
17085 * NEWS: Add to fixed bug list.
17086
17087 2014-07-13 Jim Meyering <meyering@fb.com>
17088
17089 [BZ 17150]
17090 regex: don't deref NULL upon heap allocation failure
17091 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17092 failure in one more place.
17093 To trigger the segfault, configure grep -with-included-regex,
17094 build it, and run these commands:
17095 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17096
17097 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
17098
17099 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17100
17101 2014-07-11 Richard Henderson <rth@redhat.com>
17102
17103 * sysdeps/aarch64/libm-test-ulps: Update.
17104
17105 2014-07-10 Florian Weimer <fweimer@redhat.com>
17106
17107 [BZ #17135]
17108 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17109 * nptl/allocatestack.c (__nptl_setxid_error): New function.
17110 (__nptl_setxid): Initialize error member. Call
17111 __nptl_setxid_error.
17112 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17113 * nptl/descr.h (struct xid_command): Add error member.
17114 * nptl/tst-setuid3.c: New file.
17115 * nptl/Makefile (tests): Add it.
17116
17117 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17118
17119 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17120 New define.
17121 (__lll_trylock): Use __lll_base_trylock.
17122 (__lll_cond_trylock): Likewise.
17123
17124 2014-07-10 Roland McGrath <roland@hack.frob.com>
17125
17126 * nptl/pthread_create.c (start_thread): Use atomic_or and
17127 lll_futex_wake directly rather than lll_robust_dead.
17128 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17129 (lll_robust_dead): Macro removed.
17130 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17131 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17132 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17133 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17134 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17135 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17136 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17137 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17138 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17139 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17140 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17141 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17142 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17143 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17144 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17145
17146 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17147 Use atomic_compare_and_exchange_val_acq directly rather than
17148 lll_robust_trylock.
17149 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17150 (__lll_robust_trylock, lll_robust_trylock): Removed.
17151 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17152 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17153 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17154 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17155 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17156 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17157 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17158 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17159 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17160 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17161 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17162 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17163 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17164 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17165
17166 2014-07-02 Florian Weimer <fweimer@redhat.com>
17167
17168 * manual/locale.texi (Locale Names): New section documenting
17169 locale name syntax. Adjust menu and node chaining accordingly.
17170 (Choosing Locale): Reference Locale Names, Locale Categories.
17171 Mention setting LC_ALL=C. Reflect that name syntax is now
17172 documented.
17173 (Locale Categories): New section title. Reference Locale Names.
17174 LC_ALL is an environment variable, but not a category.
17175 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17176 description, now in Locale Name. Reference that section. Locale
17177 name syntax is now documented.
17178
17179 2014-07-02 Florian Weimer <fweimer@redhat.com>
17180
17181 [BZ #17137]
17182 * locale/findlocale.c (name_present, valid_locale_name): New
17183 functions.
17184 (_nl_find_locale): Use the loc_name variable to store name
17185 candidates. Call name_present and valid_locale_name to check and
17186 validate locale names. Return an error if the locale is invalid.
17187
17188 2014-07-02 Florian Weimer <fweimer@redhat.com>
17189
17190 * locale/setlocale.c (setlocale): Use strdup for allocating
17191 composite name copy.
17192
17193 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17194
17195 Sync up with gnulib.
17196 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17197 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17198 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17199 and _GL_ARG_NONNULL.
17200 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17201 [!_LIBC]: Include code for Windows and Cygwin.
17202 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17203 Include prototype for int strerror_r.
17204 [!_LIBC] (is_open): New function.
17205 (flush_stdout): New function.
17206 (print_errno_message): Use it.
17207 (error): Likewise.
17208 (error_at_line): Likewise.
17209 (error_tail) Add function attribute macros. Use
17210 __builtin_expect.
17211
17212 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17213
17214 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17215
17216 * io/ftw.c: Include sys/param.h unconditionally.
17217
17218 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17219
17220 [BZ #17125]
17221 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17222 libc_freeres_ptr.
17223 (freecache): New function to free CACHE on exit.
17224
17225 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17226 initialization.
17227
17228 2014-07-09 David S. Miller <davem@davemloft.net>
17229
17230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17231
17232 * sysdeps/sparc/nptl/internaltypes.h: Delete.
17233 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17234 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17235 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17236 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17237 * sysdeps/sparc/nptl/sem_init.c: Likewise.
17238 * sysdeps/sparc/nptl/sem_post.c: Likewise.
17239 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17240 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17241 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17242 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17243 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17244 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17245
17246 2014-07-09 Andreas Schwab <schwab@suse.de>
17247
17248 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17249 output.
17250 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17251 (do_test): Likewise.
17252
17253 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17254
17255 2014-07-09 Will Newton <will.newton@linaro.org>
17256
17257 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17258 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17259 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17260 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17261 * sysdeps/hppa/start.S (_start): Likewise.
17262
17263 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17264
17265 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17266
17267 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17268 defined.
17269
17270 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17271
17272 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17273 after checking that it is non-NULL.
17274
17275 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17276
17277 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17278
17279 * sysdeps/powerpc/memmove.c: Remove file.
17280 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17281 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17282 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17283 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17284 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17285 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17286 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17287 string memmove instead of removed powerpc one.
17288
17289 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17290 [weak_alias]: Fix compiler warning due trailing data.
17291 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17292 [weak_alias]: Likewise.
17293 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17294 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17295
17296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17297 (__libc_ifunc_impl_list): Add memmove functions.
17298
17299 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17300
17301 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17302 Remove code.
17303 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17304 Likewise
17305 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17306 Likewise
17307 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17308 Likewise
17309 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17310 Likewise
17311 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17312 Likewise
17313 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17314 Likewise
17315 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17316 Likewise
17317 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17318 Likewise
17319 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17320 Likewise
17321 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17322 Likewise
17323 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17324 Likewise
17325 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17326 Likewise
17327 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17328 Likewise
17329 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17330 Likewise
17331 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17332 Likewise
17333 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17334 Likewise
17335
17336 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17337
17338 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17339 to avoid alignment traps in non-cacheable memory.
17340 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17341
17342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17343 multiarch objects.
17344 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17345 file: multiarch power7 memmove.
17346 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17347 multiarch default memmove.
17348 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17349 multiarch memove for powerpc32/power4.
17350
17351 * string/bcopy.c: Use full path to include memmove.c.
17352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17353 multiarch objects.
17354 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17355 bcopy for powerpc64.
17356 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17357 bcopy for powerpc64.
17358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17359 and memmove implementations.
17360 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17361 optimized multiarch memmove for POWER7/powerpc64.
17362 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17363 default multiarch memmove for powerpc64.
17364 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17365 multiarch for powerpc64.
17366 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17367 for POWER7/powerpc64.
17368 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17369 memmove for POWER7/powerpc64.
17370
17371 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17372 glibc default one.
17373
17374 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17375 __ELF_NATIVE_CLASS equal to 64.
17376
17377 2014-07-07 Roland McGrath <roland@hack.frob.com>
17378
17379 * sysdeps/nptl/lowlevellock.h: File removed.
17380
17381 * NEWS: NPTL is no longer an add-on!
17382 * nptl/internaltypes.h: Moved ...
17383 * sysdeps/nptl/internaltypes.h: ... here.
17384 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17385 * sysdeps/nptl/fork.c: Likewise.
17386 * sysdeps/nptl/gai_misc.h: Likewise.
17387 * sysdeps/nptl/librt-cancellation.c: Likewise.
17388 * sysdeps/nptl/jmp-unwind.c: Likewise.
17389 * sysdeps/nptl/setxid.h: Likewise.
17390 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17391 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17392 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17393 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17394 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17395 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17396 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17397 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17398 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17399 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17400 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17401 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17402 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17403 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17404 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17405 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17406 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17407 * nptl/Makeconfig: Moved ...
17408 * sysdeps/nptl/Makeconfig: ... here.
17409 * nptl/configure: File removed.
17410 * nptl/ANNOUNCE: File removed.
17411 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17412 * sysdeps/unix/sysv/linux/configure: Regenerated.
17413
17414 * nptl/Makefile (routines): Add libc_pthread_init,
17415 libc_multiple_threads, register-atfork and unregister-atfork.
17416 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17417 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17418 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17419 pthread-pi-defines.sym, structsem.sym.
17420 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17421 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17422 [$(subdir) = nptl] (tests): Add tst-setgetname.
17423 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17424 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17425 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17426 [!LIBC_SIGACTION]: Remove aliases.
17427 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17428 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17429 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17430 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17431 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17432 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17433 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17435 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17436 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17437 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17438 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17439 __libc_allocate_rtsig_private.
17440 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17441 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17442 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17443 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17444 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17445 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17446 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17447 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17448 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17449 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17450 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17451 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17452 * nptl/internaltypes.h: ... here.
17453 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17454 * sysdeps/nptl/jmp-unwind.c: ... here.
17455 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17456 * nptl/libc-lowlevellock.c: ... here.
17457 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17458 * nptl/libc_multiple_threads.c: ... here.
17459 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17460 * nptl/libc_pthread_init.c: ... here.
17461 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17462 * nptl/lowlevelbarrier.sym: ... here.
17463 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17464 * nptl/lowlevelcond.sym: ... here.
17465 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17466 * nptl/lowlevellock.c: ... here.
17467 * nptl/lowlevellock.h: Moved ...
17468 * sysdeps/nptl/lowlevellock.h: ... here.
17469 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17470 * nptl/lowlevelrobustlock.c: ... here.
17471 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17472 * nptl/lowlevelrobustlock.sym: ... here.
17473 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17474 * nptl/lowlevelrwlock.sym: ... here.
17475 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17476 * nptl/pt-fork.c: ... here.
17477 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17478 * nptl/pthread-pi-defines.sym: ... here.
17479 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17480 * nptl/pthread_attr_getaffinity.c: ... here.
17481 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17482 * nptl/pthread_attr_setaffinity.c: ... here.
17483 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17484 * nptl/pthread_mutex_cond_lock.c: ... here.
17485 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17486 Update #include.
17487 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17488 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17489 * nptl/pthread_once.c: ... here, replacing old file.
17490 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17491 * nptl/pthread_yield.c: ... here.
17492 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17493 * nptl/register-atfork.c: ... here.
17494 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17495 * nptl/sem_post.c: ... here.
17496 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17497 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17498 * nptl/sem_timedwait.c: ... here.
17499 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17500 * nptl/sem_trywait.c: ... here.
17501 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17502 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17503 * nptl/sem_wait.c: ... here.
17504 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17505 * nptl/structsem.sym: ... here.
17506 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17507 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17508 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17509 * nptl/unregister-atfork.c: ... here.
17510 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17511 * nptl/unwindbuf.sym: ... here.
17512 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17513 * sysdeps/nptl/fork.c: ... here.
17514 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17515 * sysdeps/nptl/fork.h: ... here.
17516 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17517 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17518 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17519 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17520 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17521 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17522 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17523 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17524 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17525 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17526 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17527 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17528 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17529 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17530 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17531 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17532 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17533 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17534 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17535 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17536 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17537 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17538 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17539 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17540 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17541 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17542 * sysdeps/unix/sysv/linux/raise.c: ... here.
17543 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17544 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17545 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17546 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17547 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17548 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17549 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17550 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17551 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17552 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17553 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17554 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17555 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17556 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17557 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17558
17559 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17560
17561 * sysdeps/generic/memcopy.h: Add comment for
17562 MEMCPY_OK_FOR_FWD_MEMMOVE.
17563
17564 2014-07-04 Will Newton <will.newton@linaro.org>
17565
17566 * string/memchr.c: Merge from gnulib.
17567 [_LIBC]: Remove conditionals.
17568 (__ptr_t): Remove define.
17569 (LONG_MAX_32_BITS): Likewise.
17570 (LONG_MAX): Likewise.
17571 (MEMCHR): Use ANSI prototype and optimize algorithm.
17572
17573 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17574
17575 2014-07-03 Roland McGrath <roland@hack.frob.com>
17576
17577 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17578 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17579
17580 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17581 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17582 in a bare environment with no <stdlib.h> installed.
17583 * sysdeps/nptl/configure: Regenerated.
17584
17585 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17586
17587 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17588 AC_EGREP_CPP for kernel header checks, so they only succeed if
17589 including <linux/version.h> actually works right.
17590 * sysdeps/unix/sysv/linux/configure: Regenerated.
17591
17592 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17593 value so it's not diagnosed as unused.
17594
17595 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17596 thing) with "ifeq ($(subdir),rt)".
17597
17598 2014-07-03 Richard Henderson <rth@redhat.com>
17599
17600 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17601 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17602 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17603
17604 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17605 (math_force_eval): New.
17606
17607 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17608 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17609
17610 * sysdeps/alpha/fpu/s_round.c: Remove file.
17611 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17612
17613 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17614 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17615 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17616 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17617 (_dl_start, print_statistics): Likewise.
17618 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17619 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17620
17621 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17622 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17623 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17624 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17626 (HP_SMALL_TIMING_AVAIL): Define.
17627 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17628 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17629 (HP_SMALL_TIMING_AVAIL): Define.
17630 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17631 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17632
17633 * sysdeps/aarch64/hp-timing.h: New file.
17634
17635 * sysdeps/generic/hp-timing.h: Remove dead comment.
17636 * sysdeps/generic/hp-timing-common.h: New file.
17637 * sysdeps/alpha/hp-timing.h: Include it.
17638 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17639 * sysdeps/i386/i686/hp-timing.h: Likewise.
17640 * sysdeps/ia64/hp-timing.h: Likewise.
17641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17642 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17643 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17644 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17645 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17646 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17647 (hp_timing_t): New.
17648
17649 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17650 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17651 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17652 * elf/rtld.c (_dl_start_final): Likewise.
17653 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17654 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17655 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17656 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17657 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17658 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17659 (HP_TIMING_DIFF_INIT): Remove.
17660 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17661 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17662 (HP_TIMING_DIFF_INIT): Remove.
17663 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17664 * sysdeps/i386/i686/hp-timing.c: Remove file.
17665 * sysdeps/x86_64/hp-timing.c: Remove file.
17666 * sysdeps/ia64/hp-timing.c: Remove file.
17667 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17668 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17669 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17670 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17671
17672 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17673 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17674 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17675 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17676 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17677 (HP_TIMING_ACCUM): Remove.
17678 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17679 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17680 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17681
17682 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17683 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17684 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17685 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17686 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17687 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17688 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17689 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17690
17691 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17692
17693 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17694
17695 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17696
17697 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17698
17699 Sync up with gettext.
17700 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17701 [_MSC_VER]: Include malloc.h
17702 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17703 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17704 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17705 TEMP_FAILURE_RETRY. Cast return of alloca.
17706 [!_LIBC] Call gl_rwlock_init.
17707 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17708
17709 2014-07-02 Roland McGrath <roland@hack.frob.com>
17710
17711 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17712 before checking its value.
17713
17714 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17715
17716 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17717
17718 * debug/memcpy_chk.c: Don't include pagecopy.h.
17719 * debug/mempcpy_chk.c: Likewise.
17720 * string/memcpy.c: Likewise.
17721 * string/memmove.c: Likewise.
17722 * sysdeps/powerpc/memmove.c: Likewise.
17723 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17724 definition of PAGE_COPY_FWD_MAYBE here...
17725 * sysdeps/generic/pagecopy.h: ... from here.
17726 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17727
17728 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17729 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17730
17731 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17733 optimizations.
17734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17735 (__libc_ifunc_impl_list): Likewise.
17736 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17737 multiarch strcat for PPC64.
17738 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17739 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17740
17741 2014-07-02 Roland McGrath <roland@hack.frob.com>
17742
17743 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17744
17745 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17746
17747 * intl/loadmsgcat.c: Remove declaration of
17748 get_sysdep_segment_value.
17749 (get_sysdep_segment_value): Use ISO C style.
17750 (_nl_load_domain): Use ISO C style. Get rid of redundant
17751 semicolon. Fix typo and formatting in comment.
17752 (_nl_unload_domain): Use ISO C style.
17753
17754 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17755
17756 2014-07-02 Will Newton <will.newton@linaro.org>
17757
17758 * malloc/obstack.c: Merge from gnulib master.
17759 [HAVE_CONFIG_H]: Remove conditional code.
17760 [!_LIBC]: Include config.h.
17761 [!ELIDE_CODE]: Don't include inttypes.h, include
17762 stdint.h unconditionally.
17763 (print_and_abort): Mark as _Noreturn.
17764 (_obstack_allocated_p): Mark as __attribute_pure__.
17765 (obstack_free): Rename to __obstack_free.
17766 [!__attribute__]: Remove conditional code.
17767 * malloc/obstack.h: Merge from gnulib master.
17768 [__cplusplus]: Move conditional down.
17769 [!__attribute_pure__]: Define __attribute_pure__ here
17770 if it is not already defined.
17771 (_obstack_memory_used): Mark as __attribute_pure__.
17772 [!__obstack_free]: Define as obstack_free.
17773 [__GNUC__]: Remove check for ancient NeXT gcc.
17774
17775 2014-07-02 Will Newton <will.newton@linaro.org>
17776 Paul Eggert <eggert@cs.ucla.edu>
17777
17778 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17779
17780 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17781
17782 * resolv/gethnamaddr.c: Add comment warning that the file is
17783 not maintained.
17784
17785 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17786
17787 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17788 entries.
17789
17790 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17791 entry for aio_cancel and aio_cancel64.
17792 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17793 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17794 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17795 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17796 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17797 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17798 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17799 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17800 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17801 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17802 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17803 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17804 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17805
17806 2014-07-01 Roland McGrath <roland@hack.frob.com>
17807
17808 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17809 * nptl/pthread_mutex_lock.c: Likewise.
17810 * nptl/pthread_mutex_timedlock.c: Likewise.
17811 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17812
17813 2014-07-01 Richard henderson <rth@redhat.com>
17814
17815 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17816 (__isnan, __isnanl): Remove.
17817 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17818
17819 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17820
17821 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17822
17823 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17824
17825 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17826
17827 * resolv/nss_dns/dns-host.c (getanswer_r)
17828 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17829
17830 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17831
17832 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17833 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17834 undefine.
17835 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17836 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17837
17838 2014-07-01 Roland McGrath <roland@hack.frob.com>
17839
17840 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17841 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17842
17843 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17844 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17845
17846 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17847 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17848 ... here.
17849 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17850 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17851
17852 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17853 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17854 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17855 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17856
17857 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17858 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17859 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17860 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17861 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17862 Moved ...
17863 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17864 ... here.
17865 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17866 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17867 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17868 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17869 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17870 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17871 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17872 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17873 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17874 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17875 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17876 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17877 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17878 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17879 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17880 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17881 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17882 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17883 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17884 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17885 ... here.
17886 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17887 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17888 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17889 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17890 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17891 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17892 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17893 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17894
17895 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17896
17897 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17898 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17899 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17900 Add sysdep.
17901
17902 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17903
17904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17905
17906 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17907
17908 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17909 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17910
17911 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17912
17913 * sysdeps/arm/libm-test-ulps: Regenerated.
17914
17915 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17916 Roland McGrath <roland@hack.frob.com>
17917
17918 * test-skeleton.c (signal_handler): Kill the whole process group
17919 before killing the child individually.
17920 (main): Report any failure on `setpgid'.
17921
17922 2014-06-30 Roland McGrath <roland@hack.frob.com>
17923
17924 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17925 from _TLS_H to _ARM_NPTL_TLS_H.
17926 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17927 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17928
17929 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17930
17931 [BZ #16539]
17932 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17933 (__expm1l): Return argument unchanged when small but not
17934 subnormal.
17935
17936 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17937 include macro name.
17938 (_FP_UNPACK_RAW_1_P): Likewise.
17939 (_FP_PACK_RAW_1): Likewise.
17940 (_FP_PACK_RAW_1_P): Likewise.
17941 (_FP_MUL_MEAT_1_wide): Likewise.
17942 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17943 (_FP_MUL_MEAT_1_hard): Likewise.
17944 (_FP_DIV_MEAT_1_imm): Likewise.
17945 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17946 (_FP_DIV_MEAT_1_udiv): Likewise.
17947 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17948 (_FP_UNPACK_RAW_2): Likewise.
17949 (_FP_UNPACK_RAW_2_P): Likewise.
17950 (_FP_PACK_RAW_2): Likewise.
17951 (_FP_PACK_RAW_2_P): Likewise.
17952 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17953 (_FP_MUL_MEAT_2_wide): Likewise.
17954 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17955 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17956 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17957 (_FP_MUL_MEAT_2_gmp): Likewise.
17958 (_FP_DIV_MEAT_2_udiv): Likewise.
17959 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17960 (_FP_FRAC_SRL_4): Likewise.
17961 (_FP_FRAC_SRST_4): Likewise.
17962 (_FP_FRAC_SRS_4): Likewise.
17963 (_FP_UNPACK_RAW_4): Likewise.
17964 (_FP_UNPACK_RAW_4_P): Likewise.
17965 (_FP_PACK_RAW_4): Likewise.
17966 (_FP_PACK_RAW_4_P): Likewise.
17967 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17968 (_FP_MUL_MEAT_4_wide): Likewise.
17969 (_FP_MUL_MEAT_4_gmp): Likewise.
17970 (umul_ppppmnnn): Likewise.
17971 (_FP_DIV_MEAT_4_udiv): Likewise.
17972 (__FP_FRAC_ADD_4): Likewise.
17973 (__FP_FRAC_SUB_3): Likewise.
17974 (__FP_FRAC_SUB_4): Likewise.
17975 (__FP_FRAC_DEC_3): Likewise.
17976 (__FP_FRAC_DEC_4): Likewise.
17977 (__FP_FRAC_ADDI_4): Likewise.
17978 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17979 (_FP_FRAC_SRL_8): Likewise.
17980 (_FP_FRAC_SRS_8): Likewise.
17981
17982 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17983 include macro name.
17984 (FP_UNPACK_RAW_EP): Likewise.
17985 (FP_PACK_RAW_E): Likewise.
17986 (FP_PACK_RAW_EP): Likewise.
17987 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17988 (_FP_ISSIGNAN): Likewise.
17989 (_FP_ADD_INTERNAL): Likewise.
17990 (_FP_FMA): Likewise.
17991 (_FP_CMP): Likewise.
17992 (_FP_SQRT): Likewise.
17993 (_FP_TO_INT): Likewise.
17994 (_FP_FROM_INT): Likewise.
17995 (FP_EXTEND): Likewise.
17996 (_FP_DIV_MEAT_N_loop): Likewise.
17997
17998 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17999
18000 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18001 throughout.
18002
18003 2014-06-29 Joseph Myers <joseph@codesourcery.com>
18004
18005 [BZ #17097]
18006 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18007 result with correct sign in case of exponents that produce
18008 overflow except for X very close to 1.
18009
18010 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
18011
18012 mktime: merge #if/#ifdef usage from glibc
18013 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18014 as that works with both Glibc's and Gnulib's style.
18015 See thread starting at Siddhesh Poyarekar's bug report at:
18016 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18017
18018 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18019
18020 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18021 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18022 * sysdeps/tile/tilegx/memmove.c: Remove file.
18023
18024 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18025
18026 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18027 abi-name definition.
18028 * scripts/soversions.awk: Do not handle or generate ABI lines.
18029 * shlib-versions: Remove ABI entries.
18030 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18031 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18032
18033 2014-06-27 Roland McGrath <roland@hack.frob.com>
18034
18035 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18036 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18037 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18038 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18040 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18042 Moved ...
18043 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18044 ... here.
18045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18046 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18048 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18049 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18050 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18052 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18054 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18056 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18058 Moved ...
18059 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18061 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18062 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18063 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18064 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18065 Moved ...
18066 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18068 Moved ...
18069 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18071 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18073 Moved ...
18074 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18075 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18076 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18078 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18080 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18081 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18082 Moved ...
18083 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18085 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18086 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18087 Moved ...
18088 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18089 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18090 Moved ...
18091 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18092 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18093 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18094 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18095 Moved ...
18096 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18097 ... here.
18098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18099 Identical file removed.
18100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18101 Moved ...
18102 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18104 Identical file removed.
18105 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18106 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18107 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18108 Moved ...
18109 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18111 Identical file removed.
18112 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18113 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18114 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18115 Identical file removed.
18116 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18117 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18118 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18119 Identical file removed.
18120 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18121 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18122 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18123 Identical file removed.
18124 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18125 Moved ...
18126 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18127 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18128 Identical file removed.
18129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18130 Moved ...
18131 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18132 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18133 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18134 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18135 Identical file removed.
18136 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18137 Moved ...
18138 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18139 ... here.
18140 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18141 Identical file removed.
18142 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18143 Moved ...
18144 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18146 Identical file removed.
18147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18148 Moved ...
18149 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18150 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18151 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18152 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18153 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18155 Moved ...
18156 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18157 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18158 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18159
18160 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18161 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18162 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18163 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18164 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18165
18166 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18167
18168 [BZ #17092]
18169 * nscd/nscd.c (monitor_child): Return exit status of child
18170 instead of return value from wait syscall.
18171
18172 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18173
18174 * configure.ac (libc_commonpagesize): Remove variable.
18175 (libc_relro_required): Likewise.
18176 (libc_cv_z_relro): Remove configure test.
18177 * configure: Regenerated.
18178 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18179 variable.
18180 (libc_relro_required): Likewise.
18181 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18182 (libc_relro_required): Likewise.
18183 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18184 (libc_relro_required): Likewise.
18185 * sysdeps/arm/preconfigure: Regenerated.
18186 * sysdeps/ia64/preconfigure: Remove file.
18187 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18188 variable.
18189 (libc_relro_required): Likewise.
18190
18191 [BZ #16561]
18192 [BZ #16562]
18193 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18194 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18195 recompute overflowing results in original rounding mode.
18196 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18197 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18198 recompute overflowing results in original rounding mode.
18199 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18200 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18201 recompute overflowing results in original rounding mode.
18202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18203 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18204 recompute overflowing results in original rounding mode.
18205 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18206 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18207 recompute overflowing results in original rounding mode.
18208 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18209 (libc_feholdsetround_ctx): New macro.
18210 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18211 * sysdeps/i386/fpu/libm-test-ulps: Update.
18212 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18213
18214 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18215
18216 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18217 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18218 corresponding .cpsetup call.
18219
18220 2014-06-26 Roland McGrath <roland@hack.frob.com>
18221
18222 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18223 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18224 * sysdeps/arm/Makefile [$(subdir) = csu]
18225 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18226 (static-only-routines): Add aeabi_read_tp here.
18227 (shared-only-routines): Add libc-aeabi_read_tp here.
18228 (CFLAGS-libc-start.c): Add -fexceptions here.
18229 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18230 (sysdep_routines, static-only-routines, shared-only-routines):
18231 Don't add to these here.
18232 (CFLAGS-libc-start.c): Likewise.
18233
18234 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18235 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18236 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18237 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18238 * sysdeps/arm/Makefile [$(subdir) = rt]
18239 (librt-sysdep_routines, librt-shared-only-routines):
18240 Append rt-aeabi_unwind_cpp_pr1 here.
18241 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18242 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18243 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18244 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18245 Append nptl-aeabi_unwind_cpp_pr1 here.
18246 (tests): Filter out tst-cleanupx4 here.
18247 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18248 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18249 Don't do those here.
18250
18251 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18252
18253 * scripts/list-sources.sh: Do not handle ports specially.
18254
18255 2014-06-26 Roland McGrath <roland@hack.frob.com>
18256
18257 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18258 * sysdeps/arm/feupdateenv.c: Likewise.
18259
18260 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18261
18262 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18263
18264 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18265 trailing whitespace removed.
18266 * scripts/config.guess: Update to version 2014-03-23.
18267 * scripts/config.sub: Update to version 2014-05-01
18268 * scripts/install-sh: Update to version 2013-12-25.23.
18269 * scripts/move-if-change: Update from gnulib.
18270
18271 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18272
18273 * debug/memmove_chk.c: Remove pagecopy.h include.
18274
18275 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18276
18277 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18278 identical to gnulib mktime.
18279
18280 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18281
18282 * configure.ac: Do not test for machine being rs6000. Do not test
18283 for powerpc*-*soft.
18284 * configure: Regenerated.
18285
18286 [BZ #11505]
18287 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18288 test.
18289 * configure: Regenerated.
18290 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18291 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18292 Remove configure test.
18293 * sysdeps/arm/configure: Regenerated.
18294 * sysdeps/nptl/configure.ac: Do not check
18295 libc_cv_asm_cfi_directives.
18296 * sysdeps/nptl/configure: Regenerated.
18297 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18298 * sysdeps/x86_64/nptl/configure: Remove generated file.
18299 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18300 unconditional.
18301 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18302
18303 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18304
18305 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18306 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18307 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18308 it is defined.
18309
18310 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18311 instead of whether it is defined.
18312 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18313 * sysdeps/hppa/dl-machine.h: Likewise.
18314 * sysdeps/ia64/dl-machine.h: Likewise.
18315 * sysdeps/m68k/dl-machine.h: Likewise.
18316 * sysdeps/microblaze/dl-machine.h: Likewise.
18317 * sysdeps/mips/dl-machine.: Likewise.
18318 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18319 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18320 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18321 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18322 * sysdeps/sh/dl-machine.h: Likewise.
18323 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18324 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18325 * sysdeps/tile/dl-machine.h: Likewise.
18326 * sysdeps/x86_64/dl-machine.h: Likewise.
18327
18328 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18329 code.
18330 (verify_persistent_db): Likewise.
18331
18332 2014-06-26 Roland McGrath <roland@hack.frob.com>
18333
18334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18335 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18337 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18339 Moved ...
18340 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18341 ... here.
18342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18343 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18345 Identical file removed.
18346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18347 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18349 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18351 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18353 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18355 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18357 Moved ...
18358 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18360 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18362 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18364 Moved ...
18365 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18367 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18369 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18371 Identical file removed.
18372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18373 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18375 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18377 Moved ...
18378 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18379 ... here.
18380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18381 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18383 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18385 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18387 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18389 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18391 Moved ...
18392 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18394 Moved ...
18395 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18397 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18399 Moved ...
18400 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18402 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18403
18404 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18405 folded into ...
18406 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18407 * sysdeps/unix/sysv/linux/s390/Versions
18408 (libpthread: GLIBC_2.19): New version set.
18409 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18410 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18411 (librt: GLIBC_2.3.3): New version set.
18412 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18413 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18414 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18415 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18416 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18417 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18418 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18419 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18420 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18421 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18422 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18423 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18424 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18425 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18426 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18427 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18428 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18429 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18430 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18431 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18432 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18433 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18434 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18435 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18436 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18437 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18438 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18439 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18440 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18441 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18442 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18443 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18444 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18445 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18446 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18448 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18450 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18452 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18453 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18454 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18455 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18456 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18457
18458 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18459 * sysdeps/unix/sysv/linux/s390/s390-32/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 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18464 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18465 (__libc_vfork): Define the function under this name.
18466 [!NOT_IN_libc] (__vfork): Make this an alias.
18467 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18468 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18469 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18470 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18471 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18472 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18473
18474 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18475 code that was previously under [RESET_PID].
18476 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18477 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18478 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18479
18480 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18481 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18482 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18483 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18484 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18485 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18486 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18487 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18488 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18489 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18490 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18491 Moved ...
18492 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18493 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18494 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18495 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18497 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18498 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18499 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18500 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18501 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18502 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18503 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18504 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18505 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18506 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18507 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18508 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18509 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18510 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18511 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18512 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18513 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18514 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18515 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18516 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18517 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18518 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18519 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18520 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18521
18522 2014-06-25 Roland McGrath <roland@hack.frob.com>
18523
18524 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18525 that was previously under [RESET_PID].
18526 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18527
18528 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18529
18530 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18531 not undefine and redefine.
18532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18533 [O_CLOEXEC]: Make code unconditional.
18534 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18535 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18536 <kernel-features.h>.
18537 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18538 conditional variable definition.
18539 (shm_open) [O_CLOEXEC]: Make code unconditional.
18540 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18541 code.
18542
18543 * configure.ac (USE_REGPARMS): Don't define here.
18544 * configure: Regenerated.
18545 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18546 * sysdeps/i386/configure: Regenerated.
18547
18548 * nptl/createthread.c: Don't include kernel-features.h.
18549 * nptl/pthread_cancel.c: Likewise.
18550 * nptl/pthread_condattr_setclock.c: Likewise.
18551 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18552 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18553 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18554 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18555 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18556 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18557 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18558 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18559 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18560 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18561 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18562 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18563 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18564 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18565 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18566 * nscd/gai.c: Likewise.
18567 * nss/nss_db/db-open.c: Likewise.
18568 * sysdeps/generic/ldsodefs.h: Likewise.
18569 * sysdeps/sh/nptl/tls.h: Likewise.
18570 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18571 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18572 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18573 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18574 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18575 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18576 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18577 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18578 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18579 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18580 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18581 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18582 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18583 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18584 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18585 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18586 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18587 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18588 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18589 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18590 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18591 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18592 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18593 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18594 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18595 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18596 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18597 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18598 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18599 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18600 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18601 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18602 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18603 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18604 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18605 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18606 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18607 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18608 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18609 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18610 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18611 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18612 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18613 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18614 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18615 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18616 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18617 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18618 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18619 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18620 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18621 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18622 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18623 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18624 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18625 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18626 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18627 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18650 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18651 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18652 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18653 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18654 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18655 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18656 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18657 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18658 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18659 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18660 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18661 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18662 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18663 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18664 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18665 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18666 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18667 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18668 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18669 * sysdeps/unix/sysv/linux/system.c: Likewise.
18670 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18671 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18672 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18673 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18674 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18675 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18676 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18677
18678 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18679 * configure: Regenerated.
18680 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18681
18682 * configure.ac (base_machine): Do not set specially for particular
18683 machines here.
18684 * configure: Regenerated.
18685 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18686 settings from configure.ac.
18687 * sysdeps/i386/preconfigure: New file.
18688 * sysdeps/s390/preconfigure: Likewise.
18689 * sysdeps/sh/preconfigure: Likewise.
18690 * sysdeps/sparc/preconfigure: Likewise.
18691
18692 2014-06-25 Roland McGrath <roland@hack.frob.com>
18693
18694 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18695 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18696 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18697 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18698 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18699 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18700 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18701 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18702 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18703 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18704 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18705 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18706 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18707 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18708 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18709 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18710 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18711 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18712 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18713
18714 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18715 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18716 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18717 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18718 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18719 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18720 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18721 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18722 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18723 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18724 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18725 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18726 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18727 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18728 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18729 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18730 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18731 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18732 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18733 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18734 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18735 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18736 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18737 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18738 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18739 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18740 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18741 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18742 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18743 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18744 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18745 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18746 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18747 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18748 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18749 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18750 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18751 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18752
18753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18754 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18756 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18758 Moved ...
18759 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18760 ... here.
18761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18762 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18764 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18766 Moved ...
18767 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18769 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18771 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18773 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18775 Moved ...
18776 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18778 Moved ...
18779 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18781 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18783 Moved ...
18784 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18786 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18788 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18790 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18792 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18794 Moved ...
18795 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18796 ... here.
18797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18798 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18800 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18802 Moved ...
18803 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18805 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18807 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18809 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18811 Moved ...
18812 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18814 Moved ...
18815 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18817 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18819 Moved ...
18820 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18822 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18824 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18825
18826 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18827
18828 * timezone/checktab.awk: Update from tzcode 2014e.
18829 * timezone/private.h: Likewise.
18830 * timezone/tzfile.h: Likewise.
18831 * timezone/zdump.c: Likewise.
18832 * timezone/zic.c: Likewise.
18833
18834 * sysdeps/unix/sysv/linux/kernel-features.h
18835 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18836 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18837 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18838 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18839 Remove conditional code.
18840
18841 2014-06-25 Will Newton <will.newton@linaro.org>
18842
18843 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18844 (_dl_arm_cap_flags): Add HWCAP2 values.
18845 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18846 (_DL_HWCAP_COUNT): Increase to 37.
18847 (_DL_HWCAP_LAST): New define.
18848 (_DL_HWCAP2_LAST): New define.
18849 (_dl_procinfo): Add support for printing
18850 AT_HWCAP2 entries.
18851 (_dl_string_hwcap): Use _dl_hwcap_string.
18852
18853 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18854
18855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18856
18857 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18858
18859 * README: Do not mention ports directory.
18860
18861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18862 Remove macro.
18863 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18864 <kernel-features.h>.
18865 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18866 conditional variable definition.
18867 (__futimes): Update comment.
18868 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18869 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18870
18871 [BZ #16560]
18872 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18873 arguments close to 0.
18874 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18875 Likewise.
18876 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18877 Likewise.
18878 * math/auto-libm-test-in: Add more tests of exp10.
18879 * math/auto-libm-test-out: Regenerated.
18880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18881
18882 * sysdeps/unix/sysv/linux/kernel-features.h
18883 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18884 * sysdeps/unix/sysv/linux/readv.c: Do not include
18885 <kernel-features.h>.
18886 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18887 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18888 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18889 unconditional.
18890 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18891 conditional code.
18892 * sysdeps/unix/sysv/linux/writev.c: Do not include
18893 <kernel-features.h>.
18894 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18895 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18896 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18897 unconditional.
18898 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18899 conditional code.
18900
18901 2014-06-25 Will Newton <will.newton@linaro.org>
18902
18903 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18904 comment changes throughout the file. Remove checks
18905 for HAVE_*_H definitions that are not required.
18906 (__gen_tempname): Call abort if an unknown kind value is
18907 passed.
18908
18909 2014-06-25 Andreas Schwab <schwab@suse.de>
18910
18911 [BZ #17086]
18912 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18913 scalbln, scalblnf, scalblnl in libc.
18914
18915 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18916
18917 [BZ #17086]
18918 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18919 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18920 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18921
18922 2014-06-24 Roland McGrath <roland@hack.frob.com>
18923
18924 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18925 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18926 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18927 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18928 Update #include.
18929 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18930 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18931 Update #include.
18932 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18933 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18934 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18935 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18936 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18937 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18938 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18939 * sysdeps/x86/bits/semaphore.h: ... here.
18940 * sysdeps/x86/nptl/elide.h: Moved ...
18941 * sysdeps/x86/elide.h: ... here.
18942 * sysdeps/x86_64/nptl/Implies: File removed.
18943 * sysdeps/i386/nptl/Implies: File removed.
18944
18945 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18946
18947 [BZ #16539]
18948 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18949 return the argument for normal arguments with exponent below -64.
18950 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18951 Likewise.
18952 * math/auto-libm-test-in: Add another test of expm1.
18953 * math/auto-libm-test-out: Regenerated.
18954
18955 [BZ #16287]
18956 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18957 calling __erfcl for arguments at least 16.
18958 * math/auto-libm-test-in: Add more tests of erf.
18959 * math/auto-libm-test-out: Regenerated.
18960
18961 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18962 individual architectures.
18963 * sysdeps/unix/sysv/linux/configure: Regenerated.
18964 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18965 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18966 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18967 (ldd_rewrite_script): Define variable.
18968 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18970 file.
18971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18972 generated file.
18973 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18974 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18975 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18976 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18977 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18978 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18979 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18980 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18981
18982 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18983
18984 [BZ #17084]
18985 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18986 Rename member __data.d to __data.__elision_data.
18987
18988 2014-06-24 Wilco <wdijkstr@arm.com>
18989
18990 * NEWS: Add 16918 to fixed bug list.
18991
18992 2014-06-24 Wilco <wdijkstr@arm.com>
18993
18994 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18995
18996 2014-06-24 Wilco <wdijkstr@arm.com>
18997
18998 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18999 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19000 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19001 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19002 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19003 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19004 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19005 Use _FPU_MASK_RM.
19006
19007 2014-06-24 Wilco <wdijkstr@arm.com>
19008
19009 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19010
19011 2014-06-24 Wilco <wdijkstr@arm.com>
19012
19013 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19014 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19015 * sysdeps/arm/fesetround.c (fesetround): Remove space.
19016 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19017
19018 2014-06-24 Wilco <wdijkstr@arm.com>
19019
19020 [BZ #16918]
19021 * sysdeps/arm/feupdateenv.c (feupdateenv):
19022 Rewrite to reduce FPSCR accesses and fix return value.
19023
19024 2014-06-24 Wilco <wdijkstr@arm.com>
19025
19026 * sysdeps/arm/fclrexcpt.c (feclearexcept):
19027 Optimize to avoid unnecessary FPSCR writes.
19028 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19029 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19030 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19031 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19032
19033 2014-06-24 Wilco <wdijkstr@arm.com>
19034
19035 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19036 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19037 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19038 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19039 Call libc_fetestexcept_vfp.
19040 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19041 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19042 __SOFTFP__ ifdef so that they can be built for softfp.
19043
19044 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19045
19046 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19047 argument type signed char.
19048
19049 * Makerules (check-abi): Dump diff of symlist if the test
19050 fails.
19051
19052 2014-06-23 Roland McGrath <roland@hack.frob.com>
19053
19054 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19055 using abort.
19056
19057 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19058 Remove unused variable ST.
19059
19060 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19061
19062 [BZ #16354]
19063 [BZ #17061]
19064 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19065 small arguments before calling __expm1.
19066 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19067 small arguments before calling __expm1f.
19068 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19069 small arguments before calling __expm1l.
19070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19071 Likewise.
19072 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19073 * math/auto-libm-test-in: Add more cosh tests. Do not allow
19074 spurious underflow for some cosh tests.
19075 * math/auto-libm-test-out: Regenerated.
19076 * sysdeps/i386/fpu/libm-test-ulps: Update.
19077
19078 [BZ #17050]
19079 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19080 (__ieee754_y1): Set errno if return value overflows.
19081 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19082 (__ieee754_y1f): Set errno if return value overflows.
19083 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19084 (__ieee754_y1l): Set errno if return value overflows.
19085 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19086 (__ieee754_y1l): Set errno if return value overflows.
19087 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19088 * math/auto-libm-test-out: Regenerated.
19089
19090 * math/gen-auto-libm-tests.c: Document use of
19091 ignore-zero-inf-sign.
19092 (input_flag_type): Add value flag_ignore_zero_inf_sign.
19093 (input_flags): Add ignore-zero-inf-sign.
19094 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19095 * math/gen-libm-test.pl (generate_testfile): Handle
19096 ignore-zero-inf-sign.
19097 * math/auto-libm-test-in: Mark some cpow tests with
19098 ignore-zero-inf-sign and some with xfail-rounding.
19099 * math/auto-libm-test-out: Regenerated.
19100 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19101 * sysdeps/i386/fpu/libm-test-ulps: Update.
19102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19103
19104 [BZ #16315]
19105 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19106 overflowing or underflowing operations take place with sign of
19107 result.
19108 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19109 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19110 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19111 (__ieee754_pow): Recompute overflowing and underflowing results in
19112 original rounding mode.
19113 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19114 (__powl_helper): Allow negative argument X and scale negated value
19115 as needed. Avoid passing value outside [-1, 1] to f2xm1.
19116 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19117 overflowing or underflowing operations take place with sign of
19118 result.
19119 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19120 Include <math.h>.
19121 * math/auto-libm-test-in: Add more tests of pow.
19122 * math/auto-libm-test-out: Regenerated.
19123 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19124 (pow_tonearest_test_data): Remove.
19125 (pow_test_tonearest): Likewise.
19126 (pow_towardzero_test_data): Likewise.
19127 (pow_test_towardzero): Likewise.
19128 (pow_downward_test_data): Likewise.
19129 (pow_test_downward): Likewise.
19130 (pow_upward_test_data): Likewise.
19131 (pow_test_upward): Likewise.
19132 (main): Don't call removed functions.
19133 * sysdeps/i386/fpu/libm-test-ulps: Update.
19134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19135
19136 2014-06-23 Roland McGrath <roland@hack.frob.com>
19137
19138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19139 Moved ...
19140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19142 Moved ...
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19145 Moved ...
19146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19148 Moved ...
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19151 File removed.
19152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19153 File removed.
19154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19155 File removed.
19156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19157 File removed.
19158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19159 File removed.
19160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19161 File removed.
19162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19163 File removed.
19164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19165 File removed.
19166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19167 File removed.
19168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19169 File removed.
19170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19171 File removed.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19173 File removed.
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19175 Moved ...
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19178 Moved ...
19179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19180 ... here.
19181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19182 Moved ...
19183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19185 Moved ...
19186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19188 Moved ...
19189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19191 Moved ...
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19194 Moved ...
19195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19197 Moved ...
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19200 Moved ...
19201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19204 ... here.
19205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19206 Moved ...
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19209 Moved ...
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19211 ... here.
19212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19213 Moved ...
19214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19215 ... here.
19216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19217 Moved ...
19218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19219 ... here.
19220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19221 Moved ...
19222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19224 Moved ...
19225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19229 Moved ...
19230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19231 ... here.
19232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19233 Moved ...
19234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19235 ... here.
19236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19237 Moved ...
19238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19240 Moved ...
19241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19243 Moved ...
19244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19246 Moved ...
19247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19249 Moved ...
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19251 ... here.
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19253 Moved ...
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19256 Moved ...
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19259 Moved ...
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19262 Moved ...
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19267 Moved ...
19268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19270 Moved ...
19271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19273 Moved ...
19274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19275 ... here.
19276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19277 Moved ...
19278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19279 ... here.
19280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19281 Moved ...
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19283 ... here.
19284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19285 Moved ...
19286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19288 Moved ...
19289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19291 Moved ...
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19294 Moved ...
19295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19296 ... here.
19297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19298 Moved ...
19299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19300 ... here.
19301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19302 Moved ...
19303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19304 ... here.
19305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19306 Moved ...
19307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19309 Moved ...
19310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19311
19312 2014-06-23 Will Newton <will.newton@linaro.org>
19313 Wilco <wdijkstr@arm.com>
19314
19315 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19316 implementation. Include get-rounding-mode.h.
19317 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19318 [!libc_feholdsetround_noex_ctx]: Define
19319 libc_feholdsetround_noex_ctx.
19320 [!libc_feholdsetround_noexf_ctx]: Define
19321 libc_feholdsetround_noexf_ctx.
19322 [!libc_feholdsetround_noexl_ctx]: Define
19323 libc_feholdsetround_noexl_ctx.
19324 (libc_feholdsetround_ctx): New function.
19325 (libc_feresetround_ctx): New function.
19326 (libc_feholdsetround_noex_ctx): New function.
19327 (libc_feresetround_noex_ctx): New function.
19328
19329 2014-06-23 Roland McGrath <roland@hack.frob.com>
19330
19331 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19332 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19333 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19334 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19335 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19336 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19337
19338 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19339 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19340 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19341 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19342 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19343 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19344 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19345 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19347 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19349 Moved ...
19350 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19351 ... here.
19352 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19353 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19355 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19357 Moved ...
19358 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19359 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19360 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19361 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19362 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19363 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19364 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19365 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19366 Moved ...
19367 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19368 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19369 Moved ...
19370 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19371 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19372 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19373 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19374 Moved ...
19375 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19376 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19377 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19378 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19379 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19380 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19381 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19382 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19383 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19384 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19385 Moved ...
19386 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19387 ... here.
19388 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19389 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19390 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19391 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19392 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19393 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19394 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19395 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19396 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19397 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19398 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19399 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19400 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19401 Moved ...
19402 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19403 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19404 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19405 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19406 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19407 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19408 Moved ...
19409 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19410 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19411 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19412 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19413 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19414
19415 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19416 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19417 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19418 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19419 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19420 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19421 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19422 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19424 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19425 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19426 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19427 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19428 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19429 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19430 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19431 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19432 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19433 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19434 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19435 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19436 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19437 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19438 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19439 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19440 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19441 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19442 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19443
19444 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19445
19446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19447 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19448 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19449 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19450 (IPV6_PMTUDISC_INTERFACE): Likewise.
19451 (IPV6_PMTUDISC_OMIT): Likewise.
19452
19453 2014-06-23 Andreas Schwab <schwab@suse.de>
19454
19455 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19456 Remove unused errout label.
19457
19458 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19459
19460 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19461 macro: hardware supports Vector Crypto instructions.
19462
19463 2014-06-23 Will Newton <will.newton@linaro.org>
19464
19465 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19466 rather than __builtin_expect.
19467
19468 * elf/dl-lookup.c (undefined_msg): Remove variable.
19469 (_dl_lookup_symbol_x): Replace undefined_msg with string
19470 literal.
19471
19472 * elf/dl-lookup.c (do_lookup_unique): New function.
19473 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19474 to a separate function.
19475
19476 2014-06-23 Andreas Schwab <schwab@suse.de>
19477
19478 [BZ #17079]
19479 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19480 before reading the next line.
19481
19482 2014-06-23 Will Newton <will.newton@linaro.org>
19483
19484 * test-skeleton.c (signal_handler): Use printf and %m
19485 rather than perror. Use printf rather than fprintf to
19486 stderr. Use puts rather than fputs to stderr.
19487 (main): Likewise.
19488
19489 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19490
19491 * nscd/nscd.c (thread_info_t): Remove typedef.
19492 (thread_info): Remove variable.
19493
19494 2014-06-21 Allan McRae <allan@archlinux.org>
19495
19496 * NEWS: Mention CVE-2014-4043.
19497
19498 2014-06-20 Roland McGrath <roland@hack.frob.com>
19499
19500 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19501 * nptl/smp.h: ... here.
19502
19503 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19504
19505 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19506 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19507 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19508 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19509
19510 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19511 * nptl/stack-aliasing.h: New file.
19512 * sysdeps/i386/i686/stack-aliasing.h: New file.
19513 * sysdeps/i386/i686/nptl/Makefile: File removed.
19514 * sysdeps/x86_64/stack-aliasing.h: New file.
19515 * sysdeps/x86_64/nptl/Makefile
19516 (CFLAGS-pthread_create.c): Variable removed.
19517
19518 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19519 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19520 old file.
19521 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19522 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19523 old file.
19524
19525 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19526
19527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19528 (__ASSUME_SIGFRAME_V2): Remove macro.
19529 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19530 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19531 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19532 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19533 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19534 Declare as function. Remove conditional macro definitions.
19535 (__default_rt_sa_restorer): Likewise.
19536 (__default_sa_restorer_v1): Remove declaration.
19537 (__default_sa_restorer_v2): Likewise.
19538 (__default_rt_sa_restorer_v1): Likewise.
19539 (__default_rt_sa_restorer_v2): Likewise.
19540 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19541 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19542 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19543
19544 2014-06-20 Roland McGrath <roland@hack.frob.com>
19545
19546 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19547 (libpthread-routines): Add sysdep.
19548 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19549 * sysdeps/unix/sysv/linux/sparc/Versions
19550 (libpthread: GLIBC_2.3.3): New version set.
19551 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19552 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19553 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19554 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19555 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19556 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19557 Moved ...
19558 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19559 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19560 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19561 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19562 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19563 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19564 * sysdeps/sparc/nptl/sem_init.c: ... here.
19565 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19566 * sysdeps/sparc/nptl/sem_post.c: ... here.
19567 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19568 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19569 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19570 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19571 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19572 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19573 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19574 (libpthread-routines): Add cpu_relax.
19575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19576 File removed.
19577 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19578 (librt: GLIBC_2.3.3): New version set.
19579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19580 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19581 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19582 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19585 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19587 Moved ...
19588 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19590 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19592 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19594 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19596 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19598 Moved ...
19599 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19600 Update #include.
19601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19602 Moved ...
19603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19604 Update #include.
19605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19606 Moved ...
19607 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19608 Update #include.
19609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19610 Moved ...
19611 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19612 Update #include.
19613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19614 Moved ...
19615 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19616 Update #include.
19617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19618 Moved ...
19619 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19620 Update #include.
19621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19622 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19624 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19626 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19628 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19630 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19632 Moved ...
19633 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19635 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19637 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19638
19639 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19640
19641 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19642 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19643 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19644 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19645 * nscd/nscd.c: Likewise.
19646 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19647 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19648 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19649 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19650
19651 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19652 <kernel-features.h>.
19653 (init_mq_netlink): Remove conditional have_sock_cloexec
19654 definitions. Remove code conditional on have_sock_cloexec < 0.
19655 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19656 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19657 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19658 <kernel-features.h>.
19659 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19660 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19661
19662 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19663
19664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19665 Add tests for memset_chk and memset.
19666
19667 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19668 with AVX2_Usable.
19669
19670 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19671
19672 [BZ #16046]
19673 * elf/tst-dl-iter-static.c: New file.
19674 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19675
19676 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19677 error.
19678
19679 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19680
19681 * sysdeps/unix/sysv/linux/kernel-features.h
19682 (__ASSUME_F_GETOWN_EX): Remove macro.
19683 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19684 <kernel-features.h>.
19685 (miss_F_GETOWN_EX): Remove variable or macro.
19686 (do_fcntl): Do not check miss_F_GETOWN_EX.
19687 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19688
19689 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19690 Remove macro.
19691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19692 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19693 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19694
19695 * sysdeps/unix/sysv/linux/kernel-features.h
19696 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19697 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19698 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19699 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19700
19701 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19702
19703 [BZ #17075]
19704 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19705 Fix calculation of the symbol's value.
19706 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19707 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19708 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19709 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19710 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19711 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19712 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19713 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19714 (modules-names): Add `tst-armtlsdescmod',
19715 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19716 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19717 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19718 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19719 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19720 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19721 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19722 ($(objpfx)tst-armtlsdescloc): New dependency.
19723 ($(objpfx)tst-armtlsdescextnow): Likewise.
19724 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19725 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19726 TLS scheme support.
19727 * sysdeps/arm/configure: Regenerate.
19728
19729 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19730
19731 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19732 (__atfct_seterrno_2): Likewise.
19733 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19734 <kernel-features.h>.
19735 (__ASSUME_ATFCTS): Do not undefine and redefine.
19736 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19737 (__have_atfcts): Remove conditional definition.
19738 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19739 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19740 unreachable if [__ASSUME_ATFCTS].
19741 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19742 not undefine and redefine.
19743 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19744 <kernel-features.h>.
19745 (faccessat) [__NR_faccessat]: Make code unconditional.
19746 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19747 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19748 <kernel-features.h>.
19749 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19750 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19751 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19752 <kernel-features.h>.
19753 (fchownat) [__NR_fchownat]: Make code unconditional.
19754 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19755 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19756 <kernel-features.h>.
19757 (futimesat) [__NR_futimesat]: Make code unconditional.
19758 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19759 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19760 <kernel-features.h>.
19761 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19762 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19763 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19764 <kernel-features.h>.
19765 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19766 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19767 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19768 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19769 <kernel-features.h>.
19770 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19771 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19772 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19773 <kernel-features.h>.
19774 (linkat) [__NR_linkat]: Make code unconditional.
19775 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19776 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19777 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19778 <kernel-features.h>.
19779 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19780 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19781 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19782 <kernel-features.h>.
19783 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19784 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19785 * sysdeps/unix/sysv/linux/openat.c: Do not include
19786 <kernel-features.h>.
19787 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19788 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19789 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19790 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19791 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19792 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19793 <kernel-features.h>.
19794 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19795 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19796 result of INLINE_SYSCALL directly, not via int variable.
19797 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19798 <kernel-features.h>.
19799 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19800 (renameat) [__NR_renameat]: Make code unconditional.
19801 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19802 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19803 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19804 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19805 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19806 (__ASSUME_ATFCTS): Do not undefine and redefine.
19807 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19808 <kernel-features.h>.
19809 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19810 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19811 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19812 <kernel-features.h>.
19813 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19814 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19815 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19816 (__ASSUME_ATFCTS): Do not undefine and redefine.
19817 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19818 <kernel-features.h>.
19819 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19820 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19821 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19822 <kernel-features.h>.
19823 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19824 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19825
19826 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19827
19828 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19829
19830 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19831
19832 [BZ #17069]
19833 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19834 constructed tree before returning error.
19835 * posix/bug-regexp36.c: Expand test case.
19836
19837 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19838
19839 [BZ #6803]
19840 * math/libm-test.inc (scalbln_test_date):
19841 Add errno expectations.
19842 * math/w_scalblnf.c: New File.
19843 Add wrapper which checks for setting errno to ERANGE.
19844 Add weak_alias for corresponding scalbln function.
19845 * math/w_scalbln.c: Likewise.
19846 * math/w_scalblnl.c: Likewise.
19847 * math/Makefile (libm-calls): Add w_scalbln.
19848 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19849 Remove weak_alias for corresponding scalbln function.
19850 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19852 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19853 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19854 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19855 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19856 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19857 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19858 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19859 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19860 Remove long_double_symbol for scalblnl function in libm, libc.
19861 * sysdeps/ieee754/ldbl-64-128/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, libc.
19864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19865 Remove long_double_symbol for scalblnl in libm.
19866 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19867 Add wrapper which checks for setting errno to ERANGE.
19868 Add long_double_symbol for scalblnl function in libm.
19869 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19870 Do not use wrapper because of own implementation.
19871
19872 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19873
19874 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19875 3 bytes for __pad1 for x32.
19876 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19877
19878 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19879 H.J. Lu <hongjiu.lu@intel.com>
19880
19881 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19882 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19883 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19884 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19885 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19886
19887 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19888
19889 [BZ #17069]
19890 * posix/regcomp.c (parse_expression): Deallocate partially
19891 constructed tree before returning error.
19892 * posix/Makefile.c (tests): Add bug-regex36.
19893 (generated): Add bug-regex36.mtrace.
19894 (tests-special): Add $(objpfx)bug-regex36-mem.out
19895 (bug-regex36-ENV): New variable.
19896 ($(objpfx)bug-regex36-mem.out): New rule.
19897 * posix/bug-regex36.c: New file.
19898
19899 2014-06-19 Will Newton <will.newton@linaro.org>
19900
19901 * malloc/malloc.c (systrim): If extra is zero then return
19902 early.
19903
19904 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19905
19906 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19907
19908 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19909
19910 * sysdeps/aarch64/strchr.S: New file.
19911
19912 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19913
19914 [BZ #17022]
19915 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19916 from arguments -2 or below.
19917 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19918 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19919
19920 2014-06-18 Andreas Schwab <schwab@suse.de>
19921
19922 [BZ #17062]
19923 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19924 of a bracket expr not to run off the end of the string.
19925 * posix/Makefile (tests): Add tst-fnmatch3.
19926 * posix/tst-fnmatch3.c: New file.
19927
19928 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19929
19930 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19931 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19932 [$(cross-compiling) = no]: Likewise.
19933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19934 [$(cross-compiling) = no]: Likewise.
19935
19936 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19937
19938 [BZ #17031]
19939 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19940 double, adjusted for any remainder from the high double.
19941 * math/libm-test.inc (nearbyint): Add tests.
19942 (rint): Likewise.
19943
19944 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19945
19946 * nptl/sysdeps/powerpc/Makefile: Moved ...
19947 * sysdeps/powerpc/nptl/Makefile: ... here.
19948 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19949 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19950 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19951 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19952 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19953 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19954 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19955 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19956 * nptl/sysdeps/powerpc/tls.h: Moved ...
19957 * sysdeps/powerpc/nptl/tls.h: ... here.
19958
19959 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19960
19961 [BZ #16681]
19962 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19963 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19964 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19965 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19966 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19967 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19968 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19969 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19970 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19971
19972 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19973
19974 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19975
19976 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19977
19978 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19979 defined operator.
19980
19981 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19982 $TIMEOUTFACTOR.
19983
19984 2014-06-16 Florian Weimer <fweimer@redhat.com>
19985
19986 [BZ #17058]
19987 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19988 non-executed part of the test.
19989
19990 2014-06-16 Andreas Schwab <schwab@suse.de>
19991
19992 * string/bits/string2.h (strdup, strndup): Update feature guard.
19993
19994 2014-06-14 David S. Miller <davem@davemloft.net>
19995
19996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19997
19998 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19999
20000 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20001 that was previously under [RESET_PID].
20002 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20003
20004 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20005 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20006 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20007 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20008 (__libc_vfork): New strong alias.
20009 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20010
20011 2014-06-14 Andi Kleen <ak@linux.intel.com>
20012
20013 * sysdeps/generic/elide.h: New file.
20014
20015 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20016
20017 * Makefile (installed-headers): Adjust path of pthread.h header.
20018
20019 2014-06-13 Roland McGrath <roland@hack.frob.com>
20020
20021 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20022 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20023 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20024 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20025
20026 * nptl/sysdeps/s390/Makefile: Moved ...
20027 * sysdeps/s390/nptl/Makefile: ... here.
20028 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20029 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20030 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20031 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20032 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20033 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20034 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20035 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20036 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20037 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20038 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20039 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20040 * nptl/sysdeps/s390/tls.h: Moved ...
20041 * sysdeps/s390/nptl/tls.h: ... here.
20042
20043 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20044 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20045
20046 2014-06-13 David S. Miller <davem@davemloft.net>
20047
20048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20051 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20055 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20056 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20057 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20058 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20059 Remove RESET_PID cpp guards.
20060 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20061 Remove RESET_PID cpp guards.
20062 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20063
20064 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
20065
20066 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20067 __sp to uintptr_t.
20068
20069 2014-06-13 Andi Kleen <ak@linux.intel.com>
20070
20071 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20072 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20073 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20074 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20075 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20076 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20077 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20078 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20079 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20080 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20081 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20082 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20083 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20084 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20085 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20086 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20087 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20088 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20089 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20090 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20091
20092 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20093 (pthread_rwlock_rdlock): Add elision.
20094 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20095 (pthread_rwlock_wrlock): Add elision.
20096 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20097 (pthread_rwlock_trywrlock): Add elision.
20098 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20099 (pthread_rwlock_tryrdlock): Add elision.
20100 * nptl/pthread_rwlock_unlock.c: Include elide.h.
20101 (pthread_rwlock_tryrdlock): Add elision unlock.
20102 * nptl/sysdeps/pthread/pthread.h:
20103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20104 (PTHREAD_RWLOCK_INITIALIZER,
20105 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20106 Handle new elision field.
20107 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20108 * sysdeps/arm/nptl/bits/pthreadtypes.h
20109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20110 * sysdeps/sh/nptl/bits/pthreadtypes.h
20111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20112 * sysdeps/tile/nptl/bits/pthreadtypes.h
20113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20114 * sysdeps/a/nptl/bits/pthreadtypes.h
20115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20116 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20117 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20118 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20119 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20120 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20121 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20122 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20124 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20125 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20126 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20127 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20128 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20130 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20132 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20133 (elision_init): Set try_xbegin to zero when no RTM.
20134 * sysdeps/x86/nptl/bits/pthreadtypes.h
20135 (pthread_rwlock_t): Change __pad1 to __rwelision.
20136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20137
20138 2014-06-13 Andi Kleen <ak@linux.intel.com>
20139
20140 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20141 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20142 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20143 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20144
20145 2014-06-13 Meador Inge <meadori@codesourcery.com>
20146
20147 [BZ #16996]
20148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20149 that the cached result has been set before returning it.
20150
20151 2014-06-12 Roland McGrath <roland@hack.frob.com>
20152
20153 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20154 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20155 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20156 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20157 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20158 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20159
20160 * nptl/sysdeps/sparc/Makefile: Moved ...
20161 * sysdeps/sparc/nptl/Makefile: ... here.
20162 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20163 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20164 * nptl/sysdeps/sparc/tls.h: Moved ...
20165 * sysdeps/sparc/nptl/tls.h: ... here.
20166 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20167 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20168 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20169 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20170 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20171 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20172 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20173 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20174 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20175 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20176 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20177 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20178 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20179 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20180 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20181 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20182 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20183 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20184 Update #include.
20185 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20186 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20187 Update #include.
20188 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20189 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20190 Update #include.
20191 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20192 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20193 Update #include.
20194
20195 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20196
20197 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20198 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20199
20200 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20201 (struct list_links): Type removed.
20202 (struct thread_node, struct timer_node): Replace struct list_links
20203 with struct list_head.
20204 (list_unlink_ip): Likewise.
20205 * sysdeps/pthread/timer_routines.c
20206 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20207 (list_append, list_insbefore): Likewise.
20208 (list_init): Function removed.
20209 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20210 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20211 * sysdeps/pthread/Makefile: ... here, new file.
20212
20213 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20214 * sysdeps/nptl/Implies: ... here.
20215 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20216 * nptl/sysdeps/pthread/list.h: Moved ...
20217 * include/list.h: ... here.
20218 * nptl/sysdeps/pthread/createthread.c: Moved ...
20219 * nptl/createthread.c: ... here.
20220 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20221 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20222 * nptl/pt-longjmp.c: ... here.
20223 * nptl/sysdeps/pthread/Makefile: Moved ...
20224 * sysdeps/nptl/Makefile: ... here.
20225 * nptl/sysdeps/pthread/Subdirs: Moved ...
20226 * sysdeps/nptl/Subdirs: ... here.
20227 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20228 * sysdeps/nptl/aio_misc.h: ... here.
20229 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20230 * sysdeps/nptl/bits/libc-lock.h: ... here.
20231 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20232 * sysdeps/nptl/bits/libc-lockP.h: ... here.
20233 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20234 * sysdeps/nptl/bits/stdio-lock.h: ... here.
20235 * nptl/sysdeps/pthread/configure: Moved ...
20236 * sysdeps/nptl/configure: ... here.
20237 * nptl/sysdeps/pthread/configure.ac: Moved ...
20238 * sysdeps/nptl/configure.ac: ... here.
20239 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20240 * sysdeps/nptl/gai_misc.h: ... here.
20241 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20242 * sysdeps/nptl/librt-cancellation.c: ... here.
20243 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20244 * sysdeps/nptl/malloc-machine.h: ... here.
20245 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20246 * sysdeps/nptl/pthread-functions.h: ... here.
20247 * nptl/sysdeps/pthread/pthread.h: Moved ...
20248 * sysdeps/nptl/pthread.h: ... here.
20249 * nptl/sysdeps/pthread/setxid.h: Moved ...
20250 * sysdeps/nptl/setxid.h: ... here.
20251 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20252 * sysdeps/nptl/sigfillset.c: ... here.
20253 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20254 * sysdeps/nptl/tcb-offsets.h: ... here.
20255 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20256 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20257 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20258 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20259 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20260 * sysdeps/pthread/allocalim.h: ... here.
20261 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20262 * sysdeps/pthread/bits/sigthread.h: ... here.
20263 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20264 * sysdeps/pthread/flockfile.c: ... here.
20265 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20266 * sysdeps/pthread/ftrylockfile.c: ... here.
20267 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20268 * sysdeps/pthread/funlockfile.c: ... here.
20269 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20270 * sysdeps/pthread/posix-timer.h: ... here.
20271 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20272 * sysdeps/pthread/timer_create.c: ... here.
20273 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20274 * sysdeps/pthread/timer_delete.c: ... here.
20275 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20276 * sysdeps/pthread/timer_getoverr.c: ... here.
20277 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20278 * sysdeps/pthread/timer_gettime.c: ... here.
20279 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20280 * sysdeps/pthread/timer_routines.c: ... here.
20281 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20282 * sysdeps/pthread/timer_settime.c: ... here.
20283 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20284 * sysdeps/pthread/tst-timer.c: ... here.
20285 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20286 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20287
20288 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20289 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20290
20291 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20292 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20293 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20294 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20295 Update #include target.
20296 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20297 * sysdeps/i386/i686/nptl/Makefile: ... here.
20298 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20299 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20300 Update #include target.
20301 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20302 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20303 * nptl/sysdeps/i386/Makefile: Moved ...
20304 * sysdeps/i386/nptl/Makefile: ... here.
20305 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20306 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20307 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20308 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20309 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20310 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20311 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20312 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20313 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20314 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20315 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20316 * nptl/sysdeps/i386/tls.h: Moved ...
20317 * sysdeps/i386/nptl/tls.h: ... here.
20318
20319 * sysdeps/sh/Makefile [$(subdir) = csu]
20320 (gen-as-const-headers): Add tcb-offsets.sym.
20321 * nptl/sysdeps/sh/Makefile: File removed.
20322 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20323 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20324 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20325 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20326 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20327 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20328 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20329 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20330 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20331 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20332 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20333 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20334 * nptl/sysdeps/sh/tls.h: Moved ...
20335 * sysdeps/sh/nptl/tls.h: ... here.
20336 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20337 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20338 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20339 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20340 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20341 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20342 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20343 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20344 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20345 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20346 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20347 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20348 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20349 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20350 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20351 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20352 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20353 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20354 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20355 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20356 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20357 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20358 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20359 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20360 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20361 Moved ...
20362 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20363 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20364 Moved ...
20365 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20366 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20367 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20368 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20369 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20370 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20371 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20372 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20373 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20374 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20375 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20376 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20377 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20378 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20379 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20380 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20381 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20382 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20383 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20384
20385 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20386
20387 * posix/spawn_faction_addopen.c: Include string.h.
20388
20389 2014-06-11 Roland McGrath <roland@hack.frob.com>
20390
20391 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20392 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20393 * nptl/sysdeps/x86_64/Makefile: Moved ...
20394 * sysdeps/x86_64/nptl/Makefile: ... here.
20395 * nptl/sysdeps/x86_64/configure: Moved ...
20396 * sysdeps/x86_64/nptl/configure: ... here.
20397 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20398 * sysdeps/x86_64/nptl/configure.ac: ... here.
20399 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20400 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20401 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20402 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20403 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20404 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20405 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20406 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20407 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20408 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20409 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20410 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20411 * nptl/sysdeps/x86_64/tls.h: Moved ...
20412 * sysdeps/x86_64/nptl/tls.h: ... here.
20413 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20414 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20415 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20416 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20417
20418 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20419
20420 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20421
20422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20423
20424 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20425
20426 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20427 type.
20428 [POSIX] (off_t): Likewise.
20429 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20430 [POSIX] (S_ISBLK): Require macro.
20431 [POSIX] (S_ISCHR): Likewise.
20432 [POSIX] (S_ISDIR): Likewise.
20433 [POSIX] (S_ISFIFO): Likewise.
20434 [POSIX] (S_ISREG): Likewise.
20435 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20436 optional-macro.
20437 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20438 type.
20439 [POSIX] (time_t): Likewise.
20440 [POSIX] (timer_t): Likewise.
20441
20442 2014-06-11 Florian Weimer <fweimer@redhat.com>
20443
20444 [BZ #17048]
20445 * posix/spawn_int.h (struct __spawn_action): Make the path string
20446 non-const to support deallocation.
20447 * posix/spawn_faction_addopen.c
20448 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20449 * posix/spawn_faction_destroy.c
20450 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20451 path in all spawn_do_open actions.
20452 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20453 posix_spawn_file_actions_addopen.
20454
20455 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20456
20457 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20458 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20459 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20460 conditional code always true.
20461 (__libc_vfork): New alias.
20462
20463 2014-06-11 Roland McGrath <roland@hack.frob.com>
20464
20465 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20466 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20467
20468 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20469
20470 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20471 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20472
20473 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20474 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20475
20476 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20477 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20478
20479 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20480
20481 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20482 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20483 multiarch strcmp for PPC64.
20484 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20485 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20487 multiarch optimizations.
20488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20489 (__libc_ifunc_impl_list): Likewise.
20490
20491 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20492
20493 * benchtests/scripts/validate_benchout.py: New script.
20494 * benchtests/Makefile (bench-func): Call it.
20495 * benchtests/scripts/benchout.schema.json: New file.
20496
20497 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20498
20499 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20500 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20501 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20502 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20503 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20504 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20505 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20506 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20507 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20508 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20509 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20510 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20511 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20512 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20513 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20514 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20516 Moved ...
20517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20518 ... here.
20519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20520 Moved ...
20521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20523 Moved ...
20524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20525 ... here.
20526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20527 Moved ...
20528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20529 ... here.
20530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20531 Moved ...
20532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20534 Moved ...
20535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20536 ... here.
20537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20538 Moved ...
20539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20540 ... here.
20541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20542 Moved ...
20543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20545 Moved ...
20546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20547 ... here.
20548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20549 Moved ...
20550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20551 ... here.
20552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20553 Moved ...
20554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20555 ... here.
20556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20557 Moved ...
20558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20560 Moved ...
20561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20562 ... here.
20563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20564 Moved ...
20565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20566 ... here.
20567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20568 Moved ...
20569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20570 ... here.
20571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20572 Moved ...
20573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20575 Moved ...
20576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20577 ... here.
20578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20579 Moved ...
20580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20581 ... here.
20582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20583 Moved ...
20584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20586 Moved ...
20587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20588 ... here.
20589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20590 Moved ...
20591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20593 Moved ...
20594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20596 Moved ...
20597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20598 ... here.
20599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20600 Moved ...
20601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20602 ... here.
20603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20604 Moved ...
20605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20606 ... here.
20607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20608 Moved ...
20609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20611 Moved ...
20612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20613 ... here.
20614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20615 Moved ...
20616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20617 ... here.
20618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20619 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20621 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20623 Moved ...
20624 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20625 ... here.
20626 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20627 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20629 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20630 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20631 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20632 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20633 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20635 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20637 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20638 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20639 Moved ...
20640 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20641 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20642 Moved ...
20643 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20644 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20645 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20646 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20647 Moved ...
20648 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20649 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20650 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20651 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20652 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20653 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20654 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20655
20656 2014-06-10 Wilco <wdijkstr@arm.com>
20657
20658 * math/test-fenv-return.c: New file.
20659 * math/Makefile: Add new test test-fenv-return.
20660
20661 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20662
20663 [BZ #17042]
20664 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20665 when x - 1 is zero.
20666 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20667 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20668 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20669 0.0L for an argument of 1.0L.
20670 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20671 Likewise.
20672 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20673 value when x - 1 is zero.
20674 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20675 * sysdeps/i386/fpu/libm-test-ulps: Update.
20676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20677
20678 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20679
20680 [BZ #15119]
20681 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20682
20683 2014-06-09 Roland McGrath <roland@hack.frob.com>
20684
20685 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20686 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20687
20688 2014-06-09 Roland McGrath <roland@hack.frob.com>
20689
20690 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20691 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20692
20693 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20694 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20695
20696 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20697 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20698
20699 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20700 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20701
20702 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20703 if not already defined.
20704 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20705 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20706 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20707 (TLS_INIT_TP): Use it.
20708 (TLS_DEFINE_INIT_TP): New macro.
20709 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20710
20711 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20712
20713 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20714 constant.
20715 [POSIX] (IXANY): Likewise.
20716 [POSIX] (OLCUC): Likewise.
20717 [POSIX || POSIX2008] (CBAUD): Do not allow.
20718 [POSIX || POSIX2008] (DEFECHO): Likewise.
20719 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20720 [POSIX || POSIX2008] (ECHOKE): Likewise.
20721 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20722 [POSIX || POSIX2008] (EXTA): Likewise.
20723 [POSIX || POSIX2008] (EXTB): Likewise.
20724 [POSIX || POSIX2008] (FLUSHO): Likewise.
20725 [POSIX || POSIX2008] (LOBLK): Likewise.
20726 [POSIX || POSIX2008] (PENDIN): Likewise.
20727 [POSIX || POSIX2008] (SWTCH): Likewise.
20728 [POSIX || POSIX2008] (VDISCARD): Likewise.
20729 [POSIX || POSIX2008] (VDSUSP): Likewise.
20730 [POSIX || POSIX2008] (VLNEXT): Likewise.
20731 [POSIX || POSIX2008] (VREPRINT): Likewise.
20732 [POSIX || POSIX2008] (VSTATUS): Likewise.
20733 [POSIX || POSIX2008] (VWERASE): Likewise.
20734 (B*): Change to B[0123456789]*.
20735 * conform/data/time.h-data [POSIX || UNIX98]
20736 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20737 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20738 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20739 [POSIX] (tm_*): Do not allow.
20740
20741 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20742
20743 * Makefile (install): Don't set LANGUAGE.
20744 * Makefile.in (install): Likewise.
20745 * assert/Makefile (test-assert-ENV): Remove variable.
20746 (test-assert-perr-ENV): Likewise.
20747 * elf/Makefile (neededtest4-ENV): Likewise.
20748 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20749 [$(cross-compiling) = no]: Don't set LANGUAGE.
20750 * io/ftwtest-sh (LANG): Remove variable.
20751 * libio/Makefile (tst-widetext-ENV): Likewise.
20752 * manual/install.texi (Running make install): Don't refer to
20753 environment settings for make install.
20754 * INSTALL: Regenerated.
20755 * nptl/tst-tls6.sh: Don't set LANG.
20756 * posix/globtest.sh (LANG): Remove variable.
20757 * string/Makefile (tester-ENV): Likewise.
20758 (inl-tester-ENV): Likewise.
20759 (noinl-tester-ENV): Likewise.
20760 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20761 [$(cross-compiling) = no]: Don't set LANGUAGE.
20762 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20763 without explicit environment settings.
20764
20765 2014-06-06 Roland McGrath <roland@hack.frob.com>
20766
20767 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20768 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20769 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20770 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20771
20772 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20773
20774 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20775 other files in the crypt directory.
20776 * crypt/crypt.c: Remove duplicate includes.
20777 * crypt/crypt-entry.c: Likewise.
20778 * crypt/crypt_util.c: Likewise.
20779
20780 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20781
20782 * Makeconfig (run-program-env): New variable.
20783 (run-program-prefix-before-env): Likewise.
20784 (run-program-prefix-after-env): Likewise.
20785 (run-program-prefix): Define in terms of new variables.
20786 (built-program-cmd-before-env): New variable.
20787 (built-program-cmd-after-env): Likewise.
20788 (built-program-cmd): Define in terms of new variables.
20789 (test-program-prefix-before-env): New variable.
20790 (test-program-prefix-after-env): Likewise.
20791 (test-program-prefix): Define in terms of new variables.
20792 (test-program-cmd-before-env): New variable.
20793 (test-program-cmd-after-env): Likewise.
20794 (test-program-cmd): Define in terms of new variables.
20795 * Rules (make-test-out): Use $(run-program-env).
20796 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20797 (help): Do not mention environment variables. Mention
20798 --timeoutfactor option.
20799 (timeoutfactor): New variable.
20800 (blacklist_exports): Remove function.
20801 (exports): Remove variable.
20802 (command): Do not include ${exports}.
20803 * manual/install.texi (Configuring and compiling): Do not mention
20804 test wrappers preserving environment variables. Mention that last
20805 assignment to a variable must take precedence.
20806 * INSTALL: Regenerated.
20807 * benchtests/Makefile (run-bench): Use $(run-program-env).
20808 * catgets/Makefile ($(objpfx)test1.cat): Use
20809 $(built-program-cmd-before-env), $(run-program-env) and
20810 $(built-program-cmd-after-env).
20811 ($(objpfx)test2.cat): Do not specify environment variables
20812 explicitly.
20813 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20814 $(run-program-env) and $(built-program-cmd-after-env).
20815 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20816 $(run-program-env) and $(test-program-cmd-after-env).
20817 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20818 explicitly.
20819 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20820 run_program_env and test_program_cmd_after_env arguments.
20821 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20822 * elf/tst-pathopt.sh: Use run_program_env argument.
20823 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20824 $(test-wrapper-env) and $(run-program-env).
20825 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20826 run_program_env arguments.
20827 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20828 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20829 $(test-program-prefix-before-env), $(run-program-env) and
20830 $(test-program-prefix-after-env).
20831 ($(objpfx)tst-gettext2.out): Likewise.
20832 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20833 run_program_env and test_program_prefix_after_env arguments.
20834 * intl/tst-gettext2.sh: Likewise.
20835 * intl/tst-gettext4.sh: Do not set environment variables
20836 explicitly.
20837 * intl/tst-gettext6.sh: Likewise.
20838 * intl/tst-translit.sh: Likewise.
20839 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20840 $(test-program-prefix-before-env), $(run-program-env) and
20841 $(test-program-prefix-after-env).
20842 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20843 run_program_env and test_program_prefix_after_env arguments.
20844 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20845 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20846 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20847 explicitly with each use of ${test_wrapper_env}.
20848 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20849 $(test-program-prefix-before-env), $(run-program-env) and
20850 $(test-program-prefix-after-env).
20851 * posix/tst-getconf.sh: Do not set environment variables
20852 explicitly.
20853 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20854 run_program_env and test_program_prefix_after_env arguments.
20855 * stdio-common/tst-printf.sh: Do not set environment variables
20856 explicitly.
20857 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20858 $(test-program-prefix-before-env), $(run-program-env) and
20859 $(test-program-prefix-after-env).
20860 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20861 run_program_env and test_program_prefix_after_env arguments.
20862 Split $test calls into $test_pre and $test.
20863 * timezone/Makefile (build-testdata): Use
20864 $(built-program-cmd-before-env), $(run-program-env) and
20865 $(built-program-cmd-after-env).
20866
20867 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20868
20869 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20870 strlen for non SHARED builds.
20871
20872 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20873
20874 * nptl/allocatestack.c (check_list): Inlined function...
20875 (__reclaim_stacks): ... here.
20876
20877 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20878
20879 [BZ #15698]
20880 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20881 memory overrun.
20882
20883 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20884
20885 * Rules (make-test-out): Include
20886 LOCPATH=$(common-objpfx)localedata in default environment.
20887 * debug/Makefile (tst-chk1-ENV): Remove variable.
20888 (tst-chk2-ENV): Likewise.
20889 (tst-chk3-ENV): Likewise.
20890 (tst-chk4-ENV): Likewise.
20891 (tst-chk5-ENV): Likewise.
20892 (tst-chk6-ENV): Likewise.
20893 (tst-lfschk1-ENV): Likewise.
20894 (tst-lfschk2-ENV): Likewise.
20895 (tst-lfschk3-ENV): Likewise.
20896 (tst-lfschk4-ENV): Likewise.
20897 (tst-lfschk5-ENV): Likewise.
20898 (tst-lfschk6-ENV): Likewise.
20899 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20900 (tst-iconv7-ENV): Likewise.
20901 * intl/Makefile (LOCPATH-ENV): Likewise.
20902 (tst-codeset-ENV): Likewise.
20903 (tst-gettext3-ENV): Likewise.
20904 (tst-gettext5-ENV): Likewise.
20905 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20906 (tst-fopenloc-ENV): Likewise.
20907 (tst-fgetws-ENV): Remove variable.
20908 (tst-ungetwc1-ENV): Likewise.
20909 (tst-ungetwc2-ENV): Likewise.
20910 (bug-ungetwc2-ENV): Likewise.
20911 (tst-swscanf-ENV): Likewise.
20912 (bug-ftell-ENV): Likewise.
20913 (tst-fgetwc-ENV): Likewise.
20914 (tst-fseek-ENV): Likewise.
20915 (tst-ftell-partial-wide-ENV): Likewise.
20916 (tst-ftell-active-handler-ENV): Likewise.
20917 (tst-ftell-append-ENV): Likewise.
20918 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20919 (tst-regexloc-ENV): Likewise.
20920 (bug-regex1-ENV): Likewise.
20921 (tst-regex-ENV): Likewise.
20922 (tst-regex2-ENV): Likewise.
20923 (bug-regex5-ENV): Likewise.
20924 (bug-regex6-ENV): Likewise.
20925 (bug-regex17-ENV): Likewise.
20926 (bug-regex18-ENV): Likewise.
20927 (bug-regex19-ENV): Likewise.
20928 (bug-regex20-ENV): Likewise.
20929 (bug-regex22-ENV): Likewise.
20930 (bug-regex23-ENV): Likewise.
20931 (bug-regex25-ENV): Likewise.
20932 (bug-regex26-ENV): Likewise.
20933 (bug-regex30-ENV): Likewise.
20934 (bug-regex32-ENV): Likewise.
20935 (bug-regex33-ENV): Likewise.
20936 (bug-regex34-ENV): Likewise.
20937 (bug-regex35-ENV): Likewise.
20938 (tst-rxspencer-ENV): Likewise.
20939 (tst-rxspencer-no-utf8-ENV): Likewise.
20940 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20941 (tst-sscanf-ENV): Likewise.
20942 (tst-swprintf-ENV): Likewise.
20943 (tst-swscanf-ENV): Likewise.
20944 (test-vfprintf-ENV): Likewise.
20945 (scanf13-ENV): Likewise.
20946 (bug14-ENV): Likewise.
20947 (tst-grouping-ENV): Likewise.
20948 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20949 (tst-strtod3-ENV): Likewise.
20950 (tst-strtod4-ENV): Likewise.
20951 (tst-strtod5-ENV): Likewise.
20952 (testmb2-ENV): Likewise./
20953 * string/Makefile (tst-strxfrm-ENV): Likewise.
20954 (tst-strxfrm2-ENV): Likewise.
20955 (bug-strcoll1-ENV): Likewise.
20956 (test-strcasecmp-ENV): Likewise.
20957 (test-strncasecmp-ENV): Likewise.
20958 * time/Makefile (tst-strptime-ENV): Likewise.
20959 (tst-ftime_l-ENV): Likewise.
20960 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20961 (tst-mbrtowc-ENV): Likewise.
20962 (tst-wcrtomb-ENV): Likewise.
20963 (tst-mbrtowc2-ENV): Likewise.
20964 (tst-c16c32-1-ENV): Likewise.
20965 (tst-mbsnrtowcs-ENV): Likewise.
20966
20967 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20968
20969 * manual/resource.texi (How to get information about the memory
20970 subsystem?): Fix typo.
20971 Reported by Peon de la Parra Ivan <peon@keba.com>
20972
20973 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20974
20975 [BZ #16882]
20976 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20977 (pthread_spin_lock): Branch out of spin loop to proper location.
20978 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20979 (pthread_spin_lock): Likewise.
20980
20981 * nptl/tst-spin4.c: New test.
20982 * nptl/Makefile (tests): Add tst-spin4.
20983
20984 2014-06-03 Andreas Schwab <schwab@suse.de>
20985
20986 [BZ #15946]
20987 * resolv/res_send.c (send_dg): Reload file descriptor after
20988 calling reopen.
20989
20990 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20991
20992 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20993
20994 2014-06-03 Richard Henderson <rth@redhat.com>
20995
20996 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20997 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20998 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20999 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
21000 in the SAVE_PID block.
21001 (__libc_vfork): New alias.
21002 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21003
21004 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21005 child in registers, not on the stack. Remove RESET_PID conditionals.
21006 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21007
21008 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21009
21010 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21011
21012 2014-06-03 Wilco <wdijkstr@arm.com>
21013
21014 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21015 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21016 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21017 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21018 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21019 Likewise.
21020
21021 2014-06-03 Wilco <wdijkstr@arm.com>
21022
21023 * sysdeps/aarch64/fpu/math_private.h
21024 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21025 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21026 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21027 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21028 Fix declarations.
21029
21030 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21031
21032 * crypt/crypt-private.h: Include ufc-crypt.h.
21033 (__b64_from_24bit): Declare extern.
21034 * crypt/crypt_util.c(__b64_from_24bit): New function.
21035 (b64t): New static const variable.
21036 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21037 (b64t): Remove variable.
21038 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21039 * crypt/sha256-crypt.c: Include crypt-private.h.
21040 (b64t): Remove variable.
21041 (__sha256_crypt_r): Remove b64_from_24bit and replace
21042 with __b64_from_24bit.
21043 * crypt/sha512-crypt.c: Likewise.
21044
21045 2014-06-02 Roland McGrath <roland@hack.frob.com>
21046
21047 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21048 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21049 Label the code __libc_vfork rather than __vfork.
21050 [!NOT_IN_libc] (vfork): Define as weak alias.
21051 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21052 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21053 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21054
21055 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21056
21057 * malloc/malloc.c (malloc_info): Fix format specifier for
21058 n_mmaps.
21059
21060 2014-06-02 Wilco <wdijkstr@arm.com>
21061
21062 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21063 FPCR write.
21064
21065 2014-06-02 Wilco <wdijkstr@arm.com>
21066
21067 [BZ #17009]
21068 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21069 Rewrite to reduce FPCR/FPSR accesses.
21070
21071 2014-06-01 David S. Miller <davem@davemloft.net>
21072
21073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21074
21075 2014-05-31 David S. Miller <davem@davemloft.net>
21076
21077 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21078 to occur in round to nearest mode when |x| >= 2.0
21079
21080 2014-05-30 Richard Henderson <rth@twiddle.net>
21081
21082 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21083 (PSEUDO_RET_NOERRNO): Remove.
21084 (ret): Don't redefine.
21085 (ret_NOERRNO): Define in terms of ret.
21086 (ret_ERRVAL): Likewise.
21087
21088 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21089 use of PSEUDO_RET; perform the error check directly.
21090
21091 2014-05-30 Marko Myllynen <myllynen@redhat.com>
21092
21093 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21094 with __int128_t.
21095
21096 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21097
21098 * malloc/malloc (malloc_info): Fix formatting.
21099
21100 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21101 Roland McGrath <roland@hack.frob.com>
21102
21103 * malloc/malloc (malloc_info): Also print mmapped statistics.
21104
21105 2014-05-30 Roland McGrath <roland@hack.frob.com>
21106
21107 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21108 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21109
21110 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
21111
21112 * malloc/malloc.c (malloc_info): Inline mi_arena.
21113
21114 2014-05-29 Richard Henderson <rth@twiddle.net>
21115
21116 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21117 Remove comma before expanding ASM_ARGS_##nr.
21118 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21119 Make _x0 a strict output; make _x8 a strict input; adjust expansion
21120 of ASM_ARGS_##nr.
21121 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21122 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21123 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21124 (ASM_ARGS_1): Add leading comma.
21125
21126 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21127 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21128 to __errno_location.
21129 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21130 Remove the expected plt for __errno_location.
21131
21132 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21133 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21134 call to __read_tp.
21135
21136 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21137 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21138 it and break it down.
21139 (DOCARGS_0, DOCARGS_1): Do nothing.
21140 (DOCARGS_2): Update to store into the new stack frame.
21141 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21142 (UNDOCARGS_1): Update to restore from the new stack frame.
21143 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21144 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21145
21146 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21147 (SINGLE_THREAD_P): New parameter for result regno.
21148 (PSEUDO): Update to match; use cbz instead of beq.
21149
21150 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21151 Use ENTRY to define the _nocancel entry point. Share the syscall
21152 and syscall error check paths with the cancel path.
21153 (PSEUDO_END): New.
21154
21155 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21156 whitespace; tabs before and after asm mnemonics.
21157
21158 2014-05-29 Eric Wong <normalperson@yhbt.net>
21159
21160 [BZ #15132]
21161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21162 Call fstat64 or stat64 internally, depending on arguments passed.
21163 Replace stat buffer argument with file descriptor argument.
21164 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21165 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21166 Pass fd to __internal_statvfs instead of calling fstat64.
21167 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21168 Pass fd to __internal_statvfs64 instead of calling fstat64.
21169 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21170 Pass -1 to __internal_statvfs instead of calling stat64.
21171 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21172 Pass -1 to __internal_statvfs64 instead of calling stat64.
21173
21174 2014-05-28 Roland McGrath <roland@hack.frob.com>
21175
21176 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21177 that was previously under [RESET_PID].
21178 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21179
21180 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21181 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21182
21183 2014-05-27 Roland McGrath <roland@hack.frob.com>
21184
21185 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21186
21187 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21188 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21189
21190 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21191
21192 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21193
21194 2014-05-27 Andreas Schwab <schwab@suse.de>
21195
21196 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21197 TLS_INIT_TP macro.
21198 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21199 * elf/rtld.c (init_tls, dl_main): Likewise.
21200 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21201 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21202 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21203 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21204 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21205 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21206 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21207 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21208 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21209 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21210 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21211 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21212 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21213 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21214 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21215 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21216 * sysdeps/generic/tls.h: Update description.
21217
21218 2014-05-27 Will Newton <will.newton@linaro.org>
21219
21220 [BZ #16990]
21221 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21222 and restore r2 rather than just restoring.
21223
21224 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21225
21226 [BZ #16724]
21227 * libio/tst-ftell-append.c: New test case.
21228 * libio/Makefile (tests): Add test case.
21229 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21230 append mode.
21231 * libio/wfileops.c (do_ftell_wide): Likewise.
21232
21233 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21234
21235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21236
21237 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21238 ...
21239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21241 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21242 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21243 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21244 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21245 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21246 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21247 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21248 Moved ...
21249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21251 Moved ...
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21253 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21254 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21255 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21256 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21257 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21258 ...
21259 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21260 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21261 Moved ...
21262 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21263 here.
21264 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21265 ...
21266 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21267 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21268 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21269
21270 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21271 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21272 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21273 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21274
21275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21276 merge into ...
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21279 ...
21280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21282 ...
21283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21285 Moved ...
21286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21287 here.
21288 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21289 Moved ...
21290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21292 Moved ...
21293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21294
21295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21296 conditional [RESET_PID].
21297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21298 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21299 removed.
21300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21301 removed.
21302
21303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21304 <tcb-offsets.h>.
21305 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21306 (__libc_vfork): New strong alias.
21307 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21308 removed.
21309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21310 Removed.
21311
21312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21313 <tcb-offsets.h>.
21314 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21315 (__libc_vfork): New strong alias.
21316 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21317 removed.
21318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21319 removed.
21320
21321 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21322
21323 * malloc/malloc.c (mi_arena): New function.
21324 (malloc_info): Remove nested function mi_arena. Call non-nosted
21325 function mi_arena.
21326
21327 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21328
21329 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21330 by insrwi.
21331 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21332 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21333 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21334 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21335 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21336 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21337 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21338
21339 2014-05-26 Andreas Schwab <schwab@suse.de>
21340
21341 [BZ #16984]
21342 * locale/programs/repertoire.c (repertoire_read): Add slash
21343 between I18NPATH element and file name.
21344 * locale/programs/locfile.c (locfile_read): Likewise.
21345
21346 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21347
21348 * nptl/pthread_mutexattr_settype.c
21349 (__pthread_mutexattr_settype):
21350 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21351
21352 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21353
21354 * nptl/tst-mutex5 (do_test):
21355 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21356
21357 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21358
21359 * benchtests/README: Document 'init' directive.
21360 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21361 BENCH_INIT.
21362 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21363 (parse_file): Recognize 'init' directive.
21364
21365 2014-05-26 Kyle McMartin <kyle@redhat.com>
21366
21367 [BZ #16796]
21368 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21369 alignment of struct pthread.
21370
21371 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21372
21373 [BZ #16878]
21374 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21375 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21376 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21377 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21378
21379 2014-05-25 Richard Henderson <rth@twiddle.net>
21380
21381 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21382 (SINGLE_THREAD_P_PIC): Remove.
21383 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21384 (SINGLE_THREAD_P_PIC): Remove.
21385
21386 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21387 branch to syscall error ...
21388 (PSEUDO): ... here.
21389 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21390 from __local_syscall_error to .Lsyscall_error.
21391 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21392 (SYSCALL_ERROR): Update label name.
21393
21394 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21395 Do not use DOARGS/UNDOARGS.
21396 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21397 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21398 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21399 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21400 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21401
21402 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21403 block comment.
21404
21405 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21406 define if !NOT_IN_libc.
21407 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21408 define with non-default symbol versions.
21409
21410 2014-05-23 Richard Henderson <rth@twiddle.net>
21411
21412 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21413 (vfork, __vfork): Define via compat_symbol.
21414
21415 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21416 [!HAVE_IFUNC] (vfork_compat): Remove.
21417 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21418
21419 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21420
21421 [BZ #16978]
21422 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21423 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21424 variable.
21425
21426 2014-05-23 Richard Henderson <rth@twiddle.net>
21427
21428 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21429 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21430 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21431 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21432
21433 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21434 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21435 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21436 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21437 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21438 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21439 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21440 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21441 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21442 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21443 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21444 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21445 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21446 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21447 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21448 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21449 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21450 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21451 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21452 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21453 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21454 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21455 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21456 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21457 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21458 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21459 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21460 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21461 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21462 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21463 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21464 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21465 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21466 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21467 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21468 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21469 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21470 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21471 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21472 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21473 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21474 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21475 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21476 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21477 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21478 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21479 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21480 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21481 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21482 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21483 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21484 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21486 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21488 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21489
21490 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21491 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21492 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21493 before exiting on error.
21494 (__libc_vfork): New strong alias.
21495 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21496 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21497
21498 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21499 that was previously under [RESET_PID].
21500 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21501
21502 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21503
21504 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21505
21506 [BZ #16977]
21507 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21508 value when x - 1 is zero.
21509 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21510 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21511 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21512 0.0L for an argument of 1.0L.
21513 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21514 Likewise.
21515 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21516 value when x - 1 is zero.
21517 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21518 * sysdeps/i386/fpu/libm-test-ulps: Update.
21519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21520
21521 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21522
21523 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21524 alphasort and versionsort.
21525
21526 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21527
21528 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21529 macro.
21530 [copysignf]: Likewise.
21531
21532 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21533
21534 * crypt/md5-crypt.c: Fix formatting.
21535
21536 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21537
21538 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21539 (b64_from_24bit): New function.
21540
21541 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21542
21543 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21544 libc_hidden_builtin_def to ifunc.
21545 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21546 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21547
21548 2014-05-21 Roland McGrath <roland@hack.frob.com>
21549
21550 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21551 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21552
21553 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21554
21555 * nscd/Depend (linuxthreads): Remove.
21556 (nptl): Add.
21557 * resolv/Depend (linuxthreads): Remove.
21558 * rt/Depend (linuxthreads): Remove.
21559
21560 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21561 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21562 $(common-objpfx)elf/.
21563 (link-libc-before-gnulib): Likewise.
21564 (elfobjdir): Remove variable.
21565 * Makefile (install): Use $(elf-objpfx) instead of
21566 $(common-objpfx)elf/.
21567 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21568 $(elfobjdir)/.
21569 (link-libc-deps): Likewise.
21570 ($(common-objpfx)libc.so): Likewise.
21571 ($(common-objpfx)linkobj/libc.so): Likewise.
21572 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21573 instead of $(common-objpfx)elf/.
21574 (symbolic-link-list): Likewise.
21575 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21576 [$(cross-compiling) = no]: Likewise.
21577 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21578 $(elfobjdir)/.
21579 (static-gnulib-arch): Likewise.
21580 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21581 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21582 $(common-objpfx)elf/.
21583
21584 2014-05-21 Richard Henderson <rth@redhat.com>
21585
21586 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21587 (SINGLE_THREAD_P): Use the correct width load. Fold
21588 into the ldr offset.
21589
21590 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21591 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21592
21593 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21594
21595 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21596 (libgcc_s_resume): Use __attribute_used__.
21597 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21598 Likewise.
21599
21600 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21601
21602 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21603 optimization when used with float constants.
21604
21605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21606
21607 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21608
21609 [BZ #16915]
21610 * locale/nl_langinfo_l.c: Make direct reference to every
21611 _nl_current_CATEGORY symbol.
21612 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21613 (tests-static): Add tst-langinfo-static.
21614 (tests-special): Add tst-langinfo-static.out.
21615 ($(objpfx)tst-langinfo.out): Redirect output.
21616 ($(objpfx)tst-langinfo-static.out): New.
21617 * localedata/tst-langinfo.sh: Send output to stdout.
21618 * localedata/tst-langinfo-static.c: New file.
21619
21620 [BZ #16965]
21621 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21622 when the shift amount is modulo the limb size.
21623
21624 2014-05-20 Richard Henderson <rth@redhat.com>
21625
21626 [BZ #16967]
21627 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21628 Change type of sa_flags from unsigned int to int.
21629
21630 [BZ #16966]
21631 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21632
21633 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21634
21635 2014-05-20 Will Newton <will.newton@linaro.org>
21636
21637 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21638 Test the return value of the system call in the nocancel case.
21639
21640 2014-05-20 Will Newton <will.newton@linaro.org>
21641 Yvan Roux <yvan.roux@linaro.org>
21642
21643 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21644 #include of asm/ptrace.h.
21645 (PTRACE_GET_THREAD_AREA): Remove #undef.
21646 (PTRACE_GETHBPREGS): Likewise.
21647 (PTRACE_SETHBPREGS): Likewise.
21648 (struct user_regs_struct): New structure.
21649 (struct user_fpsimd_struct): New structure.
21650 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21651 #include of asm/ptrace.h and second #include of sys/user.h.
21652 (PTRACE_GET_THREAD_AREA): Remove #undef.
21653 (PTRACE_GETHBPREGS): Likewise.
21654 (PTRACE_SETHBPREGS): Likewise.
21655 (ELF_NGREG): Use new struct user_regs_struct.
21656 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21657
21658 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21659
21660 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21661 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21662
21663 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21664
21665 [BZ #16958]
21666 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21667 membar to avoid block loads/stores to overlap previous stores.
21668
21669 2014-05-17 Richard Henderson <rth@redhat.com>
21670
21671 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21672 Create the __##syscall_name##_nocancel entry point.
21673 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21674 Remove; let the sysdep-cancel.h code create it.
21675
21676 2014-05-17 David S. Miller <davem@davemloft.net>
21677
21678 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21679 Protect with __USE_GNU.
21680 (TIOCSET_TEMPT): Likewise.
21681 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21682 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21683 these are already provided in bits/ioctl-types.h
21684
21685 2014-05-16 Roland McGrath <roland@hack.frob.com>
21686
21687 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21688 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21689
21690 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21691 Use wait4 regardless of [__NR_waitpid].
21692
21693 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21694
21695 PR libgcc/60166
21696 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21697 (_FP_NANSIGN_Q): Set the quiet bit.
21698
21699 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21700
21701 * benchtests/Makefile
21702 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21703 not $(common-objpfx)math/libm.so.
21704 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21705 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21706 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21707 $(common-objpfx)dlfcn/libdl.so.
21708 ($(objpfx)tst-audit8): Depend on $(libm), not
21709 $(common-objpfx)math/libm.so.
21710 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21711 not $(common-objpfx)dlfcn/libdl.so.
21712 * math/Makefile
21713 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21714 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21715 [$(build-shared) = yes].
21716 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21717 $(common-objpfx)nptl/libpthread.so.
21718 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21719 $(common-objpfx)math/libm.so$(libm.so-version) or
21720 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21721 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21722 $(common-objpfx)dlfcn/libdl.so.
21723 * setjmp/Makefile (link-libm): Remove variable.
21724 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21725 * stdio-common/Makefile (link-libm): Remove variable.
21726 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21727 * stdlib/Makefile (link-libm): Remove variable.
21728 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21729 ($(objpfx)tst-strtod-round): Likewise.
21730 ($(objpfx)tst-tininess): Likewise.
21731 ($(objpfx)tst-strtod-underflow): Likewise.
21732 ($(objpfx)tst-strtod6): Likewise.
21733 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21734 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21735 $(common-objpfx)dlfcn/libdl.so.
21736
21737 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21738
21739 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21740 BSD terminal modes definitions.
21741
21742 2014-05-16 Roland McGrath <roland@hack.frob.com>
21743
21744 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21745 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21746
21747 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21748 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21749 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21750 Don't do #include_next.
21751 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21752 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21753 Don't do #include_next.
21754 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21755 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21756 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21757 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21758
21759 2014-05-16 Allan McRae <allan@archlinux.org>
21760
21761 * po/sv.po: Update Swedish translation from translation project.
21762
21763 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21764 in sed expression.
21765
21766 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21767
21768 [BZ #16917]
21769 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21770 errno if the TIOCGPTN ioctl fails with an error different than
21771 EINVAL.
21772 * login/tst-ptsname.c: New file.
21773 * login/Makefile (tests): Add tst-ptsname.
21774
21775 [BZ #16943]
21776 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21777 and prlimit64.
21778
21779 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21780
21781 [BZ #16849]
21782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21783 herrno to return EAI_AGAIN.
21784
21785 2014-05-14 Roland McGrath <roland@hack.frob.com>
21786
21787 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21788 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21789 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21790 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21791 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21792 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21793 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21794 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21795 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21796 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21797 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21798 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21799 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21800 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21801 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21802 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21803 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21804 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21805 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21806 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21807 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21808 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21809 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21810 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21811 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21812 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21813 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21814 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21815 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21816 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21818 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21820 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21822 Moved ...
21823 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21825 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21827 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21829 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21831 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21833 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21835 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21837 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21839 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21841 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21843 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21845 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21847 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21849 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21851 Moved ...
21852 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21854 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21856 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21858 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21860 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21862 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21864 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21866 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21868 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21870 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21872 Moved ...
21873 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21875 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21876
21877 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21878 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21879 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21880 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21881 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21882 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21883 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21884 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21885 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21886 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21887 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21888 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21889 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21890 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21891 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21892 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21893 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21894 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21895 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21896 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21897 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21898 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21899 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21900 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21901 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21902 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21903 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21904 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21905 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21906 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21907 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21908
21909 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21910 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21911
21912 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21913 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21914 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21915 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21916 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21917 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21918 Moved ...
21919 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21920 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21921 Moved ...
21922 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21924 Moved ...
21925 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21926 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21927 Moved ...
21928 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21929 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21930 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21931 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21932 Moved ...
21933 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21934 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21935 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21936 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21937 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21938 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21939 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21940 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21941 Moved ...
21942 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21943 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21944 Moved ...
21945 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21946 ... here.
21947 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21948 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21949 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21950 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21952 Moved ...
21953 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21954 ... here.
21955 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21956 Moved ...
21957 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21958 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21959 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21960 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21961 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21962 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21963 Moved ...
21964 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21965 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21966 Moved ...
21967 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21969 Moved ...
21970 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21971 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21972 Moved ...
21973 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21974 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21975 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21976 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21977 Moved ...
21978 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21979 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21980 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21981 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21982 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21983 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21984 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21985 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21986 Moved ...
21987 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21988 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21989 Moved ...
21990 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21991 ... here.
21992 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21993 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21994 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21995 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21997 Moved ...
21998 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21999 ... here.
22000 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22001 Moved ...
22002 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22003 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22004 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22005 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22006 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22007 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22008 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22009 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22010 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22011 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22012 Moved ...
22013 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22014 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22015 Moved ...
22016 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22017 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22018 Moved ...
22019 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22021 Moved ...
22022 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22023 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22024 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22025 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22026 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22027 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22028 Moved ...
22029 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22030 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22031 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22032 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22033 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22034 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22035 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22036 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22037 Moved ...
22038 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22039 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22040 Moved ...
22041 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22042 ... here.
22043 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22044 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22045 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22046 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22047 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22048 Moved ...
22049 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22050 ... here.
22051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22052 Moved ...
22053 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22054 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22055 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22056 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22057 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22058 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22059 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22060 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22061 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22062 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22063 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22064
22065 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22066 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22067
22068 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22069 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22070
22071 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22072 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22073 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22074 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22075 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22076 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22077 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22078 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22079 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22080 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22081 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22082 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22083 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22084 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22085 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22087 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22089 Moved ...
22090 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22091 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22092 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22093 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22094 Moved ...
22095 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22096 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22097 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22098 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22099 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22100 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22101 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22103 Moved ...
22104 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22105 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22106 Moved ...
22107 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22108 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22109 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22110 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22111 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22113 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22114 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22115 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22116 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22117 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22118 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22119 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22120 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22121 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22122 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22123 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22124
22125 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22126 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22127 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22128 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22129 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22130
22131 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22132 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22133 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22134 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22135 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22136 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22137 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22138 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22139 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22140 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22141
22142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22143 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22144
22145 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22146 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22147 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22148 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22149 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22150 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22151 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22152 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22153 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22154 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22155 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22156 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22157 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22158 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22160 Update #include.
22161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22162 Likewise.
22163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22164 Likewise.
22165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22166 Likewise.
22167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22168 Likewise.
22169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22170 Likewise.
22171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22172 Likewise.
22173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22174 Likewise.
22175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22176 Likewise.
22177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22178 Likewise.
22179 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22180 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22181 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22182 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22183 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22184 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22185 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22186 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22187 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22188 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22189 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22190 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22191 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22192 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22193 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22194
22195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22196 that was previously under [RESET_PID].
22197 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22198 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22199 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22200
22201 * sysdeps/i386/nptl/Implies: New file.
22202 * sysdeps/x86_64/nptl/Implies: New file.
22203 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22204 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22205 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22206 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22207
22208 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22209 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22210 (__libc_vfork): New strong alias.
22211 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22212 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22213
22214 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22215 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22216 (__libc_vfork): New strong alias.
22217 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22218 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22219
22220 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22221 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22222 (__libc_vfork): New strong alias.
22223 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22224 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22225 * nptl/pt-vfork.c: New file.
22226 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22227 (libpthread: GLIBC_2.20): New version set (empty).
22228
22229 2014-05-14 Will Newton <will.newton@linaro.org>
22230
22231 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22232 rather than #if.
22233
22234 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22235
22236 [BZ #16564]
22237 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22238 arguments with exponent 65 or above.
22239 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22240 arguments 0x1p113L or above.
22241 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22242 to arguments 0x1p107L or above.
22243 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22244 positive arguments with exponent 65 or above.
22245 * math/auto-libm-test-in: Add more tests of log1p.
22246 * math/auto-libm-test-out: Regenerated.
22247
22248 [BZ #16928]
22249 * math/s_cacos.c (__cacos): Ensure zero real part of result from
22250 non-finite arguments is +0.
22251 * math/s_cacosf.c (__cacosf): Likewise.
22252 * math/s_cacosl.c (__cacosl): Likewise.
22253 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22254 * sysdeps/i386/fpu/libm-test-ulps: Update.
22255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22256
22257 [BZ #16927]
22258 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22259 value.
22260 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22261 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22262 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22263 for explicit high bit of mantissa when testing for argument equal
22264 to 1.
22265 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22266 * sysdeps/i386/fpu/libm-test-ulps: Update.
22267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22268
22269 [BZ #16516]
22270 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22271 (__erf): Scale by 16 instead of 8 in potentially underflowing
22272 case. Ensure exception if result actually underflows.
22273 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22274 (__erff): Scale by 16 instead of 8 in potentially underflowing
22275 case. Ensure exception if result actually underflows.
22276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22277 (efx8): Remove variable.
22278 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22279 case. Ensure exception if result actually underflows.
22280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22281 (efx8): Remove variable.
22282 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22283 case. Ensure exception if result actually underflows.
22284 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22285 (efx8): Remove variable.
22286 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22287 case. Ensure exception if result actually underflows.
22288 * math/auto-libm-test-in: Add more tests of erf.
22289 * math/auto-libm-test-out: Regenerated.
22290
22291 2014-05-14 Andreas Schwab <schwab@suse.de>
22292
22293 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22294 Remove code conditionalized on USE___THREAD.
22295
22296 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22297 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22298 not definedness.
22299
22300 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22301
22302 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22303 Define unconditionally.
22304 (__ASSUME_O_CLOEXEC): Likewise.
22305 (__ASSUME_SOCK_CLOEXEC): Likewise.
22306 (__ASSUME_IN_NONBLOCK): Likewise.
22307 (__ASSUME_PIPE2): Likewise.
22308 (__ASSUME_EVENTFD2): Likewise.
22309 (__ASSUME_SIGNALFD4): Likewise.
22310 (__ASSUME_DUP3): Likewise.
22311 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22312 (__ASSUME_DUP3): Do not define.
22313 (__ASSUME_EVENTFD2): Likewise.
22314 (__ASSUME_IN_NONBLOCK): Likewise.
22315 (__ASSUME_O_CLOEXEC): Likewise.
22316 (__ASSUME_PIPE2): Likewise.
22317 (__ASSUME_SIGNALFD4): Likewise.
22318 (__ASSUME_SOCK_CLOEXEC): Likewise.
22319 (__ASSUME_UTIMES): Undefine.
22320 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22321 (__ASSUME_UTIMES): Do not define.
22322 (__ASSUME_O_CLOEXEC): Likewise.
22323 (__ASSUME_SOCK_CLOEXEC): Likewise.
22324 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22325 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22326 0x020621].
22327 (__ASSUME_PIPE2): Likewise.
22328 (__ASSUME_EVENTFD2): Likewise.
22329 (__ASSUME_SIGNALFD4): Likewise.
22330 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22331 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22332 Do not define.
22333 (__ASSUME_EVENTFD2): Likewise.
22334 (__ASSUME_SIGNALFD4): Likewise.
22335 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22336 (__ASSUME_32BITUIDS): Likewise.
22337 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22338 (__ASSUME_IPC64): Likewise.
22339 (__ASSUME_ST_INO_64_BIT): Likewise.
22340 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22341 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22342 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22343 (__ASSUME_UTIMES): Do not define.
22344 (__ASSUME_PSELECT): Likewise.
22345 (__ASSUME_PPOLL): Likewise.
22346 (__ASSUME_O_CLOEXEC): Likewise.
22347 (__ASSUME_SOCK_CLOEXEC): Likewise.
22348 (__ASSUME_IN_NONBLOCK): Likewise.
22349 (__ASSUME_PIPE2): Likewise.
22350 (__ASSUME_EVENTFD2): Likewise.
22351 (__ASSUME_SIGNALFD4): Likewise.
22352 (__ASSUME_DUP3): Likewise.
22353 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22354 (__ASSUME_UTIMES): Likewise.
22355 (__ASSUME_O_CLOEXEC): Likewise.
22356 (__ASSUME_SOCK_CLOEXEC): Likewise.
22357 (__ASSUME_IN_NONBLOCK): Likewise.
22358 (__ASSUME_PIPE2): Likewise.
22359 (__ASSUME_EVENTFD2): Likewise.
22360 (__ASSUME_SIGNALFD4): Likewise.
22361 (__ASSUME_DUP3): Likewise.
22362 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22363 (__ASSUME_UTIMES): Likewise.
22364 (__ASSUME_O_CLOEXEC): Likewise.
22365 (__ASSUME_SOCK_CLOEXEC): Likewise.
22366 (__ASSUME_IN_NONBLOCK): Likewise.
22367 (__ASSUME_PIPE2): Likewise.
22368 (__ASSUME_EVENTFD2): Likewise.
22369 (__ASSUME_SIGNALFD4): Likewise.
22370 (__ASSUME_DUP3): Likewise.
22371 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22372 Likewise.
22373 (__ASSUME_UTIMES): Likewise.
22374 (__ASSUME_EVENTFD2): Likewise.
22375 (__ASSUME_SIGNALFD4): Likewise.
22376 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22377 (__ASSUME_O_CLOEXEC): Likewise.
22378 (__ASSUME_SOCK_CLOEXEC): Likewise.
22379 (__ASSUME_IN_NONBLOCK): Likewise.
22380 (__ASSUME_PIPE2): Likewise.
22381 (__ASSUME_EVENTFD2): Likewise.
22382 (__ASSUME_SIGNALFD4): Likewise.
22383 (__ASSUME_DUP3): Likewise.
22384 (__ASSUME_UTIMES): Undefine.
22385
22386 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22387 feclearexcept. Remove symbol versioning code.
22388 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22389 symbol versioning code.
22390 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22391 symbol versioning code.
22392 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22393 feupdateenv. Remove symbol versioning code.
22394 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22395 fegetexceptflag. Remove symbol versioning code.
22396 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22397 fesetexceptflag. Remove symbol versioning code.
22398 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22399 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22400 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22401 (__posix_fadvise64_l32): Remove prototype.
22402 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22403 code.
22404
22405 2014-05-13 Roland McGrath <roland@hack.frob.com>
22406
22407 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22408 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22409 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22410 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22411
22412 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22413
22414 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22415 current working directory
22416
22417 2014-05-13 Roland McGrath <roland@hack.frob.com>
22418
22419 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22420 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22421 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22422 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22423 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22424 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22425 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22426 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22427 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22428 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22429 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22430 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22431 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22432 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22433 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22434 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22435 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22436 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22437 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22438 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22439 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22440 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22441 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22442 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22443 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22444 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22445 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22446 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22447 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22448 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22449 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22450 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22451 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22452 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22453 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22454 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22455 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22456 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22457 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22458 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22459 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22460 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22461
22462 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22463 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22464
22465 * sysdeps/unix/sysv/linux/arm/Makefile
22466 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22467 Add rt-aeabi_unwind_cpp_pr1.
22468 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22469 Add nptl-aeabi_unwind_cpp_pr1.
22470 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22471 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22472 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22473 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22474 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22475 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22476
22477 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22478 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22479 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22480 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22481
22482 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22483 Deconditionalize the code that was previously under [RESET_PID].
22484 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22485
22486 * sysdeps/generic/exit-thread.h: New file.
22487 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22488 * include/unistd.h (__exit_thread): Remove declaration.
22489 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22490 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22491 * csu/libc-start.c: Include <exit-thread.h>.
22492 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22493 * nptl/pthread_create.c: Include <exit-thread.h>.
22494 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22495 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22496 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22497 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22498 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22499 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22500 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22501 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22502 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22503 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22504 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22505 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22506 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22507 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22508 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22509 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22510 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22511
22512 2014-05-13 Andreas Schwab <schwab@suse.de>
22513
22514 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22515
22516 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22517
22518 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22519 (__ASSUME_UTIMES): Do not condition on kernel version.
22520 (__ASSUME_PSELECT): Define unconditionally.
22521 (__ASSUME_PPOLL): Likewise.
22522 (__ASSUME_ATFCTS): Likewise.
22523 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22524 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22525 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22526 (__ASSUME_UTIMENSAT): Define unconditionally.
22527 (__ASSUME_PRIVATE_FUTEX): Likewise.
22528 (__ASSUME_FALLOCATE): Likewise.
22529 (__ASSUME_O_CLOEXEC): Likewise.
22530 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22531 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22532 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22533 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22534 (__ASSUME_IN_NONBLOCK): Likewise.
22535 (__ASSUME_PIPE2): Likewise.
22536 (__ASSUME_EVENTFD2): Likewise.
22537 (__ASSUME_SIGNALFD4): Likewise.
22538 (__ASSUME_DUP3): Likewise.
22539 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22540 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22541 (__ASSUME_AT_RANDOM): Likewise.
22542 (__ASSUME_PREADV): Likewise.
22543 (__ASSUME_PWRITEV): Likewise.
22544 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22545 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22546 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22547 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22548 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22549 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22550 (__ASSUME_O_CLOEXEC): Define unconditionally.
22551 (__ASSUME_PSELECT): Do not undefine conditionally.
22552 (__ASSUME_PPOLL): Likewise.
22553 (__ASSUME_ATFCTS): Likewise.
22554 (__ASSUME_SET_ROBUST_LIST): Likewise.
22555 (__ASSUME_UTIMENSAT): Likewise.
22556 (__ASSUME_FDATASYNC): Define unconditionally.
22557 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22558 (__ASSUME_SIGFRAME_V2): Likewise.
22559 )__ASSUME_EVENTFD2): Likewise.
22560 (__ASSUME_SIGNALFD4): Likewise.
22561 (__ASSUME_PSELECT): Do not undefine conditionally.
22562 (__ASSUME_PPOLL): Likewise.
22563 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22564 (__ASSUME_PSELECT): Define unconditionally.
22565 (__ASSUME_PPOLL): Likewise.
22566 (__ASSUME_O_CLOEXEC): Likewise.
22567 (__ASSUME_SOCK_CLOEXEC): Likewise.
22568 (__ASSUME_IN_NONBLOCK): Likewise.
22569 (__ASSUME_PIPE2): Likewise.
22570 (__ASSUME_EVENTFD2): Likewise.
22571 (__ASSUME_SIGNALFD4): Likewise.
22572 (__ASSUME_DUP3): Likewise.
22573 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22574 (__ASSUME_O_CLOEXEC): Likewise.
22575 (__ASSUME_SOCK_CLOEXEC): Likewise.
22576 (__ASSUME_IN_NONBLOCK): Likewise.
22577 (__ASSUME_PIPE2): Likewise.
22578 (__ASSUME_EVENTFD2): Likewise.
22579 (__ASSUME_SIGNALFD4): Likewise.
22580 (__ASSUME_DUP3): Likewise.
22581 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22582 (__ASSUME_EVENTFD2): Likewise.
22583 (__ASSUME_SIGNALFD4): Likewise.
22584 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22585
22586 2014-05-12 Andreas Schwab <schwab@suse.de>
22587
22588 [BZ #16932]
22589 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22590 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22591 than maximum RPC packet size.
22592 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22593 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22594 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22595 (_nss_nis_getservbyport_r): Likewise.
22596
22597 2014-05-12 Will Newton <will.newton@linaro.org>
22598
22599 * malloc/Makefile (tests): Add tst-mallopt.
22600 * malloc/tst-mallopt.c: New file.
22601
22602 2014-05-09 Roland McGrath <roland@hack.frob.com>
22603
22604 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22605 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22606
22607 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22608
22609 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22610 (tst-tlsmod6.so): Likewise.
22611
22612 2014-05-09 Roland McGrath <roland@hack.frob.com>
22613
22614 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22615
22616 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22617
22618 [BZ #16064]
22619 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22620 and <dl-procinfo.h>.
22621 (__fegetenv): Save SSE state in envp->__eip if supported.
22622 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22623 envp->__eip if supported.
22624 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22625 and <dl-procinfo.h>.
22626 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22627 __data_offset and __data_selector in environment to 0. Set SSE
22628 state if supported.
22629 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22630 test-fenv-sse.
22631 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22632 -mfpmath=sse.
22633 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22634
22635 2014-05-09 Will Newton <will.newton@linaro.org>
22636
22637 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22638 and libc_relro_required for ARM.
22639 * sysdeps/arm/preconfigure: Regenerate.
22640
22641 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22642 Stefan Liebler <stli@linux.vnet.ibm.com>
22643
22644 * config.make.in (enable-lock-elision): New Makefile variable.
22645 * configure.ac: Likewise.
22646 * configure: Regenerate.
22647 * sysdeps/s390/configure.ac:
22648 Add check for gcc transactions support.
22649 * sysdeps/s390/configure: Regenerate.
22650 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22651 Build elision files if enabled.
22652 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22653 Add lock elision support for s390.
22654 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22655 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22656 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22657 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22658 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22659 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22660 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22661 Likewise.
22662 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22663 Likewise.
22664 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22665 Likewise.
22666 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22667 Likewise.
22668 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22669 (__lll_timedlock_elision, __lll_lock_elision)
22670 (__lll_unlock_elision, __lll_trylock_elision)
22671 (lll_timedlock_elision, lll_lock_elision)
22672 (lll_unlock_elision, lll_trylock_elision): Add.
22673 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22674 (pthread_mutex_t): Add lock elision support for s390.
22675
22676 2014-05-14 Wilco <wdijkstr@arm.com>
22677
22678 * sysdeps/arm/fclrexcpt.c: Cleanup.
22679 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22680 * sysdeps/arm/feenablxcpt.c: Cleanup.
22681 * sysdeps/arm/fegetenv.c: Cleanup.
22682 * sysdeps/arm/fegetexcept.c: Cleanup.
22683 * sysdeps/arm/fegetround.c: Cleanup.
22684 * sysdeps/arm/feholdexcpt.c: Cleanup.
22685 * sysdeps/arm/fesetenv.c: Cleanup.
22686 * sysdeps/arm/fesetround.c: Cleanup.
22687 * sysdeps/arm/feupdateenv.c: Cleanup.
22688 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22689 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22690 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22691 * sysdeps/arm/ftestexcept.c: Cleanup.
22692 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22693 * sysdeps/arm/setfpucw.c: Cleanup.
22694
22695 2014-05-09 Will Newton <will.newton@linaro.org>
22696
22697 * sysdeps/arm/armv7/strcmp.S: New file.
22698 * NEWS: Mention addition of ARMv7 optimized strcmp.
22699
22700 2014-05-08 Roland McGrath <roland@hack.frob.com>
22701
22702 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22703 look for %.ac rather than %.in.
22704
22705 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22706 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22707 * sysdeps/mach/hurd/configure: Regenerated.
22708 * sysdeps/unix/sysv/linux/configure: Regenerated.
22709
22710 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22711
22712 2014-05-07 Steve Ellcey <sellcey@mips.com>
22713
22714 [BZ# 16922]
22715 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22716 (LONG_SUB): Ditto.
22717 (PTR_SUB): Ditto.
22718
22719 2014-05-07 Andreas Schwab <schwab@suse.de>
22720
22721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22722 when skipping over non-matching result from nscd.
22723
22724 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22725
22726 [BZ #16876]
22727 * nptl/sockperf.c (client): Check socket return value.
22728
22729 [BZ #16877]
22730 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22731 nscd security class.
22732
22733 2014-05-06 Roland McGrath <roland@hack.frob.com>
22734
22735 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22736 * sysdeps/arm/unwind.h: ... here.
22737
22738 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22739
22740 [BZ# 16916]
22741 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22742 Define.
22743
22744 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22745
22746 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22747 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22748 multiarch strncpy for PPC64.
22749 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22750 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22752 multiarch optimizations.
22753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22754 (__libc_ifunc_impl_list): Likewise.
22755 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22756 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22757 multiarch stpncpy for PPC64.
22758 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22759 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22760
22761 2014-05-06 Andreas Schwab <schwab@suse.de>
22762
22763 [BZ #16912]
22764 * gmon/mcount.c (_MCOUNT_DECL): Use
22765 atomic_compare_and_exchange_bool_acq instead of
22766 catomic_compare_and_exchange_bool_acq.
22767
22768 2014-05-05 Roland McGrath <roland@hack.frob.com>
22769
22770 * elf/Makefile (others, install-bin): Remove pldd.
22771 (pldd-modules): Variable removed.
22772 ($(objpfx)pldd): Target removed.
22773 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22774 (others, install-bin): Append pldd here.
22775 ($(objpfx)pldd): New target.
22776
22777 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22778 to 0, so the first #if test emitted later doesn't see it undefined.
22779 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22780 * sysdeps/gnu/errlist.c: Regenerated.
22781
22782 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22783
22784 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22785 [libc_hidden_builtin_def]: Define to empty value.
22786 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22787 [libc_hidden_builtin_def]: Likewise.
22788 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22789 [libc_hidden_builtin_def]: Likewise.
22790 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22791 [libc_hidden_builtin_def]: Likewise.
22792 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22793 __redirect_memcpy and define ifunc as default hidden symbol.
22794 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22795 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22796
22797 2014-05-04 Adam Conrad <adconrad@0c3.net>
22798
22799 * locale/iso-4217.def: Reintroduce XDR currency.
22800
22801 2014-05-04 Allan McRae <allan@archlinux.org>
22802
22803 * po/eo.po: Update Esperanto translation from translation project.
22804
22805 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22806
22807 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22808 and FEATURE_INDEX_MAX to 1.
22809 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22810
22811 2014-05-01 Steve Ellcey <sellcey@mips.com>
22812
22813 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22814 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22815 * iconvdata/big5.c (ONE_DIRECTION): Define.
22816 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22817 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22818 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22819 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22820 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22821 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22822 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22823 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22824 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22825 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22826 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22827 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22828 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22829 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22830 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22831 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22832 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22833 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22834 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22835 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22836 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22837 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22838 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22839 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22840 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22841 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22842 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22843 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22844 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22845 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22846 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22847 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22848 * iconvdata/johab.c (ONE_DIRECTION): Define.
22849 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22850 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22851 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22852 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22853 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22854 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22855 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22856 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22857 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22858 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22859
22860 2014-05-01 Roland McGrath <roland@hack.frob.com>
22861
22862 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22863 (_IO_JUMPS_OFFSET): Define to 0.
22864
22865 * nptl/sysdeps/pthread/bits/libc-lock.h
22866 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22867 (__libc_lock_define_initialized_recursive): Always define using
22868 initializer. Modern compilers treat uninitialized (implicit zero) and
22869 explicit zero initializers the same (i.e. put the datum in bss).
22870
22871 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22872
22873 * nscd/nscd-client.h: Include <string.h>.
22874
22875 2014-05-01 David S. Miller <davem@davemloft.net>
22876
22877 [BZ #16885]
22878 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22879 multiple zero bytes exist at the end of a string.
22880 Reported by Aurelien Jarno <aurelien@aurel32.net>
22881
22882 * string/test-strcmp.c (check): Add explicit test for situations where
22883 there are multiple zero bytes after the first.
22884
22885 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22886
22887 [BZ #16890]
22888 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22889 when compiling wprintf.
22890 * stdio-common/tstdiomisc.c (t3): New function.
22891 (main): Call it.
22892
22893 2014-05-01 Steve Ellcey <sellcey@mips.com>
22894
22895 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22896 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22897 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22898 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22899
22900 2014-05-01 Steve Ellcey <sellcey@mips.com>
22901
22902 * stdlib/longlong.h: Updated from GCC.
22903
22904 2014-05-01 Will Newton <will.newton@linaro.org>
22905 Bernard Ogden <bernie.ogden@linaro.org>
22906
22907 * NEWS: Update fixed bug list.
22908
22909 [BZ #15119]
22910 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22911
22912 2014-04-30 David S. Miller <davem@davemloft.net>
22913
22914 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22915 (libc_feholdexcept_setround_sparc_ctx): New function.
22916 (libc_fesetenv_sparc_ctx): Likewise.
22917 (libc_feupdateenv_sparc_ctx): Likewise.
22918 (libc_feholdsetround_sparc_ctx): Likewise.
22919 (libc_feholdexcept_setround_ctx): Define.
22920 (libc_feholdexcept_setroundf_ctx): Likewise.
22921 (libc_feholdexcept_setroundl_ctx): Likewise.
22922 (libc_fesetenv_ctx): Likewise.
22923 (libc_fesetenvf_ctx): Likewise.
22924 (libc_fesetenvl_ctx): Likewise.
22925 (libc_feupdateenv_ctx): Likewise.
22926 (libc_feupdateenvf_ctx): Likewise.
22927 (libc_feupdateenvl_ctx): Likewise.
22928 (libc_feresetround_ctx): Likewise.
22929 (libc_feresetroundf_ctx): Likewise.
22930 (libc_feresetroundl_ctx): Likewise.
22931 (libc_feholdsetround_ctx): Likewise.
22932 (libc_feholdsetroundf_ctx): Likewise.
22933 (libc_feholdsetroundl_ctx): Likewise.
22934
22935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22936 with __USE_GNU instead of XOPEN cpp guards.
22937
22938 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22939 0.
22940
22941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22942 with XOPEN cpp guards.
22943
22944 2014-04-30 Julian Brown <julian@codesourcery.com>
22945
22946 [BZ #16888]
22947 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22948 handling.
22949
22950 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22951
22952 [BZ #9894]
22953 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22954 Change to 2.6.32.
22955 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22956 * sysdeps/unix/sysv/linux/configure: Regenerated.
22957 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22958 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22959 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22960 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22961 * README: Update reference to required Linux kernel version.
22962 * manual/install.texi (Linux): Update reference to required Linux
22963 kernel headers version.
22964 * INSTALL: Regenerated.
22965
22966 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22967 header inclusion.
22968 [POSIX] (limits.h): Likewise.
22969 [POSIX] (math.h): Likewise.
22970 [POSIX] (sys/wait.h): Likewise.
22971 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22972 function.
22973 [POSIX] (stddef.h): Do not allow header inclusion.
22974
22975 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22976
22977 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22978
22979 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22980
22981 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22982 Return immediately after lll_futex_wake.
22983
22984 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22985
22986 [BZ #16791]
22987 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22988 structure.
22989 (datahead_init_pos): Call datahead_init_common early.
22990 (datahead_init_neg): Likewise.
22991
22992 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22993 datahead_init_neg): New functions.
22994 * nscd/aicache.c (addhstaiX): Use them.
22995 * nscd/grpcache.c (cache_addgr): Likewise.
22996 * nscd/hstcache.c (cache_addhst): Likewise.
22997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22998 * nscd/netgroupcache.c (do_notfound): Likewise.
22999 (addgetnetgrentX): Likewise.
23000 (addinnetgrX): Likewise.
23001 * nscd/pwdcache.c (cache_addpw): Likewise.
23002 * nscd/servicescache.c (cache_addserv): Likewise.
23003
23004 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23005 Atsushi Onoe <atsushi@onoe.org>
23006
23007 [BZ #14308]
23008 [BZ #12994]
23009 [BZ #13651]
23010 * resolv/res_query.c (__libc_res_nsearch): Return if at least
23011 one response is valid.
23012 * resolv/res_send.c (send_dg): Check for validity of other
23013 response if the current response is a referral.
23014
23015 2014-04-29 Steve Ellcey <sellcey@mips.com>
23016
23017 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23018
23019 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
23020
23021 [BZ #16823]
23022 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23023 Always divide by positive zero when computing -Inf result.
23024 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23025 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23026
23027 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23028
23029 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23030 FPSCR if value do not change.
23031 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23032 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23033 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23034 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23035 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23036 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23037 function.
23038
23039 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
23040
23041 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23042 * sysdeps/unix/sysv/linux/hppa: Move directory from
23043 ports/systeps/unix/sysv/linux/hppa.
23044 * README: Update listing for hppa-*-linux-gnu.
23045
23046 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
23047
23048 [BZ #16754]
23049 * manual/stdio.texi (Hook functions): Fix types of stream hook
23050 functions.
23051 [BZ #16854]
23052 * socket/sys/socket.h: Fix typo in comment.
23053
23054 2014-04-28 Wilco <wdijkstr@arm.com>
23055
23056 * sysdeps/arm/fenv_private.h: New file.
23057 * sysdeps/arm/math_private.h: New file.
23058 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23059
23060 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
23061
23062 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23063 with __int128_t.
23064 (La_x86_64_retval): Likewise.
23065
23066 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23067
23068 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23069 fpsr if value didn't change.
23070 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23071 to fpcr if value didn't change.
23072 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23073 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23074 fpsr or fpcr if value didn't change.
23075 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23076 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23077 fpcr if value didn't change.
23078 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23079 to fpsr if value didn't change.
23080
23081 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23082
23083 * nptl/tst-sem3.c: Use test-skeleton.c
23084 (main): Rename to do_test. Use return instead of
23085 exit.
23086 * nptl/tst-sem4.c: Use test-skeleton.c
23087 (main): Rename to do_test.
23088
23089 2014-04-22 David S. Miller <davem@davemloft.net>
23090
23091 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23092 (struct sigaction): New struct member __glibc_reserved0, change
23093 type of sa_flags to int.
23094
23095 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
23096
23097 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23098 (COUNT_LEADING_ZEROS_0): Define for AArch64.
23099
23100 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23101
23102 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23103 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23104
23105 2014-04-22 Will Newton <will.newton@linaro.org>
23106 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
23107
23108 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23109 (__longjmp): Add longjmp and longjmp_target SystemTap
23110 probes.
23111 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23112 (__sigsetjmp): Add setjmp SystemTap probe.
23113
23114 2014-04-17 Carlos O'Donell <carlos@redhat.com>
23115
23116 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23117 match manual order.
23118
23119 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23120
23121 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23122
23123 * sysdeps/powerpc/fpu/fenv_private.h
23124 (libc_feholdexcept_setroundl_ctx): Define to
23125 libc_feholdexcept_setround_ppc_ctx.
23126 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23127 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23128 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23129 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23130
23131 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23132
23133 * sysdeps/aarch64/math-tests.h: New file.
23134
23135 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
23136
23137 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23138 New.
23139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23140 Check and set bit_AVX2_Usable.
23141 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23142 macro.
23143 (bit_AVX2): Likewise.
23144 (index_AVX2_Usable): Likewise.
23145 (CPUID_AVX2): Likewise.
23146 (HAS_AVX2): Likewise.
23147
23148 2014-04-17 Will Newton <will.newton@linaro.org>
23149
23150 * manual/setjmp.texi (System V contexts): Add note that
23151 calling setcontext on a context created by a call to a
23152 signal handler is undefined. Update text to note that
23153 setcontext from a signal handler is possible but not
23154 recommended.
23155
23156 [BZ #16629]
23157 * stdlib/tst-setcontext.c: Include signal.h.
23158 (main): Check that the signal stack before and
23159 after swapcontext is the same.
23160
23161 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23162 Re-implement to restore registers in user code and avoid
23163 rt_sigreturn system call.
23164
23165 2014-04-17 Wilco <wdijkstr@arm.com>
23166
23167 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23168 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23169 * math/test-fenv.c: Skip exception trap tests on targets which only
23170 support non-stop mode.
23171
23172 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23173 Wilco Dijkstra <wilco.dijkstra@arm.com>
23174
23175 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23176 (libc_feholdsetround_aarch64_ctx)
23177 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23178 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23179 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23180 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23181 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23182 (libc_feresetround_noexl_ctx): Define.
23183
23184 2014-04-16 Richard Henderson <rth@redhat.com>
23185
23186 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23187
23188 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23189 unwind tables.
23190
23191 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23192 const from the non-libc, non-ldso copy.
23193
23194 * sysdeps/alpha/libm-test-ulps: Regenerate.
23195
23196 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23197 Wilco Dijkstra <wilco.dijkstra@arm.com>
23198
23199 * sysdeps/aarch64/fpu/math_private.h: New file.
23200
23201 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23202
23203 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23204
23205 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23206
23207 [BZ #16275]
23208 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23209 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23211 Intel MPX bound registers before _dl_profile_fixup.
23212 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23213 registers after _dl_profile_fixup. Save and restore bound
23214 registers bnd0/bnd1 when calling _dl_call_pltexit.
23215 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23216 (LR_BND_OFFSET): Likewise.
23217 (LRV_BND0_OFFSET): Likewise.
23218 (LRV_BND1_OFFSET): Likewise.
23219
23220 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23221
23222 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23223 to...
23224 * sysdeps/mach/hurd/i386/tls.h: ... here.
23225 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23226 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23227 fields.
23228
23229 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23230
23231 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23232
23233 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23234
23235 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23236
23237 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23238
23239 [BZ #14770]
23240 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23241 * sysdeps/s390/configure: Regenerate.
23242
23243 [BZ #16824]
23244 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23245 Set round-to-nearest internally to reduce error accumulation.
23246
23247 2014-04-16 Alan Modra <amodra@gmail.com>
23248
23249 [BZ #16740]
23250 [BZ #16619]
23251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23252 * math/libm-test.inc (frexp_test_data): Add tests.
23253 * NEWS: Update fixed bug list.
23254
23255 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23256
23257 * benchtests/Makefile: Depend on libraries in build directory.
23258 (bench-math): Separate out math tests.
23259 (bench-pthread): Separate out pthread tests.
23260 (bench): Include math and pthread tests.
23261
23262 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23263
23264 [BZ #16831]
23265 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23266 _dl_debug_initialize.
23267
23268 * configure.ac: Remove SELinux header check.
23269 * configure: Regenerate.
23270 * nscd/selinux.c (perms): Array of const char* to permission names.
23271 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23272 default policy. Call string_to_security_class and string_to_av_perm to
23273 translate strings. Enforce default policy and call avs_has_perm with
23274 results of translated strings.
23275
23276 2014-04-13 David S. Miller <davem@davemloft.net>
23277
23278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23279
23280 2014-04-12 Allan McRae <allan@archlinux.org>
23281
23282 [BZ #16838]
23283 * manual/string.texi (Collation Functions): Fix qsort argument
23284 order in example.
23285 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23286
23287 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23288
23289 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23290 Make the test a no-op if there are no exceptions defined.
23291
23292 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23293
23294 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23295 enable-hardcoded-path-in-tests
23296
23297 2014-04-11 Will Newton <will.newton@linaro.org>
23298
23299 * benchtests/Makefile (extra-objs): Add json-lib.o.
23300 (bench-func): Tidy up JSON output.
23301 * benchtests/bench-skeleton.c: Include json-lib.h.
23302 (main): Use JSON library functions to do output of
23303 benchmark results.
23304 * benchtests/bench-timing-type.c (main): Output the
23305 timing type simply, leaving formatting to the user.
23306 * benchtests/json-lib.c: New file.
23307 * benchtests/json-lib.h: Likewise.
23308
23309 2014-04-11 Torvald Riegel <triegel@redhat.com>
23310
23311 [BZ #15215]
23312 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23313 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23314 memory barriers. Add comments.
23315 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23316 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23317 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23318 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23319 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23320 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23321
23322 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23323
23324 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23325 * sysdeps/s390/s390-64/configure.ac: ... this ...
23326 * sysdeps/s390/configure.ac: ... to here.
23327 * sysdeps/s390/s390-32/configure: Delete file.
23328 * sysdeps/s390/s390-64/configure: Delete file.
23329 * sysdeps/s390/configure: Regenerate.
23330
23331 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23332
23333 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23334
23335 2014-04-11 Will Newton <will.newton@linaro.org>
23336
23337 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23338 to zero if it is not defined elsewhere. (mtrim): Test
23339 the value of MALLOC_DEBUG with #if rather than #ifdef.
23340
23341 2014-04-10 Torvald Riegel <triegel@redhat.com>
23342
23343 * benchtests/pthread_once-inputs: New file.
23344 * benchtests/pthread_once-source.c: New file.
23345 * benchtests/README: Update documentation.
23346
23347 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23348 H.J. Lu <hongjiu.lu@intel.com>
23349
23350 [BZ #16275]
23351 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23352 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23353 * sysdeps/x86_64/configure: Regenerated.
23354 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23355 macro.
23356 (REGISTER_SAVE_RAX): Likewise.
23357 (REGISTER_SAVE_RCX): Likewise.
23358 (REGISTER_SAVE_RDX): Likewise.
23359 (REGISTER_SAVE_RSI): Likewise.
23360 (REGISTER_SAVE_RDI): Likewise.
23361 (REGISTER_SAVE_R8): Likewise.
23362 (REGISTER_SAVE_R9): Likewise.
23363 (REGISTER_SAVE_BND0): Likewise.
23364 (REGISTER_SAVE_BND1): Likewise.
23365 (REGISTER_SAVE_BND2): Likewise.
23366 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23367 bound registers when calling _dl_fixup.
23368
23369 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23370
23371 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23372 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23373 of its definition.
23374 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23375 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23376 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23377 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23378 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23379 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23380 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23381
23382 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23383
23384 [BZ #15514]
23385 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23386 pathconf(_PC_NAME_MAX).
23387
23388 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23389
23390 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23391 Remove macro usage.
23392 (__PTHREAD_SPINS): Move definition to ...
23393 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23394 (__PTHREAD_SPINS): ... here.
23395 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23396 (__PTHREAD_SPIN): Likewise.
23397 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23398 (__PTHREAD_SPIN): Likewise.
23399 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23400 (__PTHREAD_SPIN): Likewise.
23401 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23402 (__PTHREAD_SPIN): Likewise.
23403 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23404 (__PTHREAD_SPIN): Likewise.
23405 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23406 (__PTHREAD_SPIN): Likewise.
23407 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23408 (__PTHREAD_SPIN): Likewise.
23409 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23410 (__PTHREAD_SPIN): Likewise.
23411 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23412 (__PTHREAD_SPIN): Likewise.
23413 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23414 (__PTHREAD_SPIN): Likewise.
23415 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23416 (__PTHREAD_SPIN): Likewise.
23417 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23418 (__PTHREAD_SPIN): Likewise.
23419
23420 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23421 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23422 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23423 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23424 imply folder.
23425 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23426 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23427 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23428 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23429 correct imply path.
23430 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23431 strlen symbol for non multi-arch builds.
23432 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23433 missing hidden_def and weak_alias.
23434
23435 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23436
23437 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23438
23439 2014-04-07 Will Newton <will.newton@linaro.org>
23440
23441 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23442 and contents. [!_LIBC] Remove #ifndef and contents.
23443 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23444 * string/memccpy.c (__memccpy): Use ANSI prototype.
23445 * string/memfrob.c (memfrob): Likewise.
23446 * string/strcoll.c (STRCOLL): Likewise.
23447 * string/strlen.c (strlen): Likewise.
23448 * string/strtok.c (STRTOK): Likewise.
23449 * string/strcat.c: Remove unused #include of memcopy.h.
23450 (strcat): Use ANSI prototype.
23451 * string/strchr.c: Remove unused #include of memcopy.h.
23452 (strchr): Use ANSI prototype.
23453 * string/strcmp.c: Remove unused #include of memcopy.h.
23454 (strcmp): Use ANSI prototype.
23455 * string/strcpy.c: Remove unused #include of memcopy.h.
23456 (strcpy): Use ANSI prototype.
23457
23458 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23459
23460 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23461 * config.make.in (config-extra-cppflags): Set it from
23462 libc_extra_cppflags.
23463 * configure.ac (libc_extra_cflags): Make it accumulate over
23464 configure fragments.
23465 (libc_extra_cppflags): New flag.
23466 * configure. Regenerate.
23467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23468 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23469 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23471
23472 [BZ #16815]
23473 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23474 result for FE_DOWNWARD rounding mode.
23475 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23476 Likewise.
23477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23478
23479 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23480
23481 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23482 in function argument name.
23483
23484 2014-04-03 David Svoboda <svoboda@cert.org>
23485
23486 [BZ #5666]
23487 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23488 explicitly.
23489
23490 2014-04-03 Roland McGrath <roland@hack.frob.com>
23491
23492 * elf/dl-unmap-segments.h: New file.
23493 * sysdeps/generic/ldsodefs.h
23494 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23495 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23496 * elf/dl-fptr.c: Likewise.
23497 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23498 * sysdeps/aarch64/tlsdesc.c: Likewise.
23499 * sysdeps/arm/tlsdesc.c: Likewise.
23500 * sysdeps/i386/tlsdesc.c: Likewise.
23501 * sysdeps/tile/dl-runtime.c: Likewise.
23502 * sysdeps/x86_64/tlsdesc.c: Likewise.
23503 * elf/dl-load.h: New file.
23504 * elf/dl-load.c: Include it.
23505 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23506 Macros moved to dl-load.h.
23507 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23508 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23509 Use _dl_unmap_segments in place of __munmap.
23510 Break out segment-mapping loop into ...
23511 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23512
23513 2014-04-03 Will Newton <will.newton@linaro.org>
23514
23515 * elf/dl-lookup.c (do_lookup_x): Remove comment
23516 referring to nested function and move variable
23517 declarations down to before first use.
23518
23519 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23520
23521 [BZ #16799]
23522 [BZ #16800]
23523 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23524 with 0 numerator.
23525 * math/s_catanf.c (__catanf): Likewise.
23526 * math/s_catanh.c (__catanh): Likewise.
23527 * math/s_catanhf.c (__catanhf): Likewise.
23528 * math/s_catanhl.c (__catanhl): Likewise.
23529 * math/s_catanl.c (__catanl): Likewise.
23530 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23531 by positive zero when computing -Inf result.
23532 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23533 (catanh_test): Likewise.
23534 * sysdeps/i386/fpu/libm-test-ulps: Update.
23535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23536
23537 [BZ #16789]
23538 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23539 instead of using underflowing value in computing result.
23540 * math/s_clog10.c (__clog10): Likewise.
23541 * math/s_clog10f.c (__clog10f): Likewise.
23542 * math/s_clog10l.c (__clog10l): Likewise.
23543 * math/s_clogf.c (__clogf): Likewise.
23544 * math/s_clogl.c (__clogl): Likewise.
23545 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23546 (clog10_test): Likewise.
23547 * sysdeps/i386/fpu/libm-test-ulps: Update.
23548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23549
23550 2014-04-02 Alan Modra <amodra@gmail.com>
23551
23552 [BZ #16739]
23553 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23554 output when value is near a power of two. Use int64_t for lx and
23555 remove casts. Use decimal rather than hex exponent constants.
23556 Don't use long double multiplication when double will suffice.
23557 * math/libm-test.inc (nextafter_test_data): Add tests.
23558 * NEWS: Add 16739 and 16786 to bug list.
23559
23560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23561
23562 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23563
23564 2014-04-01 Will Newton <will.newton@linaro.org>
23565
23566 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23567 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23568
23569 2014-04-01 Florian Weimer <fweimer@redhat.com>
23570
23571 [BZ #13347]
23572 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23573 * nptl/tst-setuid2.c: New file.
23574 * nptl/Makefile (xtests): Add tst-setuid2.
23575
23576 2014-04-01 Alan Modra <amodra@gmail.com>
23577
23578 [BZ #16786]
23579 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23580
23581 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23582
23583 [BZ #6803]
23584 [BZ #6804]
23585 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23586 set errno as appropriate.
23587 * math/w_scalbf.c (__scalbf): Likewise.
23588 * math/w_scalbl.c (__scalbl): Likewise.
23589 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23590 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23591 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23592 Add more NaN tests.
23593
23594 [BZ #16349]
23595 * math/w_atan2.c: Include <errno.h>.
23596 (__atan2): Set errno for result underflowing to zero.
23597 * math/w_atan2f.c: Include <errno.h>.
23598 (__atan2f): Set errno for result underflowing to zero.
23599 * math/w_atan2l.c: Include <errno.h>.
23600 (__atan2l): Set errno for result underflowing to zero.
23601 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23602 tests.
23603 * math/auto-libm-test-out: Regenerated.
23604
23605 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23606
23607 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23608 Encode instruction correctly in little endian.
23609 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23610 Likewise.
23611 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23612 Likewise.
23613 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23614 Likewise.
23615 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23616 Likewise.
23617
23618 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23619
23620 [BZ #9894]
23621 * sysdeps/unix/sysv/linux/kernel-features.h
23622 [__sparc__ && !__arch64__ && !__sparc_v9__]
23623 (__ASSUME_SET_ROBUST_LIST): Do not define.
23624 [__sparc__ && !__arch64__ && !__sparc_v9__]
23625 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23626 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23627 Likewise.
23628 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23629 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23630 (__ASSUME_REQUEUE_PI): Likewise.
23631 (__ASSUME_SET_ROBUST_LIST): Likewise.
23632 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23633 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23634 Undefine.
23635 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23636 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23637 Likewise.
23638 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23639 Likewise.
23640 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23641 Likewise.
23642 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23643 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23644 Undefine.
23645 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23646 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23647 Likewise.
23648
23649 [BZ #16648]
23650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23651 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23652 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23653
23654 2014-03-31 Will Newton <will.newton@linaro.org>
23655
23656 * benchtests/Makefile (bench): Add ffs and ffsll to list
23657 of tests.
23658 * benchtests/ffs-inputs: New file.
23659 * benchtests/ffsll-inputs: Likewise.
23660
23661 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23662
23663 [BZ #16770]
23664 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23665 too large before casting to int.
23666 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23667 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23668 * math/libm-test.inc (scalb_test_data): Add more tests.
23669
23670 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23671
23672 * benchtests/Makefile (DETAILED_OPT): New make option.
23673 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23674 set.
23675 * benchtests/bench-skeleton.c: Include stdbool.h.
23676 (main): Store and print timings per input.
23677 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23678 member to each argument value.
23679 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23680 (_print_arg_data): Initialize per-input timing to 0.
23681
23682 * benchtests/Makefile (timing-type): New binary.
23683 (bench-clean): Also remove bench-timing-type.
23684 (bench): New target for timing-type.
23685 (bench-func): Print output in JSON format.
23686 * benchtests/bench-skeleton.c (main): Print output in JSON
23687 format.
23688 * benchtests/bench-timing-type.c: New file.
23689 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23690 (TIMING_PRINT_STATS): Remove.
23691 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23692 name separately.
23693
23694 * benchtests/bench-modf.c: Remove.
23695 * benchtests/modf-inputs: New inputs file.
23696
23697 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23698
23699 [BZ #16362]
23700 * math/s_clog10.c (M_PI_LOG10E): New macro.
23701 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23702 imaginary parts are 0.
23703 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23704 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23705 imaginary parts are 0.
23706 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23707 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23708 imaginary parts are 0.
23709 * math/libm-test.inc (clog10_test_data): Update expected results
23710 for when real and imaginary parts are 0.
23711
23712 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23713
23714 * elf/dl-load.c: Finish conversion of __builtin_expect into
23715 __glibc_{un}likely.
23716
23717 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23718
23719 [BZ #16348]
23720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23721 1+x for argument with exponent below -67.
23722 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23723 Likewise.
23724 * math/auto-libm-test-in: Add more tests of exp.
23725 * math/auto-libm-test-out: Regenerated.
23726
23727 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23728
23729 [BZ #16759]
23730 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23731 (nscd_getnetgrent): Use it.
23732
23733 [BZ #16760]
23734 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23735 of stpcpy.
23736
23737 2014-03-27 Andi Kleen <ak@linux.intel.com>
23738
23739 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23740 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23741 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23742 (lll_robust_unlock): Remove out of line section. Use cfi
23743 intrinsics.
23744 (LLL_STUB_UNWIND_INFO*): Remove.
23745 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23746 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23747 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23748 (lll_robust_unlock): Remove out of line section. Use cfi
23749 intrinsics.
23750 (LLL_STUB_UNWIND_INFO*): Remove.
23751
23752 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23753
23754 [BZ #16758]
23755 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23756 blank values.
23757
23758 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23759
23760 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23761
23762 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23763
23764 [BZ #16198]
23765 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23766 fnstenv.
23767 * math/test-fenv-preserve.c: New file.
23768 * math/Makefile (tests): Add test-fenv-preserve.
23769
23770 2014-03-26 Will Newton <will.newton@linaro.org>
23771
23772 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23773
23774 2014-03-25 Roland McGrath <roland@hack.frob.com>
23775
23776 * scripts/versionlist.awk: Partition the version sets and emit all
23777 GLIBC_* (sorted) before all others (sorted).
23778
23779 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23780
23781 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23782 GLIBC_2.2.5 version.
23783
23784 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23785
23786 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23787 calls.
23788
23789 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23790 previous change.
23791
23792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23793
23794 2014-03-25 Andreas Schwab <schwab@suse.de>
23795
23796 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23797 label to be used after in6ailist is initialized.
23798
23799 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23800
23801 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23802 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23803
23804 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23805
23806 [BZ #16357]
23807 [BZ #16599]
23808 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23809 min_plus_half.
23810 (fp_formats): Update initializers.
23811 (init_fp_formats): Initialize new field.
23812 (output_for_one_input_case): Allow underflow for results up to
23813 min_plus_half.
23814 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23815 * math/auto-libm-test-in: Don't mark some underflows from asin and
23816 atanh as spurious.
23817 * math/auto-libm-test-out: Regenerated.
23818 * sysdeps/i386/fpu/libm-test-ulps: Update.
23819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23820
23821 2014-03-25 Andreas Schwab <schwab@suse.de>
23822
23823 * libio/Makefile (tst-ftell-partial-wide-ENV)
23824 (tst-ftell-active-handler-ENV): Define.
23825
23826 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23827
23828 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23829
23830 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23831
23832 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23833
23834 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23835
23836 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23837 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23838 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23839
23840 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23841
23842 [BZ #16634]
23843 * elf/dl-load.c (open_verify): Add mode parameter.
23844 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23845 (open_path): Change from boolean 'secure' to complete flag 'mode'
23846 (_dl_map_object): Adjust.
23847 * elf/Makefile (tests): Add tst-dlopen-aout.
23848 * elf/tst-dlopen-aout.c: New test.
23849
23850 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23851
23852 [BZ #16714]
23853 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23854 (struct stat): Rename member pad0 to __glibc_reserved0.
23855
23856 [BZ #16712]
23857 * sysdeps/s390/s390-32/bits/wordsize.h
23858 (__WORDSIZE32_SIZE_ULONG): New define.
23859 * sysdeps/s390/s390-64/bits/wordsize.h
23860 (__WORDSIZE32_SIZE_ULONG): Likewise.
23861 * sysdeps/generic/stdint.h (SIZE_MAX):
23862 Define as UL if __WORDSIZE32_SIZE_ULONG.
23863
23864 [BZ #16713]
23865 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23866 (__glibc_reserved0): New variable.
23867 (sa_flags): Change type to int.
23868
23869 * posix/Makefile (before-compile): Use += before-compile instead
23870 of a :=.
23871
23872 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23873 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23874
23875 2014-03-20 Andreas Schwab <schwab@suse.de>
23876
23877 [BZ #16743]
23878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23879 non-matching result from nscd.
23880
23881 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23882
23883 * scripts/bench.py: Moved to ...
23884 * benchtests/scripts/bench.py: ... here.
23885 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23886
23887 2014-03-24 Andreas Schwab <schwab@suse.de>
23888
23889 [BZ #16002]
23890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23891 alloca_account and account alloca use for struct in6ailist.
23892
23893 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23894
23895 [BZ #16284]
23896 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23897 rounding mode to recompute results that overflow to infinity or
23898 underflow to zero.
23899 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23900 bug 16284.
23901 * math/auto-libm-test-out: Regenerated.
23902 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23903 (ccosh_test): Likewise.
23904 (csin_test_data): Use plus_oflow.
23905 (csin_test): Use ALL_RM_TEST.
23906 (csinh_test_data): Use plus_oflow.
23907 (csinh_test): Use ALL_RM_TEST.
23908 * sysdeps/i386/fpu/libm-test-ulps: Update.
23909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23910
23911 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23912
23913 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23914 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23915 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23916
23917 [BZ #16731]
23918 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23919 when x - 1 is zero.
23920 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23921 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23922 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23924 argument is 1.
23925 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23926 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23927 zero.
23928 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23929 * sysdeps/i386/fpu/libm-test-ulps: Update.
23930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23931
23932 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23933
23934 * scripts/bench.pl: Remove file.
23935 * scripts/bench.py: New benchmark script.
23936 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23937 * benchtests/README: Mention python dependency.
23938 * scripts/pylintrc: New file.
23939 * scripts/pylint: New file.
23940
23941 * bits/mathdef.h: Use #ifdef instead of #if.
23942 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23943 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23944 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23945 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23946 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23947 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23948
23949 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23950 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23951
23952 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23954 and strpbrk-ppc64 objects.
23955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23956 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23957 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23958 multiarch strpbrk for POWER7.
23959 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23960 multiarch strpbrk for PPC64.
23961 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23962 ifunc selector.
23963 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23964 strpbrk for POWER7.
23965
23966 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23967
23968 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23969 (atan_test): Likewise.
23970 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23971 (atanh_test): Use ALL_RM_TEST.
23972 (atan2_test_data): Likewise.
23973 (cabs_test): Likewise.
23974 (cacosh_test): Likewise.
23975 (carg_test): Likewise.
23976 (casin_test): Likewise.
23977 (casinh_test): Likewise.
23978 (cbrt_test): Likewise.
23979 (csqrt_test): Likewise.
23980 (erf_test): Likewise.
23981 (erfc_test): Likewise.
23982 (pow10_test): Likewise.
23983 (exp2_test): Likewise.
23984 (hypot_test): Likewise.
23985 (j0_test): Likewise.
23986 (j1_test): Likewise.
23987 (lgamma_test): Likewise.
23988 (gamma_test): Likewise.
23989 (sincos_test): Likewise.
23990 (tanh_test): Likewise.
23991 (y0_test): Likewise.
23992 (y1_test): Likewise.
23993 * sysdeps/i386/fpu/libm-test-ulps: Update.
23994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23995
23996 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23997
23998 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24000 and strcspn-ppc64 objects.
24001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24002 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24003 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24004 multiarch strcspn for POWER7.
24005 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24006 multiarch strcspn for PPC64.
24007 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24008 ifunc selector.
24009 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24010 strcspn for POWER7.
24011
24012 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24013
24014 * math/gen-libm-test.pl (generate_testfile): Expect only function
24015 name as argument to AUTO_TESTS_* and pass results for all rounding
24016 modes to parse_args.
24017 (parse_auto_input): Separate inputs of automatic tests from
24018 outputs before storing in %auto_tests.
24019 * math/libm-test.inc (acos_test_data): Update call to
24020 AUTO_TESTS_f_f.
24021 (acos_test): Use ALL_RM_TEST.
24022 (acos_tonearest_test_data): Remove.
24023 (acos_test_tonearest): Likewise.
24024 (acos_towardzero_test_data): Likewise.
24025 (acos_test_towardzero): Likewise.
24026 (acos_downward_test_data): Likewise.
24027 (acos_test_downward): Likewise.
24028 (acos_upward_test_data): Likewise.
24029 (acos_test_upward): Likewise.
24030 (acosh_test_data): Update call to AUTO_TESTS_f_f.
24031 (asin_test_data): Likewise.
24032 (asin_test): Use ALL_RM_TEST.
24033 (asin_tonearest_test_data): Remove.
24034 (asin_test_tonearest): Likewise.
24035 (asin_towardzero_test_data): Likewise.
24036 (asin_test_towardzero): Likewise.
24037 (asin_downward_test_data): Likewise.
24038 (asin_test_downward): Likewise.
24039 (asin_upward_test_data): Likewise.
24040 (asin_test_upward): Likewise.
24041 (asinh_test_data): Update call to AUTO_TESTS_f_f.
24042 (atan_test_data): Likewise.
24043 (atanh_test_data): Likewise.
24044 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24045 (cabs_test_data): Update call to AUTO_TESTS_c_f.
24046 (carg_test_data): Likewise.
24047 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24048 (ccos_test_data): Update call to AUTO_TESTS_c_c.
24049 (ccosh_test_data): Likewise.
24050 (cexp_test_data): Likewise.
24051 (clog_test_data): Likewise.
24052 (clog10_test_data): Likewise.
24053 (cos_test_data): Update call to AUTO_TESTS_f_f.
24054 (cos_test): Use ALL_RM_TEST.
24055 (cos_tonearest_test_data): Remove.
24056 (cos_test_tonearest): Likewise.
24057 (cos_towardzero_test_data): Likewise.
24058 (cos_test_towardzero): Likewise.
24059 (cos_downward_test_data): Likewise.
24060 (cos_test_downward): Likewise.
24061 (cos_upward_test_data): Likewise.
24062 (cos_test_upward): Likewise.
24063 (cosh_test_data): Update call to AUTO_TESTS_f_f.
24064 (cosh_test): Use ALL_RM_TEST.
24065 (cosh_tonearest_test_data): Remove.
24066 (cosh_test_tonearest): Likewise.
24067 (cosh_towardzero_test_data): Likewise.
24068 (cosh_test_towardzero): Likewise.
24069 (cosh_downward_test_data): Likewise.
24070 (cosh_test_downward): Likewise.
24071 (cosh_upward_test_data): Likewise.
24072 (cosh_test_upward): Likewise.
24073 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24074 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24075 (ctan_test_data): Likewise.
24076 (ctan_test): Use ALL_RM_TEST.
24077 (ctan_tonearest_test_data): Remove.
24078 (ctan_test_tonearest): Likewise.
24079 (ctan_towardzero_test_data): Likewise.
24080 (ctan_test_towardzero): Likewise.
24081 (ctan_downward_test_data): Likewise.
24082 (ctan_test_downward): Likewise.
24083 (ctan_upward_test_data): Likewise.
24084 (ctan_test_upward): Likewise.
24085 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24086 (ctanh_test): Use ALL_RM_TEST.
24087 (ctanh_tonearest_test_data): Remove.
24088 (ctanh_test_tonearest): Likewise.
24089 (ctanh_towardzero_test_data): Likewise.
24090 (ctanh_test_towardzero): Likewise.
24091 (ctanh_downward_test_data): Likewise.
24092 (ctanh_test_downward): Likewise.
24093 (ctanh_upward_test_data): Likewise.
24094 (ctanh_test_upward): Likewise.
24095 (erf_test_data): Update call to AUTO_TESTS_f_f.
24096 (erfc_test_data): Likewise.
24097 (exp_test_data): Likewise.
24098 (exp_test): Use ALL_RM_TEST.
24099 (exp_tonearest_test_data): Remove.
24100 (exp_test_tonearest): Likewise.
24101 (exp_towardzero_test_data): Likewise.
24102 (exp_test_towardzero): Likewise.
24103 (exp_downward_test_data): Likewise.
24104 (exp_test_downward): Likewise.
24105 (exp_upward_test_data): Likewise.
24106 (exp_test_upward): Likewise.
24107 (exp10_test_data): Update call to AUTO_TESTS_f_f.
24108 (exp10_test): Use ALL_RM_TEST.
24109 (exp10_tonearest_test_data): Remove.
24110 (exp10_test_tonearest): Likewise.
24111 (exp10_towardzero_test_data): Likewise.
24112 (exp10_test_towardzero): Likewise.
24113 (exp10_downward_test_data): Likewise.
24114 (exp10_test_downward): Likewise.
24115 (exp10_upward_test_data): Likewise.
24116 (exp10_test_upward): Likewise.
24117 (exp2_test_data): Update call to AUTO_TESTS_f_f.
24118 (expm1_test_data): Likewise.
24119 (expm1_test): Use ALL_RM_TEST.
24120 (expm1_tonearest_test_data): Remove.
24121 (expm1_test_tonearest): Likewise.
24122 (expm1_towardzero_test_data): Likewise.
24123 (expm1_test_towardzero): Likewise.
24124 (expm1_downward_test_data): Likewise.
24125 (expm1_test_downward): Likewise.
24126 (expm1_upward_test_data): Likewise.
24127 (expm1_test_upward): Likewise.
24128 (fma_test_data): Update call to AUTO_TESTS_fff_f.
24129 (fma_test): Use ALL_RM_TEST.
24130 (fma_towardzero_test_data): Remove.
24131 (fma_test_towardzero): Likewise.
24132 (fma_downward_test_data): Likewise.
24133 (fma_test_downward): Likewise.
24134 (fma_upward_test_data): Likewise.
24135 (fma_test_upward): Likewise.
24136 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24137 (j0_test_data): Update call to AUTO_TESTS_f_f.
24138 (j1_test_data): Likewise.
24139 (jn_test_data): Update call to AUTO_TESTS_if_f.
24140 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24141 (log_test_data): Update call to AUTO_TESTS_f_f.
24142 (log10_test_data): Likewise.
24143 (log1p_test_data): Likewise.
24144 (log2_test_data): Likewise.
24145 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24146 (pow_tonearest_test_data): Likewise.
24147 (sin_test_data): Update call to AUTO_TESTS_f_f.
24148 (sin_test): Use ALL_RM_TEST.
24149 (sin_tonearest_test_data): Remove.
24150 (sin_test_tonearest): Likewise.
24151 (sin_towardzero_test_data): Likewise.
24152 (sin_test_towardzero): Likewise.
24153 (sin_downward_test_data): Likewise.
24154 (sin_test_downward): Likewise.
24155 (sin_upward_test_data): Likewise.
24156 (sin_test_upward): Likewise.
24157 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24158 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24159 (sinh_test): Use ALL_RM_TEST.
24160 (sinh_tonearest_test_data): Remove.
24161 (sinh_test_tonearest): Likewise.
24162 (sinh_towardzero_test_data): Likewise.
24163 (sinh_test_towardzero): Likewise.
24164 (sinh_downward_test_data): Likewise.
24165 (sinh_test_downward): Likewise.
24166 (sinh_upward_test_data): Likewise.
24167 (sinh_test_upward): Likewise.
24168 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24169 (sqrt_test): Use ALL_RM_TEST.
24170 (sqrt_tonearest_test_data): Remove.
24171 (sqrt_test_tonearest): Likewise.
24172 (sqrt_towardzero_test_data): Likewise.
24173 (sqrt_test_towardzero): Likewise.
24174 (sqrt_downward_test_data): Likewise.
24175 (sqrt_test_downward): Likewise.
24176 (sqrt_upward_test_data): Likewise.
24177 (sqrt_test_upward): Likewise.
24178 (tan_test_data): Update call to AUTO_TESTS_f_f.
24179 (tan_test): Use ALL_RM_TEST.
24180 (tan_tonearest_test_data): Remove.
24181 (tan_test_tonearest): Likewise.
24182 (tan_towardzero_test_data): Likewise.
24183 (tan_test_towardzero): Likewise.
24184 (tan_downward_test_data): Likewise.
24185 (tan_test_downward): Likewise.
24186 (tan_upward_test_data): Likewise.
24187 (tan_test_upward): Likewise.
24188 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24189 (tgamma_test_data): Likewise.
24190 (y0_test_data): Likewise.
24191 (y1_test_data): Likewise.
24192 (yn_test_data): Update call to AUTO_TESTS_if_f.
24193 (main): Do not call removed functions.
24194
24195 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24196
24197 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24198 (ldexp_test_data): Remove.
24199 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24200 scalbn_test_data.
24201 (scalb_test): Use ALL_RM_TEST.
24202
24203 2014-03-19 Andreas Schwab <schwab@suse.de>
24204
24205 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24206
24207 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24208
24209 [BZ #16649]
24210 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24212 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24213 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24214 (__ASSUME_PREADV): Undefine.
24215 (__ASSUME_PWRITEV): Likewise.
24216
24217 2014-03-18 Roland McGrath <roland@hack.frob.com>
24218
24219 * bits/mman-linux.h: Add comment about non-Linux use.
24220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24221 bits/mman-linux.h resting place.
24222
24223 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24224 * bits/mman-linux.h: ... here.
24225
24226 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24227
24228 * conform/conformtest.pl: Add standard definition when calling C
24229 preprocessor on data files.
24230 (checknamespace): Remove unused variable.
24231
24232 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24233
24234 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24235 minus_oflow, plus_uflow and minus_uflow in expected results.
24236 * math/libm-test.inc (scalbn_test_data): Add more tests of
24237 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
24238 minus_uflow.
24239 (scalbn_test): Use ALL_RM_TEST.
24240 (scalbln_test_data): Add more tests of negative arguments. Use
24241 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24242 (scalbln_test): Use ALL_RM_TEST.
24243
24244 2014-03-18 Roland McGrath <roland@hack.frob.com>
24245
24246 * scripts/abilist.awk: Ignore symbols marked with .hidden.
24247
24248 2014-03-18 Will Newton <will.newton@linaro.org>
24249
24250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24251 inaccurate comment.
24252
24253 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24254
24255 * Makerules [!subdir] (check-abi): Exit with error status if a
24256 test failed.
24257
24258 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24259
24260 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24261 for rint. Include results for all rounding modes.
24262 (nearbyint_test): Use ALL_RM_TEST.
24263 (rint_test_data): Include all tests used for nearbyint.
24264
24265 2014-03-17 Will Newton <will.newton@linaro.org>
24266
24267 * nptl/sysdeps/pthread/pthread.h: Revert previous
24268 change.
24269
24270 * sysdeps/generic/ldsodefs.h: Revert previous
24271 change.
24272
24273 * libio/genops.c: Revert previous change.
24274 * libio/libioP.h: Likewise.
24275 * stdio-common/vfprintf.c: Likewise.
24276
24277 * sysdeps/generic/math_private.h: Revert previous
24278 change.
24279
24280 * sysdeps/generic/math_private.h: Check whether
24281 HAVE_RM_CTX is defined with #ifdef rather
24282 than #if.
24283
24284 * argp/argp-fmtstream.h: Check whether
24285 __STRICT_ANSI__ is defined with #ifdef rather
24286 than #if.
24287 * argp/argp.h: Likewise.
24288
24289 * libio/genops.c: Check whether
24290 _IO_JUMPS_OFFSET is defined with #ifdef rather
24291 than #if.
24292 * libio/libioP.h: Likewise.
24293 * stdio-common/vfprintf.c: Likewise.
24294
24295 * sysdeps/generic/ldsodefs.h: Check whether
24296 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24297 than #if.
24298
24299 * nptl/sysdeps/pthread/pthread.h: Check
24300 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24301 its value.
24302
24303 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24304
24305 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24306 setting O_APPEND.
24307 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24308 test case.
24309
24310 [BZ #16680]
24311 * libio/fileops.c (_IO_file_open): Seek to end of file but
24312 don't cache the offset.
24313 (get_file_offset): Remove function.
24314 (do_ftell): Use cached offset when available.
24315 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24316 don't cache the offset.
24317 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24318 case.
24319 (do_one_test): Call it.
24320 (do_ftell_test): Fix up expected old offset for a+ mode.
24321 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24322 available.
24323
24324 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24325 up test status with function return status.
24326 (do_write_test): Likewise.
24327 (do_append_test): Likewise.
24328
24329 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24330 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24331 Remove.
24332
24333 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24334
24335 * math/gen-libm-test.pl (parse_args): Handle results specified for
24336 each rounding mode separately.
24337 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24338 tests and results from lrint_tonearest_test_data,
24339 lrint_towardzero_test_data, lrint_downward_test_data and
24340 lrint_upward_test_data.
24341 (lrint_test): Use ALL_RM_TEST.
24342 (lrint_tonearest_test_data): Remove.
24343 (lrint_test_tonearest): Likewise.
24344 (lrint_towardzero_test_data): Likewise.
24345 (lrint_test_towardzero): Likewise.
24346 (lrint_downward_test_data): Likewise.
24347 (lrint_test_downward): Likewise.
24348 (lrint_upward_test_data): Likewise.
24349 (lrint_test_upward): Likewise.
24350 (llrint_test_data): Merge in per-rounding-mode tests and results
24351 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24352 llrint_downward_test_data and llrint_upward_test_data.
24353 (llrint_test): Use ALL_RM_TEST.
24354 (llrint_tonearest_test_data): Remove.
24355 (llrint_test_tonearest): Likewise.
24356 (llrint_towardzero_test_data): Likewise.
24357 (llrint_test_towardzero): Likewise.
24358 (llrint_downward_test_data): Likewise.
24359 (llrint_test_downward): Likewise.
24360 (llrint_upward_test_data): Likewise.
24361 (llrint_test_upward): Likewise.
24362 (rint_test_data): Merge in per-rounding-mode tests and results
24363 from rint_tonearest_test_data, rint_towardzero_test_data,
24364 rint_downward_test_data and rint_upward_test_data. Add
24365 per-rounding-mode results for tests not in those arrays.
24366 (rint_test): Use ALL_RM_TEST.
24367 (rint_tonearest_test_data): Remove.
24368 (rint_test_tonearest): Likewise.
24369 (rint_towardzero_test_data): Likewise.
24370 (rint_test_towardzero): Likewise.
24371 (rint_downward_test_data): Likewise.
24372 (rint_test_downward): Likewise.
24373 (rint_upward_test_data): Likewise.
24374 (rint_test_upward): Likewise.
24375 (main): Don't call removed functions.
24376
24377 2014-03-14 Roland McGrath <roland@hack.frob.com>
24378
24379 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24380 "Compiled on ..." crapola. It is anti-useful.
24381
24382 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24383
24384 * scripts/evaluate-test.sh: Handle fourth argument to determine
24385 whether test run should stop on failure.
24386 * Makeconfig (stop-on-test-failure): New variable.
24387 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24388 $(stop-on-test-failure).
24389 * Makefile (tests): Give a summary of results from testing and
24390 exit with failure status if they include an ERROR or FAIL.
24391 (xtests): Likewise.
24392 * manual/install.texi (Configuring and compiling): Mention
24393 stop-on-test-failure=y.
24394 * INSTALL: Regenerated.
24395
24396 2014-03-14 Roland McGrath <roland@hack.frob.com>
24397
24398 * scripts/versionlist.awk: New file.
24399 * Makerules [$(build-shared) = yes]
24400 (postclean-generated): Add Versions.def, not Versions.def.v and
24401 Versions.def.v.i.
24402 ($(common-objpfx)Versions.def.v.i): Target removed.
24403 ($(common-objpfx)Versions.def): New target.
24404 ($(common-objpfx)Versions.all): Depend on that rather that
24405 $(common-objpfx)Versions.def.v.
24406 * Versions.def: File removed.
24407
24408 * Makeconfig (+gccwarn): Add -Wundef.
24409 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24410 a dl-sysdep.h breaking its contract.
24411 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24412 * include/stackinfo.h: New file.
24413 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24414 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24415 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24416 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24417 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24418 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24419 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24420 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24421 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24422 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24423 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24424 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24425 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24426 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24427 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24428
24429 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24430
24431 [BZ #16707]
24432 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24433 implementation.
24434 * math/libm-test.inc (round_test_data): Add more tests.
24435
24436 [BZ #16706]
24437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24438 implementation.
24439 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24440
24441 [BZ #16701]
24442 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24443 implementation.
24444 * math/libm-test.inc (ceil_test_data): Add more tests.
24445
24446 * math/libm-test.inc (trunc_test_data): Add more tests related to
24447 BZ#16414.
24448
24449 2014-03-14 Roland McGrath <roland@hack.frob.com>
24450
24451 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24452 with #if rather than #ifdef.
24453 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24454
24455 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24456
24457 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24458 first. Disable AVX-512 GCC support if assembler doesn't support
24459 it.
24460 * sysdeps/x86_64/configure: Regenerated.
24461
24462 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24463
24464 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24465 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24466 (__old_pthread_attr_setstack): Likewise.
24467 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24468 [!_STACK_GROWS_DOWN]: Likewise.
24469
24470 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24471
24472 * config.make.in (have-bash2): Delete.
24473 * configure.ac (libc_cv_have_bash2): Delete.
24474 * configure: Regenerate.
24475 * elf/Makefile (common-ldd-rewrite): Rename to ...
24476 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24477 (sh-ldd-rewrite): Delete.
24478 (bash-ldd-rewrite): Delete.
24479 (have-bash2): Delete checks.
24480 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24481 ldd-rewrite.
24482
24483 * config.make.in (have-ksh): Delete.
24484 (KSH): Delete.
24485 * configure.ac (libc_cv_have_ksh): Delete.
24486 * configure: Regenerate.
24487
24488 * elf/Makefile: Delete $(have-ksh) check.
24489 ($(objpfx)sotruss): Change KSH to BASH.
24490 * elf/sotruss.ksh: Rename to ...
24491 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24492 function style to match POSIX. Drop ksh vim mode setting.
24493
24494 * manual/time.texi (Specifying the Time Zone with TZ): Change
24495 Tuesday to Thursday.
24496
24497 * debug/tst-longjmp_chk2.c: Update header comment.
24498 (stackoverflow_handler): Add comment. Call assert on pass value.
24499
24500 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24501
24502 [BZ #16194]
24503 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24504 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24505 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24506 (La_x86_64_vector): Add zmm.
24507 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24508 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24509 ($(objpfx)tst-audit10): New target.
24510 ($(objpfx)tst-audit10.out): Likewise.
24511 (tst-audit10-ENV): New.
24512 (AVX512-CFLAGS): Likewise.
24513 (CFLAGS-tst-audit10.c): Likewise.
24514 (CFLAGS-tst-auditmod10a.c): Likewise.
24515 (CFLAGS-tst-auditmod10b.c): Likewise.
24516 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24517 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24518 * sysdeps/x86_64/configure: Regenerated.
24519 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24520 AVX-512 zmm register support.
24521 (_dl_x86_64_save_sse): Likewise.
24522 (_dl_x86_64_restore_sse): Likewise.
24523 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24524 size vector registers.
24525 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24526 (ZMM_SIZE): Likewise.
24527 * sysdeps/x86_64/tst-audit10.c: New file.
24528 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24529 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24530
24531 2014-03-13 Roland McGrath <roland@hack.frob.com>
24532
24533 * configure.ac (HAVE_EHDR_START): New check.
24534 * configure: Regenerated.
24535 * config.h.in (HAVE_EHDR_START): New #undef.
24536 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24537 assuming the lowest-addressed segment maps the start of the file.
24538
24539 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24540
24541 * INSTALL: Regenerated.
24542
24543 2014-03-13 Will Newton <will.newton@linaro.org>
24544
24545 * manual/setjmp.texi (System V contexts): Improve
24546 clarity and grammar of documentation.
24547
24548 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24549
24550 [BZ #16381]
24551 * elf/Makefile (tests): Add tst-pie2.
24552 (tests-pie): Add tst-pie2.
24553 * elf/tst-pie2.c: New file.
24554 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24555 for ET_EXEC.
24556 * elf/rtld.c (map_doit): Load executable as lt_executable.
24557 (dl_main): Likewise.
24558
24559 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24560
24561 [BZ #16642]
24562 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24563 (__ASSUME_PSELECT): Undefine.
24564
24565 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24566
24567 [BZ #16689]
24568 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24569 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24570 static build.
24571 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24572 selector for static builds.
24573
24574 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24575
24576 [BZ #16695]
24577 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24578 key in the buffer.
24579
24580 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24581
24582 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24583 IFUNC selector for static builds.
24584
24585 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24586
24587 * sysdeps/mips/math_private.h [__mips_hard_float]
24588 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24589 libc_feresetround_mips_ctx.
24590 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24591 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24592 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24593
24594 [BZ #16677]
24595 * math/s_nextafter.c (__nextafter): Do not return value from
24596 overflowing computation.
24597 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24598 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24599 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24600 Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24602 Likewise.
24603 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24604 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24605
24606 2014-03-11 Roland McGrath <roland@hack.frob.com>
24607
24608 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24609 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24610 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24611 the new mov targetting sp.
24612
24613 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24614
24615 [BZ #16683]
24616 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24617 Define it for static builds as well.
24618 (NO_BZERO_IMPL): Likewise.
24619
24620 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24621
24622 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24623 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24624 multiarch strspn for PPC64.
24625 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24626 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24628 (__libc_ifunc_impl_list): Likewise.
24629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24630 multiarch optimizations
24631 * string/strspn.c (strspn): Using macro to redefine symbol name.
24632
24633 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24634 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24635
24636 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24637 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24638 multiarch strncat for PPC64.
24639 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24640 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24642 (__libc_ifunc_impl_list): Likewise.
24643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24644 multiarch optimizations
24645
24646 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24647
24648 [BZ #16639]
24649 * nscd/nscd.service: Make service type forking.
24650
24651 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24652
24653 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24654 sign in non default rounding modes.
24655 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24656
24657 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24658
24659 * math/libm-test.inc (ALL_RM_TEST): New macro.
24660 (ceil_test): Use ALL_RM_TEST.
24661 (cimag_test): Likewise.
24662 (conj_test): Likewise.
24663 (copysign_test): Likewise.
24664 (cproj_test): Likewise.
24665 (creal_test): Likewise.
24666 (fabs_test): Likewise.
24667 (floor_test): Likewise.
24668 (fmax_test): Likewise.
24669 (fmin_test): Likewise.
24670 (fmod_test): Likewise.
24671 (fpclassify_test): Likewise.
24672 (frexp_test): Likewise.
24673 (ilogb_test): Likewise.
24674 (isfinite_test): Likewise.
24675 (finite_test): Likewise.
24676 (isgreater_test): Likewise.
24677 (isgreaterequal_test): Likewise.
24678 (isinf_test): Likewise.
24679 (isless_test): Likewise.
24680 (islessequal_test): Likewise.
24681 (islessgreater_test): Likewise.
24682 (isnan_test): Likewise.
24683 (isnormal_test): Likewise.
24684 (issignaling_test): Likewise.
24685 (isunordered_test): Likewise.
24686 (logb_test): Likewise.
24687 (logb_downward_test_data): Remove.
24688 (logb_test_downward): Likewise.
24689 (lround_test): Use ALL_RM_TEST.
24690 (llround_test): Likewise.
24691 (modf_test): Likewise.
24692 (nexttoward_test): Likewise.
24693 (remainder_test): Likewise.
24694 (drem_test): Likewise.
24695 (remainder_tonearest_test_data): Likewise.
24696 (remainder_test_tonearest): Likewise.
24697 (drem_test_tonearest): Likewise.
24698 (remainder_towardzero_test_data): Likewise.
24699 (remainder_test_towardzero): Likewise.
24700 (drem_test_towardzero): Likewise.
24701 (remainder_downward_test_data): Likewise.
24702 (remainder_test_downward): Likewise.
24703 (drem_test_downward): Likewise.
24704 (remainder_upward_test_data): Likewise.
24705 (remainder_test_upward): Likewise.
24706 (drem_test_upward): Likewise.
24707 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24708 (round_test): Use ALL_RM_TEST.
24709 (signbit_test): Likewise.
24710 (trunc_test): Likewise.
24711 (significand_test): Likewise.
24712 (main): Don't call removed functions.
24713
24714 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24715
24716 [BZ #16674]
24717 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24718 || __USE_XOPEN2K8].
24719 (ILL_ILLOPN): Likewise.
24720 (ILL_ILLADR): Likewise.
24721 (ILL_ILLTRP): Likewise.
24722 (ILL_PRVOPC): Likewise.
24723 (ILL_PRVREG): Likewise.
24724 (ILL_COPROC): Likewise.
24725 (ILL_BADSTK): Likewise.
24726 (FPE_INTDIV): Likewise.
24727 (FPE_INTOVF): Likewise.
24728 (FPE_FLTDIV): Likewise.
24729 (FPE_FLTOVF): Likewise.
24730 (FPE_FLTUND): Likewise.
24731 (FPE_FLTRES): Likewise.
24732 (FPE_FLTINV): Likewise.
24733 (FPE_FLTSUB): Likewise.
24734 (SEGV_MAPERR): Likewise.
24735 (SEGV_ACCERR): Likewise.
24736 (BUS_ADRALN): Likewise.
24737 (BUS_ADRERR): Likewise.
24738 (BUS_OBJERR): Likewise.
24739 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24740 (TRAP_TRACE): Likewise.
24741 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24742 __USE_XOPEN2K8].
24743 (CLD_KILLED): Likewise.
24744 (CLD_DUMPED): Likewise.
24745 (CLD_TRAPPED): Likewise.
24746 (CLD_STOPPED): Likewise.
24747 (CLD_CONTINUED): Likewise.
24748 (POLL_IN): Likewise.
24749 (POLL_OUT): Likewise.
24750 (POLL_MSG): Likewise.
24751 (POLL_ERR): Likewise.
24752 (POLL_PRI): Likewise.
24753 (POLL_HUP): Likewise.
24754 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24755 Likewise.
24756 (ILL_ILLOPN): Likewise.
24757 (ILL_ILLADR): Likewise.
24758 (ILL_ILLTRP): Likewise.
24759 (ILL_PRVOPC): Likewise.
24760 (ILL_PRVREG): Likewise.
24761 (ILL_COPROC): Likewise.
24762 (ILL_BADSTK): Likewise.
24763 (FPE_INTDIV): Likewise.
24764 (FPE_INTOVF): Likewise.
24765 (FPE_FLTDIV): Likewise.
24766 (FPE_FLTOVF): Likewise.
24767 (FPE_FLTUND): Likewise.
24768 (FPE_FLTRES): Likewise.
24769 (FPE_FLTINV): Likewise.
24770 (FPE_FLTSUB): Likewise.
24771 (SEGV_MAPERR): Likewise.
24772 (SEGV_ACCERR): Likewise.
24773 (BUS_ADRALN): Likewise.
24774 (BUS_ADRERR): Likewise.
24775 (BUS_OBJERR): Likewise.
24776 (BUS_MCEERR_AR): Likewise.
24777 (BUS_MCEERR_AO): Likewise.
24778 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24779 (TRAP_TRACE): Likewise.
24780 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24781 __USE_XOPEN2K8].
24782 (CLD_KILLED): Likewise.
24783 (CLD_DUMPED): Likewise.
24784 (CLD_TRAPPED): Likewise.
24785 (CLD_STOPPED): Likewise.
24786 (CLD_CONTINUED): Likewise.
24787 (POLL_IN): Likewise.
24788 (POLL_OUT): Likewise.
24789 (POLL_MSG): Likewise.
24790 (POLL_ERR): Likewise.
24791 (POLL_PRI): Likewise.
24792 (POLL_HUP): Likewise.
24793 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24794 (ILL_ILLOPN): Likewise.
24795 (ILL_ILLADR): Likewise.
24796 (ILL_ILLTRP): Likewise.
24797 (ILL_PRVOPC): Likewise.
24798 (ILL_PRVREG): Likewise.
24799 (ILL_COPROC): Likewise.
24800 (ILL_BADSTK): Likewise.
24801 (FPE_INTDIV): Likewise.
24802 (FPE_INTOVF): Likewise.
24803 (FPE_FLTDIV): Likewise.
24804 (FPE_FLTOVF): Likewise.
24805 (FPE_FLTUND): Likewise.
24806 (FPE_FLTRES): Likewise.
24807 (FPE_FLTINV): Likewise.
24808 (FPE_FLTSUB): Likewise.
24809 (SEGV_MAPERR): Likewise.
24810 (SEGV_ACCERR): Likewise.
24811 (BUS_ADRALN): Likewise.
24812 (BUS_ADRERR): Likewise.
24813 (BUS_OBJERR): Likewise.
24814 (BUS_MCEERR_AR): Likewise.
24815 (BUS_MCEERR_AO): Likewise.
24816 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24817 (TRAP_TRACE): Likewise.
24818 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24819 __USE_XOPEN2K8].
24820 (CLD_KILLED): Likewise.
24821 (CLD_DUMPED): Likewise.
24822 (CLD_TRAPPED): Likewise.
24823 (CLD_STOPPED): Likewise.
24824 (CLD_CONTINUED): Likewise.
24825 (POLL_IN): Likewise.
24826 (POLL_OUT): Likewise.
24827 (POLL_MSG): Likewise.
24828 (POLL_ERR): Likewise.
24829 (POLL_PRI): Likewise.
24830 (POLL_HUP): Likewise.
24831 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24832 Likewise.
24833 (ILL_ILLOPN): Likewise.
24834 (ILL_ILLADR): Likewise.
24835 (ILL_ILLTRP): Likewise.
24836 (ILL_PRVOPC): Likewise.
24837 (ILL_PRVREG): Likewise.
24838 (ILL_COPROC): Likewise.
24839 (ILL_BADSTK): Likewise.
24840 (ILL_BADIADDR): Likewise.
24841 (ILL_BREAK): Likewise.
24842 (FPE_INTDIV): Likewise.
24843 (FPE_INTOVF): Likewise.
24844 (FPE_FLTDIV): Likewise.
24845 (FPE_FLTOVF): Likewise.
24846 (FPE_FLTUND): Likewise.
24847 (FPE_FLTRES): Likewise.
24848 (FPE_FLTINV): Likewise.
24849 (FPE_FLTSUB): Likewise.
24850 (FPE_DECOVF): Likewise.
24851 (FPE_DECDIV): Likewise.
24852 (FPE_DECERR): Likewise.
24853 (FPE_INVASC): Likewise.
24854 (FPE_INVDEC): Likewise.
24855 (SEGV_MAPERR): Likewise.
24856 (SEGV_ACCERR): Likewise.
24857 (SEGV_PSTKOVF): Likewise.
24858 (BUS_ADRALN): Likewise.
24859 (BUS_ADRERR): Likewise.
24860 (BUS_OBJERR): Likewise.
24861 (BUS_MCEERR_AR): Likewise.
24862 (BUS_MCEERR_AO): Likewise.
24863 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24864 (TRAP_TRACE): Likewise.
24865 (TRAP_BRANCH): Likewise.
24866 (TRAP_HWBKPT): Likewise.
24867 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24868 __USE_XOPEN2K8].
24869 (CLD_KILLED): Likewise.
24870 (CLD_DUMPED): Likewise.
24871 (CLD_TRAPPED): Likewise.
24872 (CLD_STOPPED): Likewise.
24873 (CLD_CONTINUED): Likewise.
24874 (POLL_IN): Likewise.
24875 (POLL_OUT): Likewise.
24876 (POLL_MSG): Likewise.
24877 (POLL_ERR): Likewise.
24878 (POLL_PRI): Likewise.
24879 (POLL_HUP): Likewise.
24880 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24881 (ILL_ILLOPN): Likewise.
24882 (ILL_ILLADR): Likewise.
24883 (ILL_ILLTRP): Likewise.
24884 (ILL_PRVOPC): Likewise.
24885 (ILL_PRVREG): Likewise.
24886 (ILL_COPROC): Likewise.
24887 (ILL_BADSTK): Likewise.
24888 (FPE_INTDIV): Likewise.
24889 (FPE_INTOVF): Likewise.
24890 (FPE_FLTDIV): Likewise.
24891 (FPE_FLTOVF): Likewise.
24892 (FPE_FLTUND): Likewise.
24893 (FPE_FLTRES): Likewise.
24894 (FPE_FLTINV): Likewise.
24895 (FPE_FLTSUB): Likewise.
24896 (SEGV_MAPERR): Likewise.
24897 (SEGV_ACCERR): Likewise.
24898 (BUS_ADRALN): Likewise.
24899 (BUS_ADRERR): Likewise.
24900 (BUS_OBJERR): Likewise.
24901 (BUS_MCEERR_AR): Likewise.
24902 (BUS_MCEERR_AO): Likewise.
24903 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24904 (TRAP_TRACE): Likewise.
24905 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24906 __USE_XOPEN2K8].
24907 (CLD_KILLED): Likewise.
24908 (CLD_DUMPED): Likewise.
24909 (CLD_TRAPPED): Likewise.
24910 (CLD_STOPPED): Likewise.
24911 (CLD_CONTINUED): Likewise.
24912 (POLL_IN): Likewise.
24913 (POLL_OUT): Likewise.
24914 (POLL_MSG): Likewise.
24915 (POLL_ERR): Likewise.
24916 (POLL_PRI): Likewise.
24917 (POLL_HUP): Likewise.
24918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24919 (ILL_ILLOPN): Likewise.
24920 (ILL_ILLADR): Likewise.
24921 (ILL_ILLTRP): Likewise.
24922 (ILL_PRVOPC): Likewise.
24923 (ILL_PRVREG): Likewise.
24924 (ILL_COPROC): Likewise.
24925 (ILL_BADSTK): Likewise.
24926 (FPE_INTDIV): Likewise.
24927 (FPE_INTOVF): Likewise.
24928 (FPE_FLTDIV): Likewise.
24929 (FPE_FLTOVF): Likewise.
24930 (FPE_FLTUND): Likewise.
24931 (FPE_FLTRES): Likewise.
24932 (FPE_FLTINV): Likewise.
24933 (FPE_FLTSUB): Likewise.
24934 (SEGV_MAPERR): Likewise.
24935 (SEGV_ACCERR): Likewise.
24936 (BUS_ADRALN): Likewise.
24937 (BUS_ADRERR): Likewise.
24938 (BUS_OBJERR): Likewise.
24939 (BUS_MCEERR_AR): Likewise.
24940 (BUS_MCEERR_AO): Likewise.
24941 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24942 (TRAP_TRACE): Likewise.
24943 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24944 __USE_XOPEN2K8].
24945 (CLD_KILLED): Likewise.
24946 (CLD_DUMPED): Likewise.
24947 (CLD_TRAPPED): Likewise.
24948 (CLD_STOPPED): Likewise.
24949 (CLD_CONTINUED): Likewise.
24950 (POLL_IN): Likewise.
24951 (POLL_OUT): Likewise.
24952 (POLL_MSG): Likewise.
24953 (POLL_ERR): Likewise.
24954 (POLL_PRI): Likewise.
24955 (POLL_HUP): Likewise.
24956 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24957 (ILL_ILLOPN): Likewise.
24958 (ILL_ILLADR): Likewise.
24959 (ILL_ILLTRP): Likewise.
24960 (ILL_PRVOPC): Likewise.
24961 (ILL_PRVREG): Likewise.
24962 (ILL_COPROC): Likewise.
24963 (ILL_BADSTK): Likewise.
24964 (FPE_INTDIV): Likewise.
24965 (FPE_INTOVF): Likewise.
24966 (FPE_FLTDIV): Likewise.
24967 (FPE_FLTOVF): Likewise.
24968 (FPE_FLTUND): Likewise.
24969 (FPE_FLTRES): Likewise.
24970 (FPE_FLTINV): Likewise.
24971 (FPE_FLTSUB): Likewise.
24972 (SEGV_MAPERR): Likewise.
24973 (SEGV_ACCERR): Likewise.
24974 (BUS_ADRALN): Likewise.
24975 (BUS_ADRERR): Likewise.
24976 (BUS_OBJERR): Likewise.
24977 (BUS_MCEERR_AR): Likewise.
24978 (BUS_MCEERR_AO): Likewise.
24979 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24980 (TRAP_TRACE): Likewise.
24981 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24982 __USE_XOPEN2K8].
24983 (CLD_KILLED): Likewise.
24984 (CLD_DUMPED): Likewise.
24985 (CLD_TRAPPED): Likewise.
24986 (CLD_STOPPED): Likewise.
24987 (CLD_CONTINUED): Likewise.
24988 (POLL_IN): Likewise.
24989 (POLL_OUT): Likewise.
24990 (POLL_MSG): Likewise.
24991 (POLL_ERR): Likewise.
24992 (POLL_PRI): Likewise.
24993 (POLL_HUP): Likewise.
24994 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24995 (ILL_ILLOPN): Likewise.
24996 (ILL_ILLADR): Likewise.
24997 (ILL_ILLTRP): Likewise.
24998 (ILL_PRVOPC): Likewise.
24999 (ILL_PRVREG): Likewise.
25000 (ILL_COPROC): Likewise.
25001 (ILL_BADSTK): Likewise.
25002 (ILL_DBLFLT): Likewise.
25003 (ILL_HARDWALL): Likewise.
25004 (FPE_INTDIV): Likewise.
25005 (FPE_INTOVF): Likewise.
25006 (FPE_FLTDIV): Likewise.
25007 (FPE_FLTOVF): Likewise.
25008 (FPE_FLTUND): Likewise.
25009 (FPE_FLTRES): Likewise.
25010 (FPE_FLTINV): Likewise.
25011 (FPE_FLTSUB): Likewise.
25012 (SEGV_MAPERR): Likewise.
25013 (SEGV_ACCERR): Likewise.
25014 (BUS_ADRALN): Likewise.
25015 (BUS_ADRERR): Likewise.
25016 (BUS_OBJERR): Likewise.
25017 (BUS_MCEERR_AR): Likewise.
25018 (BUS_MCEERR_AO): Likewise.
25019 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25020 (TRAP_TRACE): Likewise.
25021 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25022 __USE_XOPEN2K8].
25023 (CLD_KILLED): Likewise.
25024 (CLD_DUMPED): Likewise.
25025 (CLD_TRAPPED): Likewise.
25026 (CLD_STOPPED): Likewise.
25027 (CLD_CONTINUED): Likewise.
25028 (POLL_IN): Likewise.
25029 (POLL_OUT): Likewise.
25030 (POLL_MSG): Likewise.
25031 (POLL_ERR): Likewise.
25032 (POLL_PRI): Likewise.
25033 (POLL_HUP): Likewise.
25034 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25035 (ILL_ILLOPN): Likewise.
25036 (ILL_ILLADR): Likewise.
25037 (ILL_ILLTRP): Likewise.
25038 (ILL_PRVOPC): Likewise.
25039 (ILL_PRVREG): Likewise.
25040 (ILL_COPROC): Likewise.
25041 (ILL_BADSTK): Likewise.
25042 (FPE_INTDIV): Likewise.
25043 (FPE_INTOVF): Likewise.
25044 (FPE_FLTDIV): Likewise.
25045 (FPE_FLTOVF): Likewise.
25046 (FPE_FLTUND): Likewise.
25047 (FPE_FLTRES): Likewise.
25048 (FPE_FLTINV): Likewise.
25049 (FPE_FLTSUB): Likewise.
25050 (SEGV_MAPERR): Likewise.
25051 (SEGV_ACCERR): Likewise.
25052 (BUS_ADRALN): Likewise.
25053 (BUS_ADRERR): Likewise.
25054 (BUS_OBJERR): Likewise.
25055 (BUS_MCEERR_AR): Likewise.
25056 (BUS_MCEERR_AO): Likewise.
25057 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25058 (TRAP_TRACE): Likewise.
25059 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25060 __USE_XOPEN2K8].
25061 (CLD_KILLED): Likewise.
25062 (CLD_DUMPED): Likewise.
25063 (CLD_TRAPPED): Likewise.
25064 (CLD_STOPPED): Likewise.
25065 (CLD_CONTINUED): Likewise.
25066 (POLL_IN): Likewise.
25067 (POLL_OUT): Likewise.
25068 (POLL_MSG): Likewise.
25069 (POLL_ERR): Likewise.
25070 (POLL_PRI): Likewise.
25071 (POLL_HUP): Likewise.
25072 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25073 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25074
25075 [BZ #16670]
25076 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25077 before #include of <time.h>.
25078 [!__USE_XOPEN2K] (__need_timespec): Likewise.
25079 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25080 (test-xfail-UNIX98/sched.h/conform): Likewise.
25081
25082 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
25083
25084 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25085 error absence of trapping exception support.
25086 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25087
25088 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25089
25090 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25091 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25092 * timezone/Makefile (testdata): Move definition above include of
25093 Rules.
25094 (test-zones): New variable.
25095 (tests-special): Add zone files.
25096 (build-testdata): Use $(evaluate-test).
25097
25098 * elf/Makefile (tests-special): Rename tests to end with .out.
25099 ($(objpfx)noload-mem): Likewise.
25100 ($(objpfx)tst-leaks1-mem): Likewise.
25101 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25102 * iconv/Makefile (xtests-special): Change test-iconvconfig to
25103 $(objpfx)test-iconvconfig.out.
25104 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
25105 set -e inside subshell and redirect output to file.
25106 * iconvdata/Makefile (generated): Rename tests to end with .out.
25107 Correct type.
25108 (tests-special): Rename tests to end with .out.
25109 ($(objpfx)mtrace-tst-loading): Likewise.
25110 * intl/Makefile (generated): Likewise.
25111 (tests-special): Likewise.
25112 ($(objpfx)mtrace-tst-gettext): Likewise.
25113 * misc/Makefile (generated): Likewise.
25114 (tests-special): Likewise.
25115 ($(objpfx)tst-error1-mem): Likewise.
25116 * nptl/Makefile (tests-special): Likewise.
25117 ($(objpfx)tst-stack3-mem): Likewise.
25118 (generated): Likewise.
25119 * posix/Makefile (generated): Likewise.
25120 (tests-special): Likewise.
25121 (xtests-special): Likewise.
25122 ($(objpfx)tst-fnmatch-mem): Likewise.
25123 ($(objpfx)bug-regex2-mem): Likewise.
25124 ($(objpfx)bug-regex14-mem): Likewise.
25125 ($(objpfx)bug-regex21-mem): Likewise.
25126 ($(objpfx)bug-regex31-mem): Likewise.
25127 ($(objpfx)tst-vfork3-mem): Likewise.
25128 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25129 ($(objpfx)tst-pcre-mem): Likewise.
25130 ($(objpfx)tst-boost-mem): Likewise.
25131 ($(objpfx)bug-ga2-mem): Likewise.
25132 ($(objpfx)bug-glob2-mem): Likewise.
25133 * resolv/Makefile (generate): Likewise.
25134 (tests-special): Likewise.
25135 (xtests-special): Likewise.
25136 (generated): Likewise.
25137 ($(objpfx)mtrace-tst-leaks): Likewise.
25138 ($(objpfx)mtrace-tst-leaks2): Likewise.
25139
25140 * scripts/merge-test-results.sh: New file.
25141 * Makefile (tests-special-notdir): New variable.
25142 (tests): Run merge-test-results.sh.
25143 (xtests): Likewise.
25144 * Rules (tests-special-notdir): New variable.
25145 (xtests-special-notdir): Likewise.
25146 (tests): Run merge-test-results.sh
25147 (xtests): Likewise.
25148
25149 * Makeconfig (test-xfail-name): New variable.
25150 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25151 compute variable name for expected failures.
25152 * conform/Makefile (conformtest-headers-data): New variable.
25153 (conformtest-standards): Likewise.
25154 (conformtest-headers-ISO): Likewise.
25155 (conformtest-headers-ISO99): Likewise.
25156 (conformtest-headers-ISO11): Likewise.
25157 (conformtest-headers-POSIX): Likewise.
25158 (conformtest-headers-XPG3): Likewise.
25159 (conformtest-headers-XPG4): Likewise.
25160 (conformtest-headers-UNIX98): Likewise.
25161 (conformtest-headers-XOPEN2K): Likewise.
25162 (conformtest-headers-POSIX2008): Likewise.
25163 (conformtest-headers-XOPEN2K8): Likewise.
25164 (conformtest-header-list-base): Likewise.
25165 (conformtest-header-list-tests): Likewise.
25166 (conformtest-header-base): Likewise.
25167 (conformtest-header-tests): Likewise.
25168 (tests-special): Add $(conformtest-header-list-tests). If
25169 [$(fast-check) && !$(cross-compiling)], add
25170 $(conformtest-header-tests) instead of
25171 $(objpfx)run-conformtest.out.
25172 (generated): Add $(conformtest-header-list-base). If
25173 [$(fast-check) && !$(cross-compiling)], add
25174 $(conformtest-header-base). Remove previous setting.
25175 ($(conformtest-header-list-tests)): New target.
25176 (test-xfail-run-conformtest): Remove variable.
25177 ($(objpfx)run-conformtest.out): Remove target.
25178 (test-xfail-ISO11/complex.h/conform): New variable.
25179 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25180 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25181 (test-xfail-XPG3/varargs.h/conform): Likewise.
25182 (test-xfail-XPG4/varargs.h/conform): Likewise.
25183 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25184 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25185 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25186 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25187 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25188 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25189 (test-xfail-XPG3/ftw.h/conform): Likewise.
25190 (test-xfail-XPG3/grp.h/conform): Likewise.
25191 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25192 (test-xfail-XPG3/limits.h/conform): Likewise.
25193 (test-xfail-XPG3/pwd.h/conform): Likewise.
25194 (test-xfail-XPG3/search.h/conform): Likewise.
25195 (test-xfail-XPG3/signal.h/conform): Likewise.
25196 (test-xfail-XPG3/stdio.h/conform): Likewise.
25197 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25198 (test-xfail-XPG3/string.h/conform): Likewise.
25199 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25200 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25201 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25202 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25203 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25204 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25205 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25206 (test-xfail-XPG3/termios.h/conform): Likewise.
25207 (test-xfail-XPG3/time.h/conform): Likewise.
25208 (test-xfail-XPG3/unistd.h/conform): Likewise.
25209 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25210 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25211 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25212 (test-xfail-XPG4/netdb.h/conform): Likewise.
25213 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25214 (test-xfail-XPG4/signal.h/conform): Likewise.
25215 (test-xfail-XPG4/stdio.h/conform): Likewise.
25216 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25217 (test-xfail-XPG4/stropts.h/conform): Likewise.
25218 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25219 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25220 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25221 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25222 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25223 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25224 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25225 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25226 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25227 (test-xfail-XPG4/termios.h/conform): Likewise.
25228 (test-xfail-XPG4/ucontext.h/conform): Likewise.
25229 (test-xfail-XPG4/unistd.h/conform): Likewise.
25230 (test-xfail-XPG4/utmpx.h/conform): Likewise.
25231 (test-xfail-POSIX/sched.h/conform): Likewise.
25232 (test-xfail-POSIX/signal.h/conform): Likewise.
25233 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25234 (test-xfail-POSIX/tar.h/conform): Likewise.
25235 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25236 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25237 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25238 (test-xfail-UNIX98/netdb.h/conform): Likewise.
25239 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25240 (test-xfail-UNIX98/sched.h/conform): Likewise.
25241 (test-xfail-UNIX98/signal.h/conform): Likewise.
25242 (test-xfail-UNIX98/stdio.h/conform): Likewise.
25243 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25244 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25245 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25246 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25247 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25248 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25249 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25250 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25251 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25252 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25253 (test-xfail-UNIX98/unistd.h/conform): Likewise.
25254 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25255 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25256 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25257 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25258 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25259 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25260 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25261 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25262 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25263 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25264 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25265 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25266 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25267 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25268 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25269 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25270 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25271 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25272 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25273 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25274 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25275 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25276 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25277 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25278 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25279 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25280 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25281 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25282 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25283 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25284 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25285 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25286 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25287 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25288 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25289 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25290 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25291 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25292 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25293 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25294 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25295 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25296 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25297 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25298 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25299 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25300 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25301 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25302 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25303 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25304 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25305 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25306 (conformtest-cc-flags): Likewise.
25307 ($(conformtest-header-tests): New target.
25308 * conform/check-header-lists.sh: New file.
25309 * conform/run-conformtest.sh: Remove.
25310
25311 * conform/conformtest.pl: Allow ' and \ in values given for
25312 constants.
25313 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25314 inclusion.
25315 [POSIX] (sys/types.h): Likewise.
25316 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25317 inclusion.
25318 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25319 inclusion.
25320 * conform/data/signal.h-data (SIGIO): Remove expectation.
25321 [XPG3] (SIGBUS): Do not expect.
25322 [POSIX || XPG3] (SIGPOLL): Likewise.
25323 [POSIX || XPG3] (SIGPROF): Likewise.
25324 [POSIX || XPG3] (SIGSYS): Likewise.
25325 [XPG3] (SIGTRAP): Likewise.
25326 [POSIX || XPG3] (SIGURG): Likewise.
25327 [POSIX || XPG3] (SIGVTALRM): Likewise.
25328 [POSIX || XPG3] (SIGXCPU): Likewise.
25329 [POSIX || XPG3] (SIGXFSZ): Likewise.
25330 [POSIX] (SA_SIGINFO): Expect.
25331 [XPG3] (siginfo_t): Do not expect type or contents.
25332 [POSIX] (si_pid): Do not expect element.
25333 [POSIX] (si_uid): Likewise.
25334 [POSIX] (si_addr): Likewise.
25335 [POSIX] (si_status): Likewise.
25336 [POSIX] (si_band): Likewise.
25337 [XPG4] (si_value): Likewise.
25338 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25339 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25340 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25341 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25342 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25343 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25344 [POSIX || XPG3] (ILL_COPROC): Likewise.
25345 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25346 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25347 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25348 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25349 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25350 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25351 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25352 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25353 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25354 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25355 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25356 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25357 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25358 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25359 [POSIX || XPG3] (CLD_EXITED): Likewise.
25360 [POSIX || XPG3] (CLD_KILLED): Likewise.
25361 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25362 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25363 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25364 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25365 [POSIX || XPG3] (POLL_IN): Likewise.
25366 [POSIX || XPG3] (POLL_OUT): Likewise.
25367 [POSIX || XPG3] (POLL_MSG): Likewise.
25368 [POSIX || XPG3] (POLL_ERR): Likewise.
25369 [POSIX || XPG3] (POLL_PRI): Likewise.
25370 [POSIX || XPG3] (POLL_HUP): Likewise.
25371 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25372 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25373 (SIG*): Do not allow.
25374 [XPG3] (si_*): Likewise.
25375 [XPG3] (SI_*): Likewise.
25376 [XPG3 || XPG4] (sigev_*): Likewise.
25377 [XPG3 || XPG4] (SIGEV_*): Likewise.
25378 [XPG3 || XPG4] (sival_*): Likewise.
25379 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25380 [POSIX || XPG3] (BUS_*): Likewise.
25381 [POSIX || XPG3] (CLD_*): Likewise.
25382 [POSIX || XPG3] (FPE_*): Likewise.
25383 [POSIX || XPG3] (ILL_*): Likewise.
25384 [POSIX || XPG3] (POLL_*): Likewise.
25385 [POSIX || XPG3] (SEGV_*): Likewise.
25386 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25387 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25388 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25389 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25390 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25391 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25392 Specify type and value.
25393 (TVERSLEN): Likewise.
25394 (REGTYPE): Likewise.
25395 (AREGTYPE): Likewise.
25396 (LNKTYPE): Likewise.
25397 (SYMTYPE): Likewise.
25398 (CHRTYPE): Likewise.
25399 (BLKTYPE): Likewise.
25400 (DIRTYPE): Likewise.
25401 (FIFOTYPE): Likewise.
25402 (CONTTYPE): Likewise.
25403 (TSUID): Likewise.
25404 (TSGID): Likewise.
25405 (TSVTX): Likewise.
25406 (TUREAD): Likewise.
25407 (TUWRITE): Likewise.
25408 (TUEXEC): Likewise.
25409 (TGREAD): Likewise.
25410 (TGWRITE): Likewise.
25411 (TGEXEC): Likewise.
25412 (TOREAD): Likewise.
25413 (TOWRITE): Likewise.
25414 (TOEXEC): Likewise.
25415 [POSIX] (TSVTX): Expect constant.
25416
25417 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25418
25419 * Makefile (tests): Change dependencies to ....
25420 (tests-special): ... additions to this variable.
25421 (tests): Depend on $(tests-special).
25422 * Makerules (check-abi-list): New variable.
25423 (check-abi): Depend on $(check-abi-list).
25424 [$(subdir) = elf] (tests-special): Add
25425 $(objpfx)check-abi-libc.out.
25426 [$(build-shared) = yes && subdir] (tests-special): Add
25427 $(check-abi-list).
25428 [$(build-shared) = yes && subdir] (tests): Do not depend on
25429 check-abi.
25430 * Rules (tests): Depend on $(tests-special).
25431 (xtests): Depend on $(xtests-special).
25432 * catgets/Makefile (tests): Change dependencies to ....
25433 (tests-special): ... additions to this variable.
25434 * conform/Makefile (tests): Change dependencies to ....
25435 (tests-special): ... additions to this variable.
25436 * elf/Makefile (tests): Change dependencies to ....
25437 (tests-special): ... additions to this variable.
25438 * grp/Makefile (tests): Change dependencies to ....
25439 (tests-special): ... additions to this variable.
25440 * iconv/Makefile (xtests): Change dependencies to ....
25441 (xtests-special): ... additions to this variable.
25442 * iconvdata/Makefile (tests): Change dependencies to ....
25443 (tests-special): ... additions to this variable.
25444 * intl/Makefile (tests): Change dependencies to ....
25445 (tests-special): ... additions to this variable. Also add
25446 $(objpfx)tst-gettext.out.
25447 * io/Makefile (tests): Change dependencies to ....
25448 (tests-special): ... additions to this variable.
25449 * libio/Makefile (tests): Change dependencies to ....
25450 (tests-special): ... additions to this variable.
25451 * malloc/Makefile (tests): Change dependencies to ....
25452 (tests-special): ... additions to this variable.
25453 * misc/Makefile (tests): Change dependencies to ....
25454 (tests-special): ... additions to this variable.
25455 * nptl/Makefile (tests): Change dependencies to ....
25456 (tests-special): ... additions to this variable.
25457 * nptl_db/Makefile (tests): Change dependencies to ....
25458 (tests-special): ... additions to this variable.
25459 * posix/Makefile (tests): Change dependencies to ....
25460 (tests-special): ... additions to this variable.
25461 (xtests): Change dependencies to ....
25462 (xtests-special): ... additions to this variable.
25463 * resolv/Makefile (tests): Change dependencies to ....
25464 (tests-special): ... additions to this variable.
25465 (xtests): Change dependencies to ....
25466 (xtests-special): ... additions to this variable.
25467 * stdio-common/Makefile (tests): Change dependencies to ....
25468 (tests-special): ... additions to this variable.
25469 (do-tst-unbputc): Remove target.
25470 (do-tst-printf): Likewise.
25471 * stdlib/Makefile (tests): Change dependencies to ....
25472 (tests-special): ... additions to this variable.
25473 * string/Makefile (tests): Change dependencies to ....
25474 (tests-special): ... additions to this variable.
25475 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25476 (tests-special): ... additions to this variable.
25477
25478 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25479 whole file.
25480 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25481 whole file.
25482 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25483 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25484
25485 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25486 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25487 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25488 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25489 * conform/data/libgen.h-data [XPG3]: Likewise.
25490 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25491 * conform/data/ndbm.h-data [XPG3]: Likewise.
25492 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25493 * conform/data/netdb.h-data [XPG3]: Likewise.
25494 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25495 * conform/data/poll.h-data [XPG3]: Likewise.
25496 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25497 * conform/data/strings.h-data [XPG3]: Likewise.
25498 * conform/data/stropts.h-data [XPG3]: Likewise.
25499 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25500 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25501 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25502 Likewise.
25503 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25504 * conform/data/sys/time.h-data [XPG3]: Likewise.
25505 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25506 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25507 * conform/data/sys/un.h-data [XPG3]: Likewise.
25508 * conform/data/syslog.h-data [XPG3]: Likewise.
25509 * conform/data/ucontext.h-data [XPG3]: Likewise.
25510 * conform/data/utmpx.h-data [XPG3]: Likewise.
25511 * conform/data/varargs.h-data [UNIX98]: Enable file.
25512
25513 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25514
25515 * math/libm-test.inc (struct test_f_f_data): Move expected results
25516 into structure for each rounding mode.
25517 (struct test_ff_f_data): Likewise.
25518 (struct test_ff_f_data_nexttoward): Likewise.
25519 (struct test_fi_f_data): Likewise.
25520 (struct test_fl_f_data): Likewise.
25521 (struct test_if_f_data): Likewise.
25522 (struct test_fff_f_data): Likewise.
25523 (struct test_c_f_data): Likewise.
25524 (struct test_f_f1_data): Likewise.
25525 (struct test_fF_f1_data): Likewise.
25526 (struct test_ffI_f1_data): Likewise.
25527 (struct test_c_c_data): Likewise.
25528 (struct test_cc_c_data): Likewise.
25529 (struct test_f_i_data): Likewise.
25530 (struct test_ff_i_data): Likewise.
25531 (struct test_f_l_data): Likewise.
25532 (struct test_f_L_data): Likewise.
25533 (struct test_fFF_11_data): Likewise.
25534 (RM_): New macro.
25535 (RM_FE_DOWNWARD): Likewise.
25536 (RM_FE_TONEAREST): Likewise.
25537 (RM_FE_TOWARDZERO): Likewise.
25538 (RM_FE_UPWARD): Likewise.
25539 (RUN_TEST_LOOP_f_f): Update references to expected results.
25540 (RUN_TEST_LOOP_2_f): Likewise.
25541 (RUN_TEST_LOOP_fff_f): Likewise.
25542 (RUN_TEST_LOOP_c_f): Likewise.
25543 (RUN_TEST_LOOP_f_f1): Likewise.
25544 (RUN_TEST_LOOP_fF_f1): Likewise.
25545 (RUN_TEST_LOOP_fI_f1): Likewise.
25546 (RUN_TEST_LOOP_ffI_f1): Likewise.
25547 (RUN_TEST_LOOP_c_c): Likewise.
25548 (RUN_TEST_LOOP_cc_c): Likewise.
25549 (RUN_TEST_LOOP_f_i): Likewise.
25550 (RUN_TEST_LOOP_f_i_tg): Likewise.
25551 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25552 (RUN_TEST_LOOP_f_b): Likewise.
25553 (RUN_TEST_LOOP_f_b_tg): Likewise.
25554 (RUN_TEST_LOOP_f_l): Likewise.
25555 (RUN_TEST_LOOP_f_L): Likewise.
25556 (RUN_TEST_LOOP_fFF_11): Likewise.
25557 * math/gen-libm-test.pl (parse_args): Output four copies of
25558 expected results for each test.
25559
25560 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25561 (__ASSUME_UTIMES): Remove.
25562 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25563 (__ASSUME_UTIMES): Likewise.
25564
25565 * math/gen-auto-libm-tests.c: Update comment on output format.
25566 (output_for_one_input_case): Generate before-rounding and
25567 after-rounding information as conditions on output flags not
25568 floating-point format.
25569 * math/auto-libm-test-out: Regenerated.
25570 * math/gen-libm-test.pl (cond_value): New function.
25571 (or_cond_value): Use cond_value.
25572 (generate_testfile): Handle conditional exceptions.
25573
25574 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25575
25576 * math/libm-test.inc (max_valid_error): New variable.
25577 (init_max_error): Take new argument specifying whether function
25578 results are exactly determined. Set max_valid_error and bound
25579 other variables for errors based on this argument.
25580 (set_max_error): Do not record results above max_valid_error.
25581 (check_float_internal): Only accept errors of up to 0.5ulps if
25582 also at most max_valid_error.
25583 (START): Take new argument EXACT and pass it to init_max_error.
25584 (acos_test): Update call to START.
25585 (acos_test_tonearest): Likewise.
25586 (acos_test_towardzero): Likewise.
25587 (acos_test_downward): Likewise.
25588 (acos_test_upward): Likewise.
25589 (acosh_test): Likewise.
25590 (asin_test): Likewise.
25591 (asin_test_tonearest): Likewise.
25592 (asin_test_towardzero): Likewise.
25593 (asin_test_downward): Likewise.
25594 (asin_test_upward): Likewise.
25595 (asinh_test): Likewise.
25596 (atan_test): Likewise.
25597 (atanh_test): Likewise.
25598 (atan2_test): Likewise.
25599 (cabs_test): Likewise.
25600 (cacos_test): Likewise.
25601 (cacosh_test): Likewise.
25602 (carg_test): Likewise.
25603 (casin_test): Likewise.
25604 (casinh_test): Likewise.
25605 (catan_test): Likewise.
25606 (catanh_test): Likewise.
25607 (cbrt_test): Likewise.
25608 (ccos_test): Likewise.
25609 (ccosh_test): Likewise.
25610 (ceil_test): Likewise.
25611 (cexp_test): Likewise.
25612 (cimag_test): Likewise.
25613 (clog_test): Likewise.
25614 (clog10_test): Likewise.
25615 (conj_test): Likewise.
25616 (copysign_test): Likewise.
25617 (cos_test): Likewise.
25618 (cos_test_tonearest): Likewise.
25619 (cos_test_towardzero): Likewise.
25620 (cos_test_downward): Likewise.
25621 (cos_test_upward): Likewise.
25622 (cosh_test): Likewise.
25623 (cosh_test_tonearest): Likewise.
25624 (cosh_test_towardzero): Likewise.
25625 (cosh_test_downward): Likewise.
25626 (cosh_test_upward): Likewise.
25627 (cpow_test): Likewise.
25628 (cproj_test): Likewise.
25629 (creal_test): Likewise.
25630 (csin_test): Likewise.
25631 (csinh_test): Likewise.
25632 (csqrt_test): Likewise.
25633 (ctan_test): Likewise.
25634 (ctan_test_tonearest): Likewise.
25635 (ctan_test_towardzero): Likewise.
25636 (ctan_test_downward): Likewise.
25637 (ctan_test_upward): Likewise.
25638 (ctanh_test): Likewise.
25639 (ctanh_test_tonearest): Likewise.
25640 (ctanh_test_towardzero): Likewise.
25641 (ctanh_test_downward): Likewise.
25642 (ctanh_test_upward): Likewise.
25643 (erf_test): Likewise.
25644 (erfc_test): Likewise.
25645 (exp_test): Likewise.
25646 (exp_test_tonearest): Likewise.
25647 (exp_test_towardzero): Likewise.
25648 (exp_test_downward): Likewise.
25649 (exp_test_upward): Likewise.
25650 (exp10_test): Likewise.
25651 (exp10_test_tonearest): Likewise.
25652 (exp10_test_towardzero): Likewise.
25653 (exp10_test_downward): Likewise.
25654 (exp10_test_upward): Likewise.
25655 (pow10_test): Likewise.
25656 (exp2_test): Likewise.
25657 (expm1_test): Likewise.
25658 (expm1_test_tonearest): Likewise.
25659 (expm1_test_towardzero): Likewise.
25660 (expm1_test_downward): Likewise.
25661 (expm1_test_upward): Likewise.
25662 (fabs_test): Likewise.
25663 (fdim_test): Likewise.
25664 (floor_test): Likewise.
25665 (fma_test): Likewise.
25666 (fma_test_towardzero): Likewise.
25667 (fma_test_downward): Likewise.
25668 (fma_test_upward): Likewise.
25669 (fmax_test): Likewise.
25670 (fmin_test): Likewise.
25671 (fmod_test): Likewise.
25672 (fpclassify_test): Likewise.
25673 (frexp_test): Likewise.
25674 (hypot_test): Likewise.
25675 (ilogb_test): Likewise.
25676 (isfinite_test): Likewise.
25677 (finite_test): Likewise.
25678 (isgreater_test): Likewise.
25679 (isgreaterequal_test): Likewise.
25680 (isinf_test): Likewise.
25681 (isless_test): Likewise.
25682 (islessequal_test): Likewise.
25683 (islessgreater_test): Likewise.
25684 (isnan_test): Likewise.
25685 (isnormal_test): Likewise.
25686 (issignaling_test): Likewise.
25687 (isunordered_test): Likewise.
25688 (j0_test): Likewise.
25689 (j1_test): Likewise.
25690 (jn_test): Likewise.
25691 (ldexp_test): Likewise.
25692 (lgamma_test): Likewise.
25693 (gamma_test): Likewise.
25694 (lrint_test): Likewise.
25695 (lrint_test_tonearest): Likewise.
25696 (lrint_test_towardzero): Likewise.
25697 (lrint_test_downward): Likewise.
25698 (lrint_test_upward): Likewise.
25699 (llrint_test): Likewise.
25700 (llrint_test_tonearest): Likewise.
25701 (llrint_test_towardzero): Likewise.
25702 (llrint_test_downward): Likewise.
25703 (llrint_test_upward): Likewise.
25704 (log_test): Likewise.
25705 (log10_test): Likewise.
25706 (log1p_test): Likewise.
25707 (log2_test): Likewise.
25708 (logb_test): Likewise.
25709 (logb_test_downward): Likewise.
25710 (lround_test): Likewise.
25711 (llround_test): Likewise.
25712 (modf_test): Likewise.
25713 (nearbyint_test): Likewise.
25714 (nextafter_test): Likewise.
25715 (nexttoward_test): Likewise.
25716 (pow_test): Likewise.
25717 (pow_test_tonearest): Likewise.
25718 (pow_test_towardzero): Likewise.
25719 (pow_test_downward): Likewise.
25720 (pow_test_upward): Likewise.
25721 (remainder_test): Likewise.
25722 (drem_test): Likewise.
25723 (remainder_test_tonearest): Likewise.
25724 (drem_test_tonearest): Likewise.
25725 (remainder_test_towardzero): Likewise.
25726 (drem_test_towardzero): Likewise.
25727 (remainder_test_downward): Likewise.
25728 (drem_test_downward): Likewise.
25729 (remainder_test_upward): Likewise.
25730 (drem_test_upward): Likewise.
25731 (remquo_test): Likewise.
25732 (rint_test): Likewise.
25733 (rint_test_tonearest): Likewise.
25734 (rint_test_towardzero): Likewise.
25735 (rint_test_downward): Likewise.
25736 (rint_test_upward): Likewise.
25737 (round_test): Likewise.
25738 (scalb_test): Likewise.
25739 (scalbn_test): Likewise.
25740 (scalbln_test): Likewise.
25741 (signbit_test): Likewise.
25742 (sin_test): Likewise.
25743 (sin_test_tonearest): Likewise.
25744 (sin_test_towardzero): Likewise.
25745 (sin_test_downward): Likewise.
25746 (sin_test_upward): Likewise.
25747 (sincos_test): Likewise.
25748 (sinh_test): Likewise.
25749 (sinh_test_tonearest): Likewise.
25750 (sinh_test_towardzero): Likewise.
25751 (sinh_test_downward): Likewise.
25752 (sinh_test_upward): Likewise.
25753 (sqrt_test): Likewise.
25754 (sqrt_test_tonearest): Likewise.
25755 (sqrt_test_towardzero): Likewise.
25756 (sqrt_test_downward): Likewise.
25757 (sqrt_test_upward): Likewise.
25758 (tan_test): Likewise.
25759 (tan_test_tonearest): Likewise.
25760 (tan_test_towardzero): Likewise.
25761 (tan_test_downward): Likewise.
25762 (tan_test_upward): Likewise.
25763 (tanh_test): Likewise.
25764 (tgamma_test): Likewise.
25765 (trunc_test): Likewise.
25766 (y0_test): Likewise.
25767 (y1_test): Likewise.
25768 (yn_test): Likewise.
25769 (significand_test): Likewise.
25770
25771 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25772 individual tests in comment.
25773 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25774 (prev_max_error): New variable.
25775 (prev_real_max_error): Likewise.
25776 (prev_imag_max_error): Likewise.
25777 (compare_ulp_data): Don't refer to test names in comment.
25778 (find_test_ulps): Remove function.
25779 (find_function_ulps): Likewise.
25780 (find_complex_function_ulps): Likewise.
25781 (init_max_error): Take function name as argument. Look up ulps
25782 for that function.
25783 (print_ulps): Remove function.
25784 (print_max_error): Use prev_max_error instead of calling
25785 find_function_ulps.
25786 (print_complex_max_error): Use prev_real_max_error and
25787 prev_imag_max_error instead of calling find_complex_function_ulps.
25788 (check_float_internal): Take max_ulp parameter instead of calling
25789 find_test_ulps. Don't call print_ulps.
25790 (check_float): Update call to check_float_internal.
25791 (check_complex): Update calls to check_float_internal.
25792 (START): Pass argument to init_max_error.
25793 * math/gen-libm-test.pl (%results): Don't include "kind"
25794 information.
25795 (parse_ulps): Don't handle ulps of individual tests.
25796 (print_ulps_file): Likewise.
25797 (output_ulps): Likewise.
25798 * math/README.libm-test: Update.
25799 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25800 individual tests.
25801 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25802 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25803 * sysdeps/arm/libm-test-ulps: Likewise.
25804 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25805 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25806 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25807 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25808 * sysdeps/microblaze/libm-test-ulps: Likewise.
25809 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25810 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25812 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25813 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25814 * sysdeps/sh/libm-test-ulps: Likewise.
25815 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25816 * sysdeps/tile/libm-test-ulps: Likewise.
25817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25818
25819 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25820
25821 * math/libm-test.inc (print_complex_max_error): Check separately
25822 whether real and imaginary errors are within allowed range and
25823 pass 0 to print_complex_function_ulps instead of value within
25824 allowed range.
25825
25826 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25827
25828 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25829 formatting.
25830 (get_handles_fopen): Likewise.
25831 (do_write_test): Likewise.
25832
25833 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25834
25835 * libio/fileops.c (do_ftell): Use cached offset when
25836 available.
25837 * libio/iofwide.c (do_ftell_wide): Likewise.
25838 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25839 _IO_file_attach.
25840 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25841
25842 [BZ #16532]
25843 * libio/libioP.h (get_file_offset): New function.
25844 * libio/fileops.c (get_file_offset): Likewise.
25845 (do_ftell): Likewise.
25846 (_IO_new_file_seekoff): Split out ftell logic.
25847 * libio/wfileops.c (do_ftell_wide): Likewise.
25848 (_IO_wfile_seekoff): Split out ftell logic.
25849 * libio/tst-ftell-active-handler.c: New test case.
25850 * libio/Makefile (tests): Add it.
25851
25852 2014-03-03 Roland McGrath <roland@hack.frob.com>
25853
25854 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25855 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25856
25857 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25858
25859 [BZ #16639]
25860 * nscd/connections.c (nscd_init): Call do_exit.
25861 (start_threads): Call do_exit and notify_parent.
25862 (begin_drop_privileges): Call do_exit.
25863 (finish_drop_privileges): Likewise.
25864 * nscd/selinux.c (preserve_capabilities): Likewise.
25865 (install_real_capabilities): Likewise.
25866 (nscd_selinux_enabled): Likewise.
25867 (avc_create_thread): Likewise.
25868 (avc_alloc_lock): Likewise.
25869 (nscd_avc_init): Likewise.
25870 * nscd/nscd.c (parent_fd): New static variable.
25871 (main): Create a pipe between parent and child processes.
25872 Skip closing parent_fd.
25873 (monitor_child): New function.
25874 (do_exit): Likewise.
25875 (notify_parent): Likewise.
25876 * nscd/nscd.h (notify_parent): Likewise.
25877 (do_exit): Likewise.
25878
25879 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25880
25881 * malloc/malloc.c (__libc_calloc): Revert last change.
25882
25883 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25884
25885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25886
25887 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25888
25889 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25891 implementation.
25892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25893 (__libc_ifunc_impl_list): Likewise.
25894 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25895 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25896 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25897 * string/strrchr.c: Define STRRCHR.
25898
25899 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25900
25901 * benchtest/bench-strtok.c (simple_strtok): Delete.
25902 (strtok_string): Use as benchmark.
25903 * string/strtok (STRTOK): New macro.
25904
25905 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25906
25907 * manual/threads.texi: Add header and standard comments to all
25908 functions.
25909
25910 * elf/dl-lookup.c (check_match): New function.
25911 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25912 (do_lookup_x): Remove nested function check_match. Use non-nested
25913 function check_match.
25914
25915 2014-02-28 Roland McGrath <roland@hack.frob.com>
25916
25917 * csu/Makefile (generated, before-compile): Use += rather than =.
25918 * catgets/Makefile (generated, generated-dirs): Likewise.
25919 * debug/Makefile (generated): Likewise.
25920 * dlfcn/Makefile (generated): Likewise.
25921 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25922 * iconvdata/Makefile (before-compile, generated): Likewise.
25923 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25924 * libio/Makefile (generated): Likewise.
25925 * malloc/Makefile (generated): Likewise.
25926 * manual/Makefile (generated, generated-dirs): Likewise.
25927 * misc/Makefile (generated): Likewise.
25928 * posix/Makefile (generated): Likewise.
25929 * resolv/Makefile (generated): Likewise.
25930 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25931 * timezone/Makefile (generated, generated-dirs): Likewise.
25932
25933 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25934
25935 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25936
25937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25938 power8 implementation.
25939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25940 file: POWER8 llround ifunc implementation.
25941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25942 (__lllround): Add POWER8 implementation.
25943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25944 POWER8 llround implementation.
25945
25946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25947 power8 implementation.
25948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25949 file: POWER8 llrint ifunc implementation.
25950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25951 Add POWER8 implementation.
25952 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25953 POWER8 llrint implementation.
25954
25955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25956 power8 implementation.
25957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25958 file: POWER8 finite ifunc implementation.
25959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25960 Add POWER8 implementation.
25961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25962 Likewise.
25963 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25964 POWER8 finite implementation.
25965 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25966
25967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25968 power8 implementation.
25969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25970 file: POWER8 isinf ifunc implementation.
25971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25972 POWER8 implementation.
25973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25974 Likewise.
25975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25976 isinf implementation.
25977 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25978
25979 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25980 (INIT_ARCH): Add hwcap2 initialization.
25981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25982 power8 implementation.
25983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25984 file: POWER8 isnan ifunc implementation.
25985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25986 POWER8 implementation.
25987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25988 Likewise.
25989 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25990 isnan implementation.
25991 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25992
25993 2014-02-27 Joey Ye <joey.ye@arm.com>
25994
25995 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25996 (_FP_NANFRAC_Q): Set to zero.
25997
25998 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25999
26000 [BZ #16623]
26001 * math/auto-libm-test-in: New test inputs.
26002 * math/auto-libm-test-out: Regenerate.
26003 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26004 and DA.
26005 (__cos): Likewise.
26006 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26007
26008 2014-02-27 Joseph Myers <joseph@codesourcery.com>
26009
26010 * scripts/evaluate-test.sh: Take new argument indicating whether
26011 failure is expected.
26012 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26013 indicating whether failure is expected.
26014 * conform/Makefile (test-xfail-run-conformtest): New variable.
26015 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26016 level.
26017 * posix/Makefile (test-xfail-annexc): New variable.
26018 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26019
26020 2014-02-26 Joseph Myers <joseph@codesourcery.com>
26021
26022 * argp/Makefile: Include Makeconfig immediately after defining
26023 subdir.
26024 * assert/Makefile: Likewise.
26025 * benchtests/Makefile: Likewise.
26026 * catgets/Makefile: Likewise.
26027 * conform/Makefile: Likewise.
26028 * crypt/Makefile: Likewise.
26029 * csu/Makefile: Likewise.
26030 (all): Remove target.
26031 * ctype/Makefile: Include Makeconfig immediately after defining
26032 subdir.
26033 * debug/Makefile: Likewise.
26034 * dirent/Makefile: Likewise.
26035 * dlfcn/Makefile: Likewise.
26036 * gmon/Makefile: Likewise.
26037 * gnulib/Makefile: Likewise.
26038 * grp/Makefile: Likewise.
26039 * gshadow/Makefile: Likewise.
26040 * hesiod/Makefile: Likewise.
26041 * hurd/Makefile: Likewise.
26042 (all): Remove target.
26043 * iconvdata/Makefile: Include Makeconfig immediately after
26044 defining subdir.
26045 * inet/Makefile: Likewise.
26046 * intl/Makefile: Likewise.
26047 * io/Makefile: Likewise.
26048 * libio/Makefile: Likewise.
26049 (all): Remove target.
26050 * locale/Makefile: Include Makeconfig immediately after defining
26051 subdir.
26052 * login/Makefile: Likewise.
26053 * mach/Makefile: Likewise.
26054 (all): Remove target.
26055 * malloc/Makefile: Include Makeconfig immediately after defining
26056 subdir.
26057 (all): Remove target.
26058 * manual/Makefile: Include Makeconfig immediately after defining
26059 subdir.
26060 * math/Makefile: Likewise.
26061 * misc/Makefile: Likewise.
26062 * nis/Makefile: Likewise.
26063 * nss/Makefile: Likewise.
26064 * po/Makefile: Likewise.
26065 (all): Remove target.
26066 * posix/Makefile: Include Makeconfig immediately after defining
26067 subdir.
26068 * pwd/Makefile: Likewise.
26069 * resolv/Makefile: Likewise.
26070 * resource/Makefile: Likewise.
26071 * rt/Makefile: Likewise.
26072 * setjmp/Makefile: Likewise.
26073 * shadow/Makefile: Likewise.
26074 * signal/Makefile: Likewise.
26075 * socket/Makefile: Likewise.
26076 * soft-fp/Makefile: Likewise.
26077 * stdio-common/Makefile: Likewise.
26078 * stdlib/Makefile: Likewise.
26079 * streams/Makefile: Likewise.
26080 * string/Makefile: Likewise.
26081 * sunrpc/Makefile: Likewise.
26082 (all): Remove target.
26083 * sysvipc/Makefile: Include Makeconfig immediately after defining
26084 subdir.
26085 * termios/Makefile: Likewise.
26086 * time/Makefile: Likewise.
26087 * timezone/Makefile: Likewise.
26088 (all): Remove target.
26089 * wcsmbs/Makefile: Include Makeconfig immediately after defining
26090 subdir.
26091 * wctype/Makefile: Likewise.
26092
26093 2014-02-26 Steve Ellcey <sellcey@mips.com>
26094
26095 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26096 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26097 (libc_feholdexcept_setround_mips): Ditto.
26098 (libc_feholdsetround): New.
26099 (libc_feholdsetroundf): New.
26100 (libc_feholdsetroundl): New.
26101 (libc_feupdateenv_test_mips): New.
26102 (libc_feupdateenv_test): New.
26103 (libc_feupdateenv_testf): New.
26104 (libc_feupdateenv_testl): New.
26105 (libc_feresetround): New.
26106 (libc_feresetroundf): New.
26107 (libc_feresetroundl): New.
26108 (libc_fetestexcept_mips): New.
26109 (libc_fetestexcept): New.
26110 (libc_fetestexceptf): New.
26111 (libc_fetestexceptl): New.
26112 (HAVE_RM_CTX): New.
26113 (libc_feholdexcept_setround_mips_ctx): New.
26114 (libc_feholdexcept_setround_ctx): New.
26115 (libc_feholdexcept_setroundf_ctx): New.
26116 (libc_feholdexcept_setroundl_ctx): New.
26117 (libc_fesetenv_mips_ctx): New.
26118 (libc_fesetenv_ctx): New.
26119 (libc_fesetenv_ctxf): New.
26120 (libc_fesetenv_ctxl): New.
26121 (libc_feupdateenv_mips_ctx): New.
26122 (libc_feupdateenv_ctx): New.
26123 (libc_feupdateenvf_ctx): New.
26124 (libc_feupdateenvl_ctx): New.
26125 (libc_feholdsetround_mips_ctx): New.
26126 (libc_feholdsetround_ctx): New.
26127 (libc_feholdsetroundf_ctx): New.
26128 (libc_feholdsetroundl_ctx): New.
26129 (libc_feresetround_mips_ctx): New.
26130 (libc_feresetround_ctx): New.
26131 (libc_feresetroundf_ctx): New.
26132 (libc_feresetroundl_ctx): New.
26133
26134 2014-02-26 Carlos O'Donell <carlos@redhat.com>
26135
26136 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26137
26138 * manual/ipc.texi: New file.
26139 * manual/Makefile (chapters): Add ipc.
26140 * manual/job.texi: Add "Inter-Process Communication" to next.
26141 * manual/process.texi: Add "Inter-Process Communication" to prev.
26142
26143 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26144
26145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26146
26147 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26148
26149 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26150
26151 * manual/arith.texi: Fix spaces after sentences.
26152 * manual/charset.texi: Likewise.
26153 * manual/errno.texi: Likewise.
26154 * manual/install.texi: Likewise.
26155 * manual/llio.texi: Likewise.
26156 * manual/locale.texi: Likewise.
26157 * manual/maint.texi: Likewise.
26158 * manual/math.texi: Likewise.
26159 * manual/memory.texi: Likewise.
26160 * manual/message.texi: Likewise.
26161 * manual/probes.texi: Likewise.
26162 * manual/resource.texi: Likewise.
26163 * manual/signal.texi: Likewise.
26164 * manual/socket.texi: Likewise.
26165 * manual/stdio.texi: Likewise.
26166 * manual/string.texi: Likewise.
26167 * manual/time.texi: Likewise.
26168 * manual/users.texi: Likewise.
26169
26170 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26171
26172 [BZ #16632]
26173 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26174 _DEFAULT_SOURCE is defined.
26175
26176 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26177 Carlos O'Donell <carlos@redhat.com>
26178
26179 [BZ #16613]
26180 * elf/dl-tls.c (_dl_count_modids): New function.
26181 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26182 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26183 audit library and increment generation counter.
26184 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26185 * elf/tst-audit9.c: New file.
26186 * elf/tst-auditmod9a.c: New file.
26187 * elf/tst-auditmod9b.c: New file.
26188 * elf/Makefile: Add rules to build and run tst-audit9.
26189
26190 2014-02-25 Florian Weimer <fweimer@redhat.com>
26191
26192 [BZ #15347]
26193 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26194
26195 2014-02-25 Will Newton <will.newton@linaro.org>
26196
26197 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26198 (__longjmp): Restore sp and lr before restoring callee
26199 saved registers. Add longjmp and longjmp_target
26200 SystemTap probe point.
26201 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26202 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26203 Define to zero to match jmpbuf layout.
26204 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26205 (__sigsetjmp): Save sp and lr before saving callee
26206 saved registers. Add setjmp SystemTap probe point.
26207
26208 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26209
26210 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26211
26212 2014-02-24 Andreas Schwab <schwab@suse.de>
26213
26214 [BZ #15804]
26215 * elf/pldd.c (wait_for_ptrace_stop): New function.
26216 (main): Call it after attaching.
26217
26218 2014-02-22 Roland McGrath <roland@hack.frob.com>
26219
26220 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26221 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26222 Versions files is now verboten.
26223 * hurd/Versions (libc: GLIBC_2.0):
26224 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26225 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26226 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26227 * mach/Versions: Likewise.
26228
26229 * csu/Versions: Remove unused %include.
26230 * resolv/Versions: Likewise.
26231
26232 2014-02-21 Joseph Myers <joseph@codesourcery.com>
26233
26234 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26235 ($(objpfx)check-local-headers.out): Likewise.
26236 ($(objpfx)begin-end-check.out): Likewise.
26237 * Makerules (check-abi-%.out): Likewise.
26238 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26239 ($(objpfx)test2.cat): Likewise.
26240 ($(objpfx)de/libc.cat): Likewise.
26241 ($(objpfx)test-gencat.out): Likewise.
26242 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26243 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26244 ($(objpfx)noload-mem): Likewise.
26245 ($(objpfx)tst-pathopt.out): Likewise.
26246 ($(objpfx)tst-rtld-load-self.out): Likewise.
26247 ($(objpfx)tst-array1-cmp.out): Likewise.
26248 ($(objpfx)tst-array1-static-cmp.out): Likewise.
26249 ($(objpfx)tst-array2-cmp.out): Likewise.
26250 ($(objpfx)tst-array3-cmp.out): Likewise.
26251 ($(objpfx)tst-array4-cmp.out): Likewise.
26252 ($(objpfx)tst-array5-cmp.out): Likewise.
26253 ($(objpfx)tst-array5-static-cmp.out): Likewise.
26254 ($(objpfx)check-textrel.out): Likewise.
26255 ($(objpfx)check-execstack.out): Likewise.
26256 ($(objpfx)check-localplt.out): Likewise.
26257 ($(objpfx)order2-cmp.out): Likewise.
26258 ($(objpfx)tst-leaks1-mem): Likewise.
26259 ($(objpfx)tst-leaks1-static-mem): Likewise.
26260 ($(objpfx)tst-initorder-cmp.out): Likewise.
26261 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26262 ($(objpfx)tst-unused-dep.out): Likewise.
26263 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26264 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26265 * iconv/Makefile (test-iconvconfig): Likewise.
26266 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26267 ($(objpfx)iconv-test.out): Likewise.
26268 ($(objpfx)tst-tables.out): Likewise.
26269 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26270 ($(objpfx)tst-gettext.out): Likewise.
26271 ($(objpfx)tst-translit.out): Likewise.
26272 ($(objpfx)tst-gettext2.out): Likewise.
26273 ($(objpfx)tst-gettext4.out): Likewise.
26274 ($(objpfx)tst-gettext6.out): Likewise.
26275 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26276 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26277 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26278 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26280 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26281 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26282 ($(objpfx)wordexp-tst.out): Likewise.
26283 ($(objpfx)annexc.out): Likewise.
26284 ($(objpfx)tst-fnmatch-mem): Likewise.
26285 ($(objpfx)bug-regex2-mem): Likewise.
26286 ($(objpfx)bug-regex14-mem): Likewise.
26287 ($(objpfx)bug-regex21-mem): Likewise.
26288 ($(objpfx)bug-regex31-mem): Likewise.
26289 ($(objpfx)tst-vfork3-mem): Likewise.
26290 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26291 ($(objpfx)tst-pcre-mem): Likewise.
26292 ($(objpfx)tst-boost-mem): Likewise.
26293 ($(objpfx)tst-getconf.out): Likewise.
26294 ($(objpfx)bug-ga2-mem): Likewise.
26295 ($(objpfx)bug-glob2-mem): Likewise.
26296 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26297 ($(objpfx)mtrace-tst-leaks2): Likewise.
26298 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26299 ($(objpfx)tst-printf.out): Likewise.
26300 ($(objpfx)tst-setvbuf1.out): Likewise.
26301 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26302 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26303 ($(objpfx)tst-fmtmsg.out): Likewise.
26304 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26305 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26306
26307 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26308 * bits/sigaction.h [__USE_MISC]: Likewise.
26309 * bits/waitstatus.h: Update #endif comments.
26310 * ctype/ctype.h: Likewise.
26311 * dirent/dirent.h: Likewise.
26312 [__USE_MISC]: Remove redundant conditionals.
26313 * grp/grp.h: Update #endif comments.
26314 [__USE_GNU]: Remove redundant conditionals.
26315 [__USE_MISC]: Likewise.
26316 * inet/netinet/in.h [__USE_GNU]: Likewise.
26317 * io/sys/stat.h [__USE_MISC]: Likewise.
26318 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26319 * libio/bits/stdio.h: Update #endif comments.
26320 [__USE_MISC]: Remove redundant conditionals.
26321 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26322 * libio/stdio.h: Update #endif comments.
26323 [__USE_MISC]: Remove redundant conditionals.
26324 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26325 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26326 * math/math.h: Update #else and #endif comments.
26327 [__USE_MISC]: Remove redundant conditionals.
26328 * misc/sys/uio.h: Update #endif comments.
26329 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26330 * posix/glob.h [__USE_MISC]: Likewise.
26331 * posix/sys/types.h: Update #endif comments.
26332 [__USE_MISC]: Remove redundant conditionals.
26333 * posix/sys/wait.h: Update #endif comments.
26334 [__USE_MISC]: Remove redundant conditionals.
26335 * posix/unistd.h: Update #endif comments.
26336 [__USE_MISC]: Remove redundant conditionals.
26337 * pwd/pwd.h [__USE_GNU]: Likewise.
26338 [__USE_MISC]: Likewise.
26339 * resolv/netdb.h [__USE_GNU]: Likewise.
26340 * signal/signal.h: Update #endif comments.
26341 [__USE_MISC]: Remove redundant conditionals.
26342 * stdlib/stdlib.h: Update #else and #endif comments.
26343 [__USE_MISC]: Remove redundant conditionals.
26344 [__USE_GNU]: Likewise.
26345 * string/bits/string2.h [__USE_MISC]: Likewise.
26346 * string/string.h: Update #endif comments.
26347 [__USE_MISC]: Remove redundant conditionals.
26348 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26349 Likewise.
26350 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26351 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26352 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26353 Likewise.
26354 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26355 Likewise.
26356 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26357 comments.
26358 [__USE_MISC]: Remove redundant conditionals.
26359 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26360 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26361 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26362 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26363 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26364 Likewise.
26365 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26366 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26367 Likewise.
26368 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26369 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26370 Likewise.
26371 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26372 Likewise.
26373 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26374 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26375 Likewise.
26376 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26377 Likewise.
26378 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26379 * sysdeps/x86/bits/string.h: Update #endif comments.
26380 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26381 conditionals.
26382 * time/sys/time.h: Update #endif comments.
26383 * time/time.h: Likewise.
26384 [__USE_MISC]: Remove redundant conditionals.
26385
26386 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26387
26388 [BZ #16600]
26389 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26390
26391 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26392
26393 * Versions.def (librt): Add GLIBC_2.17.
26394
26395 2014-02-21 Adam Conrad <adconrad@0c3.net>
26396
26397 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26398 synonym for _SYS_AUXV_H to allow direct inclusion.
26399 * sysdeps/sparc/bits/hwcap.h: Likewise.
26400 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26401 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26402 * sysdeps/sparc/sysdep.h: Likewise.
26403
26404 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26405
26406 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26407
26408 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26409
26410 * benchtests/bench-strrchr.c: Print length instead of position.
26411
26412 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26413
26414 [BZ #16611]
26415 * sysdeps/unix/sysv/linux/kernel-features.h
26416 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26417 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26418 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26419 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26420 Likewise.
26421 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26422 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26423 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26424 (__ASSUME_SENDMMSG): Define instead of using previous
26425 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26426 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26427 (__ASSUME_SENDMMSG_SYSCALL): Define.
26428 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26429 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26430 Likewise.
26431 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26432 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26433 Likewise.
26434 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26435 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26436 Likewise.
26437 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26438 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26439 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26440 [__ASSUME_SENDMMSG]: Change conditionals to
26441 [__ASSUME_SENDMMSG_SOCKETCALL].
26442 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26443 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26444 Define.
26445 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26446 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26447 Likewise.
26448 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26449 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26450 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26451 [!__ASSUME_SENDMMSG]: Change conditional to
26452 [!__ASSUME_SENDMMSG_SOCKETCALL].
26453 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26454 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26455 Define.
26456
26457 [BZ #16610]
26458 * sysdeps/unix/sysv/linux/kernel-features.h
26459 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26460 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26461 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26462 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26463 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26464 [__i386__ || __sparc__]
26465 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26466 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26467 (__ASSUME_RECVMMSG): Define instead of using previous
26468 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26469 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26470 (__ASSUME_RECVMMSG_SYSCALL): Define.
26471 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26472 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26473 Likewise.
26474 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26476 Likewise.
26477 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26478 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26479 Likewise.
26480 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26481 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26482 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26483 [__ASSUME_RECVMMSG]: Change condition to
26484 [__ASSUME_RECVMMSG_SOCKETCALL].
26485 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26486 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26487 Define.
26488 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26489 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26490 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26491 Likewise.
26492 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26493 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26494 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26495 [!__ASSUME_RECVMMSG]: Change condition to
26496 [!__ASSUME_RECVMMSG_SOCKETCALL].
26497 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26498 (__ASSUME_RECVMMSG_SYSCALL): Define.
26499
26500 [BZ #16609]
26501 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26502 __powerpc__ || __s390__ || __sh__ || __sparc__]
26503 (__ASSUME_SOCKETCALL): Define.
26504 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26505 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26506 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26507 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26508 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26509 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26510 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26511 (__ASSUME_ACCEPT4): Define instead of using previous
26512 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26513 __powerpc__ || __sparc__ || __s390__)] condition.
26514 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26515 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26516 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26517 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26518 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26519 [!__ASSUME_ACCEPT4]: Change condition to
26520 [!__ASSUME_ACCEPT4_SOCKETCALL].
26521 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26522 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26523 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26524 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26525 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26526 __ASSUME_ACCEPT4_SYSCALL.
26527 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26528 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26529 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26530 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26531 __ASSUME_ACCEPT4_SYSCALL.
26532 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26533 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26534 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26535 [__ASSUME_ACCEPT4]: Change condition to
26536 [__ASSUME_ACCEPT4_SOCKETCALL].
26537 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26538 (__ASSUME_SOCKETCALL): Define.
26539 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26541 (__ASSUME_SOCKETCALL): Define.
26542 (__ASSUME_ACCEPT4): Remove.
26543 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26544 Define.
26545 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26546 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26547 Likewise.
26548 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26549 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26550
26551 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26552 macro.
26553 (HWCAP_ARM_LPAE): Likewise.
26554 (HWCAP_ARM_EVTSTRM): Likewise.
26555 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26556 Add vpfd32, lpae and evtstrm.
26557 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26558 Increase to 22.
26559
26560 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26561
26562 * math/auto-libm-test-in: Add tests of clog10.
26563 * math/auto-libm-test-out: Regenerated.
26564 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26565 * sysdeps/i386/fpu/libm-test-ulps: Update.
26566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26567
26568 2014-02-18 Andreas Schwab <schwab@suse.de>
26569
26570 [BZ #16574]
26571 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26572 Store non-zero if the second buffer was newly allocated.
26573 (send_dg): Likewise.
26574 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26575 to send_vc and send_dg.
26576 (res_nsend): Pass NULL for ansp2_malloced.
26577 * resolv/res_query.c (__libc_res_nquery): Add parameter
26578 answerp2_malloced and pass it down to __libc_res_nsend.
26579 (res_nquery): Pass additional NULL to __libc_res_nquery.
26580 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26581 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26582 second answer buffer if answerp2_malloced was set.
26583 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26584 (__libc_res_nquerydomain): Add parameter
26585 answerp2_malloced and pass it down to __libc_res_nquery.
26586 (res_nquerydomain): Pass additional NULL to
26587 __libc_res_nquerydomain.
26588 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26589 additional NULL to __libc_res_nsend and __libc_res_nquery.
26590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26591 additional NULL to __libc_res_nsearch.
26592 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26593 parameter of __libc_res_nsearch to check for separately allocated
26594 second buffer.
26595 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26596 __libc_res_nquery.
26597 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26598 additional NULL to __libc_res_nquery.
26599 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26600 __libc_res_nsearch.
26601 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26602 * include/resolv.h: Update prototypes of __libc_res_nquery,
26603 __libc_res_nsearch, __libc_res_nsend.
26604
26605 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26606
26607 * math/auto-libm-test-in: Add tests of fma.
26608 * math/auto-libm-test-out: Regenerated.
26609 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26610 (fma_towardzero_test_data): Likewise.
26611 (fma_downward_test_data): Likewise.
26612 (fma_upward_test_data): Likewise.
26613 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26614 mpc_mode.
26615 (rounding_modes): Add values for new field.
26616 (func_calc_method): Add value mpfr_fff_f.
26617 (func_calc_desc): Add mpfr_fff_f union field.
26618 (test_function): Add field exact_args.
26619 (FUNC): Add macro argument EXACT_ARGS.
26620 (FUNC_mpfr_f_f): Update call to FUNC.
26621 (FUNC_mpfr_f_f): Likewise.
26622 (FUNC_mpfr_ff_f): Likewise.
26623 (FUNC_mpfr_if_f): Likewise.
26624 (FUNC_mpc_c_f): Likewise.
26625 (FUNC_mpc_c_c): Likewise.
26626 (test_functions): Add fma. Update calls to FUNC.
26627 (handle_input_arg): Add argument exact_args.
26628 (add_test): Update call to handle_input_arg.
26629 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26630 (output_for_one_input_case): Update call to calc_generic_results.
26631 Recalculate exact zero results in each rounding mode.
26632
26633 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26634 non-negative before setting low bit.
26635 * math/auto-libm-test-in: Mark one asin test possibly having
26636 spurious underflow.
26637 * math/auto-libm-test-out: Regenerated.
26638 * sysdeps/i386/fpu/libm-test-ulps: Update.
26639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26640
26641 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26642
26643 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26644 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26645 ports/sysdeps/unix/sysv/linux/microblaze.
26646 * README: Add missing listing for microblaze*-*-linux-gnu.
26647
26648 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26649
26650 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26651 duplicate code
26652
26653 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26654
26655 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26656 * sysdeps/unix/sysv/linux/ia64: Move directory from
26657 ports/sysdeps/unix/sysv/linux/ia64.
26658 * README: Update listing for ia64-*-linux-gnu.
26659
26660 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26661 Joseph Myers <joseph@codesourcery.com>
26662
26663 * Makeconfig (test-name): New variable.
26664 (evaluate-test): Likewise.
26665 * Makerules (do-test-clean): Remove .test-result files.
26666 (common-mostlyclean): Likewise.
26667 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26668 * scripts/evaluate-test.sh: New file.
26669
26670 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26671
26672 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26673 separate $(objpfx)tst-fopenloc-cmp.out and
26674 $(objpfx)tst-fopenloc-mem.out targets.
26675 (tests): Update dependencies.
26676 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26677 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26678 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26679 (tst-rxspencer-no-utf8-ARGS): New variable.
26680 (tst-rxspencer-no-utf8-ENV): Likewise.
26681 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26682 instead of $(objpfx)tst-rxspencer-mem.
26683 ($(objpfx)tst-rxspencer-mem): Change target to
26684 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26685 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26686 * posix/tst-rxspencer-no-utf8.c: New file.
26687
26688 * elf/Makefile ($(objpfx)order.out): Remove rule.
26689 [$(run-built-tests) = yes] (tests): Depend on
26690 $(objpfx)order-cmp.out.
26691 ($(objpfx)order-cmp.out): New rule.
26692 [$(run-built-tests) = yes] (tests): Depend on
26693 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26694 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26695 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26696 $(objpfx)tst-array5-static-cmp.out.
26697 ($(objpfx)tst-array1.out): Remove rule.
26698 ($(objpfx)tst-array1-cmp.out): New rule.
26699 ($(objpfx)tst-array1-static.out): Remove rule.
26700 ($(objpfx)tst-array1-static-cmp.out): New rule.
26701 ($(objpfx)tst-array2.out): Remove rule.
26702 ($(objpfx)tst-array2-cmp.out): New rule.
26703 ($(objpfx)tst-array3.out): Remove rule.
26704 ($(objpfx)tst-array3-cmp.out): New rule.
26705 ($(objpfx)tst-array4.out): Remove rule.
26706 ($(objpfx)tst-array4-cmp.out): New rule.
26707 ($(objpfx)tst-array5.out): Remove rule.
26708 ($(objpfx)tst-array5-cmp.out): New rule.
26709 ($(objpfx)tst-array5-static.out): Remove rule.
26710 ($(objpfx)tst-array5-static-cmp.out): New rule.
26711 [$(run-built-tests) = yes] (tests): Depend on
26712 $(objpfx)order2-cmp.out.
26713 ($(objpfx)order2.out): Remove rule.
26714 ($(objpfx)order2-cmp.out): New rule.
26715 ($(objpfx)tst-initorder.out): Remove rule.
26716 [$(run-built-tests) = yes] (tests): Depend on
26717 $(objpfx)tst-initorder-cmp.out.
26718 ($(objpfx)tst-initorder-cmp.out): New rule.
26719 ($(objpfx)tst-initorder2.out): Remove rule.
26720 [$(run-built-tests) = yes] (tests): Depend on
26721 $(objpfx)tst-initorder2-cmp.out.
26722 ($(objpfx)tst-initorder2-cmp.out): New rule.
26723 [$(run-built-tests) = yes] (tests): Depend on
26724 $(objpfx)tst-unused-dep-cmp.out.
26725 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26726 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26727 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26728 on $(objpfx)tst-setvbuf1-cmp.out.
26729 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26730 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26731 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26732 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26733 ($(objpfx)tst-svc.out): Remove rule.
26734 ($(objpfx)tst-svc-cmp.out): New rule.
26735
26736 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26737
26738 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26739 * ctype/ctype.h [__USE_MISC]: Likewise.
26740 * dirent/dirent.h [__USE_MISC]: Likewise.
26741 * grp/grp.h [__USE_MISC]: Likewise.
26742 * io/fcntl.h [__USE_MISC]: Likewise.
26743 * io/sys/stat.h [__USE_MISC]: Likewise.
26744 * libio/stdio.h [__USE_MISC]: Likewise.
26745 * posix/unistd.h [__USE_MISC]: Likewise.
26746 * pwd/pwd.h [__USE_MISC]: Likewise.
26747 * stdlib.h [__USE_MISC]: Likewise.
26748 * string/bits/string2.h [__USE_MISC]: Likewise.
26749 * string/string.h [__USE_MISC]: Likewise.
26750 * time/time.h [__USE_MISC]: Likewise.
26751
26752 2014-02-13 Andreas Schwab <schwab@suse.de>
26753
26754 [BZ #16574]
26755 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26756 second answer buffer if it was separately allocated.
26757
26758 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26759
26760 * sysdeps/mips/math-tests.h: Include <features.h>.
26761 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26762 (ROUNDING_TESTS_long_double): Do not define.
26763 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26764 (EXCEPTION_TESTS_long_double): Likewise.
26765 * sysdeps/mips/mips64/libm-test-ulps: Update.
26766
26767 * include/features.h (__USE_BSD): Remove macro definitions.
26768 (__USE_SVID): Likewise.
26769 (_BSD_SOURCE): Likewise.
26770 (_SVID_SOURCE): Likewise.
26771 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26772 from definition of _DEFAULT_SOURCE.
26773 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26774 [_DEFAULT_SOURCE].
26775 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26776 * bits/mman.h [__USE_BSD]: Likewise.
26777 * bits/termios.h [__USE_BSD]: Likewise.
26778 * bits/waitstatus.h [__USE_BSD]: Likewise.
26779 * ctype/ctype.h [__USE_SVID]: Likewise.
26780 * dirent/dirent.h [__USE_BSD]: Likewise.
26781 * grp/grp.h [__USE_SVID]: Likewise.
26782 [__USE_BSD]: Likewise.
26783 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26784 * io/fcntl.h [__USE_BSD]: Likewise.
26785 * io/ftw.h [__USE_BSD]: Likewise.
26786 * io/sys/stat.h [__USE_BSD]: Likewise.
26787 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26788 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26789 * libio/stdio.h [__USE_SVID]: Likewise.
26790 [__USE_BSD]: Likewise.
26791 * math/math.h [__USE_SVID]: Likewise.
26792 [__USE_BSD]: Likewise.
26793 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26794 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26795 * misc/search.h [__USE_SVID]: Likewise.
26796 * misc/sys/mman.h [__USE_BSD]: Likewise.
26797 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26798 * misc/sys/uio.h [__USE_BSD]: Likewise.
26799 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26800 * posix/glob.h [__USE_BSD]: Likewise.
26801 * posix/regex.h [__USE_BSD]: Likewise.
26802 * posix/sys/types.h [__USE_BSD]: Likewise.
26803 [__USE_SVID]: Likewise.
26804 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26805 * posix/sys/wait.h [__USE_BSD]: Likewise.
26806 [__USE_SVID]: Likewise.
26807 * posix/unistd.h [__USE_BSD]: Likewise.
26808 [__USE_SVID]: Likewise.
26809 * pwd/pwd.h [__USE_SVID]: Likewise.
26810 * resolv/netdb.h [__USE_BSD]: Likewise.
26811 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26812 * signal/signal.h [__USE_BSD]: Likewise.
26813 [__USE_SVID]: Likewise.
26814 * socket/sys/socket.h [__USE_BSD]: Likewise.
26815 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26816 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26817 [__USE_SVID]: Likewise.
26818 * string/bits/string2.h [__USE_BSD]: Likewise.
26819 [__USE_SVID]: Likewise.
26820 * string/bits/string3.h [__USE_BSD]: Likewise.
26821 * string/endian.h [__USE_BSD]: Likewise.
26822 * string/string.h [__USE_SVID]: Likewise.
26823 [__USE_BSD]: Likewise.
26824 * string/strings.h [__USE_BSD]: Likewise.
26825 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26826 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26827 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26828 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26829 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26830 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26831 Likewise.
26832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26833 Likewise.
26834 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26835 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26836 Likewise.
26837 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26838 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26839 Likewise.
26840 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26841 Likewise.
26842 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26843 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26845 Likewise.
26846 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26847 Likewise.
26848 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26849 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26850 * termios/termios.h [__USE_BSD]: Likewise.
26851 * time/sys/time.h [__USE_BSD]: Likewise.
26852 * time/time.h [__USE_BSD]: Likewise.
26853 [__USE_SVID]: Likewise.
26854
26855 * Makefile (subdir_targets): Remove subdir_lint.out.
26856
26857 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26858 (do-tst-printf): Likewise.
26859 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26860 $(objpfx)tst-printf.out.
26861
26862 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26863
26864 * Makerules (check-abi-%): Change target to
26865 $(objpfx)check-abi-%.out.
26866 (check-abi target): Update dependencies.
26867 (check-abi-pattern variable): Redirect output of diff to $@.
26868 (check-abi variable): Likewise.
26869 * elf/Makefile (check-abi): Update dependencies.
26870
26871 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26872 unused.
26873 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26874 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26875 subnormal range.
26876 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26877 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26878 value has largest subnormal exponent.
26879 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26880 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26881 * sysdeps/aarch64/soft-fp/sfp-machine.h
26882 (_FP_TININESS_AFTER_ROUNDING): New macro.
26883 * sysdeps/alpha/soft-fp/sfp-machine.h
26884 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26885 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26886 Likewise.
26887 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26888 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26889 * sysdeps/mips/soft-fp/sfp-machine.h
26890 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26891 * sysdeps/powerpc/soft-fp/sfp-machine.h
26892 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26893 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26894 Likewise.
26895 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26896 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26897 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26898 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26899 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26900 Likewise.
26901
26902 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26903
26904 [BZ #16545]
26905 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26906 model 1.
26907
26908 2014-02-12 Richard Henderson <rth@redhat.com>
26909
26910 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26911 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26912 * sysdeps/unix/sysv/linux/alpha: Move directory from
26913 ports/sysdeps/unix/sysv/linux/alpha.
26914 * README: Update listing for alpha-*-linux-gnu.
26915
26916 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26917
26918 * include/features.h: Update comment documenting feature test
26919 macros.
26920 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26921 _DEFAULT_SOURCE.
26922 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26923 (_SVID_SOURCE): Likewise.
26924 (_DEFAULT_SOURCE): Update description of default features.
26925 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26926 with _GNU_SOURCE.
26927 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26928 (S_ISVTX): Likewise.
26929 * manual/math.texi (Mathematical Constants): Likewise.
26930 * manual/signal.texi (Interrupted Primitives): Likewise.
26931 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26932 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26933 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26934 Don't refer to _SVID_SOURCE in warning text.
26935
26936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26937
26938 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26939 already defined.
26940 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26941 * sysdeps/mips/dl-lookup.c: Remove.
26942 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26943
26944 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26945
26946 [BZ #16447]
26947 * math/auto-libm-test-in: Add testcase for expl.
26948 * math/auto-libm-test-out: Regenerate.
26949 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26950 calculation of unsafe.
26951 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26952
26953 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26954
26955 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26956 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26957 ports/sysdeps/unix/sysv/linux/aarch64.
26958 * README: Update listing for aarch64*-*-linux-gnu.
26959
26960 2014-02-11 Will Newton <will.newton@linaro.org>
26961
26962 * manual/probes.texi (Mathematical Function Probes): Use
26963 "triggered" instead of "hit".
26964
26965 * manual/probes.texi (Internal Probes): Add documentation
26966 of setjmp, longjmp and longjmp_target probes.
26967
26968 * include/stap-probe.h: Add comment about probe argument
26969 format.
26970
26971 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26972 definition. (tr_where, tr_freehook, tr_mallochook,
26973 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26974
26975 2014-02-11 David S. Miller <davem@davemloft.net>
26976
26977 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26978 processing int_tests.
26979
26980 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26981
26982 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26983 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26984 * sysdeps/unix/sysv/linux/mips: Move directory from
26985 ports/sysdeps/unix/sysv/linux/mips.
26986 * README: Update listing for mips-*-linux-gnu and
26987 mips64-*-linux-gnu.
26988
26989 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26990
26991 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26992 * sysdeps/unix/sysv/linux/m68k: Move directory from
26993 ports/sysdeps/unix/sysv/linux/m68k.
26994 * README: Update listing for m68k-*-linux-gnu.
26995
26996 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26997
26998 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26999 * sysdeps/unix/sysv/linux/generic: Move directory from
27000 ports/sysdeps/unix/sysv/linux/generic.
27001 * sysdeps/unix/sysv/linux/tile: Move directory from
27002 ports/sysdeps/unix/sysv/linux/tile.
27003 * README: Update listing for tile*-*-linux-gnu.
27004
27005 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
27006
27007 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27008 __builtin_expect.
27009 * benchtests/bench-memmem.c (simple_memmem): Likewise.
27010 * catgets/open_catalog.c (__open_catalog): Likewise.
27011 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27012 * debug/confstr_chk.c: Likewise.
27013 * debug/fread_chk.c (__fread_chk): Likewise.
27014 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27015 * debug/getgroups_chk.c: Likewise.
27016 * debug/mbsnrtowcs_chk.c: Likewise.
27017 * debug/mbsrtowcs_chk.c: Likewise.
27018 * debug/mbstowcs_chk.c: Likewise.
27019 * debug/memcpy_chk.c: Likewise.
27020 * debug/memmove_chk.c: Likewise.
27021 * debug/mempcpy_chk.c: Likewise.
27022 * debug/memset_chk.c: Likewise.
27023 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27024 * debug/strcat_chk.c (__strcat_chk): Likewise.
27025 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27026 * debug/strncat_chk.c (__strncat_chk): Likewise.
27027 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27028 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27029 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27030 * debug/wcpncpy_chk.c: Likewise.
27031 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27032 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27033 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27034 * debug/wcsncpy_chk.c: Likewise.
27035 * debug/wcsnrtombs_chk.c: Likewise.
27036 * debug/wcsrtombs_chk.c: Likewise.
27037 * debug/wcstombs_chk.c: Likewise.
27038 * debug/wmemcpy_chk.c: Likewise.
27039 * debug/wmemmove_chk.c: Likewise.
27040 * debug/wmempcpy_chk.c: Likewise.
27041 * debug/wmemset_chk.c: Likewise.
27042 * dirent/scandirat.c (SCANDIRAT): Likewise.
27043 * dlfcn/dladdr1.c (dladdr1): Likewise.
27044 * dlfcn/dladdr.c (dladdr): Likewise.
27045 * dlfcn/dlclose.c (dlclose_doit): Likewise.
27046 * dlfcn/dlerror.c (__dlerror): Likewise.
27047 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27048 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27049 * dlfcn/dlopen.c (dlopen_doit): Likewise.
27050 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27051 * dlfcn/dlsym.c (dlsym_doit): Likewise.
27052 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27053 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27054 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27055 Likewise.
27056 * elf/dl-conflict.c: Likewise.
27057 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27058 * elf/dl-dst.h: Likewise.
27059 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27060 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27061 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27062 * elf/dl-init.c (call_init, _dl_init): Likewise.
27063 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27064 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27065 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27066 Likewise.
27067 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27068 Likewise.
27069 * elf/dl-minimal.c (__libc_memalign): Likewise.
27070 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27071 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27072 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27073 * elf/dl-sym.c (do_sym): Likewise.
27074 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27075 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27076 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27077 * elf/dl-writev.h (_dl_writev): Likewise.
27078 * elf/ldconfig.c (search_dir): Likewise.
27079 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27080 (dl_main): Likewise.
27081 * elf/setup-vdso.h (setup_vdso): Likewise.
27082 * grp/compat-initgroups.c (compat_call): Likewise.
27083 * grp/fgetgrent.c (fgetgrent): Likewise.
27084 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27085 * grp/putgrent.c (putgrent): Likewise.
27086 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27087 Likewise.
27088 * hurd/hurdinit.c: Likewise.
27089 * iconvdata/8bit-gap.c (struct): Likewise.
27090 * iconvdata/ansi_x3.110.c : Likewise.
27091 * iconvdata/big5.c : Likewise.
27092 * iconvdata/big5hkscs.c : Likewise.
27093 * iconvdata/cp1255.c: Likewise.
27094 * iconvdata/cp1258.c : Likewise.
27095 * iconvdata/cp932.c : Likewise.
27096 * iconvdata/euc-cn.c: Likewise.
27097 * iconvdata/euc-jisx0213.c : Likewise.
27098 * iconvdata/euc-jp.c: Likewise.
27099 * iconvdata/euc-jp-ms.c : Likewise.
27100 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27101 * iconvdata/gb18030.c : Likewise.
27102 * iconvdata/gbbig5.c (const): Likewise.
27103 * iconvdata/gbgbk.c: Likewise.
27104 * iconvdata/gbk.c : Likewise.
27105 * iconvdata/ibm1364.c : Likewise.
27106 * iconvdata/ibm930.c : Likewise.
27107 * iconvdata/ibm932.c: Likewise.
27108 * iconvdata/ibm933.c : Likewise.
27109 * iconvdata/ibm935.c : Likewise.
27110 * iconvdata/ibm937.c : Likewise.
27111 * iconvdata/ibm939.c : Likewise.
27112 * iconvdata/ibm943.c: Likewise.
27113 * iconvdata/iso_11548-1.c: Likewise.
27114 * iconvdata/iso-2022-cn.c : Likewise.
27115 * iconvdata/iso-2022-cn-ext.c : Likewise.
27116 * iconvdata/iso-2022-jp-3.c: Likewise.
27117 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27118 * iconvdata/iso-2022-kr.c : Likewise.
27119 * iconvdata/iso646.c (gconv_end): Likewise.
27120 * iconvdata/iso_6937-2.c : Likewise.
27121 * iconvdata/iso_6937.c : Likewise.
27122 * iconvdata/iso8859-1.c: Likewise.
27123 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27124 * iconvdata/shift_jisx0213.c : Likewise.
27125 * iconvdata/sjis.c : Likewise.
27126 * iconvdata/t.61.c : Likewise.
27127 * iconvdata/tcvn5712-1.c : Likewise.
27128 * iconvdata/tscii.c: Likewise.
27129 * iconvdata/uhc.c : Likewise.
27130 * iconvdata/unicode.c (gconv_end): Likewise.
27131 * iconvdata/utf-16.c (gconv_end): Likewise.
27132 * iconvdata/utf-32.c (gconv_end): Likewise.
27133 * iconvdata/utf-7.c (base64): Likewise.
27134 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27135 * iconv/gconv_close.c (__gconv_close): Likewise.
27136 * iconv/gconv_open.c (__gconv_open): Likewise.
27137 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27138 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27139 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27140 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27141 (ucs4le_internal_loop_single): Likewise.
27142 * iconv/iconv.c (iconv): Likewise.
27143 * iconv/iconv_close.c: Likewise.
27144 * iconv/loop.c (SINGLE): Likewise.
27145 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27146 * include/atomic.h: Likewise.
27147 * inet/inet6_option.c (option_alloc): Likewise.
27148 * intl/bindtextdom.c (set_binding_values): Likewise.
27149 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27150 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27151 * intl/localealias.c (read_alias_file): Likewise.
27152 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27153 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27154 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27155 * libio/fmemopen.c (fmemopen): Likewise.
27156 * libio/iofgets.c (_IO_fgets): Likewise.
27157 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27158 * libio/iofgetws.c (fgetws): Likewise.
27159 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27160 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27161 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27162 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27163 * locale/findlocale.c (_nl_find_locale): Likewise.
27164 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27165 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27166 Likewise.
27167 * locale/setlocale.c (setlocale): Likewise.
27168 * login/programs/pt_chown.c (main): Likewise.
27169 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27170 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27171 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27172 (mmap, mmap64, mremap, munmap): Likewise.
27173 * math/e_exp2l.c: Likewise.
27174 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27175 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27176 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27177 * math/s_catan.c (__catan): Likewise.
27178 * math/s_catanf.c (__catanf): Likewise.
27179 * math/s_catanh.c (__catanh): Likewise.
27180 * math/s_catanhf.c (__catanhf): Likewise.
27181 * math/s_catanhl.c (__catanhl): Likewise.
27182 * math/s_catanl.c (__catanl): Likewise.
27183 * math/s_ccosh.c (__ccosh): Likewise.
27184 * math/s_ccoshf.c (__ccoshf): Likewise.
27185 * math/s_ccoshl.c (__ccoshl): Likewise.
27186 * math/s_cexp.c (__cexp): Likewise.
27187 * math/s_cexpf.c (__cexpf): Likewise.
27188 * math/s_cexpl.c (__cexpl): Likewise.
27189 * math/s_clog10.c (__clog10): Likewise.
27190 * math/s_clog10f.c (__clog10f): Likewise.
27191 * math/s_clog10l.c (__clog10l): Likewise.
27192 * math/s_clog.c (__clog): Likewise.
27193 * math/s_clogf.c (__clogf): Likewise.
27194 * math/s_clogl.c (__clogl): Likewise.
27195 * math/s_csin.c (__csin): Likewise.
27196 * math/s_csinf.c (__csinf): Likewise.
27197 * math/s_csinh.c (__csinh): Likewise.
27198 * math/s_csinhf.c (__csinhf): Likewise.
27199 * math/s_csinhl.c (__csinhl): Likewise.
27200 * math/s_csinl.c (__csinl): Likewise.
27201 * math/s_csqrt.c (__csqrt): Likewise.
27202 * math/s_csqrtf.c (__csqrtf): Likewise.
27203 * math/s_csqrtl.c (__csqrtl): Likewise.
27204 * math/s_ctan.c (__ctan): Likewise.
27205 * math/s_ctanf.c (__ctanf): Likewise.
27206 * math/s_ctanh.c (__ctanh): Likewise.
27207 * math/s_ctanhf.c (__ctanhf): Likewise.
27208 * math/s_ctanhl.c (__ctanhl): Likewise.
27209 * math/s_ctanl.c (__ctanl): Likewise.
27210 * math/w_pow.c: Likewise.
27211 * math/w_powf.c: Likewise.
27212 * math/w_powl.c: Likewise.
27213 * math/w_scalb.c (sysv_scalb): Likewise.
27214 * math/w_scalbf.c (sysv_scalbf): Likewise.
27215 * math/w_scalbl.c (sysv_scalbl): Likewise.
27216 * misc/error.c (error_tail): Likewise.
27217 * misc/pselect.c (__pselect): Likewise.
27218 * nis/nis_callback.c (__nis_create_callback): Likewise.
27219 * nis/nis_call.c (__nisfind_server): Likewise.
27220 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27221 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27222 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27223 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27224 * nis/nis_lookup.c (nis_lookup): Likewise.
27225 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27226 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27227 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27228 * nis/nis_xdr.c (xdr_endpoint): Likewise.
27229 * nis/nss_compat/compat-grp.c (getgrent_next_file)
27230 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27231 * nis/nss_compat/compat-initgroups.c (add_group)
27232 (internal_getgrent_r): Likewise.
27233 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27234 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27235 * nis/nss_compat/compat-spwd.c (getspent_next_file)
27236 (internal_getspnam_r): Likewise.
27237 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27238 (_nss_nis_getaliasbyname_r): Likewise.
27239 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27240 (_nss_nis_getntohost_r): Likewise.
27241 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27242 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27243 (_nss_nis_getgrgid_r): Likewise.
27244 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27245 (internal_nis_gethostent_r, internal_gethostbyname2_r)
27246 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27247 (_nss_nis_gethostbyname4_r): Likewise.
27248 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27249 (initgroups_netid): Likewise.
27250 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27251 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27252 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27253 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27254 (_nss_nis_getprotobynumber_r): Likewise.
27255 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27256 (_nss_nis_getsecretkey): Likewise.
27257 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27258 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27259 (_nss_nis_getpwuid_r): Likewise.
27260 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27261 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27262 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27263 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27264 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27265 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27266 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27267 Likewise.
27268 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27269 (_nss_nisplus_getntohost_r): Likewise.
27270 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27271 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27272 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27273 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27274 Likewise.
27275 * nis/nss_nisplus/nisplus-initgroups.c
27276 (_nss_nisplus_initgroups_dyn): Likewise.
27277 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27278 (_nss_nisplus_getnetbyaddr_r): Likewise.
27279 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27280 (_nss_nisplus_getprotobynumber_r): Likewise.
27281 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27282 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27283 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27284 Likewise.
27285 * nis/nss_nisplus/nisplus-service.c
27286 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27287 (_nss_nisplus_getservbyport_r): Likewise.
27288 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27289 (_nss_nisplus_getspnam_r): Likewise.
27290 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27291 Likewise.
27292 * nscd/aicache.c (addhstaiX): Likewise.
27293 * nscd/cache.c (cache_search, prune_cache): Likewise.
27294 * nscd/connections.c (register_traced_file, send_ro_fd)
27295 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27296 (main_loop_epoll): Likewise.
27297 * nscd/grpcache.c (addgrbyX): Likewise.
27298 * nscd/hstcache.c (addhstbyX): Likewise.
27299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27300 * nscd/mem.c (gc, mempool_alloc): Likewise.
27301 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27302 (addinnetgrX): Likewise.
27303 * nscd/nscd-client.h (__nscd_acquire_maplock)
27304 (__nscd_drop_map_ref): Likewise.
27305 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27306 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27307 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27308 Likewise.
27309 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27310 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27311 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27312 (__nscd_get_map_ref): Likewise.
27313 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27314 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27315 Likewise.
27316 * nscd/pwdcache.c (addpwbyX): Likewise.
27317 * nscd/selinux.c (preserve_capabilities): Likewise.
27318 * nscd/servicescache.c (addservbyX): Likewise.
27319 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27320 * posix/fnmatch.c (fnmatch): Likewise.
27321 * posix/getopt.c (_getopt_internal_r): Likewise.
27322 * posix/glob.c (glob, glob_in_dir): Likewise.
27323 * posix/wordexp.c (exec_comm_child): Likewise.
27324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27325 (getanswer_r, gaih_getanswer_slice): Likewise.
27326 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27327 * resolv/res_init.c: Likewise.
27328 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27329 * resolv/res_query.c (__libc_res_nquery): Likewise.
27330 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27331 Likewise.
27332 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27333 * stdio-common/perror.c (perror): Likewise.
27334 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27335 * stdio-common/tmpnam.c (tmpnam): Likewise.
27336 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27337 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27338 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27339 Likewise.
27340 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27341 * stdlib/putenv.c (putenv): Likewise.
27342 * stdlib/setenv.c (__add_to_environ): Likewise.
27343 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27344 * stdlib/strtol_l.c (INTERNAL): Likewise.
27345 * string/memmem.c (memmem): Likewise.
27346 * string/strerror.c (strerror): Likewise.
27347 * string/strnlen.c (__strnlen): Likewise.
27348 * string/test-memmem.c (simple_memmem): Likewise.
27349 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27350 * sunrpc/pm_getport.c (__get_socket): Likewise.
27351 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27352 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27353 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27354 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27355 Likewise.
27356 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27357 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27358 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27359 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27360 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27361 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27362 Likewise.
27363 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27364 Likewise.
27365 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27366 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27368 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27369 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27371 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27372 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27373 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27374 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27375 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27377 Likewise.
27378 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27379 Likewise.
27380 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27381 Likewise.
27382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27384 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27385 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27386 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27387 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27388 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27390 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27391 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27392 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27393 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27394 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27395 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27397 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27398 Likewise.
27399 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27400 Likewise.
27401 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27402 Likewise.
27403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27404 Likewise.
27405 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27407 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27408 Likewise.
27409 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27410 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27411 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27412 * sysdeps/posix/sleep.c: Likewise.
27413 * sysdeps/posix/tempname.c: Likewise.
27414 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27415 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27416 Likewise.
27417 * sysdeps/powerpc/powerpc32/dl-machine.h
27418 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27419 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27421 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27422 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27423 Likewise.
27424 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27425 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27426 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27427 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27428 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27429 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27430 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27431 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27432 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27433 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27434 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27435 (elf_machine_lazy_rel): Likewise.
27436 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27437 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27438 (elf_machine_lazy_rel): Likewise.
27439 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27440 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27441 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27442 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27443 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27444 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27445 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27447 Likewise.
27448 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27449 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27450 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27451 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27452 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27453 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27454 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27455 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27456 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27457 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27458 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27459 Likewise.
27460 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27461 (__posix_fallocate64_l64): Likewise.
27462 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27463 (posix_fallocate): Likewise.
27464 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27465 Likewise.
27466 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27467 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27468 (getifaddrs_internal): Likewise.
27469 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27470 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27471 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27472 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27473 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27474 (__posix_fallocate64_l64): Likewise.
27475 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27476 Likewise.
27477 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27478 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27479 (__get_clockfreq): Likewise.
27480 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27481 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27482 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27483 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27485 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27486 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27487 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27488 Likewise.
27489 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27490 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27491 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27492 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27493 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27494 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27495 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27496 Likewise.
27497 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27498 (posix_fallocate): Likewise.
27499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27500 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27501 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27502 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27503 (elf_machine_rela, elf_machine_rela_relative)
27504 (elf_machine_lazy_rel): Likewise.
27505 * time/asctime.c (asctime_internal): Likewise.
27506 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27507 * time/tzset.c (__tzset_parse_tz): Likewise.
27508 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27509 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27510 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27511 * wcsmbs/wcsmbsload.h: Likewise.
27512
27513 [BZ #15894]
27514 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27515
27516 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27517 (arena_get2): Remove THREAD_STATS conditionals.
27518 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27519 (__malloc_stats, int): Likewise.
27520
27521 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27522
27523 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27524 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27525
27526 * manual/setjmp.texi: Fix typos/grammar errors.
27527
27528 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27529 Only return early when n is <= 0. Delete unused return statement.
27530
27531 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27532 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27533 * debug/tst-longjmp_chk3.c: New file.
27534
27535 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27536 (test_main): Replace code with set_fortify_handler call.
27537 * debug/test-strcpy_chk.c: Likewise.
27538 * debug/tst-chk1.c: Likewise.
27539 * debug/tst-longjmp_chk.c: Likewise.
27540 * test-skeleton.c: Include fcntl.h & paths.h
27541 (set_fortify_handler): Define.
27542
27543 * debug/tst-longjmp_chk.c: Add header comment and include
27544 ../test-skeleton.c.
27545 (do_test): Mark static.
27546 (TEST_FUNCTION): Define.
27547
27548 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27549 (IP_PMTUDISC_INTERFACE): Likewise.
27550 (IP_MULTICAST_IF): Likewise.
27551 (IP_MULTICAST_TTL): Likewise.
27552 (IP_MULTICAST_LOOP): Likewise.
27553 (IP_ADD_MEMBERSHIP): Likewise.
27554 (IP_DROP_MEMBERSHIP): Likewise.
27555 (IP_UNBLOCK_SOURCE): Likewise.
27556 (IP_BLOCK_SOURCE): Likewise.
27557 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27558 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27559 (IP_MSFILTER): Likewise.
27560 (MCAST_JOIN_GROUP): Likewise.
27561 (MCAST_BLOCK_SOURCE): Likewise.
27562 (MCAST_UNBLOCK_SOURCE): Likewise.
27563 (MCAST_LEAVE_GROUP): Likewise.
27564 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27565 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27566 (MCAST_MSFILTER): Likewise.
27567 (IP_MULTICAST_ALL): Likewise.
27568 (IP_UNICAST_IF): Likewise.
27569
27570 * timezone/Makefile: Delete $(have-ksh) check.
27571 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27572 * timezone/tzselect.ksh: Add +x mode bits.
27573
27574 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27575 (ANON_INODE_FS_MAGIC): Likewise.
27576 (BDEVFS_MAGIC): Likewise.
27577 (BINFMTFS_MAGIC): Likewise.
27578 (BTRFS_TEST_MAGIC): Likewise.
27579 (CRAMFS_MAGIC_WEND): Likewise.
27580 (DEBUGFS_MAGIC): Likewise.
27581 (ECRYPTFS_SUPER_MAGIC): Likewise.
27582 (EXT3_SUPER_MAGIC): Likewise.
27583 (EXT4_SUPER_MAGIC): Likewise.
27584 (FUTEXFS_SUPER_MAGIC): Likewise.
27585 (HOSTFS_SUPER_MAGIC): Likewise.
27586 (HUGETLBFS_MAGIC): Likewise.
27587 (MINIX3_SUPER_MAGIC): Likewise.
27588 (MTD_INODE_FS_MAGIC): Likewise.
27589 (NILFS_SUPER_MAGIC): Likewise.
27590 (OPENPROM_SUPER_MAGIC): Likewise.
27591 (PIPEFS_MAGIC): Likewise.
27592 (PSTOREFS_MAGIC): Likewise.
27593 (QNX6_SUPER_MAGIC): Likewise.
27594 (RAMFS_MAGIC): Likewise.
27595 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27596 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27597 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27598 (SECURITYFS_MAGIC): Likewise.
27599 (SELINUX_MAGIC): Likewise.
27600 (SMACK_MAGIC): Likewise.
27601 (SOCKFS_MAGIC): Likewise.
27602 (SQUASHFS_MAGIC): Likewise.
27603 (STACK_END_MAGIC): Likewise.
27604 (TMPFS_MAGIC): Likewise.
27605 (USBDEVICE_SUPER_MAGIC): Likewise.
27606 (V9FS_MAGIC): Likewise.
27607 (XENFS_SUPER_MAGIC): Likewise.
27608 (CRAMFS_MAGIC): Fix typo in comment.
27609 (EXT2_SUPER_MAGIC): Update comment.
27610 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27611
27612 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27613
27614 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27615 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27616 * sysdeps/unix/sysv/linux/arm: Move directory from
27617 ports/sysdeps/unix/sysv/linux/arm.
27618 * README: Update listing for arm-*-linux-gnueabi.
27619
27620 * README: Remove mention of am33.
27621
27622 2014-02-07 Roland McGrath <roland@hack.frob.com>
27623
27624 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27625 than the comma operator, to avoid "rhs of comma has no effect"
27626 compiler warnings.
27627 (__sigfillset, __sigandset, __sigorset): Likewise.
27628 * include/signal.h (__sigemptyset): Likewise.
27629 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27630
27631 2014-02-07 Allan McRae <allan@archlinux.org>
27632
27633 * version.h (RELEASE): Set to "development".
27634 (VERSION): Set to "2.19.90"
27635 * NEWS: Add 2.20 section.
27636
27637 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27638
27639 [BZ #16529]
27640 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27641
27642 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27643
27644 * manual/contrib.texi: Update entry for Carlos O'Donell,
27645 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27646
27647 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27648
27649 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27650
27651 * sysdeps/unix/sysv/linux/kernel-features.h
27652 [__LINUX_KERNEL_VERSION >= 0x020621]
27653 (__ASSUME_PROC_PID_TASK_COMM): Define.
27654
27655 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27656
27657 [BZ #16398]
27658 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27659 conversion when destination buffer does not have enough space.
27660 * libio/tst-ftell-partial-wide.c: New test case.
27661 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27662
27663 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27664 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27665 Leonard and Allan McRae.
27666
27667 2014-02-04 David S. Miller <davem@davemloft.net>
27668
27669 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27670 32-bit.
27671
27672 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27673
27674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27675 New file
27676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27677 New file
27678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27679 New file.
27680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27681 New file.
27682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27683 New file.
27684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27685 New file.
27686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27687 New file.
27688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27689 New file.
27690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27691 New file.
27692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27693 New file.
27694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27695 New file.
27696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27697 New file.
27698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27699 New file.
27700
27701 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27702
27703 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27704 * shlib-versions: Likewise.
27705
27706 2014-02-04 Roland McGrath <roland@hack.frob.com>
27707 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27708
27709 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27710 (abilist-pattern): New variable, set to %-le.abilist.
27711
27712 * Makerules (abilist-pattern): New variable.
27713 (vpath): Use $(abilist-pattern) in place of %.abilist.
27714 (check-abi-% pattern rule): Likewise.
27715 (check-abi, update-abi): Likewise.
27716
27717 2014-02-04 Eric Wong <normalperson@yhbt.net>
27718
27719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27720
27721 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27722
27723 * manual/startup.texi: Add next, previous, and top entries for
27724 the `Program Arguments' and `Environment Variables' nodes.
27725
27726 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27727
27728 * manual/macros.texi: Add comments before MTASC-safety macros.
27729
27730 * manual/users.texi: Document MTASC-safety properties.
27731
27732 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27733 (pthread_getspecific, pthread_setspecific): Format with
27734 @deftypefun, and add @safety note.
27735 * manual/signal.texi: Move comments that analyze the above
27736 functions to their home place.
27737
27738 2014-02-03 Allan McRae <allan@archlinux.org>
27739
27740 * po/sl.po: Update Slovenian translation from translation project.
27741
27742 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27743
27744 * manual/time.texi (timegm): Add missing blank after @c.
27745 Reported by Joseph Myers <joseph@codesourcery.com>.
27746
27747 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27748
27749 * manual/check-safety.sh: New.
27750 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27751
27752 * manual/terminal.texi: Document MTASC-safety properties.
27753
27754 * manual/filesys.texi: Document MTASC-safety properties.
27755
27756 * manual/errno.texi: Document MTASC-safety properties.
27757
27758 * manual/intro.texi: Document safety identifiers and
27759 conditionals.
27760
27761 * manual/string.texi (wcstok): Fix prototype.
27762 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27763
27764 * manual/time.texi: Document MTASC-safety properties.
27765
27766 * manual/string.texi: Document MTASC-safety properties.
27767
27768 * manual/threads.texi: Document MTASC-safety properties.
27769
27770 * manual/stdio.texi: Document MTASC-safety properties.
27771
27772 * manual/syslog.texi: Document MTASC-safety properties.
27773
27774 * manual/sysinfo.texi: Document MTASC-safety properties.
27775
27776 * manual/startup.texi: Document MTASC-safety properties.
27777
27778 * manual/socket.texi: Document MTASC-safety properties.
27779
27780 * manual/signal.texi: Document MTASC-safety properties.
27781
27782 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27783
27784 * manual/setjmp.texi: Document MTASC-safety properties.
27785
27786 * manual/search.texi: Document MTASC-safety properties.
27787
27788 * manual/resource.texi: Document MTASC-safety properties.
27789
27790 * manual/process.texi: Document MTASC-safety properties.
27791
27792 * manual/platform.texi: Document MTASC-safety properties.
27793
27794 * manual/pipe.texi: Document MTASC-safety properties.
27795
27796 * manual/pattern.texi: Document MTASC-safety properties.
27797
27798 * manual/message.texi: Document MTASC-safety properties.
27799
27800 [BZ #12751]
27801 * manual/memory.texi: Document MTASC-safety properties.
27802
27803 * manual/math.texi: Document MTASC-safety properties.
27804
27805 * manual/locale.texi: Document MTASC-safety properties.
27806
27807 * manual/llio.texi: Document MTASC-safety properties.
27808
27809 * manual/libdl.texi: New.
27810
27811 * manual/lang.texi: Document MTASC-safety properties.
27812
27813 * manual/job.texi: Document MTASC-safety properties.
27814
27815 * manual/getopt.texi: Document MTASC-safety properties.
27816
27817 * manual/ctype.texi: Document MTASC-safety properties.
27818
27819 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27820
27821 [BZ #16046]
27822 * csu/libc-tls.c (static_map): Remove variable.
27823 (__libc_setup_tls): Use main executable's link map for TLS data.
27824 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27825 casing for LM_ID_BASE and GL(dl_nns).
27826 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27827 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27828 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27829 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27830 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27831 member.
27832 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27833 l_phnum members.
27834
27835 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27836
27837 * manual/debug.texi: Document MTASC-safety properties.
27838
27839 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27840
27841 [BZ #16510]
27842 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27843 of __x86_64__ when disabling x87 inline functions.
27844
27845 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27846
27847 * manual/charset.texi: Document MTASC-safety properties.
27848
27849 * manual/crypt.texi: Document MTASC-safety properties.
27850
27851 * manual/conf.texi: Document MTASC-safety properties.
27852
27853 * manual/arith.texi: Document MTASC-safety properties.
27854
27855 * manual/argp.texi: Document MTASC-safety properties.
27856
27857 * manual/macros.texi: Introduce macros to document multi
27858 thread, asynchronous signal and asynchronous cancellation
27859 safety properties.
27860 * manual/intro.texi: Introduce the properties themselves.
27861
27862 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27863
27864 * sysdeps/sh/sh4/Makefile: New file.
27865
27866 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27867
27868 * math/gen-libm-test.pl ($srcdir): New variable.
27869 ($auto_input): Use it.
27870
27871 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27872
27873 [BZ #16506]
27874 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27875 access beyond array bounds when parsing netgroups file.
27876
27877 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27878 the old buffer before realloc.
27879
27880 2014-01-27 Allan McRae <allan@archlinux.org>
27881
27882 * po/fr.po: Update French translation from translation project.
27883
27884 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27885
27886 * sysdeps/sh/libm-test-ulps: Regenerate.
27887
27888 2014-01-24 David S. Miller <davem@davemloft.net>
27889
27890 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27891
27892 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27893
27894 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27895 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27896
27897 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27898
27899 [BZ #16474]
27900 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27901 string pointers after reallocation.
27902
27903 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27904
27905 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27906 __SH4A__ instead of __SH_FPU_ANY__.
27907
27908 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27909
27910 * sysdeps/sh/fpu_control.h: New file.
27911 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27912 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27913 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27914 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27915 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27916 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27917 * sysdeps/sh/sys/ucontext.h: Remove.
27918 * sysdeps/sh/sys: Remove directory.
27919
27920 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27921
27922 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27923 s390/sys/ucontext.h.
27924 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27925 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27926
27927 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27928
27929 [BZ #15605]
27930 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27931
27932 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27933
27934 [BZ#16431]
27935 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27936 Adjust the vDSO correctly for internal calls.
27937 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27938
27939 2014-01-20 Allan McRae <allan@archlinux.org>
27940
27941 * po/ca.po: Update Catalan translation from translation project.
27942
27943 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27944
27945 * sysdeps/s390/sotruss-lib.c: New file.
27946
27947 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27948
27949 [BZ#16430]
27950 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27951 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27952 local calls issues by not having a PLT stub required for IFUNC calls.
27953 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27954
27955 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27956
27957 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27958 * math/test-fpucw-static.c: Likewise.
27959
27960 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27961
27962 [BZ #16453]
27963 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27964
27965 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27966
27967 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27968 implementation for powerpc.
27969
27970 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27971
27972 [BZ #14782]
27973 * sysdeps/posix/system.c (__libc_system): Do not enable
27974 asynchronous cancellation.
27975
27976 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27977
27978 [BZ #16427]
27979 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27980 handling only for numbers special also in the IEEE case.
27981
27982 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27983
27984 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27985
27986 2014-01-11 Allan McRae <allan@archlinux.org>
27987
27988 * po/bg.po: Update Bulgarian translation from translation project.
27989
27990 * po/de.po: Update German translation from translation project.
27991
27992 2014-01-10 Roland McGrath <roland@hack.frob.com>
27993
27994 * sysdeps/generic/gcc-compat.h: New file.
27995
27996 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27997
27998 * benchtests/asin-inputs: Correct slow inputs.
27999 * benchtests/acos-inputs: Likewise.
28000
28001 2014-01-10 Allan McRae <allan@archlinux.org>
28002
28003 * po:sv.po: Update Swedish translation from translation project.
28004
28005 * po/vi.po: Update Vietnamese translation from translation project.
28006
28007 * po/eo.po: Update Esperanto translation from translation project.
28008
28009 * po/cs.po: Update Czech translation from translation project.
28010
28011 * po/nl.po: Update Dutch translation from translation project.
28012
28013 * po/pl.po: Update Polish translation from translation project.
28014
28015 * po/ru.po: Update Russian translation from translation project.
28016
28017 * po/uk.po: Update Ukrainian translation from translation project.
28018
28019 2014-01-08 Brooks Moses <bmoses@google.com>
28020
28021 * elf/dl-load.c: Fix comment typo.
28022
28023 2014-01-08 Carlos O'Donell <carlos@redhat.com>
28024
28025 * po/header.pot: Rename to...
28026 * po/pot.header: ... this.
28027 * po/Makefile: Use pot.header.
28028
28029 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28030 Maxim Kuvyrkov <maxim@kugelworks.com>
28031
28032 [BZ #16394]
28033 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28034 SRC and DEST against LEN.
28035
28036 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28037
28038 [BZ #16414]
28039 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28040 implementation.
28041 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28042
28043 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28044
28045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28046
28047 2014-01-08 Joseph Myers <joseph@codesourcery.com>
28048
28049 [BZ #16408]
28050 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28051 for large positive arguments.
28052
28053 2014-01-07 Joseph Myers <joseph@codesourcery.com>
28054
28055 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28056
28057 * math/auto-libm-test-in: Mark various tests with
28058 xfail-rounding:ldbl-128ibm.
28059 * math/auto-libm-test-out: Regenerated.
28060
28061 [BZ #16407]
28062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28063 Increase overflow threshold.
28064
28065 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
28066
28067 [BZ #14286]
28068 * stdio-common/vfprintf.c: Check for integer overflow.
28069
28070 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28071
28072 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28073 the first argument and return value of __tls_get_addr_internal.
28074
28075 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28076
28077 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28078 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28079
28080 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28081
28082 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28083 * sysdeps/s390/rtld-global-offsets.sym: New file.
28084 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28085 GLIBC_2.19 symbol.
28086 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28087 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28088 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28089 ... this.
28090 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28091 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28092 ... this.
28093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28094 Regenerate.
28095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28096 Regenerate.
28097 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28098 halfs of GPRs for high_gprs contexts.
28099 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28100 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
28101 field.
28102 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28103 uc_flags field.
28104 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28105 64 bit versions:
28106 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28107 for high GPRs (uc_high_gprs) and for future extensions
28108 (__reserved).
28109 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28110 for future extensions (__reserved).
28111 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28112 64 bit versions:
28113 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28114 SC_HIGHGPRS offset definition.
28115 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28116 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28117
28118 * Versions.def: Add GLIBC_2.19 for libpthread.
28119 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28120 siglongjmp for libpthread with GLIBC_2.19 symver.
28121 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28122 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28123 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28124 * sysdeps/s390/__longjmp.c: New file.
28125 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28126 * sysdeps/s390/longjmp.c: New file.
28127 * sysdeps/s390/setjmp.S: New file.
28128 * sysdeps/s390/sigjmp.S: New file.
28129 * sysdeps/s390/v1-longjmp.c: New file.
28130 * sysdeps/s390/v1-setjmp.h: New file.
28131 * sysdeps/s390/v1-sigjmp.c: New file.
28132 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28133 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28134 GLIBC_2.19 version.
28135 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28136 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28137 versioned symbols for ____longjmp_chk.
28138 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28139 Likewise.
28140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28141 Regenerate.
28142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28143 Regenerate.
28144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28145 Regenerate.
28146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28147 Regenerate.
28148 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28149 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28150 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28151 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28152 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28153 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28154 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28155 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28156 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28157 * sysdeps/s390/rtld-__longjmp.c: New file.
28158 * sysdeps/s390/rtld-setjmp.S: New file.
28159
28160 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28161
28162 [BZ #16400]
28163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28164 Return -__logl (x) for small positive arguments without evaluating
28165 a polynomial.
28166
28167 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28168
28169 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28170 Rename to ...
28171 (__ptrace_peeksiginfo_args): ... this.
28172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28173 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28174 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28175
28176 2014-01-06 Allan McRae <allan@archlinux.org>
28177
28178 * inet/netinet/in.h: Fix typo in comment.
28179
28180 2014-01-05 Andreas Jaeger <aj@suse.de>
28181
28182 * sysdeps/i386/fpu/libm-test-ulps: Update.
28183
28184 2014-01-05 Allan McRae <allan@archlinux.org>
28185
28186 * po/libc.pot: Regenerated.
28187
28188 * malloc/memusagestat.c: Fix gettext call formatting.
28189
28190 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28191
28192 * nscd/nscd.c: Improve usage() output.
28193
28194 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28195
28196 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28197 * sysdeps/unix/sysv/linux/configure: Regenerated.
28198 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28199 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28200
28201 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28202
28203 [BZ #16390]
28204 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28205 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28206
28207 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28208
28209 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28210 extra tokens at end of #undef directive.
28211 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28212 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28213 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28214
28215 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28216
28217 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28218
28219 * math/auto-libm-test-in: Mark various tests with
28220 xfail-rounding:ldbl-128ibm.
28221 * math/auto-libm-test-out: Regenerated.
28222
28223 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28224
28225 [BZ #16386]
28226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28227 numbers with subnormal high part when calculating exponent.
28228
28229 [BZ #16385]
28230 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28231 fabs.
28232
28233 [BZ #16384]
28234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28235 M_LN2l.
28236 (__ieee754_acoshl): Use __log1pl not __log1p.
28237
28238 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
28239
28240 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28241 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28242 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28243 (grow_heap, heap_trim, _int_new_arena, get_free_list)
28244 (reused_arena, arena_get2): Convert to GNU style.
28245 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28246 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28247 (memalign_check, __malloc_set_state): Likewise.
28248 * malloc/mallocbug.c (main): Likewise.
28249 * malloc/malloc.c (__malloc_assert, malloc_init_state)
28250 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28251 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28252 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28253 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28254 (__posix_memalign, malloc_info): Likewise.
28255 * malloc/malloc.h: Likewise.
28256 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28257 (mallochook, memalignhook, reallochook, mabort): Likewise.
28258 * malloc/mcheck.h: Likewise.
28259 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28260 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28261 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28262 * malloc/morecore.c (__default_morecore): Likewise.
28263 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28264 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28265 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28266 (print_and_abort): Likewise.
28267 * malloc/obstack.h: Likewise.
28268 * malloc/set-freeres.c (__libc_freeres): Likewise.
28269 * malloc/tst-mallocstate.c (main): Likewise.
28270 * malloc/tst-mtrace.c (main): Likewise.
28271 * malloc/tst-realloc.c (do_test): Likewise.
28272
28273 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28274
28275 [BZ #16366]
28276 * nscd/netgroupcache.c (do_notfound): New function.
28277 (addgetnetgrentX): Use it.
28278
28279 [BZ # 16365]
28280 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28281 NSS_STATUS_NOTFOUND.
28282
28283 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28284
28285 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28287
28288 2014-01-01 Allan McRae <allan@archlinux.org>
28289
28290 * scripts/update-copyrights: Update configure input file suffix.
28291
28292 * NEWS: Update copyright year.
28293 * catgets/gencat.c: Likewise.
28294 * csu/version.c: Likewise.
28295 * debug/catchsegv.sh: Likewise.
28296 * debug/pcprofiledump.c: Likewise.
28297 * debug/xtrace.sh: Likewise.
28298 * elf/ldconfig.c: Likewise.
28299 * elf/ldd.bash.in: Likewise.
28300 * elf/pldd.c: Likewise.
28301 * elf/sotruss.ksh: Likewise.
28302 * elf/sprof.c: Likewise.
28303 * iconv/iconv_prog.c: Likewise.
28304 * iconv/iconvconfig.c: Likewise.
28305 * locale/programs/locale.c: Likewise.
28306 * locale/programs/localedef.c: Likewise.
28307 * login/programs/pt_chown.c: Likewise.
28308 * malloc/memusage.sh: Likewise.
28309 * malloc/memusagestat.c: Likewise.
28310 * malloc/mtrace.pl: Likewise.
28311 * manual/libc.texinfo: Likewise.
28312 * nscd/nscd.c: Likewise.
28313 * nss/getent.c: Likewise.
28314 * nss/makedb.c: Likewise.
28315 * posix/getconf.c: Likewise.
28316 * scripts/test-installation.pl: Likewise.
28317
28318 * All files with FSF copyright notices: Update copyright dates
28319 using scripts/update-copyrights.
28320 * intl/plural.c: Regenerated.
28321 * locale/programs/charmap-kw.h: Likewise.
28322 * locale/programs/locfile-kw.h: Likewise.
28323
28324 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28325
28326 * sysdeps/unix/sysv/linux/configure: Regenerated.
28327 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28328 the linux/fanotify.h header.
28329 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28330 HAVE_LINUX_FANOTIFY_H is defined.
28331
28332 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28333
28334 * benchtests/cos-inputs: New inputs.
28335 * benchtests/sin-inputs: Likewise.
28336
28337 * benchtests/atan-inputs: New inputs. Fix name of multiple
28338 precision fallback inputs.
28339
28340 * benchtests/atanh-inputs: New inputs.
28341 * benchtests/tanh-inputs: Likewise.
28342
28343 * benchtests/acosh-inputs: New inputs.
28344 * benchtests/asinh-inputs: Likewise.
28345
28346 * benchtests/cosh-inputs: New inputs.
28347 * benchtests/sinh-inputs: Likewise.
28348
28349 * benchtests/acos-inputs: Add more inputs.
28350 * benchtests/asin-inputs: Likewise.
28351
28352 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28353
28354 [BZ #16375]
28355 * manual/arith.texi: Fix spelling.
28356 * manual/charset.texi: Likewise.
28357 * manual/errno.texi: Likewise.
28358 * manual/filesys.texi: Likewise.
28359 * manual/lang.texi: Likewise.
28360 * manual/llio.texi: Likewise.
28361 * manual/locale.texi: Likewise.
28362 * manual/message.texi: Likewise.
28363 * manual/resource.texi: Likewise.
28364 * manual/search.texi: Likewise.
28365 * manual/setjmp.texi: Likewise.
28366 * manual/stdio.texi: Likewise.
28367 * manual/string.texi: Likewise.
28368 * manual/sysinfo.texi: Likewise.
28369 * manual/time.texi: Likewise.
28370
28371 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28372
28373 * po/sl.po: New file.
28374
28375 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28376
28377 * .gitignore: Add core/.gdbinit/.gdb_history.
28378
28379 2013-12-27 Allan McRae <allan@archlinux.org>
28380
28381 [BZ #16369]
28382 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28383 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28384
28385 2013-12-24 Brooks Moses <bmoses@google.com>
28386
28387 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28388 all compilers that claim C++98 compliance, not just GCC.
28389 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28390 Likewise.
28391
28392 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28393
28394 * NEWS: Restore accidentally deleted bug-fix entries.
28395
28396 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28397 Ondřej Bílka <neleai@seznam.cz>
28398
28399 [BZ #15073]
28400 * malloc/malloc.c (_int_free): Perform sanity check only if we
28401 have_lock.
28402
28403 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28404
28405 [BZ #12986]
28406 * manual/stdio.texi (String Input Conversions): Clarify that character
28407 classes are not supported.
28408
28409 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28410
28411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28412
28413 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28414
28415 [BZ #16337]
28416 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28417 Calculate results for small negative arguments directly rather
28418 than using reflection formula with special underflow handling.
28419
28420 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28421 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28422 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28423 (fchflags): Likewise.
28424 (revoke): Likewise.
28425 (setlogin): Likewise.
28426 (sigaltstack): Likewise.
28427 (wait4): Likewise.
28428 (sigblock): Remove.
28429 (sigsetmask): Likewise.
28430 (wait3): Likewise.
28431 (waitpid): Likewise.
28432 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28433 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28434 file.
28435 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28436 * sysdeps/unix/bsd/Makefile: ... here.
28437 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28438 * sysdeps/unix/bsd/Versions: ... here.
28439 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28440 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28441 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28442 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28443 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28444 * sysdeps/unix/bsd/sigblock.c: ... here.
28445 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28446 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28447 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28448 * sysdeps/unix/bsd/sigvec.c: ... here.
28449 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28450 * sysdeps/unix/bsd/tcdrain.c: ... here.
28451 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28452 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28453 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28454 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28455 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28456 * sysdeps/unix/bsd/wait.c: ... here.
28457 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28458 * sysdeps/unix/bsd/wait3.c: ... here.
28459 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28460 * sysdeps/unix/bsd/waitpid.c: ... here.
28461
28462 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28463
28464 [BZ #16356]
28465 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28466 round-to-nearest for [!USE_AS_EXPM1L].
28467 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28468 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28469 more tests of exp and exp10. Expect some exp10 tests to miss
28470 exceptions or fail in directed rounding modes.
28471 * math/auto-libm-test-out: Regenerated.
28472 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28473 (exp10_test_tonearest): New function.
28474 (exp10_towardzero_test_data): New array.
28475 (exp10_test_towardzero): New function.
28476 (exp10_downward_test_data): New array.
28477 (exp10_test_downward): New function.
28478 (exp10_upward_test_data): New array.
28479 (exp10_test_upward): New function.
28480 (main): Call the new functions.
28481 * sysdeps/i386/fpu/libm-test-ulps: Update.
28482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28483
28484 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28485
28486 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28487 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28488 * math/auto-libm-test-out: Regenerated.
28489 * math/libm-test.inc (acosh_test_data): Add more tests.
28490 (atanh_test_data): Likewise.
28491 (ceil_test_data): Likewise.
28492 (copysign_test_data): Likewise.
28493 * sysdeps/i386/fpu/libm-test-ulps: Update.
28494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28495
28496 * timezone/checktab.awk: Update from tzcode 2013i.
28497 * timezone/private.h: Likewise.
28498 * timezone/scheck.c: Likewise.
28499 * timezone/tzfile.h: Likewise.
28500 * timezone/tzselect.ksh: Likewise.
28501 * timezone/zdump.c: Likewise.
28502 * timezone/zic.c: Likewise.
28503
28504 * math/auto-libm-test-in: Add tests of cpow.
28505 * math/auto-libm-test-out: Regenerated.
28506 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28507 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28508 mpc_cc_c.
28509 (func_calc_desc): Add mpc_cc_c union field.
28510 (test_functions): Add cpow.
28511 (special_fill_2pi): New function.
28512 (special_real_inputs): Add 2pi.
28513 (calc_generic_results): Handle mpc_cc_c.
28514 * sysdeps/i386/fpu/libm-test-ulps: Update.
28515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28516
28517 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28518 csqrt, ctan and ctanh.
28519 * math/auto-libm-test-out: Regenerated.
28520 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28521 (TEST_COND_x86): Likewise.
28522 (ccos_test_data): Use AUTO_TESTS_c_c.
28523 (ccosh_test_data): Likewise.
28524 (cexp_test_data): Likewise.
28525 (clog_test_data): Likewise.
28526 (csqrt_test_data): Likewise.
28527 (ctan_test_data): Likewise.
28528 (ctan_tonearest_test_data): Likewise.
28529 (ctan_towardzero_test_data): Likewise.
28530 (ctan_downward_test_data): Likewise.
28531 (ctan_upward_test_data): Likewise.
28532 (ctanh_test_data): Likewise.
28533 (ctanh_tonearest_test_data): Likewise.
28534 (ctanh_towardzero_test_data): Likewise.
28535 (ctanh_downward_test_data): Likewise.
28536 (ctanh_upward_test_data): Likewise.
28537 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28538 mpc_c_c.
28539 (func_calc_desc): Add mpc_c_c union field.
28540 (FUNC_mpc_c_c): New macro.
28541 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28542 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28543 ctanh.
28544 (special_fill_min_subnorm_p120): New function.
28545 (special_real_inputs): Add min_subnorm_p120.
28546 (calc_generic_results): Handle mpc_c_c.
28547 * sysdeps/i386/fpu/libm-test-ulps: Update.
28548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28549
28550 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28551
28552 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28553 (do_sin_slow): New functions.
28554 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28555 (cslow2, csloww1, csloww2): Use the new functions.
28556
28557 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28558 Use M to change sign of result instead of X. Assume X is
28559 positive.
28560 (csloww1): Likewise.
28561 (__sin): Adjust.
28562 (__cos): Adjust.
28563
28564 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28565 arguments A and DA.
28566 (__sin): Adjust.
28567 (__cos): Likewise.
28568
28569 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28570 (__cos): Likewise.
28571 (sloww1): Don't adjust sign of DX.
28572 (csloww1): Likewise.
28573 (sloww2): Use X directly and don't adjust sign of DX.
28574 (csloww2): Likewise.
28575
28576 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28577
28578 * math/auto-libm-test-in: Add tests of cabs and carg.
28579 * math/auto-libm-test-out: Regenerated.
28580 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28581 (carg_test_data): Likewise.
28582 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28583 mpc_c_f.
28584 (func_calc_desc): Add mpc_c_f union field.
28585 (test_functions): Add cabs and carg.
28586 (calc_generic_results): Handle mpc_c_f.
28587
28588 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28589 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28590 as a macro and a compat symbol.
28591 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28592 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28593 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28594 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28595 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28596 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28597 not use .hidden.
28598 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28599 Likewise.
28600 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28601 Likewise.
28602 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28603 Likewise.
28604 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28605 Likewise.
28606 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28607 Likewise.
28608 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28609 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28610 from GLIBC_2.3.2.
28611
28612 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28613
28614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28615
28616 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28617
28618 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28619 trailing whitespace removed.
28620 * scripts/config.guess: Update to version 2013-11-29.
28621 * scripts/config.sub: Update to version 2013-10-01.
28622
28623 * math/auto-libm-test-in: Add tests of sincos.
28624 * math/auto-libm-test-out: Regenerated.
28625 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28626 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28627 mpfr_f_11.
28628 (func_calc_desc): Add mpfr_f_11 union field.
28629 (test_functions): Add sincos.
28630 (calc_generic_results): Handle mpfr_f_11.
28631 * sysdeps/i386/fpu/libm-test-ulps: Update.
28632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28633
28634 2013-12-19 Andreas Schwab <schwab@suse.de>
28635
28636 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28637 CALL_MCOUNT.
28638 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28639 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28640 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28641
28642 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28643
28644 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28645 * sysdeps/i386/fpu/libm-test-ulps: Update.
28646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28647
28648 [BZ #16293]
28649 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28650 round-to-nearest mode when using frndint.
28651 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28652 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28653 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28654 Likewise.
28655 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28656 sinh test to fail.
28657 * math/auto-libm-test-out: Regenerated.
28658 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28659 (TEST_COND_x86): Likewise.
28660 (expm1_tonearest_test_data): New array.
28661 (expm1_test_tonearest): New function.
28662 (expm1_towardzero_test_data): New array.
28663 (expm1_test_towardzero): New function.
28664 (expm1_downward_test_data): New array.
28665 (expm1_test_downward): New function.
28666 (expm1_upward_test_data): New array.
28667 (expm1_test_upward): New function.
28668 (main): Run the new test functions.
28669 * sysdeps/i386/fpu/libm-test-ulps: Update.
28670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28671
28672 * include/features.h: Update comment documenting feature test
28673 macros. Mention _DEFAULT_SOURCE in comment.
28674 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28675 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28676 _BSD_SOURCE and _SVID_SOURCE.
28677 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28678 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28679 !_SVID_SOURCE]: Likewise.
28680 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28681 (__USE_POSIX_IMPLICITLY): Define.
28682 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28683 (_POSIX_SOURCE): Undefine and redefine.
28684 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28685 (_POSIX_C_SOURCE): Likewise.
28686 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28687 (Feature Test Macros): Update documentation of default features.
28688
28689 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28690
28691 * benchtests/Makefile: Add bench-strtok.
28692 * benchtests/bench-strtok.c: New file: strtok benchtest.
28693
28694 2013-12-19 Allan McRae <allan@archlinux.org>
28695
28696 * manual/install.texi: Suppress menu for plain text output.
28697 * INSTALL: Regenerated.
28698
28699 2013-12-18 Brooks Moses <bmoses@google.com>
28700
28701 [BZ #15846]
28702 * misc/getauxval.c: Include errno.h.
28703 (__getauxval): Set errno to ENOENT if the requested type is not
28704 found.
28705 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28706 don't declare with __attribute_const__.
28707 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28708 * manual/startup.texi: Document that getauxval sets errno.
28709
28710 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28711
28712 * math/auto-libm-test-in: Add tests of jn and yn.
28713 * math/auto-libm-test-out: Regenerated.
28714 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28715 (yn_test_data): Likewise.
28716 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28717 mpfr_if_f.
28718 (func_calc_desc): Add mpfr_if_f union field.
28719 (FUNC_mpfr_if_f): New macro.
28720 (test_functions): Add jn and yn.
28721 (calc_generic_results): Assert type of second input for
28722 mpfr_ff_f. Handle mpfr_if_f.
28723 (output_for_one_input_case): Disable all checking for arguments
28724 fitting floating-point types in case of an integer argument.
28725 * sysdeps/i386/fpu/libm-test-ulps: Update.
28726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28727
28728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28729 Don't expect fegetround reference in libm.so.
28730
28731 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28732
28733 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28734 $(config-cflags-nofma).
28735
28736 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28737
28738 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28739 * math/auto-libm-test-out: Regenerated.
28740
28741 [BZ #16338]
28742 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28743 to determine exponent and adjust argument to have exponent of -1.
28744 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28745 log2.
28746 * math/auto-libm-test-out: Regenerated.
28747 * sysdeps/i386/fpu/libm-test-ulps: Update.
28748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28749
28750 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28751
28752 * manual/probes.texi: Remove cases when per-thread arenas are
28753 disabled.
28754
28755 2013-12-18 Andreas Schwab <schwab@suse.de>
28756
28757 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28758 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28759 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28760 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28761 * sysdeps/i386/i686/multiarch/Makefile: Update.
28762 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28763
28764 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28765
28766 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28767 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28768
28769 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28770
28771 [BZ #15968]
28772 Support TZ transition times < 00:00:00.
28773 This is needed for version-3 tz-format files; it supports time
28774 stamps past 2037 for America/Godthab (the only entry in the tz
28775 database for which this change is relevant).
28776 * manual/time.texi (TZ Variable): Document transition times
28777 from -167:59:59 through -00:00:01.
28778 * time/tzset.c (tz_rule): Time of day is now signed.
28779 (__tzset_parse_tz): Parse negative time of day.
28780
28781 Document TZ transition times >= 25:00:00.
28782 * manual/time.texi (TZ Variable): Document transition times from
28783 25:00:00 through 167:59:59. These are already supported, and this
28784 support will help with version-3 tz-format files.
28785
28786 * manual/time.texi (TZ Variable): Modernize North America example
28787 to reflect current (i.e., 2007-and-later) daylight saving rules.
28788
28789 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28790
28791 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28792
28793 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28794 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28795 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28797 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28798 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28799 * sysdeps/unix/bsd/clock.c: Likewise.
28800 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28801 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28802 * sysdeps/unix/bsd/init-posix.c: Likewise.
28803 * sysdeps/unix/bsd/poll.c: Likewise.
28804 * sysdeps/unix/bsd/ptsname.c: Likewise.
28805 * sysdeps/unix/bsd/seekdir.c: Likewise.
28806 * sysdeps/unix/bsd/setegid.c: Likewise.
28807 * sysdeps/unix/bsd/seteuid.c: Likewise.
28808 * sysdeps/unix/bsd/setgid.c: Likewise.
28809 * sysdeps/unix/bsd/setrgid.c: Likewise.
28810 * sysdeps/unix/bsd/setruid.c: Likewise.
28811 * sysdeps/unix/bsd/setsid.c: Likewise.
28812 * sysdeps/unix/bsd/setuid.c: Likewise.
28813 * sysdeps/unix/bsd/sigaction.c: Likewise.
28814 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28815 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28816 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28817 * sysdeps/unix/bsd/telldir.c: Likewise.
28818 * sysdeps/unix/bsd/times.c: Likewise.
28819 * sysdeps/unix/bsd/usleep.c: Likewise.
28820
28821 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28822 ($(objpfx)libbsd-compat.a): Remove rule.
28823
28824 * include/features.h (__FAVOR_BSD): Do not define.
28825 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28826 features conflicting with POSIX.
28827 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28828 (_BSD_SOURCE): Remove description of not being a subset of other
28829 feature test macros.
28830 * manual/job.texi (getpgrp): Do not document BSD version.
28831 (getpgid): Do not document by reference to BSD getpgrp.
28832 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28833 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28834 * signal/signal.h [__FAVOR_BSD]: Likewise.
28835 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28836 instead of making contents conditional on [__FAVOR_BSD].
28837 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28838
28839 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28840
28841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28842
28843 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28844
28845 [BZ #16314]
28846 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28847 values below 2**-450, not 2**-500.
28848 * math/auto-libm-test-in: Don't allow spurious underflow from
28849 hypot.
28850 * math/auto-libm-test-out: Regenerated.
28851
28852 [BZ #16316]
28853 [BZ #16330]
28854 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28855 values of ha and hb and sort them after adjusting subnormal
28856 arguments.
28857 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28858 Likewise.
28859 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28860 values of ea and eb and sort them after adjusting subnormal
28861 arguments.
28862 * math/auto-libm-test-in: Do not expect some hypot tests of
28863 subnormals to fail. Add more hypot tests.
28864 * math/auto-libm-test-out: Regenerated.
28865
28866 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28867
28868 [BZ #13304]
28869 * sysdeps/sh/s_fma.c: New file.
28870 * sysdeps/sh/s_fmaf.c: New file.
28871 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28872 version.
28873 * sysdeps/sh/Implies: Add sh/soft-fp.
28874
28875 2013-12-16 Roland McGrath <roland@hack.frob.com>
28876
28877 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28878 level of indirection to members `objname', `errstring', `malloced'.
28879 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28880 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28881 it as the __longjmp argument (just pass 1 instead).
28882 (_dl_catch_error): Initialize C with argument pointers and address of
28883 volatile local ERRCODE rather than copying values out of C at return.
28884
28885 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28886
28887 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28888 * math/auto-libm-test-out: Regenerated.
28889 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28890 (hypot_test_data): Likewise.
28891 (pow_test_data): Likewise.
28892 (pow_tonearest_test_data): Likewise.
28893 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28894 mpfr_ff_f.
28895 (func_calc_desc): Add mpfr_ff_f union field.
28896 (FUNC_mpfr_ff_f): New macro.
28897 (test_functions): Add atan2, hypot and pow.
28898 (special_fill_min): New function.
28899 (special_fill_minus_min): Likewise.
28900 (special_fill_min_subnorm): Likewise.
28901 (special_fill_minus_min_subnorm): Likewise.
28902 (special_real_inputs): Add min, -min, min_subnorm and
28903 -min_subnorm.
28904 (calc_generic_results): Handle mpfr_ff_f.
28905 * sysdeps/i386/fpu/libm-test-ulps: Update.
28906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28907
28908 2013-12-16 Will Newton <will.newton@linaro.org>
28909
28910 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28911 (Aligned Memory Blocks): Add documentation for aligned_alloc
28912 and suggest it as an alternative to posix_memalign.
28913 (Hooks for Malloc): Document __memalign_hook is also called
28914 for aligned_alloc. (Summary of Malloc): Add summary for
28915 aligned alloc. Document __memalign_hook is also called
28916 for aligned_alloc.
28917
28918 2013-12-16 Will Newton <will.newton@linaro.org>
28919
28920 * manual/memory.texi (Malloc Examples): Clarify default
28921 alignment documentation. Suggest posix_memalign rather
28922 than memalign or valloc.
28923 (Aligned Memory Blocks): Remove suggestion to use memalign
28924 or valloc. Remove obsolete comment about BSD.
28925 Document memalign errno values and mark the function obsolete.
28926 Document posix_memalign returned error codes. Mark valloc
28927 as obsolete. (Hooks for Malloc): __memalign_hook is also
28928 called for posix_memalign and valloc.
28929 (Summary of Malloc): Add posix_memalign to function summary.
28930 __memalign_hook is also called for posix_memalign and valloc.
28931
28932 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28933
28934 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28935 TAYLOR_SIN.
28936 (__sin): Adjust.
28937 (__cos): Likewise.
28938 (sloww): Use mynumber union. Expand ternary operator into
28939 if-else statements.
28940 (cslow): use mynumber union.
28941
28942 2013-12-16 Allan McRae <allan@archlinux.org>
28943
28944 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28945 * configure: Regenerated.
28946
28947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28948
28949 [BZ #14120]
28950 * configure.ac: Added --enable-maintainer-mode. Check for
28951 autoconf when enabled.
28952 * configure: Regenerated.
28953
28954 * nscd/nscd.service: New file.
28955 * nscd/nscd.tmpfiles: New file.
28956
28957 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28958
28959 [BZ #12100]
28960 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28961 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28962 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28963 (strstr): Add __strstr_sse2_unaligned ifunc.
28964 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28965 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28966 (strcasestr): Remove __strcasestr_sse42 ifunc.
28967 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28970
28971 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28972
28973 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28974 * sysdeps/sh/bits/fenv.h: ... here.
28975 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28976
28977 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28978
28979 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28980
28981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28982 hypotf multiarch implementations.
28983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28984 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28985 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28986 multiarch hypot for PPC64.
28987 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28989 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28990 multiarch hypotf for PPC64.
28991
28992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28993 modff multiarch implementations.
28994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28997 multiarch modf for PPC64.
28998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29001 multiarch modff for PPC64.
29002
29003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29004 and logl multiarch implementations.
29005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29008 multiarch logb for PPC64.
29009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29012 multiarch logb for PPC64.
29013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29016 multiarch logb for PPC64.
29017
29018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29019 isinff multiarch implementation.
29020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29021 file.
29022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29024 multiarch isinf for PPC64.
29025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29026 file.
29027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29028 multiarch isinff for PPC64.
29029
29030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29031 finitef multiarch implementation.
29032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29033 file.
29034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29036 multiarch finite for PPC64.
29037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29038 file.
29039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29040 multiarch finitef for PPC64.
29041
29042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29043 lrint multiarch implementation.
29044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29045 file.
29046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29048 multiarch llrint for PPC64.
29049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29050 multiarch lrint for PPC64.
29051
29052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29053 copysignf multiarch implementation.
29054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29055 file.
29056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29057 file.
29058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29059 multiarch copysign for PPC64.
29060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29061 multiarch copysignf for PPC64.
29062
29063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29064 multiarch implementation.
29065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29066 file.
29067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29068 file.
29069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29070 file.
29071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29072 file.
29073 multiarch llround for PPC64.
29074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29075 multiarch trunc for PPC64.
29076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29077 multiarch truncf for PPC64.
29078
29079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29080 multiarch implementation.
29081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29082 file.
29083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29084 file.
29085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29086 file.
29087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29088 file.
29089 multiarch llround for PPC64.
29090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29091 multiarch round for PPC64.
29092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29093 multiarch roundf for PPC64.
29094
29095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29096 multiarch implementation.
29097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29098 file.
29099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29100 file.
29101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29102 file.
29103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29104 file.
29105 multiarch llround for PPC64.
29106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29107 multiarch floor for PPC64.
29108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29109 multiarch floorf for PPC64.
29110
29111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29112 multiarch implementation.
29113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29114 file.
29115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29116 file.
29117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29118 file.
29119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29120 file.
29121 multiarch llround for PPC64.
29122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29123 multiarch ceil for PPC64.
29124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29125 multiarch ceilf for PPC64.
29126
29127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29128 multiarch implementation.
29129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29130 file.
29131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29132 file.
29133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29134 file.
29135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29136 multiarch llround for PPC64.
29137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29138 multiarch lround for PPC64.
29139
29140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29141 multiarch implementation.
29142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29145 file.
29146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29149 multiarch isnan for PPC64.
29150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29151 multiarch isnanf for PPC64.
29152
29153 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29154 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29155 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29156 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29157 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29159
29160 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29161 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29164
29165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29166 multiarch implementations.
29167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29168 (__libc_ifunc_impl_list): Likewise.
29169 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29170 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29171 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29172 multiarch stpcpy for PPC64.
29173
29174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29175 multiarch implementations.
29176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29177 (__libc_ifunc_impl_list): Likewise.
29178 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29179 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29180 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29181 multiarch strcpy for PPC64.
29182
29183 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29184 redefine function name.
29185 (_wordcopy_fwd_dest_aligned): Likewise.
29186 (_wordcopy_bwd_aligned): Likewise.
29187 (_wordcopy_bwd_dest_aligned): Likewise.
29188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29189 multiarch implementations.
29190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29191 (__libc_ifunc_impl_list): Likewise.
29192 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29193 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29194 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29195 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29196 multiarch wcscpy for PPC64.
29197
29198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29199 multiarch implementations.
29200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29201 (__libc_ifunc_impl_list): Likewise.
29202 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29203 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29204 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29205 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29206 multiarch wcscpy for PPC64.
29207
29208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29209 multiarch implementations.
29210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29211 (__libc_ifunc_impl_list): Likewise.
29212 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29213 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29214 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29215 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29216 multiarch wcsrchr for PPC64.
29217
29218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29219 multiarch implementations.
29220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29221 (__libc_ifunc_impl_list): Likewise.
29222 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29223 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29224 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29225 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29226 multiarch wcschr for PPC64.
29227
29228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29229 multiarch implementations.
29230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29231 (__libc_ifunc_impl_list): Likewise.
29232 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29233 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29234 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29235 multiarch strchrnul for PPC64.
29236
29237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29238 implementations.
29239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29240 (__libc_ifunc_impl_list): Likewise.
29241 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29242 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29243 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29244 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29245 strchr for PPC64.
29246
29247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29248 implementations.
29249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29250 (__libc_ifunc_impl_list): Likewise.
29251 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29252 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29253 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29254 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29255 strncmp for PPC64.
29256
29257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29258 multiarch implementations.
29259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29260 (__libc_ifunc_impl_list): Likewise.
29261 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29262 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29263 strncasecmp for PPC64.
29264 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29265 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29266 multiarch strncasecmp_l for PPC64.
29267
29268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29269 multiarch implementations.
29270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29271 (__libc_ifunc_impl_list): Likewise.
29272 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29274 multiarch strcasecmp for PPC64.
29275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29276 file.
29277 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29278 multiarch strcasecmp_l for PPC64.
29279
29280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29281 implementations.
29282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29283 (__libc_ifunc_impl_list): Likewise.
29284 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29285 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29286 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29287 strnlen for PPC64.
29288
29289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29290 implementations.
29291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29292 (__libc_ifunc_impl_list): Likewise.
29293 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29294 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29295 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29296 strlen for PPC64.
29297
29298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29299 implementations.
29300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29301 (__libc_ifunc_impl_list): Likewise.
29302 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29303 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29304 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29305 rawmemrchr for PPC64.
29306
29307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29308 implementation.
29309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29310 (__libc_ifunc_impl_list): Likewise.
29311 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29312 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29313 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29314 memrchr for PPC64.
29315
29316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29317 implementation.
29318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29319 (__libc_ifunc_impl_list): Likewise.
29320 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29321 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29322 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29323 memchr for PPC64.
29324
29325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29326 implementation.
29327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29328 (__libc_ifunc_impl_list): Likewise.
29329 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29330 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29331 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29332 mempcpy for PPC64.
29333
29334 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29335 avoid cretion of __bzero symbol.
29336 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29337 Likewise.
29338 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29339 Likewise.
29340 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29341 Likewise.
29342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29343 multiarch implementations.
29344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29345 (__libc_ifunc_impl_list): Likewise.
29346 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29347 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29348 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29349 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29350 bzero for PPC32.
29351 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29352 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29353 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29354 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29355 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29356 memset for PPC64.
29357 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29358
29359 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29361 implementations.
29362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29363 (__libc_ifunc_impl_list): Likewise.
29364 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29365 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29366 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29367 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29368 memcmp for PPC64.
29369
29370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29371 multiarch for POWER/PPC64.
29372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29373 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29374 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29375 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29376 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29377 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29378 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29379 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29380 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29381 memcpy for PPC64.
29382
29383 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29384 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29385 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29386 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29387 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29388 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29389 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29390 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29391 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29392 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29393 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29394 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29395 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29396 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29397 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29405
29406 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29407
29408 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29409
29410 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29411
29412 * benchtests/Makefile (bench): Add exp2 and log2.
29413 (LDLIBS-bench-exp2): Add -lm.
29414 (LDLIBS-bench-log2): Likewise.
29415 * benchtests/exp2-inputs: New inputs file.
29416 * benchtests/log2-inputs: New inputs file.
29417 * benchtests/log-inputs: Add new inputs.
29418 * benchtests/tan-inputs: Likewise.
29419
29420 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29421
29422 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29423 definition...
29424 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29425 (csloww2): ... from here.
29426
29427 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29428 instead of structures.
29429 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29430 (POLYNOMIAL): Likewise.
29431 (TAYLOR_SLOW): Likewise.
29432 (__sin): Likewise.
29433 (__cos): Likewise.
29434 (slow1): Likewise.
29435 (slow2): Likewise.
29436 (sloww): Likewise.
29437 (sloww1); Likewise.
29438 (sloww2): Likewise.
29439 (bsloww1): Likewise.
29440 (bsloww2): Likewise.
29441 (cslow2): Likewise.
29442 (csloww): Likewise.
29443 (csloww1): Likewise.
29444 (csloww2): Likewise.
29445
29446 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29447
29448 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29449 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29450 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29451 * malloc/hooks.c (realloc_check): Likewise.
29452
29453 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29454 * malloc/arena.c: Remove PER_THREAD conditional.
29455 [!PER_THREAD]: Remove code.
29456 (ptmalloc_unlock_all2): Likewise.
29457 (ptmalloc_init): Likewise.
29458 (_int_new_arena): Likewise.
29459 (arena_get2): Likewise.
29460 * malloc/hooks.c (__malloc_get_state): Likewise.
29461 (__malloc_set_state): Likewise.
29462 * malloc/malloc.c: Likewise.
29463 (struct malloc_state): Likewise.
29464 (struct malloc_par): Likewise.
29465 (__libc_realloc): Likewise.
29466 (__libc_mallopt): Likewise.
29467
29468 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29469
29470 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29471
29472 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29473
29474 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29475 macro to a function. Check for zero perturb_byte.
29476 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29477
29478 * malloc/malloc.c: (force_reg): Remove.
29479 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29480 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29481 force_reg by atomic_forced_read.
29482 * malloc/arena.c (ptmalloc_init): Likewise.
29483 * malloc/hooks.c (top_check): Likewise.
29484
29485 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29486
29487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29488
29489 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29490
29491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29492
29493 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29494
29495 * math/auto-libm-test-in: Add tests of lgamma.
29496 * math/auto-libm-test-out: Regenerated.
29497 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29498 (M_LOG_2_SQRT_PIl): Likewise.
29499 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29500 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29501 mpfr_f_f1.
29502 (func_calc_desc): Add mpfr_f_f1 union field.
29503 (ARGS1): New macro.
29504 (ARGS2): Likewise.
29505 (ARGS3): Likewise.
29506 (ARGS4): Likewise.
29507 (RET1): Likewise.
29508 (RET2): Likewise.
29509 (CALC): Likewise.
29510 (FUNC): Likewise.
29511 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29512 (test_functions): Add lgamma.
29513 (calc_generic_results): Handle mpfr_f_f1.
29514 * sysdeps/i386/fpu/libm-test-ulps: Update.
29515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29516
29517 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29518
29519 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29520 __mpn_add_n for PowerPC64/POWER7.
29521 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29522 __mpn_sub_n for PowerPC64/POWER7.
29523
29524 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29525 __mpn_addmul_1 for PowerPC64.
29526 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29527 __mpn_submul_1 for PowerPC64.
29528 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29529 for PowerPC64.
29530 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29531 for PowerPC64.
29532
29533 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29534
29535 [BZ #15089]
29536 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29537
29538 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29539
29540 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29541
29542 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29543 add multiarch folders.
29544 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29545 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29546 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29547 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29548 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29549 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29550 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29551 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29552 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29553 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29554 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29561
29562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29563 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29565 New file.
29566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29567 New file.
29568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29569 multiarch __ieee754_hypot for PowerPC32.
29570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29571 New file.
29572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29573 New file.
29574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29575 multiarch __ieee754_hypotf for PowerPC32.
29576
29577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29578 long_double_symbol only if __logbl is defined.
29579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29580 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29581 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29582 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29584 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29585 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29586 path for implementation.
29587 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29588 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29590 logb, and logbl multiarch implementations for PowerPC32.
29591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29592 file.
29593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29594 file.
29595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29596 multiarch logb for PowerPC32.
29597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29598 file.
29599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29600 file.
29601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29602 multiarch logbf for PowerPC32.
29603 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29605 file.
29606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29607 multiarch logbl implementation for PowerPC32.
29608
29609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29610 and modff multiarch implementations.
29611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29612 New file.
29613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29614 New file.
29615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29616 multiarch modf for PowerPC32.
29617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29618 New file.
29619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29620 New file.
29621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29622 multiarch modff for PowerPC32.
29623
29624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29625 and lrintf multiarch implementations.
29626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29627 New file.
29628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29629 New file.
29630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29631 multiarch lrint for PowerPC32.
29632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29633 file: multiarch lrintf for PowerPC32.
29634
29635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29636 and lroundf multiarch implementations.
29637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29638 New file.
29639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29640 New file.
29641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29642 New file.
29643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29644 multiarch lround for PowerPC32.
29645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29646 file: multiarch lroundf for PowerPC32.
29647
29648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29649 copysign and copysignf multiarch implementations.
29650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29651 New file.
29652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29653 New file.
29654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29655 file: multiarch copysign for PowerPC32.
29656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29657 file: multiarch copysignf for PowerPC32.
29658
29659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29660 and truncf multiarch implementations.
29661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29662 New file.
29663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29664 file.
29665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29666 multiarch trunc for PowerPC32.
29667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29668 New file.
29669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29670 New file.
29671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29672 multiarch truncf for PowerPC32.
29673
29674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29675 and roundf multiarch implementations.
29676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29677 New file.
29678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29679 file.
29680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29681 multiarch round for PowerPC32.
29682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29683 New file.
29684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29685 New file.
29686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29687 multiarch roundf for PowerPC32.
29688
29689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29690 and floorf multiarch implementations.
29691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29692 New file.
29693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29694 file.
29695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29696 multiarch floor for PowerPC32.
29697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29698 New file.
29699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29700 New file.
29701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29702 multiarch floorf for PowerPC32.
29703
29704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29705 and ceilf multiarch implementations.
29706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29707 New file.
29708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29709 file.
29710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29711 multiarch ceil for PowerPC32.
29712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29713 New file.
29714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29715 file.
29716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29717 multiarch ceilf for PowerPC32.
29718
29719 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29720 is defined.
29721 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29722 FINITEF is defined.
29723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29724 and finitef multiarch implementations.
29725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29726 New file.
29727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29728 file.
29729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29730 multiarch finite for PowerPC32.
29731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29732 New file.
29733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29734 file: multiarch finitef for PowerPC32.
29735
29736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29737 and isinff multiarch implementations.
29738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29739 file.
29740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29741 file.
29742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29743 multiarch isinf for PowerPC32.
29744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29745 New file.
29746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29747 multiarch isinff for PowerPC32.
29748
29749 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29750 alias when __isnan is defined.
29751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29752 and isnanf multiarch implementations.
29753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29754 file.
29755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29756 file.
29757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29758 file.
29759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29760 file.
29761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29762 multiarch isnan for PowerPC32.
29763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29764 New file.
29765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29766 New file.
29767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29768 multiarch isnanf for PowerPC32.
29769
29770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29771 and sqrtf multiarch implementations.
29772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29773 file.
29774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29775 file.
29776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29777 multiarch sqrt for PowerPC32.
29778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29779 file.
29780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29781 file.
29782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29783 multiarch sqrtf for PowerPC32.
29784
29785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29786 and llroundf multiarch implementations.
29787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29788 New file.
29789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29790 New file.
29791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29792 New file.
29793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29794 file: multiarch llround for PowerPC32.
29795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29796 file: multiarch llroundf for PowerPC32.
29797
29798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29799 multiarch PowerPC32 fpu implementations.
29800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29801 New file.
29802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29803 New file.
29804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29805 multiarch llrint for PowerPC32.
29806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29807 New file.
29808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29809 New file.
29810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29811 file.
29812
29813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29814
29815 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29816 file.
29817 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29818 file.
29819 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29820 file.
29821 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29822 multiarch wordcopy for PPC32.
29823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29824 wordcopy objects.
29825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29826 (__libc_ifunc_impl_list): Likewise.
29827 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29828 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29829 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29830 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29832 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29833
29834 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29836 file.
29837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29838 file.
29839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29840 file.
29841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29842 multiarch wcscpy for PPC32.
29843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29844 multiarch objects.
29845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29846 (__libc_ifunc_impl_list): Likewise.
29847 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29848 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29849 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29850 sysdeps/powerpc/power6/wcscpy.c.
29851
29852 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29854 file.
29855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29856 file.
29857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29858 file.
29859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29860 multiarch wcsrchr for PPC32.
29861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29862 multiarch objects.
29863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29864 (__libc_ifunc_impl_list): Likewise.
29865 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29866 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29867 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29868 sysdeps/powerpc/power6/wcsrchr.c.
29869
29870 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29871 file.
29872 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29873 file.
29874 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29876 multiarch wcschr for PPc32.
29877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29878 multiarch objects.
29879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29880 (__libc_ifunc_impl_list): Likewise.
29881 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29882 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29883 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29884 sysdeps/powerpc/power6/wcschr.c.
29885
29886 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29887 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29888 file.
29889 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29890 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29891 file: multiarch strchr for PPC32.
29892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29893 multiarch objects.
29894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29895 (__libc_ifunc_impl_list): Likewise.
29896
29897 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29898 name.
29899 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29900 file.
29901 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29902 file.
29903 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29904 multiarch strchrnul for PPC32.
29905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29906 multiarch objects.
29907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29908 (__libc_ifunc_impl_list): Likewise.
29909
29910 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29911 file.
29912 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29913 multiarch strncasecmp for PPC32.
29914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29915 file.
29916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29917 multiarch strncasecmp_l for PPC32.
29918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29919 strncasecmp multiarch objects.
29920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29921 (__libc_ifunc_impl_list): Likewise.
29922
29923 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29924 file.
29925 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29926 multiarch strncasecmp for PPC32.
29927 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29928 New file.
29929 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29930 multiarch strcasecmp_l for PPC32.
29931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29932 multiarch objects.
29933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29934 (__libc_ifunc_impl_list): Likewise.
29935
29936 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29937 file.
29938 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29939 file.
29940 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29941 multiarch strncmp for PPC32.
29942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29943 multiarch objects.
29944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29945 (__libc_ifunc_impl_list): Likewise.
29946
29947 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29948 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29949 file.
29950 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29951 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29953 multiarch objects.
29954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29955 (__libc_ifunc_impl_list): Likewise.
29956
29957 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29958 file.
29959 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29960 file.
29961 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29963 multiarch objects.
29964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29965 (__libc_ifunc_impl_list): Likewise.
29966
29967 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29968 file.
29969 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29970 file.
29971 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29972 multiarch rawmemchr for PPC32.
29973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29974 multiarch objects.
29975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29976 (__libc_ifunc_impl_list): Likewise.
29977
29978 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29979 file.
29980 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29981 file.
29982 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29983 file: memrchr multiarch for PPC32.
29984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29985 multiarch objects.
29986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29987 (__libc_ifunc_impl_list): Likewise.
29988
29989 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29990 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29991 file.
29992 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29993 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29994 multiarch memchr for PPC32.
29995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29996 multiarch objects.
29997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29998 (__libc_ifunc_impl_list): Likewise.
29999
30000 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30001 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30002 file.
30003 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30004 file.
30005 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30006 file: multiarch mempcpy for PPC32.
30007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30008 multiarch objects.
30009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30010 (__libc_ifunc_impl_list): Likewise.
30011
30012 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30013 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30014 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30015 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30016 multiarch bzero for PPC32.
30017 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30018 file.
30019 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30020 file.
30021 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30022 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30023 file: multiarch memset for PPC32.
30024 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30026 memset multiarch objects.
30027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30028 (__libc_ifunc_impl_list): Likewise.
30029
30030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30031 file.
30032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30034 memcmp for PPC32.
30035 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30037 multiarch objects.
30038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30039 (__libc_ifunc_impl_list): Likewise.
30040
30041 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30043 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30044 file.
30045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30046 file.
30047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30048 file.
30049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30050 multiarch memcpy for PPC32.
30051 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30052 multiarch objects.
30053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30054 (__libc_ifunc_impl_list): Likewise.
30055
30056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30057 support multiarch for POWER/PPC32.
30058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30059 Likewise.
30060 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30062 Implies file to make multiarch folder appers before the fpu and
30063 default folder for power4 configuration.
30064
30065 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30066
30067 * scripts/bench.pl: Append volatile keyword to type.
30068
30069 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30070
30071 * sysdeps/sh/sotruss-lib.c: New file.
30072 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30073
30074 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30075
30076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30077
30078 2013-12-05 Joseph Myers <joseph@codesourcery.com>
30079
30080 [BZ #6810]
30081 * math/w_tgamma.c: Include <errno.h>.
30082 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
30083 * math/w_tgammaf.c: Include <errno.h>.
30084 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
30085 * math/w_tgammal.c: Include <errno.h>.
30086 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
30087 * math/auto-libm-test-in: Do not allow missing errno on tgamma
30088 underflow. Add more tgamma tests.
30089 * math/auto-libm-test-out: Regenerated.
30090 * sysdeps/i386/fpu/libm-test-ulps: Update.
30091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30092
30093 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30094 sin, sinh, tan, tanh, tgamma, y0 and y1.
30095 * math/auto-libm-test-out: Regenerated.
30096 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30097 (TEST_COND_x86): Likewise.
30098 (M_E2l): Remove macro.
30099 (M_E3l): Likewise.
30100 (M_2_SQRT_PIl): Likewise.
30101 (M_SQRT_PIl): Likewise.
30102 (M_1_DIV_El): Likewise.
30103 (log_test_data): Use AUTO_TESTS_f_f.
30104 (log10_test_data): Likewise.
30105 (log1p_test_data): Likewise.
30106 (log2_test_data): Likewise.
30107 (sin_test_data): Likewise.
30108 (sin_tonearest_test_data): Likewise.
30109 (sin_towardzero_test_data): Likewise.
30110 (sin_downward_test_data): Likewise.
30111 (sin_upward_test_data): Likewise.
30112 (sinh_test_data): Likewise.
30113 (sinh_tonearest_test_data): Likewise.
30114 (sinh_towardzero_test_data): Likewise.
30115 (sinh_downward_test_data): Likewise.
30116 (sinh_upward_test_data): Likewise.
30117 (tan_test_data): Likewise.
30118 (tan_tonearest_test_data): Likewise.
30119 (tan_towardzero_test_data): Likewise.
30120 (tan_downward_test_data): Likewise.
30121 (tan_upward_test_data): Likewise.
30122 (tanh_test_data): Likewise.
30123 (tgamma_test_data): Likewise.
30124 (y0_test_data): Likewise.
30125 (y1_test_data): Likewise.
30126 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30127 (special_real_inputs): Add pi/4.
30128 * sysdeps/i386/fpu/libm-test-ulps: Update.
30129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30130
30131 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30132
30133 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30134 "longjmp_target" static probes.
30135 (__longjmp): Rename to __longjmp_symbol.
30136 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30137 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30138 on which longjmp to generate.
30139 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30140 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30141 probe.
30142 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30143 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30144 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30145 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30146 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30147 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30149 __longjmp_symbol based on which __longjmp to generate.
30150 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30151 probe.
30152 (setjmp): Rename to setjmp_symbol.
30153 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30154 (_setjmp): Rename to _setjmp_symbol.
30155 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30156 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30157 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30158 which setjmp to generate.
30159 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30160 "longjmp_target" static probes.
30161
30162 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30163
30164 * benchtests/README: Add note about output arguments.
30165 * benchtests/bench-sincos.c: Remove file.
30166 * benchtests/sincos-inputs: New file.
30167 * scripts/bench.pl: Identify output arguments and define
30168 static variables for them.
30169
30170 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30171
30172 [BZ #15941]
30173 * Makefile (INSTALL): Add install-plain.texi as the primary
30174 dependency.
30175 * manual/install-plain.texi: New file.
30176 * manual/install.texi: Include node directive only for
30177 non-plaintext output.
30178
30179 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30180
30181 * stdlib/longlong.h: Update from GCC.
30182
30183 [BZ #6807]
30184 [BZ #15901]
30185 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30186 * math/w_j0f.c (y0f): Likewise.
30187 * math/w_j0l.c (__y0l): Likewise.
30188 * math/w_j1.c (y1): Likewise.
30189 * math/w_j1f.c (y1f): Likewise.
30190 * math/w_j1l.c (__y1l): Likewise
30191 * math/w_jn.c (yn): Likewise.
30192 * math/w_jnf.c (ynf): Likewise.
30193 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30194 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30195 value for Bessel function domain errors outside _SVID_ mode.
30196 Adjust sign of return value for yn (negative integer, 0).
30197 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30198 by zero in return for negative x and set sign appropriately for
30199 negative n.
30200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30201 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30202 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30203 expectations in error cases.
30204 (y1_test_data): Likewise.
30205 (yn_test_data): Likewise.
30206 * sysdeps/i386/fpu/libm-test-ulps: Update.
30207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30208
30209 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30210
30211 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30212 "64" to "64-v1". Add "64-v2".
30213 (abi-64-options): Rename to ...
30214 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30215 (abi-64-condition): Rename to ...
30216 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30217 (abi-64-ld-soname): Rename to ...
30218 (abi-64-v1-ld-soname): ... this.
30219 (abi-64-v2-options): Define.
30220 (abi-64-v2-condition): Likewise.
30221 (abi-64-v2-ld-soname): Likewise.
30222 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30223 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30227
30228 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30229 Alan Modra <amodra@gmail.com>
30230
30231 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30232 New versions for use with the ELFv2 ABI.
30233 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30234 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30235 declaration.
30236 (struct La_ppc64v2_retval): Likewise.
30237 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30238 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30239 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30240 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30241 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30242 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30243 Do not save or restore CR.
30244 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30245 (_dl_profile_resolve): Do no save or restore CR. Support extended
30246 return values for ELFv2 ABI. Fix location of FPR return registers.
30247 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30248 updated values for _CALL_ELF == 2.
30249 (La_regs, La_retval, int_retval): Likewise.
30250
30251 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30252
30253 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30254 (FRAME_MIN_SIZE_PARM): Likewise.
30255 (FRAME_BACKCHAIN): Likewise.
30256 (FRAME_CR_SAVE): Likewise.
30257 (FRAME_LR_SAVE): Likewise.
30258 (FRAME_TOC_SAVE): Likewise.
30259 (FRAME_PARM_SAVE): Likewise.
30260 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30261 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30262 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30263 (call_mcount_parm_offset): New macro.
30264 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30265 (PROF): Use symbolic stack frame offsets.
30266 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30267 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30268 Redefine in terms of FRAME_MIN_SIZE.
30269 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30270 (_dl_profile_resolve): Likewise. Update comment.
30271 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30272 symbols stack frame offsets.
30273 (__sigsetjmp): Likewise.
30274 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30275 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30276 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30277 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30278
30279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30280 (FRAME_BACKCHAIN): Remove.
30281 (FRAME_CR_SAVE): Likewise.
30282 (FRAME_LR_SAVE): Likewise.
30283 (FRAME_COMPILER_DW): Likewise.
30284 (FRAME_LINKER_DW): Likewise.
30285 (FRAME_TOC_SAVE): Likewise.
30286 (FRAME_PARM_SAVE): Likewise.
30287 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30288 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30289 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30291 (CHECK_SP): Use symbolic stack frame offsets.
30292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30293 zone" instead of caller's parameter save area for temp storage.
30294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30295 Likewise. Also, use symbolic stack frame offsets.
30296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30297 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30298 our own stack frame instead of the caller's.
30299 (__socket): Use symbolic stack frame offsets.
30300
30301 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30302 Alan Modra <amodra@gmail.com>
30303
30304 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30305 Define.
30306 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30307 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30308 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30309 New function.
30310 (elf_machine_fixup_plt): Call it.
30311 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30312 reloc arguments.
30313 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30314 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30315 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30316 r2 before calling target.
30317
30318 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30319 Alan Modra <amodra@gmail.com>
30320
30321 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30322 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30323 versions of macros to support ELFv2 ABI.
30324 (LOCALENTRY): New macro.
30325 (ENTRY, EALIGN): Use it.
30326 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30327 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30328 fall through into ENTRY entry point.
30329 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30330 Only define if _CALL_ELF != 2.
30331
30332 (elf_machine_matches_host): Verify ABI version matches.
30333 (RTLD_START): Use LOCALENTRY.
30334 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30335 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30336 (PLT_ENTRY_WORDS): New macro.
30337 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30338 (elf_machine_runtime_setup): Support ELFv2 ABI.
30339 (elf_machine_fixup_plt): Likewise.
30340 (elf_machine_plt_conflict): Likewise.
30341 (resolve_ifunc): Likewise.
30342 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30343 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30344 Likewise.
30345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30346 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30348 (makecontext): Support ELFv2 ABI.
30349 * elf/elf.h (EF_PPC64_ABI): Define.
30350
30351 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30352
30353 * sysdeps/powerpc/powerpc64/sysdep.h
30354 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30355 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30356 (ENTRY) [ASSEMBLER]: ... but instead here ...
30357 (EALIGN) [ASSEMBLER]: ... and here.
30358 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30359 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30360 (ENTRY_2) [!ASSEMBLER]: Use it.
30361 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30362 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30363 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30364 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30365 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30367 Use PPC64_LOAD_FUNCPTR.
30368
30369 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30370
30371 2013-12-04 Alan Modra <amodra@gmail.com>
30372
30373 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30374 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30375 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30376 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30377
30378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30379 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30380 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30381 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30382 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30383 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30384
30385 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30386
30387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30388 (__makecontext): Fix incorrect CFI when backtracing out of
30389 context created via makecontext.
30390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30391 (__setcontext): Fix incorrect CFI during switch to new context.
30392 (__novec_setcontext): Likewise.
30393
30394 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30395
30396 [BZ #4772]
30397 * time/strptime_l.c (__strptime_internal): Allow modifiers
30398 in strptime.
30399 * time/tst-strptime.c (day_tests): Add testcase.
30400
30401 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30402
30403 * scripts/bench.pl: Skip over blank lines.
30404
30405 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30406
30407 [BZ #926]
30408 * manual/time.texi (Calendar Time): Clarify what timezone functions
30409 use.
30410
30411 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30412
30413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30414
30415 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30416
30417 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30418 implementation.
30419 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30420 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30421 * debug/memset_chk.c (__memset_chk): Likewise.
30422 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30423 * debug/strncpy_chk.c: Likewise.
30424
30425 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30426
30427 [BZ #15268]
30428 [BZ #15425]
30429 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30430 (__ieee754_exp): For possibly underflowing results, check size of
30431 result and force underflow exception if required.
30432 * math/auto-libm-test-in: Add more tests of exp.
30433 * math/auto-libm-test-out: Regenerated.
30434 * sysdeps/i386/fpu/libm-test-ulps: Update.
30435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30436
30437 [BZ #16283]
30438 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30439 * math/w_exp2f.c (__exp2f): Likewise.
30440 * math/w_exp2l.c (__exp2l): Likewise.
30441 * math/auto-libm-test-in: Do not allow missing errno on exp2
30442 underflow.
30443 * math/auto-libm-test-out: Regenerated.
30444
30445 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30446
30447 [BZ #16274]
30448 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30449 handle filename validation.
30450 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30451 (do_open): Delete.
30452
30453 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30454
30455 [BZ #6786]
30456 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30457 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30458 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30459 <float.h>.
30460 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30461 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30462 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30464 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30465 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30466 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30467 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30468 Add more erfc tests.
30469 * math/auto-libm-test-out: Regenerated.
30470 * sysdeps/i386/fpu/libm-test-ulps: Update.
30471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30472
30473 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30474 exp2, expm1, j0 and j1.
30475 * math/auto-libm-test-out: Regenerated.
30476 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30477 (erfc_test_data): Likewise.
30478 (exp_test_data): Likewise.
30479 (exp_tonearest_test_data): Likewise.
30480 (exp_towardzero_test_data): Likewise.
30481 (exp_downward_test_data): Likewise.
30482 (exp_upward_test_data): Likewise.
30483 (exp10_test_data): Likewise.
30484 (exp2_test_data): Likewise.
30485 (expm1_test_data): Likewise.
30486 (j0_test_data): Likewise.
30487 (j1_test_data): Likewise.
30488 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30489 (input_flag_type): Add flag_xfail_rounding.
30490 (input_flags): Add xfail-rounding.
30491 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30492 (output_for_one_input_case): Handle flag_xfail_rounding.
30493 * sysdeps/i386/fpu/libm-test-ulps: Update.
30494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30495
30496 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30497
30498 [BZ #16289]
30499 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30500 division by 0.
30501
30502 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30503
30504 [BZ #16195]
30505 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30506 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30507 (STAP_PROBE0): New macro.
30508 (STAP_PROBE1): Likewise.
30509 (STAP_PROBE2): Likewise.
30510 (STAP_PROBE3): Likewise.
30511 (STAP_PROBE4): Likewise.
30512
30513 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30514
30515 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30516
30517 2013-12-02 Steve Ellcey <sellcey@mips.com>
30518
30519 * benchtests/Makefile (bench): Add sqrt.
30520 (LDLIBS-bench-sqrt): New.
30521 * benchtests/sqrt-input: New.
30522
30523 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30524
30525 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30526 (GAIH_EAI): Likewise.
30527 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30528 (gaih_inet): Likewise.
30529 (getaddrinfo): Don't use GAIH_EAI.
30530
30531 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30532 (struct gaih): Remove definition.
30533
30534 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30535
30536 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30537 Use HERRNOP directly.
30538
30539 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30540
30541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30542
30543 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30544
30545 * math/gen-auto-libm-tests.c (test_functions): Add more
30546 single-argument functions.
30547 (special_fill_pi_2): New function.
30548 (special_fill_minus_pi_2): Likewise.
30549 (special_fill_pi_6): Likewise.
30550 (special_fill_minus_pi_6): Likewise.
30551 (special_fill_pi_3): Likewise.
30552 (special_fill_2pi_3): Likewise.
30553 (special_fill_e): Likewise.
30554 (special_fill_1_e): Likewise.
30555 (special_fill_e_minus_1): Likewise.
30556 (special_real_inputs): Add more special inputs.
30557 (output_for_one_input_case): Do not require ERANGE on underflow to
30558 zero if round-to-nearest result does not underflow to zero, unless
30559 exact results required.
30560 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30561 atan, atanh, cbrt, cos and cosh.
30562 * math/auto-libm-test-out: Regenerated.
30563 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30564 (acos_tonearest_test_data): Likewise.
30565 (acos_towardzero_test_data): Likewise.
30566 (acos_downward_test_data): Likewise.
30567 (acos_upward_test_data): Likewise.
30568 (acosh_test_data): Likewise.
30569 (asin_test_data): Likewise.
30570 (asin_tonearest_test_data): Likewise.
30571 (asin_towardzero_test_data): Likewise.
30572 (asin_upward_test_data): Likewise.
30573 (asinh_test_data): Likewise.
30574 (atan_test_data): Likewise.
30575 (atanh_test_data): Likewise.
30576 (cbrt_test_data): Likewise.
30577 (cos_test_data): Likewise.
30578 (cos_tonearest_test_data): Likewise.
30579 (cos_towardzero_test_data): Likewise.
30580 (cos_downward_test_data): Likewise.
30581 (cos_upward_test_data): Likewise.
30582 (cosh_test_data): Likewise.
30583 (cosh_tonearest_test_data): Likewise.
30584 (cosh_towardzero_test_data): Likewise.
30585 (cosh_downward_test_data): Likewise.
30586 (cosh_upward_test_data): Likewise.
30587 * sysdeps/i386/fpu/libm-test-ulps: Update.
30588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30589
30590 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30591
30592 [BZ #6787]
30593 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30594 * math/w_exp10f.c (__exp10f): Likewise.
30595 * math/w_exp10l.c (__exp10l): Likewise.
30596 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30597 errno settings in existing tests.
30598
30599 [BZ #14032]
30600 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30601 precision control set to double precision.
30602 * sysdeps/i386/fpu/w_sqrt.c: New file.
30603 * math/auto-libm-test-in: Add more tests.
30604 * math/auto-libm-test-out: Update.
30605
30606 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30607 (sqrt_test_tonearest): New function.
30608 (sqrt_towardzero_test_data): New variable.
30609 (sqrt_test_towardzero): New function.
30610 (sqrt_downward_test_data): New variable.
30611 (sqrt_test_downward): New function.
30612 (sqrt_upward_test_data): New variable.
30613 (sqrt_test_upward): New function.
30614 (main): Call the new functions.
30615
30616 * math/gen-auto-libm-tests.c: New file.
30617 * math/auto-libm-test-in: Likewise.
30618 * math/auto-libm-test-out: New generated file.
30619 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30620 variables.
30621 (%beautify): Add generated representations of zero.
30622 (top level): Set $auto_input and call parse_auto_input.
30623 (beautify): Remove trailing "f" from hex float constants.
30624 (parse_args): Handle XFAIL_TEST.
30625 (convert_condition): New function.
30626 (or_value): Likewise.
30627 (or_cond_value): Likewise.
30628 (generate_testfile): Handle AUTO_TESTS_* lines.
30629 (parse_auto_input): New function.
30630 * math/libm-test.inc (XFAIL_TEST): New macro.
30631 (ERRNO_UNCHANGED): Update value.
30632 (ERRNO_EDOM): Likewise.
30633 (ERRNO_ERANGE): Likewise.
30634 (IGNORE_RESULT): Likewise.
30635 (TEST_COND_flt_32): New macro.
30636 (TEST_COND_dbl_64): Likewise.
30637 (TEST_COND_ldbl_96_intel): Likewise.
30638 (TEST_COND_ldbl_96_m68k): Likewise.
30639 (TEST_COND_ldbl_128): Likewise.
30640 (TEST_COND_ldbl_128ibm): Likewise.
30641 (TEST_COND_long32): Likewise.
30642 (TEST_COND_long64): Likewise.
30643 (TEST_COND_before_rounding): Likewise.
30644 (TEST_COND_after_rounding): Likewise.
30645 (enable_test): Handle XFAIL_TEST flag.
30646 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30647 with finite results.
30648 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30649 auto-libm-test-out.
30650
30651 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30652 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30653
30654 [BZ #16214]
30655 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30656 __tls_get_addr_internal instead of __tls_get_offset in order to
30657 avoid GOT pointer dependency. Make rtld export
30658 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30659 __tls_get_addr since we are a __tls_get_offset platform.
30660 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30661 GOT pointer being set up before.
30662 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30663
30664 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30665
30666 * manual/math.texi (Errors in Math Functions): Document accuracy
30667 goals.
30668
30669 [BZ #15004]
30670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30671 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30672 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30674 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30676 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30686
30687 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30688 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30689 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30690 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30691 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30692 Likewise.
30693 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30694 Likewise.
30695 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30696 Likewise.
30697 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30698 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30699 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30700 atomic-feupdateenv and flt-rounds.
30701 * sysdeps/powerpc/nofpu/Versions (libc): Add
30702 __atomic_feholdexcept, __atomic_feclearexcept,
30703 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30704 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30705 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30706 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30707 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30708 here.
30709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30710 Update.
30711
30712 * manual/arith.texi (FP Exceptions): Document that exceptions may
30713 not be raised when matherr is used.
30714 (Math Error Reporting): Document overflow in directed rounding
30715 modes. Document that errno may not be set when finite values are
30716 returned on overflow. Document intent to set errno on underflow
30717 only for underflow to zero.
30718
30719 [BZ #16271]
30720 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30721 round-to-nearest then adjust result for other rounding modes.
30722 * include/fenv.h (fegetround): Use libm_hidden_proto.
30723 * math/fegetround.c (fegetround): Use libm_hidden_def.
30724 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30725 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30726 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30727 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30728 Likewise.
30729 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30730 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30731 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30732 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30733
30734 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30735
30736 [BZ #16077]
30737 * nss/Versions (libnss_files): Add
30738 _nss_files_gethostbyname3_r.
30739 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30740 New function.
30741 (HOST_DB_LOOKUP): Remove macro.
30742 (_nss_files_gethostbyname_r): Implement function without the
30743 HOST_DB_LOOKUP macro.
30744 (_nss_files_gethostbyname2_r): Likewise.
30745
30746 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30747
30748 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30749
30750 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30751
30752 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30753 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30754 warning.
30755
30756 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30757
30758 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30759 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30760 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30761 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30762 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30763 __fe_nomask_env_priv and attribute_hidden.
30764 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30765 (libc_feupdateenv_test_ppc): Likewise.
30766 (libc_feresetround_ppc): Likewise.
30767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30768 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30769 compat_symbol macro.
30770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30771 (__fe_nomask_env): Likewise.
30772 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30773
30774 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30775
30776 * string/Makefile: Remove ifunc tests.
30777 * string/test-string.h: Define TEST_IFUNC.
30778 * string/test-bcopy-ifunc.c: Remove.
30779 * string/test-bzero-ifunc.c: Likewise.
30780 * string/test-memccpy-ifunc.c: Likewise.
30781 * string/test-memchr-ifunc.c: Likewise.
30782 * string/test-memcmp-ifunc.c: Likewise.
30783 * string/test-memcpy-ifunc.c: Likewise.
30784 * string/test-memmem-ifunc.c: Likewise.
30785 * string/test-memmove-ifunc.c: Likewise.
30786 * string/test-mempcpy-ifunc.c: Likewise.
30787 * string/test-memrchr-ifunc.c: Likewise.
30788 * string/test-memset-ifunc.c: Likewise.
30789 * string/test-rawmemchr-ifunc.c: Likewise.
30790 * string/test-stpcpy-ifunc.c: Likewise.
30791 * string/test-stpncpy-ifunc.c: Likewise.
30792 * string/test-strcasecmp-ifunc.c: Likewise.
30793 * string/test-strcasestr-ifunc.c: Likewise.
30794 * string/test-strcat-ifunc.c: Likewise.
30795 * string/test-strchr-ifunc.c: Likewise.
30796 * string/test-strchrnul-ifunc.c: Likewise.
30797 * string/test-strcmp-ifunc.c: Likewise.
30798 * string/test-strcpy-ifunc.c: Likewise.
30799 * string/test-strcspn-ifunc.c: Likewise.
30800 * string/test-strlen-ifunc.c: Likewise.
30801 * string/test-strncasecmp-ifunc.c: Likewise.
30802 * string/test-strncat-ifunc.c: Likewise.
30803 * string/test-strncmp-ifunc.c: Likewise.
30804 * string/test-strncpy-ifunc.c: Likewise.
30805 * string/test-strnlen-ifunc.c: Likewise.
30806 * string/test-strpbrk-ifunc.c: Likewise.
30807 * string/test-strrchr-ifunc.c: Likewise.
30808 * string/test-strspn-ifunc.c: Likewise.
30809 * string/test-strstr-ifunc.c: Likewise.
30810
30811 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30812
30813 * benchtests/Makefile: Remove ifunc tests.
30814 * benchtests/bench-string.h: Define TEST_IFUNC.
30815 * benchtests/bench-bcopy-ifunc.c: Remove.
30816 * benchtests/bench-bzero-ifunc.c: Likewise.
30817 * benchtests/bench-memccpy-ifunc.c: Likewise.
30818 * benchtests/bench-memchr-ifunc.c: Likewise.
30819 * benchtests/bench-memcmp-ifunc.c: Likewise.
30820 * benchtests/bench-memcpy-ifunc.c: Likewise.
30821 * benchtests/bench-memmem-ifunc.c: Likewise.
30822 * benchtests/bench-memmove-ifunc.c: Likewise.
30823 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30824 * benchtests/bench-memrchr-ifunc.c: Likewise.
30825 * benchtests/bench-memset-ifunc.c: Likewise.
30826 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30827 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30828 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30829 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30830 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30831 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30832 * benchtests/bench-strcat-ifunc.c: Likewise.
30833 * benchtests/bench-strchr-ifunc.c: Likewise.
30834 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30835 * benchtests/bench-strcmp-ifunc.c: Likewise.
30836 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30837 * benchtests/bench-strcpy-ifunc.c: Likewise.
30838 * benchtests/bench-strcspn-ifunc.c: Likewise.
30839 * benchtests/bench-strlen-ifunc.c: Likewise.
30840 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30841 * benchtests/bench-strncat-ifunc.c: Likewise.
30842 * benchtests/bench-strncmp-ifunc.c: Likewise.
30843 * benchtests/bench-strncpy-ifunc.c: Likewise.
30844 * benchtests/bench-strnlen-ifunc.c: Likewise.
30845 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30846 * benchtests/bench-strrchr-ifunc.c: Likewise.
30847 * benchtests/bench-strsep-ifunc.c: Likewise.
30848 * benchtests/bench-strspn-ifunc.c: Likewise.
30849 * benchtests/bench-strstr-ifunc.c: Likewise.
30850
30851 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30852
30853 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30854
30855 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30856
30857 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30858 * rt/aio.h: Likewise.
30859 * sysdeps/gnu/bits/utmp.h: Likewise.
30860 * sysdeps/gnu/bits/utmpx.h: Likewise.
30861 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30862 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30863 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30864 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30865 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30866 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30867 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30868 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30869 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30870 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30871 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30872 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30873 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30875 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30876 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30877 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30878 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30879 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30880 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30881 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30882 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30883 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30884 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30885 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30887 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30888 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30889 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30890 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30891 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30892 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30893 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30894 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30895 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30896 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30897 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30898 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30899 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30900 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30901 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30902 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30903
30904 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30905
30906 [BZ #16245]
30907 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30908 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30909
30910 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30911
30912 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30913 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30914 Likewise.
30915
30916 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30917
30918 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30919 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30920 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30921 (__fesetround): Remove define.
30922 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30923 rounding and exceptions handling.
30924 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30925 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30926 (__fe_nomask_env): Likewise.
30927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30928 __fegetround instead of fegetround.
30929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30930 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30931
30932 2013-11-21 Roland McGrath <roland@hack.frob.com>
30933
30934 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30935 it's there.
30936
30937 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30938
30939 2013-11-21 Meador Inge <meadori@codesourcery.com>
30940
30941 [BZ #11157]
30942 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30943 (encrypt_r): Likewise.
30944 * malloc/obstack.h (obstack_free): Likewise.
30945 * posix/unistd.h (encrypt): Likewise.
30946
30947 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30948
30949 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30950 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30951 DL_CALL_DT_FINI() that call the functions directly.
30952 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30953 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30954 * elf/dl-fini.c: Likewise.
30955
30956 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30957
30958 * malloc/hooks.c (memalign_check): Add alignment rounding.
30959 * malloc/malloc.c (_mid_memalign): New function.
30960 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30961 Implement by calling _mid_memalign.
30962 * manual/probes.texi (Memory Allocation Probes): Remove
30963 memory_valloc_retry and memory_pvalloc_retry.
30964
30965 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30966
30967 * locale/programs/locarchive.c (open_archive): Add const
30968 qualifier to ARCHIVEFNAME and copy default fname to
30969 DEFAULT_FNAME.
30970
30971 [BZ #15601]
30972 * libio/tst-widetext.input: Rename Oriya to Odia.
30973 * locale/iso-639.def: Likewise.
30974
30975 * manual/probes.texi (Mathematical Function Probes): Add
30976 documentation for sin, cos, asin and acos probes.
30977 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30978 (__sin32): Add slowasin probe.
30979 (__cos32): Add slowacos probe.
30980 (__mpsin): Add slowsin probe.
30981 (__mpcos): Add slowcos probe.
30982
30983 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30984
30985 [BZ #15483]
30986 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30987 thread-local __sim_exceptions_thread and global
30988 __sim_exceptions_global.
30989 (__sim_disabled_exceptions): Change to thread-local
30990 __sim_disabled_exceptions_thread and global
30991 __sim_disabled_exceptions_global.
30992 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30993 and global __sim_round_mode_global.
30994 (__simulate_exceptions): Use thread-local floating-point state and
30995 set global state from it as needed.
30996 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30997 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30998 __sim_round_mode_thread.
30999 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31000 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31001 and global __sim_exceptions_global.
31002 (__sim_disabled_exceptions): Change to thread-local
31003 __sim_disabled_exceptions_thread and global
31004 __sim_disabled_exceptions_global.
31005 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31006 and global __sim_round_mode_global.
31007 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31008 (SIM_SET_GLOBAL): Likewise.
31009 * sysdeps/powerpc/soft-fp/sfp-machine.h
31010 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31011 __sim_round_mode_thread.
31012 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31013 __sim_disabled_exceptions_thread.
31014 (__sim_exceptions): Change to __sim_exceptions_thread.
31015 (__sim_disabled_exceptions): Change to
31016 __sim_disabled_exceptions_thread.
31017 (__sim_round_mode): Change to __sim_round_mode_thread.
31018 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31019 thread-local floating-point state and set global state from it as
31020 needed.
31021 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31022 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31023 (__sim_disabled_exceptions): Remove extern declaration.
31024 (feenableexcept): Use thread-local floating-point state and set
31025 global state from it as needed.
31026 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31027 extern declaration.
31028 (__sim_disabled_exceptions): Likewise.
31029 (__sim_round_mode): Likewise.
31030 (__fegetenv): Use thread-local floating-point state.
31031 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31032 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31033 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31034 floating-point state and set global state from it as needed.
31035 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31036 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31037 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31038 Likewise.
31039 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31040 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31041 Likewise.
31042 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31043 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31044 Use __sim_round_mode_thread.
31045 * math/test-fenv-tls.c: New file.
31046 * math/Makefile (tests): Add test-fenv-tls.
31047 ($(objpfx)test-fenv-tls): Depend on
31048 $(common-objpfx)nptl/libpthread.so.
31049
31050 2013-11-19 Andreas Schwab <schwab@suse.de>
31051
31052 * locale/programs/locale.c (show_info): Decode wordarray elements.
31053 * locale/categories.def (LC_MONETARY): Add element for
31054 _NL_MONETARY_CRNCYSTR.
31055 * locale/C-monetary.c (conversion_rate): New variable.
31056 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31057 element.
31058
31059 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
31060
31061 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31062 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31063
31064 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31065
31066 * elf/Makefile (tst-auxv): New test.
31067 * elf/tst-auxv.c: New
31068 * elf/rtld.c (dl_main): Adjust AT_EXECFN
31069
31070 2013-11-18 Joseph Myers <joseph@codesourcery.com>
31071
31072 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31073 (hidden_proto): Caller changed.
31074 (hidden_tls_proto): New macro.
31075 (libc_hidden_tls_proto): Likewise.
31076 (rtld_hidden_tls_proto): Likewise.
31077 (libm_hidden_tls_proto): Likewise.
31078 (libresolv_hidden_tls_proto): Likewise.
31079 (librt_hidden_tls_proto): Likewise.
31080 (libdl_hidden_tls_proto): Likewise.
31081 (libnss_files_hidden_tls_proto): Likewise.
31082 (libnsl_hidden_tls_proto): Likewise.
31083 (libnss_nisplus_hidden_tls_proto): Likewise.
31084 (libutil_hidden_tls_proto): Likewise.
31085
31086 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
31087
31088 [BZ #10253]
31089 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31090 (decompose_rpath): Defer expansion to fillin_rpath.
31091 (_dl_init_paths): Pass linkmap to fillin_rpath.
31092
31093 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31094
31095 * benchtests/Makefile: Add strsep.
31096 * benchtests/bench-strsep.c: New file: strsep benchtest.
31097 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31098
31099 2013-11-18 Andreas Schwab <schwab@suse.de>
31100
31101 * locale/programs/locale.c (show_info) [case byte]: Check for
31102 '\377' instead of '\177'.
31103 * locale/C-monetary.c (not_available): Always use "\377".
31104 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31105 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
31106 detect unavailable sign_posn locale elements.
31107 * locale/localeconv.c (__localeconv): For grouping and
31108 mon_grouping handle "\177" and "\377" like no grouping.
31109 (INT_ELEM): New macro. Use it to set all numeric members.
31110 * locale/programs/ld-monetary.c (monetary_read)
31111 <tok_mon_grouping>: Normalize single -1 to the empty string.
31112 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31113 Likewise.
31114
31115 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31116
31117 [BZ #16055]
31118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31119 when we match (nil).
31120 * stdio-common/tst-sscanf.c (struct test): Add testcase.
31121
31122 2013-11-16 Joseph Myers <joseph@codesourcery.com>
31123
31124 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31125 (NO_TEST_INLINE): Update value.
31126 (ERRNO_UNCHANGED): Likewise.
31127 (ERRNO_EDOM): Likewise.
31128 (ERRNO_ERANGE): Likewise.
31129 (IGNORE_RESULT): Likewise.
31130 (check_float_internal): Check signs of NaN results if
31131 TEST_NAN_SIGN used.
31132 (check_complex): Pass TEST_NAN_SIGN flag through to second
31133 check_float_internal call.
31134 (copysign_test_data): Add tests with quiet NaNs as second
31135 argument. Use TEST_NAN_SIGN.
31136 (fabs_test_data): Add test of negative quiet NaN argument. Use
31137 TEST_NAN_SIGN.
31138 (signbit_test_data): Add tests of quiet NaN argument.
31139 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31140
31141 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31142 $ignore_result.
31143 (parse_args): Handle function results specified as IGNORE.
31144 * math/libm-test.inc (IGNORE_RESULT): New macro.
31145 (check_float_internal): Do not check numerical result if flag
31146 IGNORE_RESULT set.
31147 (check_complex): Pass through IGNORE_RESULT to second
31148 check_float_internal call.
31149 (check_int): Do not check numerical result if flag IGNORE_RESULT
31150 set.
31151 (check_long): Likewise.
31152 (check_bool): Likewise.
31153 (check_longlong): Likewise.
31154 (lrint_test_data): Add tests of infinite and NaN arguments.
31155 (lrint_tonearest_test_data): Likewise.
31156 (lrint_towardzero_test_data): Likewise.
31157 (lrint_downward_test_data): Likewise.
31158 (lrint_upward_test_data): Likewise.
31159 (llrint_test_data): Likewise.
31160 (llrint_tonearest_test_data): Likewise.
31161 (llrint_towardzero_test_data): Likewise.
31162 (llrint_downward_test_data): Likewise.
31163 (llrint_upward_test_data): Likewise.
31164 (lround_test_data): Likewise.
31165 (llround_test_data): Likewise.
31166
31167 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31168 (ERRNO_UNCHANGED): Update value.
31169 (ERRNO_EDOM): Likewise.
31170 (ERRNO_ERANGE): Likewise.
31171 (NO_TEST_INLINE_FLOAT): New macro.
31172 (NO_TEST_INLINE_DOUBLE): Likewise.
31173 (enable_test): New function.
31174 (RUN_TEST_f_f): Check enable_test before running test.
31175 (RUN_TEST_2_f): Likewise.
31176 (RUN_TEST_fff_f): Likewise.
31177 (RUN_TEST_c_f): Likewise.
31178 (RUN_TEST_f_f1): Likewise.
31179 (RUN_TEST_fF_f1): Likewise.
31180 (RUN_TEST_fI_f1): Likewise.
31181 (RUN_TEST_ffI_f1): Likewise.
31182 (RUN_TEST_c_c): Likewise.
31183 (RUN_TEST_cc_c): Likewise.
31184 (RUN_TEST_f_i): Likewise.
31185 (RUN_TEST_f_i_tg): Likewise.
31186 (RUN_TEST_ff_i_tg): Likewise.
31187 (RUN_TEST_f_b): Likewise.
31188 (RUN_TEST_f_b_tg): Likewise.
31189 (RUN_TEST_f_l): Likewise.
31190 (RUN_TEST_f_L): Likewise.
31191 (RUN_TEST_fFF_11): Likewise.
31192 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31193 conditionals.
31194 (cosh_test_data): Likewise.
31195 (exp_test_data): Likewise.
31196 (expm1_test_data): Likewise.
31197 (hypot_test_data): Likewise.
31198 (pow_test_data): Likewise.
31199 (sinh_test_data): Likewise.
31200 (tanh_test_data): Likewise.
31201 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31202 flags argument.
31203
31204 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31205 tests with quiet NaN input and output.
31206 (acosh_test_data): Likewise.
31207 (asin_test_data): Likewise.
31208 (asinh_test_data): Likewise.
31209 (atan_test_data): Likewise.
31210 (atanh_test_data): Likewise.
31211 (atan2_test_data): Likewise.
31212 (cbrt_test_data): Likewise.
31213 (cos_test_data): Likewise.
31214 (cosh_test_data): Likewise.
31215 (erf_test_data): Likewise.
31216 (erfc_test_data): Likewise.
31217 (exp_test_data): Likewise.
31218 (exp10_test_data): Likewise.
31219 (exp2_test_data): Likewise.
31220 (expm1_test_data): Likewise.
31221 (hypot_test_data): Likewise.
31222 (j0_test_data): Likewise.
31223 (j1_test_data): Likewise.
31224 (jn_test_data): Likewise.
31225 (lgamma_test_data): Likewise.
31226 (log_test_data): Likewise.
31227 (log10_test_data): Likewise.
31228 (log1p_test_data): Likewise.
31229 (log2_test_data): Likewise.
31230 (pow_test_data): Likewise.
31231 (scalb_test_data): Likewise.
31232 (sin_test_data): Likewise.
31233 (sincos_test_data): Likewise.
31234 (sinh_test_data): Likewise.
31235 (tan_test_data): Likewise.
31236 (tanh_test_data): Likewise.
31237 (tgamma_test_data): Likewise.
31238 (y0_test_data): Likewise.
31239 (y1_test_data): Likewise.
31240 (yn_test_data): Likewise.
31241
31242 [BZ #16167]
31243 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31244 argument being NaN and avoid computations with second argument in
31245 that case.
31246 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31247 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31248 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31249
31250 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
31251
31252 * locale/iso-639.def: Add Chitwani Tharu (the).
31253
31254 2013-11-14 Andreas Schwab <schwab@suse.de>
31255
31256 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31257 word instead of empty string.
31258
31259 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31260
31261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31262 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31264 (__fe_nomask_env): Likewise.
31265
31266 2013-11-13 Steve Ellcey <sellcey@mips.com>
31267
31268 * benchtests/bench-timing.h: Include time.h.
31269
31270 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31271
31272 [BZ #15997]
31273 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31274 to 3.4.0 for x32.
31275 * sysdeps/unix/sysv/linux/configure: Regenerated.
31276
31277 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31278
31279 [BZ #16151]
31280 * stdlib/strtod_l.c (round_and_return): Do not consider
31281 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31282 exponent one less than half the least subnormal exponent.
31283 * stdlib/test-strtod-round-data: Add more tests.
31284 * stdlib/tst-strtod-round.c (tests): Regenerated.
31285
31286 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31287
31288 [BZ #14143]
31289 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31290 (__fe_mask_env): Likewise.
31291 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31292 libm_hidden_proto and add function prototype.
31293 (__fe_mask_env): Add function prototype.
31294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31295 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31297 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31299 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31300
31301 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31302
31303 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31304 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31305
31306 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31307
31308 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31309 of htab_find_slot().
31310
31311 2013-11-11 David S. Miller <davem@davemloft.net>
31312
31313 [BZ #16150]
31314 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31315 symbol in the non-vis3 case in static builds.
31316 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31317 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31318 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31319 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31320
31321 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31322
31323 [BZ #387]
31324 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31325 it is empty.
31326
31327 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31328
31329 * benchtests/Makefile: Add bench-strtod.
31330 * benchtests/bench-strtod.c: New file: strtod benchtest
31331
31332 2013-11-11 Andreas Schwab <schwab@suse.de>
31333
31334 [BZ #16153]
31335 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31336 terminating NUL in key length.
31337
31338 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31339
31340 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31341 Add artificial ODP entry for vDSO symbol for PPC64.
31342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31343 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31344
31345 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31346
31347 [BZ #15374]
31348 * nss/getent.c (services_keys): Recognize services starting with digit.
31349
31350 2013-11-06 David S. Miller <davem@davemloft.net>
31351
31352 [BZ #15985]
31353 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31354 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31355
31356 2013-11-06 Will Newton <will.newton@linaro.org>
31357
31358 * manual/memory.texi (Malloc Examples): Remove register
31359 keyword from examples.
31360
31361 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31362
31363 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31364
31365 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31366
31367 [BZ #6981]
31368 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31369 depending on [__GCC_IEC_559 > 0].
31370 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31371 depending on [__GCC_IEC_559_COMPLEX > 0].
31372
31373 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31374
31375 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31376 to iso-639.def.
31377
31378 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31379
31380 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31381
31382 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31383
31384 [BZ #16112]
31385 * malloc/malloc (malloc_info): Do not handle first bin as
31386 special case.
31387
31388 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31389
31390 * locale/iso-639.def: Add Central Nahuatl (nhn).
31391
31392 2013-11-01 Bruno Haible <bruno@clisp.org>
31393
31394 [BZ #7003]
31395 * manual/math.texi (BSD Random): Specify range upper bound as
31396 in POSIX.
31397
31398 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31399
31400 * locale/iso-639.def: Add Meadow Mari (mhr).
31401
31402 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31403
31404 [BZ #14752], [BZ #15763]
31405 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31406 Validate name.
31407 * rt/tst_shm.c: Add test for escaping directory.
31408
31409 2013-10-31 Andreas Schwab <schwab@suse.de>
31410
31411 [BZ #15917]
31412 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31413 followed by 'x' as part of digit sequence.
31414 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31415
31416 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31417
31418 [BZ #16037]
31419 * configure.ac: allow GNU Make 4.0 and greater.
31420 * configure: Regenerated.
31421
31422 2013-10-30 Will Newton <will.newton@linaro.org>
31423
31424 [BZ #16038]
31425 * malloc/hooks.c (memalign_check): Limit alignment to the
31426 maximum representable power of two.
31427 * malloc/malloc.c (__libc_memalign): Likewise.
31428 * malloc/tst-memalign.c (do_test): Add test for very
31429 large alignment values.
31430 * malloc/tst-posix_memalign.c (do_test): Likewise.
31431
31432 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31433
31434 [BZ #11087]
31435 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31436 (munmap_chunk): Likewise.
31437 (mremap_chunk): Likewise.
31438
31439 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31440
31441 [BZ #15799]
31442 * stdlib/div.c (div): Remove obsolete code.
31443 * stdlib/ldiv.c (ldiv): Likewise.
31444 * stdlib/lldiv.c (lldiv): Likewise.
31445
31446 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31447
31448 [BZ #16071]
31449 * nss/nss_files/files-XXX.c (get_contents_ret): New
31450 enumerator.
31451 (get_contents): New function.
31452 (internal_getent): Use it. Expand size of LINEBUFLEN.
31453
31454 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31455
31456 * configure.in: Moved to ...
31457 * configure.ac: ... here. Change reference to configure.in
31458 to configure.ac.
31459 * sysdeps/arm/preconfigure.ac: ... here.
31460 configure.in to configure.ac.
31461 * sysdeps/gnu/configure.in: Moved to ...
31462 * sysdeps/gnu/configure.ac: ... here.
31463 * sysdeps/i386/configure.in: Moved to ...
31464 * sysdeps/i386/configure.ac: ... here.
31465 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31466 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31467 * sysdeps/mach/configure.in: Moved to ...
31468 * sysdeps/mach/configure.ac: ... here.
31469 * sysdeps/mach/hurd/configure.in: Moved to ...
31470 * sysdeps/mach/hurd/configure.ac: ... here.
31471 * sysdeps/powerpc/configure.in: Moved to ...
31472 * sysdeps/powerpc/configure.ac: ... here.
31473 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31474 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31475 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31476 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31477 * sysdeps/s390/s390-32/configure.in: Moved to ...
31478 * sysdeps/s390/s390-32/configure.ac: ... here.
31479 * sysdeps/s390/s390-64/configure.in: Moved to ...
31480 * sysdeps/s390/s390-64/configure.ac: ... here.
31481 * sysdeps/sh/configure.in: Moved to ...
31482 * sysdeps/sh/configure.ac: ... here.
31483 * sysdeps/sparc/configure.in: Moved to ...
31484 * sysdeps/sparc/configure.ac: ... here.
31485 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31486 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31487 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31488 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31489 * sysdeps/x86_64/configure.in: Moved to ...
31490 * sysdeps/x86_64/configure.ac: ... here.
31491 * sysdeps/x86_64/preconfigure.in: Moved to ...
31492 * sysdeps/x86_64/preconfigure.ac: ... here.
31493 * aclocal.m4: Change reference to configure.in to configure.ac.
31494 * config.h.in: Likewise.
31495 * manual/install.texi: Likewise.
31496 * manual/maint.texi: Likewise.
31497 * Makefile: Likewise.
31498 * malloc/Makefile: Likewise.
31499 * nscd/Makefile: Likewise.
31500 * Makeconfig: Change reference to configure.in and
31501 preconfigure.in to configure.ac and preconfigure.ac
31502 respectively.
31503 * INSTALL: Regenerated.
31504 * configure: Likewise.
31505 * sysdeps/gnu/configure: Likewise.
31506 * sysdeps/i386/configure: Likewise.
31507 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31508 * sysdeps/mach/configure: Likewise.
31509 * sysdeps/mach/hurd/configure: Likewise.
31510 * sysdeps/powerpc/configure: Likewise.
31511 * sysdeps/powerpc/powerpc32/configure: Likewise.
31512 * sysdeps/powerpc/powerpc64/configure: Likewise.
31513 * sysdeps/s390/s390-32/configure: Likewise.
31514 * sysdeps/s390/s390-64/configure: Likewise.
31515 * sysdeps/sh/configure: Likewise.
31516 * sysdeps/sparc/configure: Likewise.
31517 * sysdeps/unix/sysv/linux/configure: Likewise.
31518 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31519 * sysdeps/x86_64/configure: Likewise.
31520 * sysdeps/x86_64/preconfigure: Likewise.
31521
31522 2013-10-29 Andreas Schwab <schwab@suse.de>
31523
31524 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31525
31526 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31527
31528 * benchtests/pow-inputs: Add new inputs.
31529
31530 * benchtests/exp-inputs: Add new inputs.
31531
31532 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31533 conditional check for return value.
31534 (__cos32): Likewise.
31535
31536 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31537
31538 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31539 to provide a boost for large inputs with word alignment.
31540 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31541 implementation based on optimized PPC64 strcpy.
31542 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31543 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31544 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31545 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31546
31547 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31548
31549 [BZ #2801]
31550 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31551
31552 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31553
31554 [BZ #14876]
31555 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31556 * time/tst-strptime.c (day_tests): Add testcase.
31557
31558 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31559
31560 [BZ #14029]
31561 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31562
31563 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31564
31565 [BZ #16074]
31566 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31567 MAP_FAILED on error.
31568
31569 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31570
31571 [BZ #16072]
31572 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31573 heap for large requests.
31574
31575 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31576
31577 [BZ #9954]
31578 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31579 result if the result has no associated interface.
31580 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31581 interface for all 127.X.Y.Z addresses.
31582
31583 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31584
31585 * locale/iso-639.def: Add Ligurian (lij)
31586
31587 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31588
31589 [BZ #15825]
31590 * sunrpc/rpc_main.c: Document rpcgen -5.
31591
31592 2013-10-19 Michael Stahl <mstahl@redhat.com>
31593
31594 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31595
31596 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31597
31598 [BZ #10278]
31599 * posix/glob.c: Match only directories when trailing slash is present.
31600 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31601 (main): Add testcase.
31602
31603 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31604
31605 [BZ #15670]
31606 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31607
31608 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31609
31610 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31611 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31612 AUTH_DES and cindex for FIPS 140-2.
31613 (DES Encryption): Add cindex FIPS 46-3.
31614
31615 * locale/locarchive.h (struct locarhandle): Add fname.
31616 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31617 if an optional argument was specified to --list-archive,
31618 otherwise NULL.
31619 * locale/programs/locarchive.c (show_archive_content): Take new
31620 argument fname and pass it via ah.fname to open_archive.
31621 * locale/programs/localedef.h: Update decl.
31622 (open_archive): If AH->fname is non-null, open that file
31623 rather than the default file name, and don't ignore ENOENT.
31624 (create_archive): Set AH.fname to NULL.
31625 (delete_locales_from_archive): Likewise.
31626 (add_locales_to_archive): Likewise.
31627 * locale/programs/locfile.c (write_all_categories): Likewise.
31628
31629 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31630 Aldy Hernandez <aldyh@redhat.com>
31631
31632 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31633 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31634 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31635 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31636 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31637 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31638 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31639 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31640 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31641 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31642 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31643 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31644 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31645 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31646 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31647 Likewise.
31648 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31649 Likewise.
31650 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31651 Likewise.
31652 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31653 Likewise.
31654 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31655 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31656 Likewise.
31657 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31658 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31659 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31660 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31661 Likewise.
31662 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31663 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31664 * sysdeps/powerpc/preconfigure: Likewise.
31665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31666 Likewise.
31667 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31668 Replace contents of file by #include of <fenv_libc.h>.
31669 * sysdeps/powerpc/soft-fp/sfp-machine.h
31670 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31671 and <sys/prctl.h>.
31672 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31677 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31681 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31683 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31685 Allow copysignl PLT reference to be missing.
31686
31687 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31688 Joseph Myers <joseph@codesourcery.com
31689
31690 [BZ #15948]
31691 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31692 single character.
31693 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31694
31695 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31696
31697 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31698 * elf/tst-tls1.c: Likewise.
31699 * elf/tst-tls10.h: Likewise.
31700 * elf/tst-tls14.c: Likewise.
31701 * elf/tst-tls2.c: Likewise.
31702 * elf/tst-tls3.c: Likewise.
31703 * elf/tst-tls4.c: Likewise.
31704 * elf/tst-tls5.c: Likewise.
31705 * elf/tst-tls6.c: Likewise.
31706 * elf/tst-tls7.c: Likewise.
31707 * elf/tst-tls8.c: Likewise.
31708 * elf/tst-tls9.c: Likewise.
31709 * elf/tst-tlsmod1.c: Likewise.
31710 * elf/tst-tlsmod13.c: Likewise.
31711 * elf/tst-tlsmod13a.c: Likewise.
31712 * elf/tst-tlsmod14a.c: Likewise.
31713 * elf/tst-tlsmod16a.c: Likewise.
31714 * elf/tst-tlsmod16b.c: Likewise.
31715 * elf/tst-tlsmod2.c: Likewise.
31716 * elf/tst-tlsmod3.c: Likewise.
31717 * elf/tst-tlsmod4.c: Likewise.
31718 * elf/tst-tlsmod5.c: Likewise.
31719 * elf/tst-tlsmod6.c: Likewise.
31720
31721 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31722
31723 [BZ #12486]
31724 * malloc/malloc.c: remove checks for statistics.
31725
31726 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31727
31728 [BZ #15277]
31729 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31730 * inet/tst-network.c: Add testcase.
31731
31732 2013-10-17 Andreas Schwab <schwab@suse.de>
31733
31734 [BZ #15218]
31735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31736 to determine canonical name.
31737
31738 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31739
31740 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31741 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31745 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31747 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31748 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31750 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31754 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31755 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31757 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31759 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31760 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31762 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31763 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31764 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31765 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31766 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31767 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31768 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31769 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31770 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31772 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31774 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31775 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31776 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31777 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31778 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31779 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31780 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31781 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31782 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31783 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31784 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31785 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31786 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31787 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31788 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31789 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31790 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31791 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31792 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31793 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31795 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31797 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31798
31799 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31800
31801 [BZ #16041]
31802 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31803 make result into a quiet NaN.
31804
31805 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31806
31807 * soft-fp/adddf3.c: Fix horizontal whitespace.
31808 * soft-fp/addsf3.c: Likewise.
31809 * soft-fp/addtf3.c: Likewise.
31810 * soft-fp/divdf3.c: Likewise.
31811 * soft-fp/divsf3.c: Likewise.
31812 * soft-fp/divtf3.c: Likewise.
31813 * soft-fp/double.h: Likewise.
31814 * soft-fp/eqdf2.c: Likewise.
31815 * soft-fp/eqsf2.c: Likewise.
31816 * soft-fp/eqtf2.c: Likewise.
31817 * soft-fp/extenddftf2.c: Likewise.
31818 * soft-fp/extended.h: Likewise.
31819 * soft-fp/extendsfdf2.c: Likewise.
31820 * soft-fp/extendsftf2.c: Likewise.
31821 * soft-fp/extendxftf2.c: Likewise.
31822 * soft-fp/fixdfdi.c: Likewise.
31823 * soft-fp/fixdfsi.c: Likewise.
31824 * soft-fp/fixdfti.c: Likewise.
31825 * soft-fp/fixsfdi.c: Likewise.
31826 * soft-fp/fixsfsi.c: Likewise.
31827 * soft-fp/fixsfti.c: Likewise.
31828 * soft-fp/fixtfdi.c: Likewise.
31829 * soft-fp/fixtfsi.c: Likewise.
31830 * soft-fp/fixtfti.c: Likewise.
31831 * soft-fp/fixunsdfdi.c: Likewise.
31832 * soft-fp/fixunsdfsi.c: Likewise.
31833 * soft-fp/fixunsdfti.c: Likewise.
31834 * soft-fp/fixunssfdi.c: Likewise.
31835 * soft-fp/fixunssfsi.c: Likewise.
31836 * soft-fp/fixunssfti.c: Likewise.
31837 * soft-fp/fixunstfdi.c: Likewise.
31838 * soft-fp/fixunstfsi.c: Likewise.
31839 * soft-fp/fixunstfti.c: Likewise.
31840 * soft-fp/floatdidf.c: Likewise.
31841 * soft-fp/floatdisf.c: Likewise.
31842 * soft-fp/floatditf.c: Likewise.
31843 * soft-fp/floatsidf.c: Likewise.
31844 * soft-fp/floatsisf.c: Likewise.
31845 * soft-fp/floatsitf.c: Likewise.
31846 * soft-fp/floattidf.c: Likewise.
31847 * soft-fp/floattisf.c: Likewise.
31848 * soft-fp/floattitf.c: Likewise.
31849 * soft-fp/floatundidf.c: Likewise.
31850 * soft-fp/floatundisf.c: Likewise.
31851 * soft-fp/floatunditf.c: Likewise.
31852 * soft-fp/floatunsidf.c: Likewise.
31853 * soft-fp/floatunsisf.c: Likewise.
31854 * soft-fp/floatunsitf.c: Likewise.
31855 * soft-fp/floatuntidf.c: Likewise.
31856 * soft-fp/floatuntisf.c: Likewise.
31857 * soft-fp/floatuntitf.c: Likewise.
31858 * soft-fp/fmadf4.c: Likewise.
31859 * soft-fp/fmasf4.c: Likewise.
31860 * soft-fp/fmatf4.c: Likewise.
31861 * soft-fp/gedf2.c: Likewise.
31862 * soft-fp/gesf2.c: Likewise.
31863 * soft-fp/getf2.c: Likewise.
31864 * soft-fp/ledf2.c: Likewise.
31865 * soft-fp/lesf2.c: Likewise.
31866 * soft-fp/letf2.c: Likewise.
31867 * soft-fp/muldf3.c: Likewise.
31868 * soft-fp/mulsf3.c: Likewise.
31869 * soft-fp/multf3.c: Likewise.
31870 * soft-fp/negdf2.c: Likewise.
31871 * soft-fp/negsf2.c: Likewise.
31872 * soft-fp/negtf2.c: Likewise.
31873 * soft-fp/op-1.h: Likewise.
31874 * soft-fp/op-2.h: Likewise.
31875 * soft-fp/op-4.h: Likewise.
31876 * soft-fp/op-8.h: Likewise.
31877 * soft-fp/op-common.h: Likewise.
31878 * soft-fp/quad.h: Likewise.
31879 * soft-fp/single.h: Likewise.
31880 * soft-fp/soft-fp.h: Likewise.
31881 * soft-fp/sqrtdf2.c: Likewise.
31882 * soft-fp/sqrtsf2.c: Likewise.
31883 * soft-fp/sqrttf2.c: Likewise.
31884 * soft-fp/subdf3.c: Likewise.
31885 * soft-fp/subsf3.c: Likewise.
31886 * soft-fp/subtf3.c: Likewise.
31887 * soft-fp/truncdfsf2.c: Likewise.
31888 * soft-fp/trunctfdf2.c: Likewise.
31889 * soft-fp/trunctfsf2.c: Likewise.
31890 * soft-fp/trunctfxf2.c: Likewise.
31891 * soft-fp/unorddf2.c: Likewise.
31892 * soft-fp/unordsf2.c: Likewise.
31893 * soft-fp/unordtf2.c: Likewise.
31894
31895 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31896
31897 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31898 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31899
31900 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31901
31902 * elf/dl-libc.c: Clear initfini list after freeing.
31903
31904 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31905
31906 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31907 * soft-fp/addsf3.c: Likewise.
31908 * soft-fp/addtf3.c: Likewise.
31909 * soft-fp/divdf3.c: Likewise.
31910 * soft-fp/divsf3.c: Likewise.
31911 * soft-fp/divtf3.c: Likewise.
31912 * soft-fp/double.h: Likewise.
31913 * soft-fp/eqdf2.c: Likewise.
31914 * soft-fp/eqsf2.c: Likewise.
31915 * soft-fp/eqtf2.c: Likewise.
31916 * soft-fp/extenddftf2.c: Likewise.
31917 * soft-fp/extended.h: Likewise.
31918 * soft-fp/extendsfdf2.c: Likewise.
31919 * soft-fp/extendsftf2.c: Likewise.
31920 * soft-fp/extendxftf2.c: Likewise.
31921 * soft-fp/fixdfdi.c: Likewise.
31922 * soft-fp/fixdfsi.c: Likewise.
31923 * soft-fp/fixdfti.c: Likewise.
31924 * soft-fp/fixsfdi.c: Likewise.
31925 * soft-fp/fixsfsi.c: Likewise.
31926 * soft-fp/fixsfti.c: Likewise.
31927 * soft-fp/fixtfdi.c: Likewise.
31928 * soft-fp/fixtfsi.c: Likewise.
31929 * soft-fp/fixtfti.c: Likewise.
31930 * soft-fp/fixunsdfdi.c: Likewise.
31931 * soft-fp/fixunsdfsi.c: Likewise.
31932 * soft-fp/fixunsdfti.c: Likewise.
31933 * soft-fp/fixunssfdi.c: Likewise.
31934 * soft-fp/fixunssfsi.c: Likewise.
31935 * soft-fp/fixunssfti.c: Likewise.
31936 * soft-fp/fixunstfdi.c: Likewise.
31937 * soft-fp/fixunstfsi.c: Likewise.
31938 * soft-fp/fixunstfti.c: Likewise.
31939 * soft-fp/floatdidf.c: Likewise.
31940 * soft-fp/floatdisf.c: Likewise.
31941 * soft-fp/floatditf.c: Likewise.
31942 * soft-fp/floatsidf.c: Likewise.
31943 * soft-fp/floatsisf.c: Likewise.
31944 * soft-fp/floatsitf.c: Likewise.
31945 * soft-fp/floattidf.c: Likewise.
31946 * soft-fp/floattisf.c: Likewise.
31947 * soft-fp/floattitf.c: Likewise.
31948 * soft-fp/floatundidf.c: Likewise.
31949 * soft-fp/floatundisf.c: Likewise.
31950 * soft-fp/floatunsidf.c: Likewise.
31951 * soft-fp/floatunsisf.c: Likewise.
31952 * soft-fp/floatuntidf.c: Likewise.
31953 * soft-fp/floatuntisf.c: Likewise.
31954 * soft-fp/floatuntitf.c: Likewise.
31955 * soft-fp/fmadf4.c: Likewise.
31956 * soft-fp/fmasf4.c: Likewise.
31957 * soft-fp/fmatf4.c: Likewise.
31958 * soft-fp/gedf2.c: Likewise.
31959 * soft-fp/gesf2.c: Likewise.
31960 * soft-fp/getf2.c: Likewise.
31961 * soft-fp/ledf2.c: Likewise.
31962 * soft-fp/lesf2.c: Likewise.
31963 * soft-fp/letf2.c: Likewise.
31964 * soft-fp/muldf3.c: Likewise.
31965 * soft-fp/mulsf3.c: Likewise.
31966 * soft-fp/multf3.c: Likewise.
31967 * soft-fp/negdf2.c: Likewise.
31968 * soft-fp/negsf2.c: Likewise.
31969 * soft-fp/negtf2.c: Likewise.
31970 * soft-fp/op-1.h: Likewise.
31971 * soft-fp/op-2.h: Likewise.
31972 * soft-fp/op-4.h: Likewise.
31973 * soft-fp/op-8.h: Likewise.
31974 * soft-fp/op-common.h: Likewise.
31975 * soft-fp/quad.h: Likewise.
31976 * soft-fp/single.h: Likewise.
31977 * soft-fp/soft-fp.h: Likewise.
31978 * soft-fp/sqrtdf2.c: Likewise.
31979 * soft-fp/sqrtsf2.c: Likewise.
31980 * soft-fp/sqrttf2.c: Likewise.
31981 * soft-fp/subdf3.c: Likewise.
31982 * soft-fp/subsf3.c: Likewise.
31983 * soft-fp/subtf3.c: Likewise.
31984 * soft-fp/truncdfsf2.c: Likewise.
31985 * soft-fp/trunctfdf2.c: Likewise.
31986 * soft-fp/trunctfsf2.c: Likewise.
31987 * soft-fp/trunctfxf2.c: Likewise.
31988 * soft-fp/unorddf2.c: Likewise.
31989 * soft-fp/unordsf2.c: Likewise.
31990 * soft-fp/unordtf2.c: Likewise.
31991
31992 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31993
31994 [BZ #15672]
31995 * misc/error.c (error_tail): Fix possible buffer overflow.
31996
31997 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31998
31999 [BZ #13028]
32000 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32001 address.
32002
32003 2013-10-14 P. J. McDermott <pj@pehjota.net>
32004
32005 [BZ #832]
32006 * elf/ldd.bash.in (try_trace): New function. Delete previous code
32007 testing pipefail option.
32008
32009 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32010
32011 * soft-fp/double.h: Indent preprocessor directives inside #if.
32012 * soft-fp/extended.h: Likewise.
32013 * soft-fp/op-2.h: Likewise.
32014 * soft-fp/op-4.h: Likewise.
32015 * soft-fp/op-common.h: Likewise.
32016 * soft-fp/quad.h: Likewise.
32017 * soft-fp/single.h: Likewise.
32018 * soft-fp/soft-fp.h: Likewise.
32019
32020 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
32021
32022 * iconv/iconv_prog.c: Fix typos.
32023 * stdio-common/psiginfo-data.h: Likewise.
32024
32025 2013-10-12 Reuben Thomas <rrt@sc3d.org>
32026
32027 [BZ #15764]
32028 * locale/setlocale.c: Fix typo.
32029
32030 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32031
32032 [BZ #16036]
32033 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32034 signaling NaN arguments.
32035 * soft-fp/unordsf2.c (__unordsf2): Likewise.
32036 * soft-fp/unordtf2.c (__unordtf2): Likewise.
32037
32038 [BZ #14910]
32039 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32040 unordered operands.
32041 * soft-fp/gesf2.c (__gesf2): Likewise.
32042 * soft-fp/getf2.c (__getf2): Likewise.
32043 * soft-fp/ledf2.c (__ledf2): Likewise.
32044 * soft-fp/lesf2.c (__lesf2): Likewise.
32045 * soft-fp/letf2.c (__letf2): Likewise.
32046
32047 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32048 * soft-fp/eqsf2.c (__eqsf2): Likewise.
32049 * soft-fp/eqtf2.c (__eqtf2): Likewise.
32050 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32051 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32052 * soft-fp/fixdfti.c (__fixdfti): Likewise.
32053 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32054 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32055 * soft-fp/fixsfti.c (__fixsfti): Likewise.
32056 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32057 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32058 * soft-fp/fixtfti.c (__fixtfti): Likewise.
32059 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32060 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32061 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32062 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32063 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32064 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32065 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32066 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32067 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32068 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32069 * soft-fp/floatdisf.c (__floatdisf): Likewise.
32070 * soft-fp/floatsisf.c (__floatsisf): Likewise.
32071 * soft-fp/floattidf.c (__floattidf): Likewise.
32072 * soft-fp/floattisf.c (__floattisf): Likewise.
32073 * soft-fp/floattitf.c (__floattitf): Likewise.
32074 * soft-fp/floatundidf.c (__floatundidf): Likewise.
32075 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32076 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32077 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32078 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32079 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32080 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32081 * soft-fp/gesf2.c (__gesf2): Likewise.
32082 * soft-fp/getf2.c (__getf2): Likewise.
32083 * soft-fp/ledf2.c (__ledf2): Likewise.
32084 * soft-fp/lesf2.c (__lesf2): Likewise.
32085 * soft-fp/letf2.c (__letf2): Likewise.
32086
32087 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32088 Undefine and redefine.
32089 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32090 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32091 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32092 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32093 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32094 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32095 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32096 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32097 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32098 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32099 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32100 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32101 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32102 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32103 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32104
32105 [BZ #16032]
32106 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32107 without decrementing exponent if mantissa >= that for the
32108 denominator, not >.
32109 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32110 denominator, not >. Decrement exponent in < case instead of
32111 incrementing in >= case.
32112 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32113 without decrementing exponent if mantissa >= that for the
32114 denominator, not >.
32115
32116 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32117 computing saturated result for unsigned overflow.
32118
32119 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32120 Jeff Law <law@redhat.com>
32121
32122 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32123 (atan2Mp): Add systemtap probe marker.
32124 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32125 (__ieee754_log): Add systemtap probe marker.
32126 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32127 (atanMp): Add systemtap probe marker.
32128 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32129 (tanMp): Add systemtap probe marker.
32130 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32131 (__slowexp): Add systemtap probe marker.
32132 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32133 (__slowpow): Add systemtap probe marker.
32134 * manual/probes.texi: Document probes.
32135
32136 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
32137
32138 [BZ #15362]
32139 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32140 written.
32141 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32142 written.
32143 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32144 written to buffer but not flushed.
32145 * libio/iofwrite_u.c: Likewise.
32146 * libio/iopadn.c: Return bytes returned even if EOF was
32147 encountered.
32148 * libio/iowpadn.c: Likewise.
32149 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32150 if _IO_padn does not write the whole buffer.
32151 [!COMPILE_WPRINTF] (PAD): Likewise.
32152
32153 2013-10-10 David S. Miller <davem@davemloft.net>
32154
32155 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32156 directory block.
32157
32158 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32159
32160 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32161 instead of FSF address.
32162 * soft-fp/fixdfti.c: Likewise.
32163 * soft-fp/fixsfti.c: Likewise.
32164 * soft-fp/fixtfti.c: Likewise.
32165 * soft-fp/fixunsdfti.c: Likewise.
32166 * soft-fp/fixunssfti.c: Likewise.
32167 * soft-fp/fixunstfti.c: Likewise.
32168 * soft-fp/floattidf.c: Likewise.
32169 * soft-fp/floattisf.c: Likewise.
32170 * soft-fp/floattitf.c: Likewise.
32171 * soft-fp/floatuntidf.c: Likewise.
32172 * soft-fp/floatuntisf.c: Likewise.
32173 * soft-fp/floatuntitf.c: Likewise.
32174 * soft-fp/trunctfxf2.c: Likewise.
32175
32176 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32177 * soft-fp/fixdfti.c: Likewise.
32178 * soft-fp/fixsfti.c: Likewise.
32179 * soft-fp/fixtfti.c: Likewise.
32180 * soft-fp/fixunsdfti.c: Likewise.
32181 * soft-fp/fixunssfti.c: Likewise.
32182 * soft-fp/fixunstfti.c: Likewise.
32183 * soft-fp/floattidf.c: Likewise.
32184 * soft-fp/floattisf.c: Likewise.
32185 * soft-fp/floattitf.c: Likewise.
32186 * soft-fp/floatuntidf.c: Likewise.
32187 * soft-fp/floatuntisf.c: Likewise.
32188 * soft-fp/floatuntitf.c: Likewise.
32189 * soft-fp/trunctfxf2.c: Likewise.
32190
32191 2013-10-10 David S. Miller <davem@davemloft.net>
32192
32193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32194
32195 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32196
32197 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32198 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32199 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32200 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32201 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32202 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32203 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32204
32205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32206 for NaNs before doing comparisons on argument.
32207 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32208 Likewise.
32209
32210 2013-10-10 Will Newton <will.newton@linaro.org>
32211
32212 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32213 passed to _int_memalign does not overflow.
32214
32215 2013-10-10 Torvald Riegel <triegel@redhat.com>
32216
32217 * scripts/bench.pl: Add include-sources directive.
32218 * benchtests/README: Update documentation.
32219
32220 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32221
32222 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32223 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32224 instead of FP_INIT_ROUNDMODE.
32225 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32226 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32227
32228 [BZ #16034]
32229 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
32230 copy class of input value.
32231 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
32232 not handle exceptions.
32233 * soft-fp/negsf2.c (__negsf2): Likewise.
32234 * soft-fp/negtf2.c (__negtf2): Likewise.
32235 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32236
32237 2013-10-09 Joseph Myers <joseph@codesourcery.com>
32238
32239 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32240 semicolon. From Linux kernel.
32241
32242 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
32243
32244 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32245
32246 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
32247
32248 [BZ #156]
32249 * manual/socket.texi: Added statement about buffer
32250 for gethostbyname2_r.
32251
32252 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
32253
32254 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32255 Use .p2align directive instead, throughout.
32256 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32257 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32258 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32261 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32262 * sysdeps/x86_64/strchr.S: Likewise.
32263 * sysdeps/x86_64/strrchr.S: Likewise.
32264
32265 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32266
32267 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32268
32269 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32270
32271 * sysdeps/generic/math_private.h (__mpsin1): Remove
32272 declaration.
32273 (__mpcos1): Likewise.
32274 (__mpsin): New argument __range_reduce.
32275 (__mpcos): Likewise.
32276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32277 (slow): Use __mpsin and __mpcos.
32278 (slow1): Likewise.
32279 (slow2): Likewise.
32280 (sloww): Likewise.
32281 (sloww1): Likewise.
32282 (sloww2): Likewise.
32283 (bsloww): Likewise.
32284 (bsloww1): Likewise.
32285 (bsloww2): Likewise.
32286 (cslow2): Likewise.
32287 (csloww): Likewise.
32288 (csloww1): Likewise.
32289 (csloww2): Likewise.
32290 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32291 range_reduce. Merge in __mpsin1.
32292 (__mpcos): Likewise.
32293 (__mpsin1): Remove.
32294 (__mpcos1): Likewise.
32295
32296 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32297
32298 * locale/loadlocale.c (_nl_intern_locale_data): Use
32299 LOCFILE_ALIGNED_P.
32300 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32301 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32302 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32303 obstack data is appropriately aligned.
32304 (obstack_int32_grow_fast): Likewise.
32305 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32306 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32307 (add_locale_uint32_array): Likewise.
32308
32309 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32310
32311 * benchtests/Makefile: Remove ARGLIST and RET variables.
32312 ($(objpfx)bench-%.c): Pass only function name to the script.
32313 * benchtests/README: Update documentation.
32314 * benchtests/acos-inputs: Add new directives.
32315 * benchtests/acosh-inputs: Likewise.
32316 * benchtests/asin-inputs: Likewise.
32317 * benchtests/asinh-inputs: Likewise.
32318 * benchtests/atan-inputs: Likewise.
32319 * benchtests/atanh-inputs: Likewise.
32320 * benchtests/cos-inputs: Likewise.
32321 * benchtests/cosh-inputs: Likewise.
32322 * benchtests/exp-inputs: Likewise.
32323 * benchtests/log-inputs: Likewise.
32324 * benchtests/pow-inputs: Likewise.
32325 * benchtests/rint-inputs: Likewise.
32326 * benchtests/sin-inputs: Likewise.
32327 * benchtests/sinh-inputs: Likewise.
32328 * benchtests/tan-inputs: Likewise.
32329 * benchtests/tanh-inputs: Likewise.
32330 * scripts/bench.pl: Add support for new directives.
32331
32332 2013-10-07 Alan Modra <amodra@gmail.com>
32333
32334 * README: Fix careless merge.
32335
32336 2013-10-05 Alan Modra <amodra@gmail.com>
32337
32338 * NEWS: Mention powerpc64le support and bugs fixed.
32339 * README: Both big-endian and little-endian powerpc64 supported.
32340
32341 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32342
32343 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32344 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32345 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32346 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32347
32348 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32349
32350 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32351 match prototype.
32352
32353 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32354
32355 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32356 Move -mhard-float appending from
32357 ports/sysdeps/powerpc/powerpc32/Makefile.
32358 [$(with-fp) = yes] (ASFLAGS): Likewise.
32359 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32360 * sysdeps/powerpc/nofpu: Move directory from
32361 ports/sysdeps/powerpc/nofpu.
32362 * sysdeps/powerpc/soft-fp: Move directory from
32363 ports/sysdeps/powerpc/soft-fp.
32364 * sysdeps/powerpc/powerpc32/405: Move directory from
32365 ports/sysdeps/powerpc/powerpc32/405.
32366 * sysdeps/powerpc/powerpc32/440: Move directory from
32367 ports/sysdeps/powerpc/powerpc32/440.
32368 * sysdeps/powerpc/powerpc32/464: Move directory from
32369 ports/sysdeps/powerpc/powerpc32/464.
32370 * sysdeps/powerpc/powerpc32/476: Move directory from
32371 ports/sysdeps/powerpc/powerpc32/476.
32372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32373 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32375 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32377 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32379 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32381 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32382 * README: Update for powerpc-*-linux-gnu software floating point
32383 support in libc.
32384
32385 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32386 case to powerpc/powerpc32*.
32387 * sysdeps/unix/sysv/linux/configure: Regenerated.
32388
32389 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32390 (_FPU_MASK_OM): Define as 0x04.
32391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32393 0x00c10080.
32394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32395 0x0000003c.
32396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32397
32398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32399 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32400 getcontext_e500.
32401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32402 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32403 setcontext_e500.
32404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32405 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32406 and setcontext_e500.
32407
32408 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32409
32410 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32411
32412 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32413
32414 * manual/threads.texi (Default Thread Attributes): Fix typo.
32415
32416 2013-10-04 Will Newton <will.newton@linaro.org>
32417
32418 * malloc/Makefile: Add tst-memalign.
32419 * malloc/tst-memalign.c: New file.
32420
32421 * malloc/tst-posix_memalign.c: Add comments.
32422 (do_test): Add comments and call free on all potentially
32423 allocated pointers. Add space after cast.
32424
32425 * malloc/tst-pvalloc.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 * malloc/tst-valloc.c: Add comments.
32431 (do_test): Add comments and call free on all potentially
32432 allocated pointers. Remove duplicate check for NULL pointer.
32433 Add space after cast.
32434
32435 2013-10-04 Alan Modra <amodra@gmail.com>
32436
32437 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32438 Use stdint types in rather than __attribute__((mode())).
32439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32440
32441 2013-10-04 Alan Modra <amodra@gmail.com>
32442
32443 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32444 Correct handling of unaligned relocs for little-endian.
32445 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32446
32447 2013-10-04 Alan Modra <amodra@gmail.com>
32448
32449 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32450 * configure: Regenerate.
32451 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32452 * shlib-versions: Likewise.
32453
32454 2013-10-04 Alan Modra <amodra@gmail.com>
32455
32456 * string/tester.c (test_memrchr): Increment reported test cycle.
32457
32458 2013-10-04 Alan Modra <amodra@gmail.com>
32459
32460 * string/test-memcpy.c (do_one_test): When reporting errors, print
32461 string address and don't overrun end of string.
32462
32463 2013-10-04 Alan Modra <amodra@gmail.com>
32464
32465 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32466 insrdi. Make better use of reg selection to speed exit slightly.
32467 Schedule entry path a little better. Remove useless "are we done"
32468 checks on entry to main loop. Handle wrapping around zero address.
32469 Correct main loop count. Handle single left-over word from main
32470 loop inline rather than by using loop_small. Remove extra word
32471 case in loop_small caused by wrong loop count. Add little-endian
32472 support.
32473 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32474 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32475 cache hint.
32476 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32477 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32478 support. Avoid rlwimi.
32479 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32480
32481 2013-10-04 Alan Modra <amodra@gmail.com>
32482
32483 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32484 insrdi. Formatting.
32485 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32486 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32487 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32488 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32489 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32490 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32491
32492 2013-10-04 Alan Modra <amodra@gmail.com>
32493
32494 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32495 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32496 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32497 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32498 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32499 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32501 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32502 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32503 use of regs. Use power7 mtocrf. Tidy function tails.
32504
32505 2013-10-04 Alan Modra <amodra@gmail.com>
32506
32507 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32508 Formatting. Consistently use rXXX register defines or rN defines.
32509 Use early exit labels that avoid restoring unused non-volatile regs.
32510 Make cr field use more consistent with rWORDn compares. Rename
32511 regs used as shift registers for unaligned loop, using rN defines
32512 for short lifetime/multiple use regs.
32513 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32514 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32515 addi 1,1,64 to pop stack frame. Simplify return value code.
32516 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32517
32518 2013-10-04 Alan Modra <amodra@gmail.com>
32519
32520 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32521 support. Correct typos, formatting. Optimize tail. Use insrdi
32522 rather than rlwimi.
32523 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32524 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32525 little-endian support. Correct typos.
32526 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32527 rather than rlwimi.
32528 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32529 in loop and entry code to keep "and." results.
32530 (strchr): Add little-endian support. Comment. Move cntlzd
32531 earlier in tail.
32532 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32533
32534 2013-10-04 Alan Modra <amodra@gmail.com>
32535
32536 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32537 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32538 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32539 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32540
32541 2013-10-04 Alan Modra <amodra@gmail.com>
32542
32543 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32544 (rTMP): Define as r11.
32545 (strcmp): Add little-endian support. Optimise tail.
32546 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32547 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32548 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32549 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32550 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32551 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32553
32554 2013-10-04 Alan Modra <amodra@gmail.com>
32555
32556 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32557 little-endian support. Remove unnecessary "are we done" tests.
32558 Handle "s" wrapping around zero and extremely large "size".
32559 Correct main loop count. Handle single left-over word from main
32560 loop inline rather than by using small_loop. Correct comments.
32561 Delete "zero" tail, use "end_max" instead.
32562 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32563
32564 2013-10-04 Alan Modra <amodra@gmail.com>
32565
32566 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32567 support. Don't branch over align.
32568 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32569 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32570 support. Rearrange tmp reg use to suit. Comment.
32571 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32572
32573 2013-10-04 Alan Modra <amodra@gmail.com>
32574
32575 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32576
32577 2013-10-04 Alan Modra <amodra@gmail.com>
32578
32579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32580 conditional form of branch and link when obtaining pc.
32581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32582
32583 2013-10-04 Alan Modra <amodra@gmail.com>
32584
32585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32586 HIWORD/LOWORD.
32587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32589
32590 2013-10-04 Alan Modra <amodra@gmail.com>
32591
32592 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32593 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32594 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32595 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32596 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32597 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32598 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32599 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32600 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32601 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32602
32603 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32604 Alistair Popple <alistair@ozlabs.au.ibm.com>
32605 Alan Modra <amodra@gmail.com>
32606
32607 [BZ #15723]
32608 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32609 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32610 _dl_hwcap access for little-endian.
32611 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32612 destroy vmx regs when saving unaligned.
32613 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32614 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32615 destroy vmx regs when saving unaligned.
32616
32617 2013-10-04 Alan Modra <amodra@gmail.com>
32618
32619 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32620 Don't use a union to pack hi/low value.
32621
32622 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32623
32624 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32625 for little-endian.
32626 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32627 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32628 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32629 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32630 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32631
32632 2013-10-04 Alan Modra <amodra@gmail.com>
32633
32634 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32635 constants to usual value for .cst8 section, and remove redundant
32636 high address load.
32637 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32638 constant for 0x1p52. Load little-endian words of double from
32639 correct stack offsets.
32640
32641 2013-10-04 Alan Modra <amodra@gmail.com>
32642
32643 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32644 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32645 words of double from correct stack offsets.
32646 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32647 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32648 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32650 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32651 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32652 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32653 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32654 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32655 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32656 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32657 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32658 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32659 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32660 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32661 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32662 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32663
32664 2013-10-04 Alan Modra <amodra@gmail.com>
32665
32666 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32667 64-bit int/double union.
32668 (_FPU_SETCW): Likewise.
32669 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32670 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32671
32672 2013-10-04 Alan Modra <amodra@gmail.com>
32673
32674 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32675 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32676
32677 2013-10-04 Alan Modra <amodra@gmail.com>
32678
32679 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32680 use vector int constants.
32681 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32682
32683 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32684
32685 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32686 array with long long.
32687 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32688 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32689 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32690 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32691 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32692 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32693 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32694 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32695 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32696 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32697 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32698 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32699 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32700
32701 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32702
32703 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32704 (__signbit): Likewise. Correct for little-endian.
32705 (__signbitl): Call __signbit.
32706 (lrint): Correct for little-endian.
32707 (lrintf): Call lrint.
32708
32709 2013-10-04 Alan Modra <amodra@gmail.com>
32710
32711 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32712 union 32-bit int array member with 64-bit int array.
32713 (t515, tm256): Double rather than long double.
32714 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32715
32716 2013-10-04 Alan Modra <amodra@gmail.com>
32717
32718 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32719 Delete.
32720 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32722 version of math_ldbl.h.
32723
32724 2013-10-04 Alan Modra <amodra@gmail.com>
32725
32726 [BZ #15734], [BZ #15735]
32727 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32728 all uses of ieee875 long double macros and unions. Simplify test
32729 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32730 ldbl_extract_mantissa value for ix,iy exponents. Properly
32731 normalize after ldbl_extract_mantissa, and don't add hidden bit
32732 already handled. Don't treat low word of ieee854 mantissa like
32733 low word of IBM long double and mask off bit when testing for
32734 zero.
32735 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32736 all uses of ieee875 long double macros and unions. Simplify tests
32737 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32738 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32739 two1022, instead use their values. Recognise that tests for large
32740 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32741 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32742 Rewrite all uses of ieee875 long double macros and unions. Simplify
32743 test for 0.0L and nan. Correct negation.
32744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32745 ieee875 long double macros and unions. Correct output for large
32746 magnitude x. Correct absolute value calculation.
32747 (__erfcl): Likewise.
32748 * math/libm-test.inc: Add tests for errors discovered in IBM long
32749 double versions of fmodl, remainderl, erfl and erfcl.
32750
32751 2013-10-04 Alan Modra <amodra@gmail.com>
32752
32753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32754 all uses of ieee854 long double macros and unions. Simplify tests
32755 for long doubles that are fully specified by the high double.
32756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32757 Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32759 Remove dead code too.
32760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32761 (__ieee754_ynl): Likewise.
32762 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32765 Remove dead code too.
32766 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32767 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32768 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32769 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32770 Simplify.
32771 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32772 Simplify.
32773 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32774 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32776 Comment on variable precision.
32777 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32778 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32779 Likewise.
32780 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32783 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32784 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32785
32786 2013-10-04 Alan Modra <amodra@gmail.com>
32787
32788 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32789 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32790 all uses of ieee854 long double macros and unions.
32791 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32792 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32793 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32796 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32797 Likewise.
32798 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32799 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32801 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32803 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32804 Simplify sign and nan test too.
32805 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32807 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32808 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32809 Likewise.
32810 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32811 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32812 Likewise.
32813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32814 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32815 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32816 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32817 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32819
32820 2013-10-04 Alan Modra <amodra@gmail.com>
32821
32822 * stdio-common/printf_size.c (__printf_size): Don't use
32823 union ieee854_long_double in fpnum union.
32824 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32825 signbit macro to retrieve sign from long double.
32826 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32827 retrieve sign from long double.
32828 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32829 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32830 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32831 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32832 * math/test-misc.c (main): Don't use union ieee854_long_double.
32833
32834 2013-10-04 Alan Modra <amodra@gmail.com>
32835
32836 [BZ #15680]
32837 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32838 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32839 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32840 calculation. Remove unnecessary test for denormal exponent.
32841 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32842 Correct handling of denormals. Avoid undefined shift behaviour.
32843 Correct normalisation of low mantissa when low double is denormal.
32844 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32845 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32846 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32847 Correct normalisation of low mantissa. Test for overflow of high
32848 mantissa and normalise.
32849 (ldbl_nearbyint): Use more readable constant for two52.
32850 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32851 (__mpn_construct_long_double): Fix test for overflow of high
32852 mantissa and correct normalisation. Avoid undefined shift.
32853
32854 2013-10-04 Alan Modra <amodra@gmail.com>
32855
32856 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32857 (union ibm_extended_long_double): Define as an array of ieee754_double.
32858 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32859 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32860 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32861 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32863 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32864 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32865 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32866 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32867 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32868 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32869
32870 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32871
32872 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32873 page size instead of calling getpagesize.
32874
32875 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32876 (LOCFILE_ALIGN_MASK): Likewise.
32877 (LOCFILE_ALIGN_UP): Likewise.
32878 (LOCFILE_ALIGNED_P): Likewise.
32879 * locale/programs/ld-collate.c (collate_output): Use the new
32880 macros instead of __alignof__ (int32_t).
32881 * locale/weight.h (findidx): Likewise.
32882
32883 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32884
32885 [BZ #431]
32886 * manual/string.texi: Fix strncat and wcsncat.
32887
32888 2013-10-03 Brooks Moses <bmoses@google.com>
32889
32890 [BZ #15915]
32891 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32892 * Makerules: ...here, and adjust associated comments.
32893
32894 2013-10-02 Will Newton <will.newton@linaro.org>
32895
32896 * malloc/Makefile: Add tst-pvalloc.
32897 * malloc/tst-pvalloc.c: New file.
32898
32899 2013-10-02 Will Newton <will.newton@linaro.org>
32900
32901 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32902 improve test coverage.
32903
32904 2013-10-02 Will Newton <will.newton@linaro.org>
32905
32906 * malloc/Makefile: Add tst-posix_memalign.
32907 * malloc/tst-posix_memalign.c: New file.
32908
32909 2013-10-01 Eric Blake <eblake@redhat.com>
32910
32911 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32912 Use __THROWNL rather than __THROW on static functions.
32913
32914 2013-09-30 Petr Machata <pmachata@redhat.com>
32915
32916 * elf/elf.h (R_AARCH64_ABS16): New macro.
32917 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32918 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32919 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32920 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32921 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32922 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32923 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32924 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32925 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32926 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32927 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32928 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32929 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32930 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32931 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32932 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32933 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32934 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32935 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32936 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32937 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32938 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32939 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32940 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32941 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32942 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32943 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32944 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32945 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32946 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32947 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32948 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32949 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32950 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32951 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32952 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32953 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32954 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32955 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32956 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32957 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32958 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32959 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32960 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32961 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32962 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32963 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32964 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32965 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32966 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32967 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32968 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32969 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32970 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32971 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32972 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32973 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32974 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32975 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32976 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32977 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32978 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32979 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32980 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32981 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32982 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32983 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32984 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32985 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32986 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32987 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32988 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32989 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32990 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32991 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32992 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32993 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32994 (R_AARCH64_TLSDESC_LDR): Likewise.
32995 (R_AARCH64_TLSDESC_ADD): Likewise.
32996 (R_AARCH64_TLSDESC_CALL): Likewise.
32997
32998 2013-09-30 Andreas Schwab <schwab@suse.de>
32999
33000 [BZ #15048]
33001 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33002 the nss database lookup.
33003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33005
33006 2013-09-28 Mike Frysinger <vapier@gentoo.org>
33007
33008 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33009
33010 2013-09-28 P. J. McDermott <pj@pehjota.net>
33011
33012 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33013 ${Bash-specific parameter/pattern/string} parameter expansion.
33014 * sysdeps/unix/make-syscalls.sh: Likewise.
33015
33016 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33017
33018 * sysdeps/sh/stackguard-macros.h: New file.
33019
33020 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
33021
33022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33024 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33025 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33026 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33027 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33028
33029 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33030
33031 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33032 Fix thread ID register.
33033
33034 2013-09-25 Joseph Myers <joseph@codesourcery.com>
33035
33036 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33037 [POSIX || UNIX98]: Require rather than permitting all symbols from
33038 <time.h>.
33039 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33040 element of struct sched_param.
33041 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33042 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33043 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33044 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33045 constant.
33046
33047 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
33048
33049 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33050 argument calculation.
33051
33052 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33053
33054 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33055 Expect macro.
33056 [POSIX] (pthread_attr_t): Do not require type.
33057 [POSIX] (pthread_cond_t): Likewise.
33058 [POSIX] (pthread_condattr_t): Likewise.
33059 [POSIX] (pthread_key_t): Likewise.
33060 [POSIX] (pthread_mutex_t): Likewise.
33061 [POSIX] (pthread_mutexattr_t): Likewise.
33062 [POSIX] (pthread_once_t): Likewise.
33063 [POSIX] (pthread_t): Likewise.
33064 [POSIX-based standards] (pthread_atfork): Expect function.
33065
33066 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33067 Richard Sandiford <richard@codesourcery.com>
33068
33069 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33070 (swap_endianness_p): New extern variable.
33071 (set_big_endian): New inline function.
33072 (maybe_swap_uint32): Likewise.
33073 (maybe_swap_uint32_array): Likewise.
33074 (maybe_swap_uint32_obstack): Likewise.
33075 * locale/programs/locfile.c: Include <stdbool.h>.
33076 (swap_endianness_p): New variable.
33077 (add_locale_uint32): Call maybe_swap_uint32.
33078 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33079 (write_locale_data): Call maybe_swap_uint32_array.
33080 * locale/programs/ld-collate.c (obstack_int32_grow): Call
33081 maybe_swap_uint32.
33082 (obstack_int32_grow_fast): Likewise.
33083 (output_weightwc): Call maybe_swap_uint32_obstack.
33084 (collate_output): Likewise.
33085 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33086 (OPT_LITTLE_ENDIAN): Likewise.
33087 (options): Add --little-endian and --big-endian options.
33088 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33089 * locale/programs/locarchive.c: Include "locfile.h".
33090 (GET): New macro.
33091 (SET): Likewise.
33092 (INC): Likewise.
33093 (create_archive): Use the new macros to access fields of
33094 structures directly mapped from or written to locale archives.
33095 (oldlocrecentcmp): Likewise.
33096 (enlarge_archive): Likewise.
33097 (insert_name): Likewise.
33098 (add_alias): Likewise.
33099 (add_locale): Likewise.
33100 (delete_locales_from_archive): Likewise.
33101 (show_archive_content): Likewise.
33102 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
33103 locale data.
33104
33105 2013-09-24 Roland McGrath <roland@hack.frob.com>
33106
33107 * manual/freemanuals.texi: Updated from (newly) canonical copy at
33108 http://www.gnu.org/doc/freemanuals.texi.
33109 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33110
33111 2013-09-24 Will Newton <will.newton@linaro.org>
33112
33113 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33114 macro.
33115
33116 2013-09-23 Joseph Myers <joseph@codesourcery.com>
33117
33118 * locale/hashval.h (compute_hashval): Interpret bytes of key as
33119 unsigned char.
33120
33121 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
33122
33123 * manual/threads.texi (POSIX Threads): Fix a typo.
33124
33125 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33126
33127 [BZ #14547]
33128 * string/tst-strcoll-overflow.c: New test case.
33129 * string/Makefile (xtests): Add tst-strcoll-overflow.
33130 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33131 cache if string sizes may cause integer overflow.
33132
33133 [BZ #14547]
33134 * string/strcoll_l.c (coll_seq): New members rule, idx,
33135 save_idx and back_us.
33136 (get_next_seq_nocache): New function.
33137 (do_compare_nocache): New function.
33138 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33139 when malloc fails.
33140
33141 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33142
33143 [BZ #15754]
33144 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33145 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33146 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33147
33148 [BZ #15754]
33149 * elf/Makefile (tests): Add tst-ptrguard1.
33150 (tests-static): Add tst-ptrguard1-static.
33151 (tst-ptrguard1-ARGS): Define.
33152 (tst-ptrguard1-static-ARGS): Define.
33153 * elf/tst-ptrguard1.c: New file.
33154 * elf/tst-ptrguard1-static.c: New file.
33155 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33156 * sysdeps/i386/stackguard-macros.h: Likewise.
33157 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33158 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33159 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33160 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33161 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33162 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33163
33164 2013-09-23 Hector Marco <hecmargi@upv.es>
33165 Ismael Ripoll <iripoll@disca.upv.es>
33166 Carlos O'Donell <carlos@redhat.com>
33167
33168 [BZ #15754]
33169 * sysdeps/generic/stackguard-macros.h: Define
33170 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33171 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33172 Define __pointer_chk_guard_local.
33173 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33174 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33175
33176 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33177
33178 [BZ #15859]
33179 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33180
33181 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33182
33183 * include/string.h (__ffs): Declare as hidden.
33184 * string/ffs.c (__ffs): Define as hidden.
33185 * sysdeps/i386/ffs.c (__ffs): Likewise.
33186 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33187 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33188 * sysdeps/s390/ffs.c (__ffs): Likewise.
33189 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33190
33191 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33192
33193 * NEWS: Mention malloc probes.
33194
33195 * malloc/arena.c (new_heap): New memory_heap_new probe.
33196 (grow_heap): New memory_heap_more probe.
33197 (shrink_heap): New memory_heap_less probe.
33198 (heap_trim): New memory_heap_free probe.
33199 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33200 (systrim): New memory_sbrk_less probe.
33201 * manual/probes.texi: Document them.
33202
33203 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33204 * manual/probes.texi: Document it.
33205
33206 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33207 (__libc_realloc): Add memory_realloc_retry probe.
33208 (__libc_memalign): Add memory_memalign_retry probe.
33209 (__libc_valloc): Add memory_valloc_retry probe.
33210 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33211 (__libc_calloc): Add memory_calloc_retry probe.
33212 * manual/probes.texi: Document them.
33213
33214 * malloc/arena.c (get_free_list): Add probe
33215 memory_arena_reuse_free_list.
33216 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33217 and memory_arena_reuse.
33218 (arena_get2) [!PER_THREAD]: Likewise.
33219 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33220 memory_arena_reuse_realloc.
33221 * manual/probes.texi: Document them.
33222
33223 * malloc/malloc.c (__libc_free): Add
33224 memory_mallopt_free_dyn_thresholds probe.
33225 (__libc_mallopt): Add multiple memory_mallopt probes.
33226 * manual/probes.texi: Document them.
33227
33228 * malloc/malloc.c: Include stap-probe.h.
33229 (__libc_mallopt): Add memory_mallopt probe.
33230 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33231 * manual/probes.texi: New.
33232 * manual/Makefile (chapters): Add probes.
33233 * manual/threads.texi: Set next node.
33234
33235 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
33236
33237 [BZ #15963, #13985]
33238 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33239 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33240 Add `Chinese' to `nan' entry name.
33241
33242 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33243
33244 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33245 (POLYNOMIAL): Likewise.
33246 (TAYLOR_SINCOS): Likewise.
33247 (TAYLOR_SLOW): Likewise.
33248 (__sin): Use TAYLOR_SINCOS.
33249 (__cos): Likewise.
33250 (slow): Use TAYLOR_SLOW.
33251 (sloww): Likewise.
33252 (bsloww): Likewise.
33253 (csloww): Likewise.
33254
33255 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33256
33257 * stdlib/strtod_l.c: Fix buffer overrun.
33258
33259 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33260
33261 * benchtests/Makefile (bench): Add sincos.
33262 * benchtests/bench-sincos.c: New file.
33263
33264 * math/libm-test.inc (cos_test_data): New test inputs.
33265 (sin_test_data): Likewise.
33266
33267 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33268 macro.
33269 (__sin): Use it.
33270 (__cos): Likewise.
33271 (slow1): Likewise.
33272 (slow2): Likewise.
33273 (sloww1): Likewise.
33274 (sloww2): Likewise.
33275 (bsloww1): Likewise.
33276 (bsloww2): Likewise.
33277 (cslow2): Likewise.
33278 (csloww1): Likewise.
33279 (csloww2): Likewise.
33280
33281 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33282 function.
33283 (__sin): Use it.
33284 (__cos): Likewise.
33285
33286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33287 gotos.
33288 (__cos): Likewise.
33289
33290 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33291
33292 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33293 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33294 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33295 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33296 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33297 * elf/cache.c (print_entry): Handle the new cache flags.
33298
33299 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33300 Aldy Hernandez <aldyh@redhat.com>
33301
33302 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33303 Change condition to [_SOFT_FLOAT].
33304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33316 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33319 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33320 declaration.
33321
33322 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33323
33324 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33325 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33326 (__longjmp): Use LOAD_GP to load saved GPRs.
33327 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33328 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33329 (__sigsetjmp): Use SAVE_GP to save GPRs.
33330
33331 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33332 Do not append -msoft-float.
33333 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33334
33335 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33336
33337 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33338
33339 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33340
33341 [BZ #15966]
33342 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33343 (_FPU_GETCW): Use initial "__" on variable and field names but not
33344 on macro parameter name.
33345 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33346 parentheses around reference to macro parameter.
33347
33348 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33349
33350 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33351 prototype.
33352 (ctype_startup): Use uint32_t in cast and sizeof for
33353 ctype->charnames.
33354
33355 2013-09-11 Jia Liu <proljc@gmail.com>
33356
33357 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33358 __daddr_t_defined.
33359 [__FreeBSD__]: Likewise.
33360
33361 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33362
33363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33364 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33365 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33366 (strchr): Remove __strchr_sse42 ifunc selection.
33367 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33368 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33369
33370 2013-09-11 Will Newton <will.newton@linaro.org>
33371
33372 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33373 parameter to RES. Remove hardcoded 1000 value.
33374 * benchtests/bench-skeleton.c (main): Pass RES parameter
33375 to TIMING_INIT and multiply result by 1000.
33376
33377 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33378
33379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33380
33381 2013-09-11 Andreas Schwab <schwab@suse.de>
33382
33383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33384 if not defined.
33385 (O_TMPFILE) [__USE_GNU]: Define.
33386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33387 Define.
33388
33389 2013-09-11 Will Newton <will.newton@linaro.org>
33390
33391 [BZ #15857]
33392 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33393 does not overflow.
33394
33395 2013-09-11 Will Newton <will.newton@linaro.org>
33396
33397 [BZ #15856]
33398 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33399 does not overflow.
33400
33401 2013-09-11 Will Newton <will.newton@linaro.org>
33402
33403 [BZ #15855]
33404 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33405 does not overflow.
33406
33407 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33408
33409 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33410 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33411 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33412 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33413 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33414
33415 2013-09-10 Allan McRae <allan@archlinux.org>
33416
33417 [BZ #15748]
33418 * manual/arith.texi (Parsing of Floats): Clarify
33419 cross-reference.
33420
33421 [BZ #15849]
33422 * manual/install.texi (Running make install): Mention
33423 --enable-pt-chown.
33424 * INSTALL: Regenerated.
33425
33426 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33427
33428 * csu/init-first.c (_init): Remove the !SHARED condition around
33429 FPU control word initialization.
33430 * elf/dl-support.c (_dl_fpu_control): New variable.
33431 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33432 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33433 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33434 * math/test-fpucw-static.c: New file.
33435 * math/test-fpucw-ieee.c: New file.
33436 * math/test-fpucw-ieee-static.c: New file.
33437 * math/Makefile (tests): Add `test-fpucw-ieee' and
33438 `$(tests-static)'.
33439 (tests-static): New variable.
33440 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33441 dependency to...
33442 [($(build-shared),yes)]
33443 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33444 ... this.
33445 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33446 New dependency.
33447
33448 2013-09-09 Allan McRae <allan@archlinux.org>
33449
33450 [BZ #15939]
33451 * manual/string.texi (Collation Functions): Fix typo in
33452 strcoll example.
33453 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33454
33455 [BZ #15893]
33456 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33457
33458 [BZ #15892]
33459 * libio/memstream.c (open_memstream): Fix memory leak.
33460 * libio/wmemstream.c (open_wmemstream): Likewise.
33461
33462 [BZ #15895]
33463 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33464
33465 2013-09-09 Will Newton <will.newton@linaro.org>
33466
33467 * malloc/Makefile: Add tst-realloc to tests.
33468 * malloc/tst-realloc.c: New file.
33469
33470 2013-09-09 Allan McRae <allan@archlinux.org>
33471
33472 [BZ #15844]
33473 * COPYING: Update from GNU website to fix FSF address.
33474 * COPYING.LIB: Likewise.
33475
33476 2013-09-06 David S. Miller <davem@davemloft.net>
33477
33478 * po/zh_TW.po: Update Chinese (traditional) translation from
33479 translation project.
33480
33481 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33482 Joseph Myers <joseph@codesourcery.com>
33483
33484 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33485 "localeinfo.h".
33486 (obstack_chunk_alloc): New macro.
33487 (obstack_chunk_free): Likewise.
33488 (record_offset): New function.
33489 (init_locale_data): Likewise.
33490 (align_locale_data): Likewise.
33491 (add_locale_empty): Likewise.
33492 (add_locale_raw_data): Likewise.
33493 (add_locale_raw_obstack): Likewise.
33494 (add_locale_string): Likewise.
33495 (add_locale_wstring): Likewise.
33496 (add_locale_uint32): Likewise.
33497 (add_locale_uint32_array): Likewise.
33498 (add_locale_char): Likewise.
33499 (start_locale_structure): Likewise.
33500 (end_locale_structure): Likewise.
33501 (start_locale_prelude): Likewise.
33502 (end_locale_prelude): Likewise.
33503 (write_locale_data): Take locale_file structure rather than an
33504 iovec.
33505 * locale/programs/locfile.h: Include "obstack.h".
33506 (struct locale_file): Change to store locale file contents instead
33507 of header.
33508 (init_locale_data): New prototype.
33509 (align_locale_data): Likewise.
33510 (add_locale_empty): Likewise.
33511 (add_locale_raw_data): Likewise.
33512 (add_locale_raw_obstack): Likewise.
33513 (add_locale_string): Likewise.
33514 (add_locale_wstring): Likewise.
33515 (add_locale_uint32): Likewise.
33516 (add_locale_uint32_array): Likewise.
33517 (add_locale_char): Likewise.
33518 (start_locale_structure): Likewise.
33519 (end_locale_structure): Likewise.
33520 (start_locale_prelude): Likewise.
33521 (end_locale_prelude): Likewise.
33522 (write_locale_data): Update prototype.
33523 * locale/programs/3level.h (struct TABLE): Remove result field.
33524 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33525 Use new locale_file interface.
33526 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33527 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33528 * locale/programs/ld-address.c (address_output): Use new
33529 locale_file interface.
33530 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33531 NO_ADD_LOCALE.
33532 (collate_finish): Don't call collseq_table_finalize.
33533 (collate_output): Use new locale_file interface.
33534 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33535 in file.
33536 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33537 (TABLE): Move defines earlier in file.
33538 (ELEMENT): Likewise.
33539 (DEFAULT): Likewise.
33540 (wctrans_table_add): Move macro and inline function earlier in
33541 file.
33542 (struct wctype_table): Move type earlier in file.
33543 (add_locale_wctype_table): New static prototype.
33544 (struct locale_ctype_t): Use logical types instead of struct iovec
33545 pointers for members.
33546 (ctype_output): Use new locale_file interface.
33547 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33548 new locale_file interface.
33549 (allocate_arrays): Update for use of new locale_file interface.
33550 * locale/programs/ld-identification.c (identification_output): Use
33551 new locale_file interface.
33552 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33553 * locale/programs/ld-messages.c (messages_output): Likewise.
33554 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33555 * locale/programs/ld-name.c (name_output): Likewise.
33556 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33557 * locale/programs/ld-paper.c (paper_output): Likewise.
33558 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33559 * locale/programs/ld-time.c (time_output): Likewise.
33560
33561 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33562
33563 * benchtests/Makefile: Add memrchr benchmark.
33564 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33565 benchmark as memrchr.
33566 * benchtests/bench-memrchr-ifunc.c: New file.
33567 * benchtests/bench-memrchr.c: New file.
33568
33569 2013-09-06 Will Newton <will.newton@linaro.org>
33570
33571 * benchtests/Makefile (string-bench): Add memcpy.
33572
33573 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33574 Cong Wang <amwang@redhat.com>
33575
33576 [BZ #15850]
33577 * sysdeps/unix/sysv/linux/bits/in.h
33578 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33579 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33580 before __USE_KERNEL_IPV6_DEFS uses.
33581 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33582 IPPROTO_BEETPH.
33583 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33584 sockaddr_in6, or ipv6_mreq.
33585
33586 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33587
33588 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33589 memory access for final bytes in some large inputs.
33590 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33591
33592 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33593
33594 * string/test-memrchr.c: New file.
33595 * string/test-memrchr-ifunc.c: New file.
33596 * string/Makefile: Add new memrchr testcase.
33597
33598 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33599
33600 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33601 fanotify_init returns EPERM.
33602
33603 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33604
33605 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33606 errors.
33607 (top level): Treat second token from macro or constant entries for
33608 allowed headers as allowed.
33609 * include/complex.h: Condition internal declarations on
33610 [!_ISOMAC].
33611 * include/fenv.h: Condition include of <stdbool.h> and internal
33612 declarations on [!_ISOMAC].
33613
33614 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33615
33616 [BZ #15923]
33617 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33618
33619 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33620
33621 * configure.in (--enable-versioning): Remove configure option.
33622 (libc_cv_asm_symver_directive): Remove configure test.
33623 (libc_cv_ld_version_script_option): Likewise.
33624 (VERSIONING): Remove variable and AC_SUBST.
33625 (DO_VERSIONING): Remove AC_DEFINE.
33626 * configure: Regenerated.
33627 * config.h.in (DO_VERSIONING): Remove macro.
33628 * Makerules [$(versioning) = yes]: Change conditionals to
33629 [$(build-shared) = yes].
33630 * config.make.in (versioning): Remove variable.
33631 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33632 [$(build-shared) = yes].
33633 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33634 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33635 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33636 [$(build-shared) = yes].
33637 * extra-lib.mk [$(versioning) = yes]: Likewise.
33638 * hurd/Makefile [$(versioning) = yes]: Likewise.
33639 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33640 [SHARED].
33641 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33642 [SHARED].
33643 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33644 [SHARED && !NO_HIDDEN].
33645 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33646 [SHARED].
33647 [SHARED && DO_VERSIONING]: Likewise..
33648 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33649 [$(build-shared) = yes].
33650 * manual/install.texi (--disable-versioning): Remove
33651 documentation.
33652 * INSTALL: Regenerated.
33653 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33654 to [SHARED].
33655 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33656 [$(build-shared) = yes].
33657 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33658 * sysdeps/i386/i686/multiarch/strstr-c.c
33659 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33660 [SHARED && !NO_HIDDEN].
33661 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33662 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33663 * sysdeps/powerpc/powerpc32/dl-machine.c
33664 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33665 * sysdeps/powerpc/powerpc32/sysdep.h
33666 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33667 to [SHARED && PIC && !NO_HIDDEN].
33668 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33669 conditional to [SHARED].
33670
33671 2013-09-04 Will Newton <will.newton@linaro.org>
33672
33673 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33674 * benchtests/bench-string.h: Include bench-timing.h instead
33675 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33676 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33677 call to HP_TIMING_DIFF_INIT.
33678 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33679 instead of hp-timing.h macros.
33680 * benchtests/bench-memchr.c: Likewise.
33681 * benchtests/bench-memcmp.c: Likewise.
33682 * benchtests/bench-memcpy.c: Likewise.
33683 * benchtests/bench-memmem.c: Likewise.
33684 * benchtests/bench-memmove.c: Likewise.
33685 * benchtests/bench-memset.c: Likewise.
33686 * benchtests/bench-rawmemchr.c: Likewise.
33687 * benchtests/bench-strcasecmp.c: Likewise.
33688 * benchtests/bench-strcasestr.c: Likewise.
33689 * benchtests/bench-strcat.c: Likewise.
33690 * benchtests/bench-strchr.c: Likewise.
33691 * benchtests/bench-strcmp.c: Likewise.
33692 * benchtests/bench-strcpy.c: Likewise.
33693 * benchtests/bench-strcpy_chk.c: Likewise.
33694 * benchtests/bench-strlen.c: Likewise.
33695 * benchtests/bench-strncasecmp.c: Likewise.
33696 * benchtests/bench-strncat.c: Likewise.
33697 * benchtests/bench-strncmp.c: Likewise.
33698 * benchtests/bench-strncpy.c: Likewise.
33699 * benchtests/bench-strnlen.c: Likewise.
33700 * benchtests/bench-strpbrk.c: Likewise.
33701 * benchtests/bench-strrchr.c: Likewise.
33702 * benchtests/bench-strspn.c: Likewise.
33703 * benchtests/bench-strstr.c: Likewise.
33704
33705 2013-09-04 Will Newton <will.newton@linaro.org>
33706
33707 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33708
33709 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33710
33711 [BZ #15427]
33712 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33713 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33714 * math/libm-test.inc (lgamma_test_data): Add more tests.
33715 * sysdeps/i386/fpu/libm-test-ulps: Update.
33716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33717
33718 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33719
33720 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33722 Add ifunc.
33723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33724 Add strcmp-sse2-unaligned
33725 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33726
33727 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33728
33729 * Versions.def (libc): Add GLIBC_2.19.
33730
33731 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33732
33733 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33734 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33735
33736 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33737
33738 [BZ #14155]
33739 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33740 intermediate calculations in recurrence.
33741 (__ieee754_ynf): Likewise.
33742 * math/libm-test.inc (jn_test_data): Do not allow spurious
33743 underflow exception. Add more tests.
33744 (yn_test_data): Add more tests.
33745 * sysdeps/i386/fpu/libm-test-ulps: Update.
33746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33747
33748 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33749
33750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33751
33752 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33753
33754 * csu/init-first.c: Fix then/than typos.
33755 * locale/programs/ld-collate.c: Likewise.
33756 * locale/programs/linereader.h: Likewise.
33757 * manual/charset.texi: Likewise.
33758 * manual/filesys.texi: Likewise.
33759 * manual/stdio.texi: Likewise.
33760 * manual/string.texi: Likewise.
33761 * stdlib/fmtmsg.c: Likewise.
33762 * sysdeps/i386/stpncpy.S: Likewise.
33763 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33764 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33766 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33767
33768 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33769
33770 * elf/dl-open.c: Fix typos.
33771 * iconvdata/gbbig5.c: Likewise.
33772 * iconvdata/iso-2022-jp.c: Likewise.
33773 * iconv/gconv_int.h: Likewise.
33774 * iconv/loop.c: Likewise.
33775 * nis/rpcsvc/nis.h: Likewise.
33776 * resolv/ns_name.c: Likewise.
33777 * stdio-common/vfscanf.c: Likewise.
33778 * streams/stropts.h: Likewise.
33779 * sunrpc/rpc_thread.c: Likewise.
33780 * sysdeps/i386/strpbrk.S: Likewise.
33781 * sysdeps/ieee754/k_standard.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33784 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33785 * sysdeps/mach/hurd/profil.c: Likewise.
33786 * sysdeps/s390/dl-procinfo.h: Likewise.
33787 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33788 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33789 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33790 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33791 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33792
33793 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33794
33795 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33797
33798 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33799
33800 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33801 aix specific files.
33802 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33803 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33804 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33805 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33806 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33807 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33808 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33809 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33810
33811 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33812 Roland McGrath <roland@hack.frob.com>
33813
33814 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33815 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33816
33817 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33818
33819 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33820 __executable_start symbol instead of _start.
33821
33822 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33823
33824 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33825 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33826 Move macros to...
33827 * sysdeps/gnu/ldsodefs.h: ... this new file.
33828
33829 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33830 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33831 instead of ELFOSABI_LINUX.
33832
33833 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33834 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33835 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33836 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33837 Likewise.
33838 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33839 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33840 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33841 Likewise.
33842 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33843 (ibm_extended_long_double): Add ieee_nan member.
33844 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33845 (do_test): New function.
33846
33847 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33848 TEST_TRUNC.
33849 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33850 functions, renamed from truncdfsf_test, trunctfsf_test,
33851 trunctfdf_test.
33852 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33853 functions.
33854 (do_test): Run all these.
33855
33856 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33857
33858 * argp/argp-help.c: Fix typos.
33859 * argp/argp-parse.c: Likewise.
33860 * debug/backtracesyms.c: Likewise.
33861 * elf/elf.h: Likewise.
33862 * malloc/malloc.c: Likewise.
33863 * nis/nis_print.c: Likewise.
33864 * resolv/res_comp.c: Likewise.
33865 * stdlib/stdlib.h: Likewise.
33866 * sunrpc/clnt_tcp.c: Likewise.
33867 * sunrpc/clnt_udp.c: Likewise.
33868 * sunrpc/clnt_unix.c: Likewise.
33869 * sysdeps/unix/bsd/ptsname.c: Likewise.
33870 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33871 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33873 Likewise.
33874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33875 Likewise.
33876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33877 Likewise.
33878 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33879
33880 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33881
33882 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33884
33885 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33886
33887 [BZ #15897]
33888 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33889 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33890 ($(objpfx)bug-dl-leaf): New rule.
33891 ($(objpfx)bug-dl-leaf.so): Likewise.
33892 ($(objpfx)bug-dl-leaf.out): Likewise.
33893 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33894 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33895 * dlfcn/bug-dl-leaf.c: New test.
33896 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33897 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33898 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33899 (dlclose): Likewise.
33900 (dlmopen): Likewise.
33901
33902 2013-08-27 Roland McGrath <roland@hack.frob.com>
33903
33904 * include/netdb.h [!_ISOMAC]:
33905 Don't include <tls.h>.
33906 (h_errno, __libc_h_errno): Move declaration and macros out of
33907 [_LIBC_REENTRANT].
33908
33909 * include/resolv.h [_RESOLV_H_]:
33910 Don't include <tls.h>.
33911 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33912 * resolv/res_libc.c: Don't include <tls.h>.
33913 (_res): Use __attribute__ ((nocommon)) in place of
33914 __attribute__ ((section (".bss"))).
33915
33916 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33917 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33918
33919 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33920
33921 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33922 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33923
33924 * resolv/res_mkquery.c: Include <sys/time.h>.
33925
33926 * inet/ifreq.c: Moved to ...
33927 * sysdeps/unix/ifreq.c: ... here.
33928 * inet/ifreq.c: New file, true stub version.
33929
33930 * socket/sa_len.c: New file.
33931 * socket/Makefile (aux): Add it.
33932 * sysdeps/unix/sysv/linux/Makefile
33933 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33934 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33935 and #include <socket/sa_len.c>.
33936 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33937 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33938
33939 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33940 * bits/socket.h: ... here.
33941
33942 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33943 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33944 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33945
33946 2013-08-27 Andreas Schwab <schwab@suse.de>
33947
33948 [BZ #15736]
33949 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33950 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33951 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33952 * string/test-strcasecmp.c (test_main): Run tests in several
33953 locales.
33954 * string/test-strncasecmp.c (test_main): Likewise.
33955
33956 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33957 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33958 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33960 (__strncasecmp_ssse3) [PIC]: Likewise.
33961
33962 2013-08-26 Roland McGrath <roland@hack.frob.com>
33963
33964 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33965
33966 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33967 instead of explicitly declaring xdecrypt.
33968 * nis/nss_nis/nis-publickey.c: Likewise.
33969
33970 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33971
33972 [BZ #15890]
33973 * nscd/aicache.c: Include res_hconf.h.
33974 (addhstaiX): Initialize res_hconf.
33975
33976 2013-08-26 Andreas Schwab <schwab@suse.de>
33977
33978 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33979 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33980
33981 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33982
33983 * nscd/aicache.c (addhstaiX): Fix indentation.
33984
33985 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33986
33987 * configure.ac: Quote $build_pt_chown test.
33988 * configure: Regenerated.
33989
33990 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33991
33992 [BZ #15532]
33993 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33994 * math/s_cexpf.c (__cexpf): Likewise.
33995 * math/s_cexpl.c (__cexpl): Likewise.
33996 * math/libm-test.inc (cexp_test_data): Correct expected return
33997 value for NaN + i0. Add another test.
33998
33999 2013-08-22 David S. Miller <davem@davemloft.net>
34000
34001 * po/ca.po: Update Catalan translation from translation project.
34002 * po/uk.po: Add Ukrainian translations from translation project.
34003
34004 2013-08-21 Joseph Myers <joseph@codesourcery.com>
34005
34006 [BZ #15797]
34007 * math/s_fdim.c (__fdim): Check for infinite arguments if result
34008 is infinite, not alongside NaN test.
34009 * math/s_fdimf.c (__fdimf): Likewise.
34010 * math/s_fdiml.c (__fdiml): Likewise.
34011 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
34012 errno is unchanged.
34013
34014 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
34015
34016 * argp/argp-help.c: Fix typos.
34017 * crypt/speeds.c: Likewise.
34018 * csu/check_fds.c: Likewise.
34019 * elf/dl-load.c: Likewise.
34020 * elf/dl-open.c: Likewise.
34021 * elf/reldep3.c: Likewise.
34022 * elf/reldep.c: Likewise.
34023 * elf/sprof.c: Likewise.
34024 * iconv/iconv_charmap.c: Likewise.
34025 * iconv/skeleton.c: Likewise.
34026 * iconv/strtab.c: Likewise.
34027 * io/lockf64.c: Likewise.
34028 * libio/libioP.h: Likewise.
34029 * resolv/gai_notify.c: Likewise.
34030 * resolv/ns_name.c: Likewise.
34031 * resolv/ns_samedomain.c: Likewise.
34032 * resolv/res_send.c: Likewise.
34033 * stdlib/random.c: Likewise.
34034 * sunrpc/rpc/xdr.h: Likewise.
34035 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34036 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34037 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34038 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34039 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34040 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34043 * sysdeps/mach/hurd/check_fds.c: Likewise.
34044 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34045 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34047 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34048 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34049 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34050 * sysdeps/pthread/aio_notify.c: Likewise.
34051 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34052 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34053 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34054 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34055 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34056
34057 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34058
34059 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34060 version if bit_Slow_SSE4_2 is set.
34061 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34062 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34063
34064 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34065
34066 [BZ #15867]
34067 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34068 trampoline stack frame information.
34069 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34070 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34071 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34072 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34073 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34074 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34075 (_libc_vdso_platform_setup): Initialize the signal trampolines.
34076 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34077 sa_flags value.
34078 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34079 interrupting a syscall and set with option SA_SIGINFO.
34080
34081 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34082
34083 [BZ #15531]
34084 * math/s_cproj.c (__cproj): Only return an infinity if one part of
34085 argument is infinite.
34086 * math/s_cprojf.c (__cprojf): Likewise.
34087 * math/s_cprojl.c (__cprojl): Likewise.
34088 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34089 * math/libm-test.inc (cproj_test_data): Add more tests.
34090
34091 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34092
34093 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34094 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34095 size. Use __ffs to determine corresponding shift.
34096
34097 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34098 Roland McGrath <roland@hack.frob.com>
34099
34100 * Makefile (INSTALL): Remove trailing blank lines from output of
34101 makeinfo.
34102
34103 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34104
34105 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34106 Align 32 bit compat elf_greg to 8 bytes.
34107
34108 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
34109
34110 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34111
34112 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34113
34114 * string/strcoll_l.c (coll_seq): New structure.
34115 (get_next_seq_cached): New function.
34116 (get_next_seq): New function.
34117 (do_compare): New function.
34118 (STRCOLL): Use GNU style definition. Simplify implementation
34119 by using get_next_seq, get_next_seq_cached and do_compare.
34120
34121 2013-08-16 Florian Weimer <fweimer@redhat.com>
34122
34123 [BZ #14699]
34124 CVE-2013-4237
34125 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34126 member.
34127 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34128 member.
34129 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34130 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34131 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
34132 conditional.
34133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34134 GETDENTS_64BIT_ALIGNED.
34135 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34136 * manual/filesys.texi (Reading/Closing Directory): Document
34137 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34138 strongly.
34139 * manual/conf.texi (Limits for Files): Add portability note to
34140 NAME_MAX, PATH_MAX.
34141 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34142
34143 2013-08-13 Andreas Schwab <schwab@suse.de>
34144
34145 [BZ #15749]
34146 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34147 of fabs.
34148 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34149 LDBL_MAX_EXP >= 16384]: Add tests for it.
34150
34151 2013-08-12 David S. Miller <davem@davemloft.net>
34152
34153 * version.h (RELEASE): Set to "development".
34154 (VERSION): Set to "2.18.90".
34155 * NEWS: Add 2.19 section.
34156
34157 2013-08-03 David S. Miller <davem@davemloft.net>
34158
34159 * po/ko.po: Update Korean translation from translation project.
34160
34161 2013-08-01 David S. Miller <davem@davemloft.net>
34162
34163 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34164 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34165 Bilka.
34166
34167 2013-07-30 David S. Miller <davem@davemloft.net>
34168
34169 * po/fr.po: Update French translation from translation project.
34170
34171 2013-07-28 David S. Miller <davem@davemloft.net>
34172
34173 * po/cs.po: Update Czech translation from translation project.
34174
34175 * po/sv.po: Update Swedish translation from translation project.
34176
34177 2013-07-27 David S. Miller <davem@davemloft.net>
34178
34179 * po/eo.po: Update Esperanto translation from translation project.
34180
34181 * po/vi.po: Update Vietnamese translation from translation project.
34182
34183 * po/de.po: Update German translation from translation project.
34184
34185 2013-07-26 David S. Miller <davem@davemloft.net>
34186
34187 * po/bg.po: Update Bulgarian translation from translation project.
34188
34189 * po/nl.po: Update Dutch translation from translation project.
34190 * po/pl.po: Update Polish translation from translation project.
34191 * po/ru.po: Update Russian translation from translation project.
34192
34193 2013-07-24 David S. Miller <davem@davemloft.net>
34194
34195 * po/libc.pot: Update.
34196
34197 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34198
34199 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34200 variable page size.
34201 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34202 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34203 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34204
34205 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34206
34207 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34208
34209 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34210 Andreas Schwab <schwab@suse.de>
34211 Roland McGrath <roland@hack.frob.com>
34212 Joseph Myers <joseph@codesourcery.com>
34213 Carlos O'Donell <carlos@redhat.com>
34214
34215 [BZ #15755]
34216 * config.h.in: Define HAVE_PT_CHOWN.
34217 * config.make.in (build-pt-chown): New variable.
34218 * configure.in (--enable-pt_chown): New configure option.
34219 * configure: Regenerate.
34220 * login/Makefile: Include Makeconfig. Build pt_chown only if
34221 build-pt-chown is enabled.
34222 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34223 pt_chown to fix pty ownership.
34224 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34225 CLOSE_ALL_FDS.
34226 * manual/install.texi (Configuring and compiling): Mention
34227 --enable-pt_chown. Add @findex for grantpt.
34228 * INSTALL: Regenerate.
34229
34230 2013-07-20 David S. Miller <davem@davemloft.net>
34231
34232 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34233 difference between 32-bit and 64-bit.
34234
34235 2013-07-15 Carlos O'Donell <carlos@redhat.com>
34236
34237 [BZ #15711]
34238 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34239 Avoid system header dependency with -ffreestanding.
34240 ($(objpfx)bits/syscall%d): Likewise.
34241
34242 2013-07-13 David S. Miller <davem@davemloft.net>
34243
34244 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34245 underflows from atanl/atan2l due to bug 15319.
34246 (casinh_test_data): Likewise.
34247
34248 2013-07-07 David S. Miller <davem@davemloft.net>
34249
34250 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34251
34252 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
34253
34254 * sysdeps/i386/fpu/libm-test-ulps: Update.
34255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34256
34257 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34258
34259 * configure.in (--enable-lock-elision): Fix message text.
34260 * INSTALL: Regenerate.
34261 * configure: Regenerate.
34262
34263 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34264
34265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34266
34267 2013-07-03 Andreas Jaeger <aj@suse.de>
34268
34269 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34270 define.
34271 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34272 (ptrace_peeksiginfo_args): Add.
34273 (__ptrace_peeksiginfo_flags): Add.
34274 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34275 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34276 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34277
34278 2013-07-03 Allan McRae <allan@archlinux.org>
34279
34280 * sysdeps/i386/fpu/libm-test-ulps: Update.
34281
34282 2013-07-02 David S. Miller <davem@davemloft.net>
34283
34284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34285
34286 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34287
34288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34289
34290 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34291
34292 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34294
34295 2013-07-02 Andi Kleen <ak@linux.intel.com>
34296
34297 * config.h.in (ENABLE_LOCK_ELISION): Add.
34298 * configure.in (--enable-lock-elision): Add option.
34299 * manual/install.texi: Document --enable lock elision.
34300 * configure: Regenerate
34301 * INSTALL: Regenerate.
34302
34303 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34304
34305 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34306 SSE4.2 strcasecmp for libc.a.
34307 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34308
34309 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34310
34311 [BZ #13304]
34312 * soft-fp/op-common.h (_FP_FMA): New macro.
34313 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34314 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34315 (_FP_MUL_MEAT_1_imm): ... here.
34316 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34317 (_FP_MUL_MEAT_1_wide): ... here.
34318 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34319 (_FP_MUL_MEAT_1_hard): ... here.
34320 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34321 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34322 (_FP_MUL_MEAT_2_wide): ... here.
34323 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34324 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34325 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34326 (_FP_MUL_MEAT_2_gmp): ... here.
34327 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34328 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34329 (_FP_MUL_MEAT_4_wide): ... here.
34330 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34331 (_FP_MUL_MEAT_4_gmp): ... here.
34332 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34333 (_FP_WFRACBITS_DW_S): Likewise.
34334 (_FP_WFRACXBITS_DW_S): Likewise.
34335 (_FP_HIGHBIT_DW_S): Likewise.
34336 (FP_FMA_S): Likewise.
34337 (_FP_FRAC_HIGH_DW_S): Likewise.
34338 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34339 (_FP_WFRACBITS_DW_D): Likewise.
34340 (_FP_WFRACXBITS_DW_D): Likewise.
34341 (_FP_HIGHBIT_DW_D): Likewise.
34342 (FP_FMA_D): Likewise.
34343 (_FP_FRAC_HIGH_DW_D): Likewise.
34344 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34345 (_FP_WFRACBITS_DW_E): Likewise.
34346 (_FP_WFRACXBITS_DW_E): Likewise.
34347 (_FP_HIGHBIT_DW_E): Likewise.
34348 (FP_FMA_E): Likewise.
34349 (_FP_FRAC_HIGH_DW_E): Likewise.
34350 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34351 (_FP_WFRACBITS_DW_Q): Likewise.
34352 (_FP_WFRACXBITS_DW_Q): Likewise.
34353 (_FP_HIGHBIT_DW_Q): Likewise.
34354 (FP_FMA_Q): Likewise.
34355 (_FP_FRAC_HIGH_DW_Q): Likewise.
34356 * soft-fp/fmasf4.c: New file.
34357 * soft-fp/fmadf4.c: Likewise.
34358 * soft-fp/fmatf4.c: Likewise.
34359
34360 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34361
34362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34363 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34364 Silvermont.
34365 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34366 macro.
34367 (index_Slow_SSE4_2): Likewise.
34368 (index_Prefer_PMINUB_for_stringop): Likewise.
34369 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34370 bit_Slow_SSE4_2 is set.
34371 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34372 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34373
34374 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34375
34376 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34377 rtld_global._dl_hwcap2.
34378 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34379 POWER8.
34380 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34381 POWER8 feature descriptions defined in _dl_hwcap2.
34382 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34383 string handling for POWER8 feature bits.
34384 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34385 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34386 _dl_powerpc_cap_flags.
34387 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34388 * sysdeps/powerpc/rtld-global-offsets.sym
34389 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34390 _dl_hwcap2 in the rtld_global_ro structure.
34391
34392 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34393
34394 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34395 hardware capabilities in support of AT_HWCAP2.
34396 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34397 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34398 GLRO(dl_hwcap2).
34399 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34400 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34401 explicitly the unknown a_type display mechanism is used.
34402 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34403 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34404 struct member.
34405 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34406 to macro prototype for AT_HWCAP2 support.
34407 * sysdeps/i386/dl-procinfo.h: Likewise.
34408 * sysdeps/s390/dl-procinfo.h: Likewise.
34409 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34410 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34411 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34412 return -1 for unknown a_type display fallback.
34413 * sysdeps/sparc/dl-procinfo.h: Likewise.
34414 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34415 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34416
34417 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34418
34419 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34420 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34421
34422 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34423
34424 [BZ #12492]
34425 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34426 mprotect making __stack_prot writable.
34427
34428 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34429 Joseph Myers <joseph@codesourcery.com>
34430
34431 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34432 as being properly aligned.
34433
34434 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34435
34436 * dlfcn/modstatic5.c: New file.
34437 * dlfcn/tststatic5.c: New file.
34438 * dlfcn/Makefile (tests): Add tststatic5.
34439 (tests-static): Likewise.
34440 (modules-names): Add modstatic5.
34441 (tststatic5-ENV): New variable.
34442 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34443
34444 [BZ #15022]
34445 * elf/dl-support.c (_dl_main_map): New variable.
34446 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34447 (_dl_nns, _dl_load_adds): Set to 1.
34448 (_dl_initial_searchlist): Refer to _dl_main_map.
34449 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34450 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34451 call to _dl_get_origin.
34452 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34453 around call_map.
34454 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34455 * dlfcn/modstatic3.c: New file.
34456 * dlfcn/tststatic3.c: New file.
34457 * dlfcn/tststatic4.c: New file.
34458 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34459 (tests-static): Likewise.
34460 (modules-names): Add modstatic3.
34461 (tststatic3-ENV, tststatic4-ENV): New variables.
34462 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34463 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34464
34465 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34466
34467 * configure.in (CC): Require GCC version 4.4 or later.
34468 * configure: Regenerated.
34469 * manual/install.texi (Tools for Compilation): Update GCC version
34470 requirement.
34471 * INSTALL: Regenerated.
34472
34473 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34474
34475 [BZ #15674]
34476 * string/test-memcmp.c (check2): New.
34477 (main): Call check2.
34478
34479 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34480
34481 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34482
34483 [BZ #15022]
34484 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34485 over to...
34486 (dl_open_worker) [!SHARED]: ... here.
34487
34488 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34489
34490 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34491
34492 2013-06-25 Richard Henderson <rth@redhat.com>
34493
34494 * locale/programs/locarchive.c: Include <libc-internal.h>
34495
34496 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34497
34498 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34499 trailing whitespace removed.
34500
34501 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34502
34503 [BZ #10283]
34504 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34505 * locale/programs/locarchive.c: Include libc-mmap.h.
34506 (prepare_address_space): Take two new outputs (the mmap base and len).
34507 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34508 values.
34509 (create_archive): Declare new mmap base and len values for
34510 prepare_address_space, and store the result in ah.
34511 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34512 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34513 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34514 Declare new mmap base and len values for
34515 prepare_address_space, and store the result in new_ah.
34516 (open_archive): Declare new mmap base and len values for
34517 prepare_address_space, and store the result in ah.
34518 (close_archive): If ah->mmap_base is not NULL, use that and
34519 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34520 * sysdeps/generic/libc-mmap.h: New file.
34521
34522 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34523
34524 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34525 (ALIGN_UP): Likewise.
34526 (PTR_ALIGN_DOWN): Likewise.
34527 (PTR_ALIGN_UP): Likewise.
34528
34529 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34530
34531 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34532 entry mapped to PPC_PLATFORM_POWER8.
34533 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34534 POWER8.
34535 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34536 (_dl_string_platform): Add case for exporting platform position for
34537 POWER8.
34538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34539 search path to sysdeps/powerpc/powerpc32/power8 directory.
34540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34541 search path to sysdeps/powerpc/powerpc64/power8 directory.
34542 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34543 power7 directories.
34544 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34545 power7 directories.
34546
34547 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34548
34549 * INSTALL: Regenerate.
34550
34551 * nscd/connections.c (nscd_init): Fix comment.
34552
34553 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34554
34555 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34556
34557 [BZ #15667]
34558 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34559 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34560
34561 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34562
34563 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34564 DL_DST_REQ_STATIC.
34565 (DL_DST_REQ_STATIC): Remove macro.
34566
34567 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34568
34569 [BZ #7006]
34570 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34571 with a shift of 0 bits.
34572
34573 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34574
34575 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34576 $(tststatic-ENV).
34577
34578 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34579
34580 [BZ #15655]
34581 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34582
34583 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34584
34585 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34586 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34587 accepts -fno-tree-loop-distribute-patterns.
34588 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34589 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34590 recursive call.
34591 * string/memset.c (memset): Likewise.
34592 * string/test-memmove.c (simple_memmove): Disable loop transformation
34593 to library calls.
34594 * string/test-memset.c (simple_memset): Likewise.
34595 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34596 * benchtests/bench-memset.c (simple_memset): Likewise.
34597 * configure: Regenerated.
34598
34599 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34600
34601 * math/test-misc.c (main): Ignore fesetround failure when failures
34602 of subsequent rounding tests would be ignored.
34603
34604 [BZ #15654]
34605 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34606 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34607 * math/fegetenv.c (__fegetenv): Return 0.
34608 * math/fegetexcept.c (fegetexcept): Return 0.
34609 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34610 FE_TONEAREST.
34611 * math/feholdexcpt.c (feholdexcept): Return 0.
34612 * math/fesetenv.c (__fesetenv): Return 0.
34613 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34614 argument FE_TONEAREST.
34615 * math/feupdateenv.c (__feupdateenv): Return 0.
34616 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34617
34618 2013-06-18 Roland McGrath <roland@hack.frob.com>
34619
34620 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34621 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34622 ($(objpfx)rtld-%.os rules): Use them.
34623
34624 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34625
34626 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34627 fields.
34628
34629 2013-06-17 Roland McGrath <roland@hack.frob.com>
34630
34631 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34632 length of target pattern, then descending length of dependency pattern.
34633 * configure.in (AWK): Require gawk 3.1.2 or newer.
34634 * manual/install.texi (Tools for Compilation): Say that we do.
34635 * configure: Regenerated.
34636
34637 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34638 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34639 * scripts/sysd-rules.awk: ... this new script.
34640 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34641 than a glob-style pattern.
34642
34643 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34644
34645 * math/test-misc.c (main): Do not treat incorrectly rounded
34646 conversions as failure unless ROUNDING_TESTS passes.
34647
34648 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34649
34650 [BZ #15631]
34651 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34652 restore exception state around main square root computation, then
34653 check for inexactness explicitly.
34654
34655 * math/libm-test.inc (fma_test_data): Add another test.
34656
34657 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34658
34659 * manual/threads.texi (Non-POSIX Extensions): New document
34660 node. Document pthread_getattr_default_np and
34661 pthread_setattr_default_np.
34662
34663 * Versions.def (libpthread): Add GLIBC_2.18.
34664 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34666 Likewise.
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34668 Likewise.
34669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34670 Likewise.
34671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34672 Likewise.
34673 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34674 Likewise.
34675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34676 Likewise.
34677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34678 Likewise.
34679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34680 Likewise.
34681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34682 Likewise.
34683
34684 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34685
34686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34687 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34688
34689 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34690 H.J. Lu <hjl.tools@gmail.com>
34691
34692 [BZ #15627]
34693 * sysdeps/x86_64/rtld-memset.c: Remove file.
34694 * sysdeps/x86_64/rtld-memset.S: New file.
34695
34696 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34697
34698 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34699 (test_in_one_mode): Take arguments for whether the rounding mode
34700 is supported for each floating-point type.
34701 (do_test): Pass new arguments to test_in_one_mode using
34702 ROUNDING_TESTS.
34703
34704 2013-06-13 Roland McGrath <roland@hack.frob.com>
34705
34706 * posix/tst-waitid.c (do_test): Distinguish different instances of
34707 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34708 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34709 before entering the kernel for waitpid.
34710
34711 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34712
34713 * NEWS: Fix note on clock function precision. Text by Roland
34714 McGrath.
34715
34716 2013-06-13 Roland McGrath <roland@hack.frob.com>
34717
34718 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34719 it into place only when and if the sanity check passes.
34720
34721 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34722
34723 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34724 output for whether conversion result is exact. Take argument
34725 indicating whether type is IBM long double.
34726 (round_for_all): Change need_exact field to ibm_ld.
34727 * stdlib/tst-strtod-round.c (struct exactness): New type.
34728 (struct test): Change bool ld_ok field to struct exactness exact.
34729 (TEST): Update all definitions for change to field.
34730 (tests): Regenerate array contents.
34731 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34732 field value. Check for IBM long double here.
34733 (do_test): Update calls to test_in_one_mode.
34734
34735 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34736
34737 [BZ #12515]
34738 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34739 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34740
34741 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34742
34743 [BZ #15605]
34744 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34745 generated by the compiler on loop optimizations.
34746 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34747 general definitions.
34748
34749 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34750
34751 * math/bug-nextafter.c: Include <math-tests.h>.
34752 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34753 the relevant type.
34754 * math/bug-nexttoward.c: Include <math-tests.h>.
34755 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34756 the relevant type.
34757 * math/test-misc.c: Include <math-tests.h>.
34758 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34759 the relevant type.
34760
34761 2013-06-12 Andreas Jaeger <aj@suse.de>
34762
34763 * po/ia.po: Update Interlingua translation from translation
34764 project.
34765
34766 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34767
34768 * include/fenv.h: Include stdbool.h.
34769 (struct rm_ctx): New structure.
34770 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34771 Define macro.
34772 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34773 (SET_RESTORE_ROUNDF): Likewise.
34774 (SET_RESTORE_ROUNDL): Likewise.
34775 (SET_RESTORE_ROUND_NOEX): Likewise.
34776 (SET_RESTORE_ROUND_NOEXF): Likewise.
34777 (SET_RESTORE_ROUND_NOEXL): Likewise.
34778 (SET_RESTORE_ROUND_53BIT): Likewise.
34779 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34780 (libc_feresetround_noexf_ctx): Likewise.
34781 (libc_feresetround_noexl_ctx): Likewise.
34782 (libc_feholdsetround_53bit_ctx): Likewise.
34783 (libc_feresetround_53bit_ctx): Likewise.
34784 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34785 (libc_feholdexcept_setround_sse_ctx): New function.
34786 (libc_fesetenv_sse_ctx): Likewise.
34787 (libc_feupdateenv_sse_ctx): Likewise.
34788 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34789 (libc_feholdexcept_setround_387_ctx): Likewise.
34790 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34791 (libc_feholdsetround_387_prec_ctx): Likewise.
34792 (libc_feholdsetround_387_ctx): Likewise.
34793 (libc_feholdsetround_387_53bit_ctx): Likewise.
34794 (libc_feholdsetround_sse_ctx): Likewise.
34795 (libc_feresetround_sse_ctx): Likewise.
34796 (libc_feresetround_387_ctx): Likewise.
34797 (libc_feupdateenv_387_ctx): Likewise.
34798 (libc_feholdexcept_setroundf_ctx): Define macro.
34799 (libc_fesetenvf_ctx): Likewise.
34800 (libc_feupdateenvf_ctx): Likewise.
34801 (libc_feholdsetroundf_ctx): Likewise.
34802 (libc_feresetroundf_ctx): Likewise.
34803 (libc_feholdexcept_setround_ctx): Likewise.
34804 (libc_fesetenv_ctx): Likewise.
34805 (libc_feupdateenv_ctx): Likewise.
34806 (libc_feholdsetround_ctx): Likewise.
34807 (libc_feresetround_ctx): Likewise.
34808 (libc_feholdexcept_setroundl_ctx): Likewise.
34809 (libc_feupdateenvl_ctx): Likewise.
34810 (libc_feholdsetroundl_ctx): Likewise.
34811 (libc_feresetroundl_ctx): Likewise.
34812 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34813 (libc_feresetround_53bit_ctx): Likewise.
34814
34815 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34816
34817 * locale/iso-639.def: Convert to UTF-8.
34818
34819 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34820
34821 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34822 (EXCEPTION_TESTS_double): Likewise.
34823 (EXCEPTION_TESTS_long_double): Likewise.
34824 (EXCEPTION_TESTS): Likewise.
34825 * math/libm-test.inc (test_exceptions): Only test exceptions if
34826 EXCEPTION_TESTS (FLOAT).
34827
34828 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34829
34830 * benchtests/Makefile (string-bench): Add strcpy_chk and
34831 stpcpy_chk.
34832 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34833 * benchtests/bench-stpcpy_chk.c: New file.
34834 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34835 * benchtests/bench-strcpy_chk.c: New file.
34836 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34837 code.
34838 (do_test): Likewise.
34839
34840 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34841
34842 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34843 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34844 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34845 with tabs where appropriate.
34846 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34847 dl-procinfo.h.
34848 [PPC_PLATFORM_PPC440]: Likewise.
34849 [PPC_PLATFORM_PPC464]: Likewise.
34850 [PPC_PLATFORM_PPC476]: Likewise.
34851 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34852 ppc464, and ppc476 platform strings merging from ports/
34853 dl-procinfo.h.
34854
34855 2013-06-11 Andreas Schwab <schwab@suse.de>
34856
34857 [BZ #14991]
34858 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34859 (from_ucs4_idx): Regenerate.
34860 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34861 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34862 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34863 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34864 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34865 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34866 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34867 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34868 from FROM_LOOP and TO_LOOP specific macros.
34869 (BODY): Handle combining characters.
34870 * iconvdata/BIG5HKSCS.irreversible: Update.
34871 * iconvdata/BIG5HKSCS.precomposed: New file.
34872 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34873 characters.
34874 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34875
34876 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34877
34878 * include/sys/time.h: Fix indentation and add copyright header.
34879
34880 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34881 (do_test): Likewise.
34882 * string/test-memchr.c (do_one_test): Likewise.
34883 (do_test): Likewise.
34884 * string/test-memcmp.c (do_one_test): Likewise.
34885 (do_test): Likewise.
34886 * string/test-memcpy.c (do_one_test): Likewise.
34887 (do_test): Likewise.
34888 * string/test-memmem.c (do_one_test): Likewise.
34889 (do_test): Likewise.
34890 (do_random_tests): Likewise.
34891 * string/test-memmove.c (do_one_test): Likewise.
34892 (do_test): Likewise.
34893 * string/test-memset.c (do_one_test): Likewise.
34894 (do_test): Likewise.
34895 * string/test-rawmemchr.c (do_one_test): Likewise.
34896 (do_test): Likewise.
34897 * string/test-strcasecmp.c (do_one_test): Likewise.
34898 (do_test): Likewise.
34899 * string/test-strcasestr.c (do_one_test): Likewise.
34900 (do_test): Likewise.
34901 * string/test-strcat.c (do_one_test): Likewise.
34902 (do_test): Likewise.
34903 * string/test-strchr.c (do_one_test): Likewise.
34904 (do_test): Likewise.
34905 * string/test-strcmp.c (do_one_test): Likewise.
34906 (do_test): Likewise.
34907 * string/test-strcpy.c (do_one_test): Likewise.
34908 (do_test): Likewise.
34909 * string/test-string.h: Likewise.
34910 (test_init): Likewise.
34911 * string/test-strlen.c (do_one_test): Likewise.
34912 (do_test): Likewise.
34913 * string/test-strncasecmp.c (do_one_test): Likewise.
34914 (do_test): Likewise.
34915 * string/test-strncat.c (do_one_test): Likewise.
34916 (do_test): Likewise.
34917 * string/test-strncmp.c (do_one_test): Likewise.
34918 (do_test_limit): Likewise.
34919 (do_test): Likewise.
34920 * string/test-strncpy.c (do_one_test): Likewise.
34921 (do_test): Likewise.
34922 * string/test-strnlen.c (do_one_test): Likewise.
34923 (do_test): Likewise.
34924 * string/test-strpbrk.c (do_one_test): Likewise.
34925 (do_test): Likewise.
34926 * string/test-strrchr.c (do_one_test): Likewise.
34927 (do_test): Likewise.
34928 * string/test-strspn.c (do_one_test): Likewise.
34929 (do_test): Likewise.
34930 * string/test-strstr.c (do_one_test): Likewise.
34931 (do_test): Likewise.
34932
34933 * benchtests/Makefile (string-bench): Add string benchmarks.
34934 * benchtests/bench-bcopy-ifunc.c: New file.
34935 * benchtests/bench-bcopy.c: New file.
34936 * benchtests/bench-bzero-ifunc.c: New file.
34937 * benchtests/bench-bzero.c: New file.
34938 * benchtests/bench-memccpy-ifunc.c: New file.
34939 * benchtests/bench-memccpy.c: New file.
34940 * benchtests/bench-memchr-ifunc.c: New file.
34941 * benchtests/bench-memchr.c: New file.
34942 * benchtests/bench-memcmp-ifunc.c: New file.
34943 * benchtests/bench-memcmp.c: New file.
34944 * benchtests/bench-memmem-ifunc.c: New file.
34945 * benchtests/bench-memmem.c: New file.
34946 * benchtests/bench-memmove-ifunc.c: New file.
34947 * benchtests/bench-memmove.c: New file.
34948 * benchtests/bench-mempcpy-ifunc.c: New file.
34949 * benchtests/bench-mempcpy.c: New file.
34950 * benchtests/bench-memset-ifunc.c: New file.
34951 * benchtests/bench-memset.c: New file.
34952 * benchtests/bench-rawmemchr-ifunc.c: New file.
34953 * benchtests/bench-rawmemchr.c: New file.
34954 * benchtests/bench-stpcpy-ifunc.c: New file.
34955 * benchtests/bench-stpcpy.c: New file.
34956 * benchtests/bench-stpncpy-ifunc.c: New file.
34957 * benchtests/bench-stpncpy.c: New file.
34958 * benchtests/bench-strcasecmp-ifunc.c: New file.
34959 * benchtests/bench-strcasecmp.c: New file.
34960 * benchtests/bench-strcasestr-ifunc.c: New file.
34961 * benchtests/bench-strcasestr.c: New file.
34962 * benchtests/bench-strcat-ifunc.c: New file.
34963 * benchtests/bench-strcat.c: New file.
34964 * benchtests/bench-strchr-ifunc.c: New file.
34965 * benchtests/bench-strchr.c: New file.
34966 * benchtests/bench-strchrnul-ifunc.c: New file.
34967 * benchtests/bench-strchrnul.c: New file.
34968 * benchtests/bench-strcmp-ifunc.c: New file.
34969 * benchtests/bench-strcmp.c: New file.
34970 * benchtests/bench-strcpy-ifunc.c: New file.
34971 * benchtests/bench-strcpy.c: New file.
34972 * benchtests/bench-strcspn-ifunc.c: New file.
34973 * benchtests/bench-strcspn.c: New file.
34974 * benchtests/bench-strlen-ifunc.c: New file.
34975 * benchtests/bench-strlen.c: New file.
34976 * benchtests/bench-strncasecmp-ifunc.c: New file.
34977 * benchtests/bench-strncasecmp.c: New file.
34978 * benchtests/bench-strncat-ifunc.c: New file.
34979 * benchtests/bench-strncat.c: New file.
34980 * benchtests/bench-strncmp-ifunc.c: New file.
34981 * benchtests/bench-strncmp.c: New file.
34982 * benchtests/bench-strncpy-ifunc.c: New file.
34983 * benchtests/bench-strncpy.c: New file.
34984 * benchtests/bench-strnlen-ifunc.c: New file.
34985 * benchtests/bench-strnlen.c: New file.
34986 * benchtests/bench-strpbrk-ifunc.c: New file.
34987 * benchtests/bench-strpbrk.c: New file.
34988 * benchtests/bench-strrchr-ifunc.c: New file.
34989 * benchtests/bench-strrchr.c: New file.
34990 * benchtests/bench-strspn-ifunc.c: New file.
34991 * benchtests/bench-strspn.c: New file.
34992 * benchtests/bench-strstr-ifunc.c: New file.
34993 * benchtests/bench-strstr.c: New file.
34994
34995 * benchtests/Makefile: Disable parallel execution of targets.
34996 (string-bench): Add memcpy.
34997 (benchset): New variable to store a list of benchmark sets.
34998 (bench-func): Renamed from bench.
34999 (bench-set): New target.
35000 (bench): Depend on bench-func and bench-set.
35001 * benchtests/README: Add section on benchmark sets.
35002 * benchtests/bench-memcpy-ifunc.c: New file.
35003 * benchtests/bench-memcpy.c: New file.
35004 * benchtests/bench-string.h: New file.
35005
35006 2013-06-11 Andreas Schwab <schwab@suse.de>
35007
35008 [BZ #15577]
35009 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35010 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35011 values in the triple.
35012 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35013 terminator in the group key.
35014
35015 2013-06-11 Andreas Jaeger <aj@suse.de>
35016
35017 * po/zh_TW.po: Update Chinese (traditional) translation from
35018 translation project.
35019
35020 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35021
35022 * include/time.h (__clock_gettime): Add libc_hidden_proto.
35023 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35024 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
35025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35026 (clock_getcpuclockid): Likewise.
35027 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35028 Add weak_alias and libc_hidden_def.
35029 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35030 * rt/clock_gettime.c (clock_gettime): Rename to
35031 __clock_gettime. Add weak_alias and libc_hidden_def.
35032 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35033 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35034 __clock_nanosleep. Add weak_alias and libc_hidden_def.
35035 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35036 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35037 Likewise.
35038 * rt/clock_settime.c (clock_settime): Rename to
35039 __clock_settime. Add weak_alias and libc_hidden_def.
35040 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35041
35042 2013-06-10 Joseph Myers <joseph@codesourcery.com>
35043
35044 * mach/err_boot.sub: Remove trailing whitespace.
35045 * mach/err_ipc.sub: Likewise.
35046 * mach/err_mach.sub: Likewise.
35047
35048 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35049 (ROUNDING_TESTS_double): Likewise.
35050 (ROUNDING_TESTS_long_double): Likewise.
35051 (ROUNDING_TESTS): Likewise.
35052 * math/libm-test.inc: Include <math-tests.h>.
35053 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35054 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35055 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35056 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35057
35058 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35059
35060 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35061 of assigning.
35062
35063 2013-06-08 Joseph Myers <joseph@codesourcery.com>
35064
35065 * sysdeps/gnu/errlist.awk: Do not generate space at end of
35066 otherwise empty TRANS lines.
35067 * sysdeps/gnu/errlist.c: Regenerated.
35068
35069 * catgets/gencat.c (error_print): Use (void) in function
35070 definition.
35071 * crypt/crypt_util.c (__init_des): Likewise.
35072 * crypt/speeds.c (Stop): Likewise.
35073 (main): Likewise.
35074 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35075 * inet/ruserpass.c (token): Likewise.
35076 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35077 * intl/localealias.c (extend_alias_table): Likewise.
35078 * intl/plural-exp.c (init_germanic_plural): Likewise.
35079 * libio/fcloseall.c (__fcloseall): Likewise.
35080 * libio/genops.c (_IO_flush_all): Likewise.
35081 (_IO_flush_all_linebuffered): Likewise.
35082 (_IO_cleanup): Likewise.
35083 (_IO_iter_begin): Likewise.
35084 (_IO_iter_end): Likewise.
35085 (_IO_list_lock): Likewise.
35086 (_IO_list_unlock): Likewise.
35087 (_IO_list_resetlock): Likewise.
35088 * libio/getchar.c (getchar): Likewise.
35089 * libio/getchar_u.c (getchar_unlocked): Likewise.
35090 * libio/getwchar.c (getwchar): Likewise.
35091 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35092 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35093 * login/getpt.c (__getpt): Likewise.
35094 * login/tst-utmp.c (main): Likewise.
35095 * malloc/hooks.c (__malloc_check_init): Likewise.
35096 * malloc/malloc.c (__malloc_stats): Likewise.
35097 * malloc/mtrace.c (tr_break): Likewise.
35098 (mtrace): Likewise.
35099 (muntrace): Likewise.
35100 * misc/fstab.c (endfsent): Likewise.
35101 * misc/getclktck.c (__getclktck): Likewise.
35102 * misc/getdtsz.c (__getdtablesize): Likewise.
35103 * misc/gethostid.c (gethostid): Likewise.
35104 * misc/getpagesize.c (__getpagesize): Likewise.
35105 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35106 (__get_nprocs): Likewise.
35107 (__get_phys_pages): Likewise.
35108 (__get_avphys_pages): Likewise.
35109 * misc/getttyent.c (getttyent): Likewise.
35110 (setttyent): Likewise.
35111 (endttyent): Likewise.
35112 * misc/getusershell.c (getusershell): Likewise.
35113 (endusershell): Likewise.
35114 (setusershell): Likewise.
35115 (initshells): Likewise.
35116 * misc/hsearch.c (__hdestroy): Likewise.
35117 * misc/sync.c (sync): Likewise.
35118 * misc/syslog.c (closelog_internal): Likewise.
35119 (closelog): Likewise.
35120 * misc/ttyslot.c (ttyslot): Likewise.
35121 * misc/vhangup.c (vhangup): Likewise.
35122 * posix/fork.c (__fork): Likewise.
35123 * posix/getegid.c (__getegid): Likewise.
35124 * posix/geteuid.c (__geteuid): Likewise.
35125 * posix/getgid.c (__getgid): Likewise.
35126 * posix/getpid.c (__getpid): Likewise.
35127 * posix/getppid.c (__getppid): Likewise.
35128 * posix/getuid.c (__getuid): Likewise.
35129 * posix/pause.c (pause): Likewise.
35130 * posix/setpgrp.c (setpgrp): Likewise.
35131 * posix/setsid.c (__setsid): Likewise.
35132 * posix/test-vfork.c (noop): Likewise.
35133 * resolv/gethnamaddr.c (_endhtent): Likewise.
35134 (_gethtent): Likewise.
35135 (ht_endhostent): Likewise.
35136 (gethostent): Likewise.
35137 (dns_service): Likewise.
35138 * stdlib/drand48.c (drand48): Likewise.
35139 * stdlib/lrand48.c (lrand48): Likewise.
35140 * stdlib/mrand48.c (mrand48): Likewise.
35141 * stdlib/rand.c (rand): Likewise.
35142 * stdlib/random.c (__random): Likewise.
35143 * stdlib/setenv.c (clearenv): Likewise.
35144 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35145 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35146 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35147 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35148 (__get_nprocs): Likewise.
35149 (__get_phys_pages): Likewise.
35150 (__get_avphys_pages): Likewise.
35151 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35152 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35153 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35154 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35155 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35156 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35157 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35158 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35159 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35160 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35161 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35162 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35163 * sysdeps/posix/clock.c (clock): Likewise.
35164 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35165 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35166 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35167 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35168 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35169 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35170 (__get_nprocs_conf): Likewise.
35171 (__get_phys_pages): Likewise.
35172 (__get_avphys_pages): Likewise.
35173 * time/clock.c (clock): Likewise.
35174 * time/tzset.c (__tzname_max): Likewise.
35175
35176 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35177
35178 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35179 (__bswap_32): Do not use "register".
35180 * crypt/crypt.c (_ufc_doit_r): Likewise.
35181 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35182 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35183 * gmon/gmon.c (__monstartup): Likewise.
35184 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35185 * hurd/hurdmalloc.c (more_memory): Likewise.
35186 (malloc): Likewise.
35187 (free): Likewise.
35188 (realloc): Likewise.
35189 (malloc_fork_prepare): Likewise.
35190 (malloc_fork_parent): Likewise.
35191 (malloc_fork_child): Likewise.
35192 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35193 (_svcauth_des): Likewise.
35194 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35195 * inet/inet_net.c (inet_network): Likewise.
35196 * inet/inet_netof.c (inet_netof): Likewise.
35197 * inet/rcmd.c (__validuser2_sa): Likewise.
35198 * io/fts.c (fts_open): Likewise.
35199 (fts_load): Likewise.
35200 (fts_close): Likewise.
35201 (fts_read): Likewise.
35202 (fts_children): Likewise.
35203 (fts_build): Likewise.
35204 (fts_stat): Likewise.
35205 (fts_sort): Likewise.
35206 (fts_alloc): Likewise.
35207 (fts_lfree): Likewise.
35208 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35209 (_IO_file_xsgetn): Likewise.
35210 (_IO_file_xsgetn_mmap): Likewise.
35211 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35212 (_IO_cookie_write): Likewise.
35213 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35214 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35215 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35216 * malloc/obstack.c (_obstack_begin): Likewise.
35217 (_obstack_begin_1): Likewise.
35218 (_obstack_newchunk): Likewise.
35219 (_obstack_allocated_p): Likewise.
35220 (obstack_free): Likewise.
35221 (_obstack_memory_used): Likewise.
35222 * misc/getttyent.c (getttynam): Likewise.
35223 (getttyent): Likewise.
35224 (skip): Likewise.
35225 (value): Likewise.
35226 * misc/getusershell.c (initshells): Likewise.
35227 * misc/syslog.c (__vsyslog_chk): Likewise.
35228 * misc/ttyslot.c (ttyslot): Likewise.
35229 * nis/nis_hash.c (__nis_hash): Likewise.
35230 * posix/fnmatch_loop.c (FCT): Likewise.
35231 * posix/getconf.c (print_all): Likewise.
35232 (main): Likewise.
35233 * posix/getopt.c (exchange): Likewise.
35234 * posix/glob.c (globfree): Likewise.
35235 (prefix_array): Likewise.
35236 (__glob_pattern_type): Likewise.
35237 * resolv/arpa/nameser.h (NS_GET16): Likewise.
35238 (NS_GET32): Likewise.
35239 (NS_PUT16): Likewise.
35240 (NS_PUT32): Likewise.
35241 * resolv/gethnamaddr.c (getanswer): Likewise.
35242 (gethostbyname2): Likewise.
35243 (gethostbyaddr): Likewise.
35244 (_gethtent): Likewise.
35245 (_gethtbyname2): Likewise.
35246 (_gethtbyaddr): Likewise.
35247 * resolv/ns_print.c (dst_s_get_int16): Likewise.
35248 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35249 * resolv/res_init.c (__res_vinit): Likewise.
35250 (net_mask): Likewise.
35251 * resolv/res_mkquery.c (outchar): Likewise.
35252 (PRINT): Likewise.
35253 * stdio-common/printf_fp.c (outchar): Likewise.
35254 (PRINT): Likewise.
35255 * stdio-common/printf_fphex.c (outchar): Likewise.
35256 (PRINT): Likewise.
35257 * stdio-common/printf_size.c (outchar): Likewise.
35258 (PRINT): Likewise.
35259 * stdio-common/test_rdwr.c (main): Likewise.
35260 * stdio-common/tfformat.c (matches): Likewise.
35261 * stdio-common/vfprintf.c (outchar): Likewise.
35262 (printf_unknown): Likewise.
35263 (buffered_vfprintf): Likewise.
35264 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35265 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35266 (ReadFile): Likewise.
35267 * stdlib/qsort.c (SWAP): Likewise.
35268 (_quicksort): Likewise.
35269 * stdlib/setenv.c (__add_to_environ): Likewise.
35270 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35271 * stdlib/strtol_l.c (__strtol_l): Likewise.
35272 * stdlib/tst-strtod.c (main): Likewise.
35273 * stdlib/tst-strtol.c (main): Likewise.
35274 * stdlib/tst-strtoll.c (main): Likewise.
35275 * string/bits/string2.h (__strcmp_cc): Likewise.
35276 (__strcmp_cg): Likewise.
35277 (__strcspn_c1): Likewise.
35278 (__strcspn_c2): Likewise.
35279 (__strcspn_c3): Likewise.
35280 (__strspn_c1): Likewise.
35281 (__strspn_c2): Likewise.
35282 (__strspn_c3): Likewise.
35283 (__strsep_1c): Likewise.
35284 (__strsep_2c): Likewise.
35285 (__strsep_3c): Likewise.
35286 * string/memccpy.c (__memccpy): Likewise.
35287 * string/stpcpy.c (__stpcpy): Likewise.
35288 * string/strcmp.c (strcmp): Likewise.
35289 * string/strrchr.c (strrchr): Likewise.
35290 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35291 Likewise.
35292 * sysdeps/mach/hurd/getcwd.c
35293 (_hurd_canonicalize_directory_name_internal): Likewise.
35294 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35295 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35296 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35297 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35298 Likewise, in both definitions.
35299 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35300 definitions.
35301 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35302 64] (__bswap_64): Likewise.
35303 * time/test_time.c (main): Likewise.
35304 * time/tzfile.c (__tzfile_read): Likewise.
35305 (__tzfile_compute): Likewise.
35306 * time/tzset.c (__tzset_parse_tz): Likewise.
35307 (tzset_internal): Likewise.
35308 (compute_change): Likewise.
35309 * wcsmbs/wcscat.c (__wcscat): Likewise.
35310 * wcsmbs/wcschr.c (wcschr): Likewise.
35311 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35312 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35313 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35314 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35315 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35316 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35317 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35318 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35319 * wcsmbs/wmemset.c (wmemset): Likewise.
35320
35321 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35322
35323 * scripts/config.guess: Update to version 2013-05-16.
35324 * scripts/config.sub: Update to version 2013-04-24.
35325 * scripts/install-sh: Update to version 2011-11-20.07.
35326 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35327 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35328
35329 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35330
35331 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35332 * elf/sln.c: Likewise.
35333 * hurd/hurd/ioctl.h: Likewise.
35334 * hurd/hurdmalloc.c: Likewise.
35335 * hurd/xattr.c: Likewise.
35336 * include/shlib-compat.h: Likewise.
35337 * inet/ruserpass.c: Likewise.
35338 * libio/iofgets_u.c: Likewise.
35339 * libio/iofgetws_u.c: Likewise.
35340 * locale/programs/ld-identification.c: Likewise.
35341 * locale/programs/ld-time.c: Likewise.
35342 * mach/msg-destroy.c: Likewise.
35343 * nss/nss_files/files-netgrp.c: Likewise.
35344 * resolv/res_data.c: Likewise.
35345 * soft-fp/op-1.h: Likewise.
35346 * soft-fp/op-2.h: Likewise.
35347 * soft-fp/op-4.h: Likewise.
35348 * soft-fp/op-common.h: Likewise.
35349 * stdio-common/printf_fphex.c: Likewise.
35350 * stdlib/strtod_l.c: Likewise.
35351 * sunrpc/rpc/clnt.h: Likewise.
35352 * sysdeps/generic/framestate.c: Likewise.
35353 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35354 * sysdeps/i386/bsd-setjmp.S: Likewise.
35355 * sysdeps/i386/__longjmp.S: Likewise.
35356 * sysdeps/i386/setjmp.S: Likewise.
35357 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35358 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35360 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35361 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35362 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35363 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35364 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35368 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35369 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35370 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35371 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35372 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35373 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35374 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35375 * sysdeps/ieee754/support.c: Likewise.
35376 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35377 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35378 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35379 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35380 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35381 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35382 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35383 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35384 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35385 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35386 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35387 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35388 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35389 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35390 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35391 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35392 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35394
35395 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35396
35397 * posix/transbug.c: Remove executable mode.
35398
35399 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35400
35401 * crypt/speeds.c: Remove trailing whitespace.
35402 * dlfcn/default.c: Likewise.
35403 * elf/ifuncdep2.c: Likewise.
35404 * elf/ifuncmain1.c: Likewise.
35405 * elf/ifuncmain1vis.c: Likewise.
35406 * elf/testobj.h: Likewise.
35407 * elf/tst-stackguard1.c: Likewise.
35408 * gmon/sys/gmon.h: Likewise.
35409 * hurd/hurdmsg.c: Likewise.
35410 * hurd/new-fd.c: Likewise.
35411 * hurd/ports-get.c: Likewise.
35412 * iconvdata/ibm1008_420.c: Likewise.
35413 * inet/tst-getni1.c: Likewise.
35414 * inet/tst-getni2.c: Likewise.
35415 * libio/ioungetc.c: Likewise.
35416 * libio/wfiledoalloc.c: Likewise.
35417 * manual/libm-err-tab.pl: Likewise.
35418 * math/w_dremf.c: Likewise.
35419 * misc/ftruncate.c: Likewise.
35420 * posix/bug-glob2.c: Likewise.
35421 * posix/tst-pcre.c: Likewise.
35422 * posix/wait4.c: Likewise.
35423 * resolv/README: Likewise.
35424 * resolv/res_debug.h: Likewise.
35425 * resolv/tst-inet_ntop.c: Likewise.
35426 * setjmp/bug269-setjmp.c: Likewise.
35427 * soft-fp/extended.h: Likewise.
35428 * soft-fp/op-1.h: Likewise.
35429 * soft-fp/op-2.h: Likewise.
35430 * soft-fp/op-4.h: Likewise.
35431 * soft-fp/op-8.h: Likewise.
35432 * soft-fp/testit.c: Likewise.
35433 * stdio-common/bug16.c: Likewise.
35434 * stdlib/random.c: Likewise.
35435 * sunrpc/rpcsvc/rquota.x: Likewise.
35436 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35437 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35438 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35439 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35440 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35441 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35442 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35443 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35444 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35445 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35446 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35447 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35448 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35449 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35450 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35451 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35452 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35454 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35455 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35460 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35465 * sysdeps/ieee754/s_lib_version.c: Likewise.
35466 * sysdeps/mach/hurd/check_fds.c: Likewise.
35467 * sysdeps/mach/hurd/getsockname.c: Likewise.
35468 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35469 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35470 * sysdeps/powerpc/bits/link.h: Likewise.
35471 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35472 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35473 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35474 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35475 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35476 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35477 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35478 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35479 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35480 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35481 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35482 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35483 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35484 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35485 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35486 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35487 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35488 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35489 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35490 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35491 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35492 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35493 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35494 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35495 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35496 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35497 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35498 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35499 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35500 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35501 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35502 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35503 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35504 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35505 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35506 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35507 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35508 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35509 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35510 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35511 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35512 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35513 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35514 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35515 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35516 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35517 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35518 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35519 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35520 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35522 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35523 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35524 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35525 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35526 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35527 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35528 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35529 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35530 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35531 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35532 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35533 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35534 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35535 * sysdeps/powerpc/sysdep.h: Likewise.
35536 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35537 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35538 * sysdeps/sh/dl-trampoline.S: Likewise.
35539 * sysdeps/sh/memset.S: Likewise.
35540 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35541 * sysdeps/sh/strlen.S: Likewise.
35542 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35543 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35544 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35545 * sysdeps/sparc/sparc32/rem.S: Likewise.
35546 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35547 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35548 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35549 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35550 * sysdeps/sparc/sparc32/urem.S: Likewise.
35551 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35552 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35553 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35554 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35555 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35556 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35557 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35558 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35559 * sysdeps/unix/bsd/times.c: Likewise.
35560 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35561 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35565 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35566 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35567 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35568 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35569 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35570 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35571 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35572 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35573 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35574 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35575 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35576 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35577 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35578 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35579 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35580 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35581 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35582 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35583 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35584 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35585 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35586 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35587 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35588 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35589 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35590 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35591 * sysdeps/x86_64/strcspn.S: Likewise.
35592
35593 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35594
35595 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35596 generated file. Regenerate properly from gen-translit.pl.
35597 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35598 locale/C-translit.h.
35599
35600 2013-06-05 Andreas Schwab <schwab@suse.de>
35601
35602 [BZ #15100]
35603 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35604 week as 6 instead of -1.
35605 * time/tst-strptime.c (day_tests): Add test case.
35606
35607 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35608
35609 * sysdeps/generic/math_private.h
35610 (libc_feholdexcept_setround_53bit): Replace with
35611 libc_feholdsetround_53bit.
35612 (libc_feupdateenv_53bit): Replace with
35613 libc_feresetround_53bit.
35614 (SET_RESTORE_ROUND_53BIT): Adjust.
35615
35616 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35617
35618 * string/test-strchrnul.c: Add copyright header.
35619
35620 * posix/tst-getaddrinfo4.c: Increase test timeout.
35621
35622 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35623
35624 [BZ #15536]
35625 * math/libm-test.inc (MAX_EXP): Remove
35626 (MIN_EXP): Define.
35627 (ulp): Use MIN_EXP - MANT_DIG.
35628 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35629
35630 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35631
35632 * po/be.po: Revert last change.
35633 * po/zh_CN.po: Likewise.
35634 * po/header.pot: Likewise.
35635
35636 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35637
35638 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35639 link-libc-deps to empty as target-specific variable.
35640 * Makerules (link-libc-args): New variable.
35641 (libc-for-link): Likewise.
35642 (link-libc-deps): Likewise.
35643 (lib%.so): Depend on $(link-libc-deps). Link with
35644 $(link-libc-args).
35645 (build-module): Link with $(link-libc-args).
35646 (build-module-asneeded): Likewise.
35647 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35648 list of objects.
35649 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35650 target-specific variable.
35651 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35652 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35653 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35654 libc.
35655 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35656 libc and ld.so.
35657 ($(objpfx)libpcprofile.so): Likewise.
35658 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35659 libc_nonshared.a.
35660 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35661 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35662 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35663 $(link-libc-deps).
35664 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35665 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35666 * login/Makefile ($(objpfx)libutil.so): Likewise.
35667 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35668 * math/Makefile ($(objpfx)libm.so): Likewise.
35669 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35670 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35671 variable instead of depending directly on libc.
35672 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35673 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35674 $(link-libc-deps).
35675 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35676 libc.
35677 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35678 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35679 ($(objpfx)libanl.so): Likewise.
35680 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35681 ld.so.
35682 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35683 $(link-libc-deps).
35684 * sysdeps/i386/fpu/Makefile: Remove file.
35685 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35686 ($(objpfx)libm.so): Remove dependency on ld.so.
35687
35688 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35689
35690 [BZ # 15553]
35691 * nis/yp_xdr.c (XDRMAXNAME): Define.
35692 (XDRMAXRECORD): Define.
35693 (xdr_domainname): Use XDRMAXNAME.
35694 (xdr_mapname): Likewise.
35695 (xdr_peername): Likewise.
35696 (xdr_keydat): Use XDRMAXRECORD.
35697 (xdr_valdat): Likewise.
35698
35699 2013-05-30 Jeff Law <law@redhat.com>
35700
35701 [BZ #14256]
35702 * manual/errno.texi (ESTALE): Update to account for more than
35703 just NFS file systems.
35704 * sysdeps/gnu/errlist.c: Regenerated.
35705
35706 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35707
35708 [BZ #15465]
35709 * elf/Makefile (tests): Add tst-null-argv.
35710 (modules-names): Add tst-null-argv-lib.
35711 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35712 (tst-null-argv-ENV): Set environment for tst-null-argv.
35713 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35714 (RTLD_PROGNAME): New macro.
35715 * elf/tst-null-argv.c: New test case.
35716 * elf/tst-null-argv-lib.c: Library for test case.
35717 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35718 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35719 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35720 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35721 * elf/dl-init.c (call_init): Likewise.
35722 (_dl_init): Likewise.
35723 * elf/dl-load.c (print_search_path): Likewise.
35724 (_dl_map_object): Likewise.
35725 * elf/dl-lookup.c (do_lookup_x): Likewise.
35726 (add_dependency): Likewise.
35727 (_dl_lookup_symbol_x): Likewise.
35728 (_dl_debug_bindings): Likewise.
35729 * elf/dl-open.c (_dl_show_scope): Likewise.
35730 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35731 * elf/dl-version.c (match_symbol): Likewise.
35732 (_dl_check_map_versions): Likewise.
35733 * elf/rtld.c (dl_main): Likewise.
35734 (print_unresolved): Use RTLD_PROGNAME.
35735 (print_missing_version): Likewise.
35736 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35737 (elf_machine_rela): Likewise.
35738 * sysdeps/powerpc/powerpc32/dl-machine.c
35739 (__process_machine_rela): Likewise.
35740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35741 Likewise.
35742 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35743 Likewise.
35744 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35745 Likewise.
35746 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35748 Likewise.
35749 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35750 Likewise.
35751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35752
35753 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35754
35755 * po/be.po: Add descriptive title.
35756 * po/zh_CN.po: Likewise.
35757 * po/header.pot: Likewise.
35758
35759 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35760
35761 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35762 error message.
35763 (enlarge_archive): Likewise.
35764
35765 2013-05-28 Ben North <ben@redfrontdoor.org>
35766
35767 * manual/arith.texi (frexp): It is the magnitude of the return
35768 value which lies in [0.5, 1), not the return value itself.
35769
35770 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35771
35772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35773
35774 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35775
35776 * stdio-common/bug26.c (main): Correct fscanf template.
35777
35778 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35779 declare _dl_skip_args.
35780
35781 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35782 Don't declare.
35783
35784 * manual/platform.texi: Add missing @end deftypefun.
35785
35786 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35787
35788 [BZ #15529]
35789 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35790 bit of mantissa of 2^16382.
35791 * math/libm-test.inc (hypot_test_data): Add more tests.
35792
35793 * math/libm-test.inc: Add drem and pow10 to list of tested
35794 functions.
35795 (pow10_test): New function.
35796 (drem_test): Likewise.
35797 (drem_test_tonearest): Likewise.
35798 (drem_test_towardzero): Likewise.
35799 (drem_test_downward): Likewise.
35800 (drem_test_upward): Likewise.
35801 (main): Call the new functions.
35802
35803 * math/libm-test.inc (finite_test_data): Remove.
35804 (finite_test): Run tests from isfinite_test_data.
35805 (gamma_test_data): Remove.
35806 (gamma_test): Run tests from lgamma_test_data.
35807 * sysdeps/i386/fpu/libm-test-ulps: Update.
35808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35809
35810 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35811
35812 * manual/platform.texi: Add PowerPC PPR function set documentation.
35813 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35814 implementation.
35815
35816 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35817
35818 * math/libm-test.inc (MAX_EXP): Define.
35819 (ULPDIFF): Define.
35820 (ulp): New function.
35821 (check_float_internal): Use ULPDIFF.
35822 (cpow_test): Disable failing test.
35823 (check_ulp): Test ulp() implemetnation.
35824 (main): Call check_ulp before starting tests.
35825
35826 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35827
35828 * math/gen-libm-test.pl (generate_testfile): Do not handle
35829 START_DATA and END_DATA.
35830 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35831 END_DATA.
35832 (acos_tonearest_test_data): Likewise.
35833 (acos_towardzero_test_data): Likewise.
35834 (acos_downward_test_data): Likewise.
35835 (acos_upward_test_data): Likewise.
35836 (acosh_test_data): Likewise.
35837 (asin_test_data): Likewise.
35838 (asin_tonearest_test_data): Likewise.
35839 (asin_towardzero_test_data): Likewise.
35840 (asin_downward_test_data): Likewise.
35841 (asin_upward_test_data): Likewise.
35842 (asinh_test_data): Likewise.
35843 (atan_test_data): Likewise.
35844 (atanh_test_data): Likewise.
35845 (atan2_test_data): Likewise.
35846 (cabs_test_data): Likewise.
35847 (cacos_test_data): Likewise.
35848 (cacosh_test_data): Likewise.
35849 (carg_test_data): Likewise.
35850 (casin_test_data): Likewise.
35851 (casinh_test_data): Likewise.
35852 (catan_test_data): Likewise.
35853 (catanh_test_data): Likewise.
35854 (cbrt_test_data): Likewise.
35855 (ccos_test_data): Likewise.
35856 (ccosh_test_data): Likewise.
35857 (ceil_test_data): Likewise.
35858 (cexp_test_data): Likewise.
35859 (cimag_test_data): Likewise.
35860 (clog_test_data): Likewise.
35861 (clog10_test_data): Likewise.
35862 (conj_test_data): Likewise.
35863 (copysign_test_data): Likewise.
35864 (cos_test_data): Likewise.
35865 (cos_tonearest_test_data): Likewise.
35866 (cos_towardzero_test_data): Likewise.
35867 (cos_downward_test_data): Likewise.
35868 (cos_upward_test_data): Likewise.
35869 (cosh_test_data): Likewise.
35870 (cosh_tonearest_test_data): Likewise.
35871 (cosh_towardzero_test_data): Likewise.
35872 (cosh_downward_test_data): Likewise.
35873 (cosh_upward_test_data): Likewise.
35874 (cpow_test_data): Likewise.
35875 (cproj_test_data): Likewise.
35876 (creal_test_data): Likewise.
35877 (csin_test_data): Likewise.
35878 (csinh_test_data): Likewise.
35879 (csqrt_test_data): Likewise.
35880 (ctan_test_data): Likewise.
35881 (ctan_tonearest_test_data): Likewise.
35882 (ctan_towardzero_test_data): Likewise.
35883 (ctan_downward_test_data): Likewise.
35884 (ctan_upward_test_data): Likewise.
35885 (ctanh_test_data): Likewise.
35886 (ctanh_tonearest_test_data): Likewise.
35887 (ctanh_towardzero_test_data): Likewise.
35888 (ctanh_downward_test_data): Likewise.
35889 (ctanh_upward_test_data): Likewise.
35890 (erf_test_data): Likewise.
35891 (erfc_test_data): Likewise.
35892 (exp_test_data): Likewise.
35893 (exp_tonearest_test_data): Likewise.
35894 (exp_towardzero_test_data): Likewise.
35895 (exp_downward_test_data): Likewise.
35896 (exp_upward_test_data): Likewise.
35897 (exp10_test_data): Likewise.
35898 (exp2_test_data): Likewise.
35899 (expm1_test_data): Likewise.
35900 (fabs_test_data): Likewise.
35901 (fdim_test_data): Likewise.
35902 (finite_test_data): Likewise.
35903 (floor_test_data): Likewise.
35904 (fma_test_data): Likewise.
35905 (fma_towardzero_test_data): Likewise.
35906 (fma_downward_test_data): Likewise.
35907 (fma_upward_test_data): Likewise.
35908 (fmax_test_data): Likewise.
35909 (fmin_test_data): Likewise.
35910 (fmod_test_data): Likewise.
35911 (fpclassify_test_data): Likewise.
35912 (frexp_test_data): Likewise.
35913 (gamma_test_data): Likewise.
35914 (hypot_test_data): Likewise.
35915 (ilogb_test_data): Likewise.
35916 (isfinite_test_data): Likewise.
35917 (isgreater_test_data): Likewise.
35918 (isgreaterequal_test_data): Likewise.
35919 (isinf_test_data): Likewise.
35920 (isless_test_data): Likewise.
35921 (islessequal_test_data): Likewise.
35922 (islessgreater_test_data): Likewise.
35923 (isnan_test_data): Likewise.
35924 (isnormal_test_data): Likewise.
35925 (issignaling_test_data): Likewise.
35926 (isunordered_test_data): Likewise.
35927 (j0_test_data): Likewise.
35928 (j1_test_data): Likewise.
35929 (jn_test_data): Likewise.
35930 (ldexp_test_data): Likewise.
35931 (lgamma_test_data): Likewise.
35932 (lrint_test_data): Likewise.
35933 (lrint_tonearest_test_data): Likewise.
35934 (lrint_towardzero_test_data): Likewise.
35935 (lrint_downward_test_data): Likewise.
35936 (lrint_upward_test_data): Likewise.
35937 (llrint_test_data): Likewise.
35938 (llrint_tonearest_test_data): Likewise.
35939 (llrint_towardzero_test_data): Likewise.
35940 (llrint_downward_test_data): Likewise.
35941 (llrint_upward_test_data): Likewise.
35942 (log_test_data): Likewise.
35943 (log10_test_data): Likewise.
35944 (log1p_test_data): Likewise.
35945 (log2_test_data): Likewise.
35946 (logb_test_data): Likewise.
35947 (logb_downward_test_data): Likewise.
35948 (lround_test_data): Likewise.
35949 (llround_test_data): Likewise.
35950 (modf_test_data): Likewise.
35951 (nearbyint_test_data): Likewise.
35952 (nextafter_test_data): Likewise.
35953 (nexttoward_test_data): Likewise.
35954 (pow_test_data): Likewise.
35955 (pow_tonearest_test_data): Likewise.
35956 (pow_towardzero_test_data): Likewise.
35957 (pow_downward_test_data): Likewise.
35958 (pow_upward_test_data): Likewise.
35959 (remainder_test_data): Likewise.
35960 (remainder_tonearest_test_data): Likewise.
35961 (remainder_towardzero_test_data): Likewise.
35962 (remainder_downward_test_data): Likewise.
35963 (remainder_upward_test_data): Likewise.
35964 (remquo_test_data): Likewise.
35965 (rint_test_data): Likewise.
35966 (rint_tonearest_test_data): Likewise.
35967 (rint_towardzero_test_data): Likewise.
35968 (rint_downward_test_data): Likewise.
35969 (rint_upward_test_data): Likewise.
35970 (round_test_data): Likewise.
35971 (scalb_test_data): Likewise.
35972 (scalbn_test_data): Likewise.
35973 (scalbln_test_data): Likewise.
35974 (signbit_test_data): Likewise.
35975 (sin_test_data): Likewise.
35976 (sin_tonearest_test_data): Likewise.
35977 (sin_towardzero_test_data): Likewise.
35978 (sin_downward_test_data): Likewise.
35979 (sin_upward_test_data): Likewise.
35980 (sincos_test_data): Likewise.
35981 (sinh_test_data): Likewise.
35982 (sinh_tonearest_test_data): Likewise.
35983 (sinh_towardzero_test_data): Likewise.
35984 (sinh_downward_test_data): Likewise.
35985 (sinh_upward_test_data): Likewise.
35986 (sqrt_test_data): Likewise.
35987 (tan_test_data): Likewise.
35988 (tan_tonearest_test_data): Likewise.
35989 (tan_towardzero_test_data): Likewise.
35990 (tan_downward_test_data): Likewise.
35991 (tan_upward_test_data): Likewise.
35992 (tanh_test_data): Likewise.
35993 (tgamma_test_data): Likewise.
35994 (trunc_test_data): Likewise.
35995 (y0_test_data): Likewise.
35996 (y1_test_data): Likewise.
35997 (yn_test_data): Likewise.
35998 (significand_test_data): Likewise.
35999
36000 * math/gen-libm-test.pl (@functions): Remove variable.
36001 (generate_testfile): Don't handle START and END lines.
36002 * math/libm-test.inc (START): New macro.
36003 (END): Likewise.
36004 (END_COMPLEX): Likewise.
36005 (acos_test): Use END macro without arguments.
36006 (acos_test_tonearest): Likewise.
36007 (acos_test_towardzero): Likewise.
36008 (acos_test_downward): Likewise.
36009 (acos_test_upward): Likewise.
36010 (acosh_test): Likewise.
36011 (asin_test): Likewise.
36012 (asin_test_tonearest): Likewise.
36013 (asin_test_towardzero): Likewise.
36014 (asin_test_downward): Likewise.
36015 (asin_test_upward): Likewise.
36016 (asinh_test): Likewise.
36017 (atan_test): Likewise.
36018 (atanh_test): Likewise.
36019 (atan2_test): Likewise.
36020 (cabs_test): Likewise.
36021 (cacos_test): Use END_COMPLEX macro without arguments.
36022 (cacosh_test): Likewise.
36023 (carg_test): Use END macro without arguments.
36024 (casin_test): Use END_COMPLEX macro without arguments.
36025 (casinh_test): Likewise.
36026 (catan_test): Likewise.
36027 (catanh_test): Likewise.
36028 (cbrt_test): Use END macro without arguments.
36029 (ccos_test): Use END_COMPLEX macro without arguments.
36030 (ccosh_test): Likewise.
36031 (ceil_test): Use END macro without arguments.
36032 (cexp_test): Use END_COMPLEX macro without arguments.
36033 (cimag_test): Use END macro without arguments.
36034 (clog_test): Use END_COMPLEX macro without arguments.
36035 (clog10_test): Likewise.
36036 (conj_test): Likewise.
36037 (copysign_test): Use END macro without arguments.
36038 (cos_test): Likewise.
36039 (cos_test_tonearest): Likewise.
36040 (cos_test_towardzero): Likewise.
36041 (cos_test_downward): Likewise.
36042 (cos_test_upward): Likewise.
36043 (cosh_test): Likewise.
36044 (cosh_test_tonearest): Likewise.
36045 (cosh_test_towardzero): Likewise.
36046 (cosh_test_downward): Likewise.
36047 (cosh_test_upward): Likewise.
36048 (cpow_test): Use END_COMPLEX macro without arguments.
36049 (cproj_test): Likewise.
36050 (creal_test): Use END macro without arguments.
36051 (csin_test): Use END_COMPLEX macro without arguments.
36052 (csinh_test): Likewise.
36053 (csqrt_test): Likewise.
36054 (ctan_test): Likewise.
36055 (ctan_test_tonearest): Likewise.
36056 (ctan_test_towardzero): Likewise.
36057 (ctan_test_downward): Likewise.
36058 (ctan_test_upward): Likewise.
36059 (ctanh_test): Likewise.
36060 (ctanh_test_tonearest): Likewise.
36061 (ctanh_test_towardzero): Likewise.
36062 (ctanh_test_downward): Likewise.
36063 (ctanh_test_upward): Likewise.
36064 (erf_test): Use END macro without arguments.
36065 (erfc_test): Likewise.
36066 (exp_test): Likewise.
36067 (exp_test_tonearest): Likewise.
36068 (exp_test_towardzero): Likewise.
36069 (exp_test_downward): Likewise.
36070 (exp_test_upward): Likewise.
36071 (exp10_test): Likewise.
36072 (exp2_test): Likewise.
36073 (expm1_test): Likewise.
36074 (fabs_test): Likewise.
36075 (fdim_test): Likewise.
36076 (finite_test): Likewise.
36077 (floor_test): Likewise.
36078 (fma_test): Likewise.
36079 (fma_test_towardzero): Likewise.
36080 (fma_test_downward): Likewise.
36081 (fma_test_upward): Likewise.
36082 (fmax_test): Likewise.
36083 (fmin_test): Likewise.
36084 (fmod_test): Likewise.
36085 (fpclassify_test): Likewise.
36086 (frexp_test): Likewise.
36087 (gamma_test): Likewise.
36088 (hypot_test): Likewise.
36089 (ilogb_test): Likewise.
36090 (isfinite_test): Likewise.
36091 (isgreater_test): Likewise.
36092 (isgreaterequal_test): Likewise.
36093 (isinf_test): Likewise.
36094 (isless_test): Likewise.
36095 (islessequal_test): Likewise.
36096 (islessgreater_test): Likewise.
36097 (isnan_test): Likewise.
36098 (isnormal_test): Likewise.
36099 (issignaling_test): Likewise.
36100 (isunordered_test): Likewise.
36101 (j0_test): Likewise.
36102 (j1_test): Likewise.
36103 (jn_test): Likewise.
36104 (ldexp_test): Likewise.
36105 (lgamma_test): Likewise.
36106 (lrint_test): Likewise.
36107 (lrint_test_tonearest): Likewise.
36108 (lrint_test_towardzero): Likewise.
36109 (lrint_test_downward): Likewise.
36110 (lrint_test_upward): Likewise.
36111 (llrint_test): Likewise.
36112 (llrint_test_tonearest): Likewise.
36113 (llrint_test_towardzero): Likewise.
36114 (llrint_test_downward): Likewise.
36115 (llrint_test_upward): Likewise.
36116 (log_test): Likewise.
36117 (log10_test): Likewise.
36118 (log1p_test): Likewise.
36119 (log2_test): Likewise.
36120 (logb_test): Likewise.
36121 (logb_test_downward): Likewise.
36122 (lround_test): Likewise.
36123 (llround_test): Likewise.
36124 (modf_test): Likewise.
36125 (nearbyint_test): Likewise.
36126 (nextafter_test): Likewise.
36127 (nexttoward_test): Likewise.
36128 (pow_test): Likewise.
36129 (pow_test_tonearest): Likewise.
36130 (pow_test_towardzero): Likewise.
36131 (pow_test_downward): Likewise.
36132 (pow_test_upward): Likewise.
36133 (remainder_test): Likewise.
36134 (remainder_test_tonearest): Likewise.
36135 (remainder_test_towardzero): Likewise.
36136 (remainder_test_downward): Likewise.
36137 (remainder_test_upward): Likewise.
36138 (remquo_test): Likewise.
36139 (rint_test): Likewise.
36140 (rint_test_tonearest): Likewise.
36141 (rint_test_towardzero): Likewise.
36142 (rint_test_downward): Likewise.
36143 (rint_test_upward): Likewise.
36144 (round_test): Likewise.
36145 (scalb_test): Likewise.
36146 (scalbn_test): Likewise.
36147 (scalbln_test): Likewise.
36148 (signbit_test): Likewise.
36149 (sin_test): Likewise.
36150 (sin_test_tonearest): Likewise.
36151 (sin_test_towardzero): Likewise.
36152 (sin_test_downward): Likewise.
36153 (sin_test_upward): Likewise.
36154 (sincos_test): Likewise.
36155 (sinh_test): Likewise.
36156 (sinh_test_tonearest): Likewise.
36157 (sinh_test_towardzero): Likewise.
36158 (sinh_test_downward): Likewise.
36159 (sinh_test_upward): Likewise.
36160 (sqrt_test): Likewise.
36161 (tan_test): Likewise.
36162 (tan_test_tonearest): Likewise.
36163 (tan_test_towardzero): Likewise.
36164 (tan_test_downward): Likewise.
36165 (tan_test_upward): Likewise.
36166 (tanh_test): Likewise.
36167 (tgamma_test): Likewise.
36168 (trunc_test): Likewise.
36169 (y0_test): Likewise.
36170 (y1_test): Likewise.
36171 (yn_test): Likewise.
36172 (significand_test): Likewise.
36173
36174 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36175
36176 [BZ #15381]
36177 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36178
36179 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36180
36181 [BZ #14894]
36182 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36183 __ppc_mdoio and __ppc_mdoom.
36184 * manual/platform.texi: Document new functions __ppc_yield,
36185 __ppc_mdoio and __ppc_mdoom.
36186
36187 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36188
36189 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36190 (main): Mention "tls" pseudo-hwcap is legacy.
36191 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36192
36193 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36194
36195 * math/gen-libm-test.pl (parse_args): Output only string of
36196 arguments as text for test name, not full call or descriptions of
36197 tests for extra outputs.
36198 (generate_testfile): Do not pass function name to parse_args.
36199 Generate this_func variable from START.
36200 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36201 field to arg_str.
36202 (struct test_ff_f_data): Likewise.
36203 (test_ff_f_data_nexttoward): Likewise.
36204 (struct test_fi_f_data): Likewise.
36205 (struct test_fl_f_data): Likewise.
36206 (struct test_if_f_data): Likewise.
36207 (struct test_fff_f_data): Likewise.
36208 (struct test_c_f_data): Likewise.
36209 (struct test_f_f1_data): Likewise. Remove field extra_name.
36210 (struct test_fF_f1_data): Likewise.
36211 (struct test_ffI_f1_data): Likewise.
36212 (struct test_c_c_data): Rename test_name field to arg_str.
36213 (struct test_cc_c_data): Likewise.
36214 (struct test_f_i_data): Likewise.
36215 (struct test_ff_i_data): Likewise.
36216 (struct test_f_l_data): Likewise.
36217 (struct test_f_L_data): Likewise.
36218 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36219 and extra2_name.
36220 (COMMON_TEST_SETUP): New macro.
36221 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36222 (COMMON_TEST_CLEANUP): Likewise.
36223 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36224 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36225 macros.
36226 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36227 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
36228 macros.
36229 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36230 (RUN_TEST_fff_f): Take argument string. Call new setup and
36231 cleanup macros.
36232 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36233 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
36234 macros.
36235 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36236 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
36237 macros.
36238 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36239 (RUN_TEST_fF_f1): Take argument string. Call new setup and
36240 cleanup macros.
36241 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36242 (RUN_TEST_fI_f1): Take argument string. Call new setup and
36243 cleanup macros.
36244 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36245 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
36246 cleanup macros.
36247 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36248 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
36249 macros.
36250 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36251 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
36252 macros.
36253 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36254 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
36255 macros.
36256 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36257 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36258 cleanup macros.
36259 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36260 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36261 cleanup macros.
36262 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36263 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36264 macros.
36265 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36266 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36267 cleanup macros.
36268 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36269 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36270 macros.
36271 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36272 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36273 macros.
36274 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36275 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36276 cleanup macros.
36277 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36278
36279 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36280
36281 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36282 to _sifields.sigfault.
36283 (si_addr_lsb): Define new macro.
36284 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36285 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36286 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36287
36288 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36289
36290 [BZ #15441]
36291 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36292 returns -1.
36293 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36294 null return -1.
36295 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36296 loading the domain.
36297
36298 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36299
36300 * math/gen-libm-test.pl (parse_args): Do not include expected
36301 result in test name.
36302 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36304 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36305 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36308
36309 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36310
36311 * benchtests/Makefile: Sort function entries.
36312
36313 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36314 tanh, asinh, acosh, atanh.
36315 * benchtests/acos-inputs: New file.
36316 * benchtests/acosh-inputs: New file.
36317 * benchtests/asin-inputs: New file.
36318 * benchtests/asinh-inputs: New file.
36319 * benchtests/atanh-inputs: New file.
36320 * benchtests/cosh-inputs: New file.
36321 * benchtests/log-inputs: New file.
36322 * benchtests/sinh-inputs: New file.
36323 * benchtests/tanh-inputs: New file.
36324
36325 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36326
36327 [BZ #15339]
36328 * posix/tst-getaddrinfo4.c: New test.
36329 * posix/Makefile (tests): Add it.
36330
36331 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36332
36333 [BZ #15339]
36334 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36335 when no services were used.
36336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36337 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36338
36339 2013-05-21 Andreas Schwab <schwab@suse.de>
36340
36341 [BZ #15014]
36342 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36343 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36344 successful.
36345 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36346 redundant variable declarations and reallocation of buffer when
36347 parsing as IPv6 address. Always set NSS status when called from
36348 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36349 buffer too small. Correct computation of needed size.
36350 * nss/Makefile (tests): Add test-digits-dots.
36351 * nss/test-digits-dots.c: New test.
36352
36353 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36354
36355 * benchtests/Makefile: Remove instructions for adding
36356 benchmark tests.
36357 * benchtests/README: New file to explain how to execute and
36358 enhance the benchmark tests.
36359
36360 2013-05-21 Andreas Schwab <schwab@suse.de>
36361
36362 [BZ #15493]
36363 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36364 * setjmp/tst-sigsetjmp.c: New test.
36365
36366 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36367
36368 * sysdeps/x86_64/memset.S (memset): New implementation.
36369 (__bzero): Likewise.
36370 (__memset_tail): New function.
36371
36372 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36373
36374 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36375 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36376 __memcpy_sse2_unaligned ifunc selection.
36377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36378 Add memcpy-sse2-unaligned.S.
36379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36380 Add: __memcpy_sse2_unaligned.
36381
36382 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36383
36384 [BZ #15490]
36385 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36386 math_force_eval before restoring floating-point envrionment.
36387 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36388 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36389 Likewise.
36390 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36391 <math_private.h>.
36392 (__nearbyintl): Use math_force_eval before restoring
36393 floating-point environment.
36394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36395
36396 * math/gen-libm-test.pl (special_functions): Remove.
36397 (parse_args): Don't handle TEST_extra. Handle functions with no
36398 return value.
36399 * math/libm-test.inc (struct test_sincos_data): Replace with
36400 struct test_fFF_11_data.
36401 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36402 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36403 (sincos_test_data): Change element type to struct
36404 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36405 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36406 RUN_TEST_LOOP_sincos.
36407 * math/README.libm-test: Don't mention special handling of
36408 individual functions.
36409 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36411 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36412 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36413 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36415
36416 * math/gen-libm-test.pl (get_variable): Remove function.
36417 (parse_args): Don't show pointer parameters to call in test
36418 names. Use "extra output N" in test names for extra outputs
36419 rather than naming variables.
36420
36421 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36422
36423 [BZ #15488]
36424 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36425 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36426 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36427 double tests.
36428 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36429 disable.
36430 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36431 check_long_double.
36432
36433 * math/gen-libm-test.pl (@tests): Remove variable.
36434 ($count): Likewise.
36435 (new_test): Remove function.
36436 (show_exceptions): New function.
36437 (special_functions): Use show_exceptions instead of new_test.
36438 (parse_args): Likewise.
36439 (generate_testfile): Pass only function name in generated call to
36440 print_max_error or print_complex_max_error.
36441 (get_ulps): Do not handle complex tests specially.
36442 (output_test): Rename to ...
36443 (get_all_ulps_for_test): ... this. Return a string rather than
36444 printing to a file. Require ulps to be present.
36445 (output_ulps): Generate arrays rather than #defines.
36446 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36447 (struct ulp_data): New type.
36448 (BUILD_COMPLEX_ULP): Remove macro.
36449 (compare_ulp_data): New function.
36450 (find_ulps): Likewise.
36451 (find_test_ulps): Likewise.
36452 (find_function_ulps): Likewise.
36453 (find_complex_function_ulps): Likewise.
36454 (print_max_error): Determine allowed ulps using
36455 find_function_ulps.
36456 (print_complex_max_error): Determine allowed ulps using
36457 find_complex_function_ulps.
36458 (check_float_internal): Determine max ulps using find_test_ulps.
36459 (check_float): Do not take max_ulp parameter. Update call to
36460 check_float_internal.
36461 (check_complex): Likewise.
36462 (check_int): Do not take max_ulp parameter.
36463 (check_long): Likewise.
36464 (check_bool): Likewise.
36465 (check_longlong): Likewise.
36466 (struct test_f_f_data): Remove max_ulp field.
36467 (struct test_ff_f_data): Likewise.
36468 (struct test_ff_f_data_nexttoward): Likewise.
36469 (struct test_fi_f_data): Likewise.
36470 (struct test_fl_f_data): Likewise.
36471 (struct test_if_f_data): Likewise.
36472 (struct test_fff_f_data): Likewise.
36473 (struct test_c_f_data): Likewise.
36474 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36475 (struct test_fF_f1_data): Likewise.
36476 (struct test_ffI_f1_data): Likewise.
36477 (struct test_c_c_data): Remove max_ulp field.
36478 (struct test_cc_c_data): Likewise.
36479 (struct test_f_i_data): Likewise.
36480 (struct test_ff_i_data): Likewise.
36481 (struct test_f_l_data): Likewise.
36482 (struct test_f_L_data): Likewise.
36483 (struct test_sincos_data): Likewise.
36484 (RUN_TEST_f_f): Do not handle ulps.
36485 (RUN_TEST_LOOP_f_f): Likewise.
36486 (RUN_TEST_2_f): Likewise.
36487 (RUN_TEST_LOOP_2_f): Likewise.
36488 (RUN_TEST_fff_f): Likewise.
36489 (RUN_TEST_LOOP_fff_f): Likewise.
36490 (RUN_TEST_c_f): Likewise.
36491 (RUN_TEST_LOOP_c_f): Likewise.
36492 (RUN_TEST_f_f1): Likewise.
36493 (RUN_TEST_LOOP_f_f1): Likewise.
36494 (RUN_TEST_fF_f1): Likewise.
36495 (RUN_TEST_LOOP_fF_f1): Likewise.
36496 (RUN_TEST_fI_f1): Likewise.
36497 (RUN_TEST_LOOP_fI_f1): Likewise.
36498 (RUN_TEST_ffI_f1): Likewise.
36499 (RUN_TEST_LOOP_ffI_f1): Likewise.
36500 (RUN_TEST_c_c): Likewise.
36501 (RUN_TEST_LOOP_c_c): Likewise.
36502 (RUN_TEST_cc_c): Likewise.
36503 (RUN_TEST_LOOP_cc_c): Likewise.
36504 (RUN_TEST_f_i): Likewise.
36505 (RUN_TEST_LOOP_f_i): Likewise.
36506 (RUN_TEST_f_i_tg): Likewise.
36507 (RUN_TEST_LOOP_f_i_tg): Likewise.
36508 (RUN_TEST_ff_i_tg): Likewise.
36509 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36510 (RUN_TEST_f_b): Likewise.
36511 (RUN_TEST_LOOP_f_b): Likewise.
36512 (RUN_TEST_f_b_tg): Likewise.
36513 (RUN_TEST_LOOP_f_b_tg): Likewise.
36514 (RUN_TEST_f_l): Likewise.
36515 (RUN_TEST_LOOP_f_l): Likewise.
36516 (RUN_TEST_f_L): Likewise.
36517 (RUN_TEST_LOOP_f_L): Likewise.
36518 (RUN_TEST_sincos): Likewise.
36519 (RUN_TEST_LOOP_sincos): Likewise.
36520
36521 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36522
36523 [BZ #15480]
36524 [BZ #15485]
36525 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36526 main case of finite arguments, set rounding mode to FE_TONEAREST
36527 and discard exceptions.
36528 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36529 exceptions.
36530 (remainder_tonearest_test_data): New variable.
36531 (remainder_test_tonearest): New function.
36532 (remainder_towardzero_test_data): New variable.
36533 (remainder_test_towardzero): New function.
36534 (remainder_downward_test_data): New variable.
36535 (remainder_test_downward): New function.
36536 (remainder_upward_test_data): New variable.
36537 (remainder_test_upward): New function.
36538 (main): Call the new test functions.
36539
36540 * math/libm-test.inc (struct test_f_f1_data): Remove field
36541 extra_init.
36542 (struct test_fF_f1_data): Likewise.
36543 (struct test_ffI_f1_data): Likewise.
36544 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36545 based on value of EXTRA_EXPECTED.
36546 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36547 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36548 EXTRA_VAR based on value of EXTRA_EXPECTED.
36549 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36550 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36551 EXTRA_VAR based on value of EXTRA_EXPECTED.
36552 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36553 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36554 EXTRA_VAR based on value of EXTRA_EXPECTED.
36555 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36556 * math/gen-libm-test.pl (parse_args): Don't output initializers
36557 for extra output values.
36558
36559 * math/libm-test.inc (check_int): Expect result to be exactly
36560 equal to expected value and do not handle ulps.
36561 (check_long): Likewise.
36562 (check_longlong): Likewise.
36563
36564 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36565 exceptions.
36566 (cimag_test_data): Likewise.
36567 (conj_test_data): Likewise.
36568 (copysign_test_data): Likewise.
36569 (cproj_test_data): Likewise.
36570 (creal_test_data): Likewise.
36571 (fabs_test_data): Likewise.
36572 (fdim_test_data): Likewise.
36573 (finite_test_data): Likewise.
36574 (floor_test_data): Likewise.
36575 (fmax_test_data): Likewise.
36576 (fmin_test_data): Likewise.
36577 (fmod_test_data): Likewise.
36578 (fpclassify_test_data): Likewise.
36579 (frexp_test_data): Likewise.
36580 (ilogb_test_data): Likewise.
36581 (isfinite_test_data): Likewise.
36582 (isgreater_test_data): Likewise.
36583 (isgreaterequal_test_data): Likewise.
36584 (isinf_test_data): Likewise.
36585 (isless_test_data): Likewise.
36586 (islessequal_test_data): Likewise.
36587 (islessgreater_test_data): Likewise.
36588 (isnan_test_data): Likewise.
36589 (isnormal_test_data): Likewise.
36590 (issignaling_test_data): Likewise.
36591 (isunordered_test_data): Likewise.
36592 (ldexp_test_data): Likewise.
36593 (lrint_test_data): Likewise.
36594 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36595 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36596 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36597 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36598 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36599 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36600 test input.
36601 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36602 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36603 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36604 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36605 that test input.
36606 (lrint_downward_test_data): Test for "inexact" exceptions.
36607 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36608 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36609 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36610 test input.
36611 (lrint_upward_test_data): Test for "inexact" exceptions.
36612 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36613 test input.
36614 (llrint_test_data): Test for "inexact" exceptions.
36615 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36616 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36617 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36618 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36619 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36620 (llrint_downward_test_data): Test for "inexact" exceptions.
36621 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36622 (llrint_upward_test_data): Test for "inexact" exceptions.
36623 (logb_test_data): Likewise.
36624 (logb_downward_test_data): Likewise.
36625 (nextafter_test_data): Likewise.
36626 (nexttoward_test_data): Likewise.
36627 (remainder_test_data): Likewise.
36628 (remquo_test_data): Likewise.
36629 (scalbn_test_data): Likewise.
36630 (scalbln_test_data): Likewise.
36631 (signbit_test_data): Likewise.
36632 (sqrt_test_data): Likewise.
36633 (significand_test_data): Likewise.
36634
36635 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36636
36637 [BZ #15424]
36638 * benchtests/bench-modf.c (struct args): Mark arg0 as
36639 volatile.
36640 * scripts/bench.pl: Mark members of struct args as volatile.
36641
36642 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36643
36644 [BZ # 15497]
36645 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36646 negative infinity on POWER6 or lower.
36647 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36648
36649 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36650
36651 [BZ #15442]
36652 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36653 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36654 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36655 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36656 (_FP_SETQNAN): New macro.
36657 (_FP_SETQNAN_SEMIRAW): Likewise.
36658 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36659 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36660 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36661 (FP_EXTEND): Use _FP_FRAC_SNANP.
36662 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36663 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36664 into account.
36665 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36666 New macro.
36667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36668 Likewise.
36669
36670 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36671
36672 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36673 with DIVIDE_BY_ZERO_EXCEPTION.
36674 (gamma_test_data): Likewise.
36675 (lgamma_test_data): Likewise.
36676 (log_test_data): Likewise.
36677 (log10_test_data): Likewise.
36678 (log2_test_data): Likewise.
36679 (tgamma_test_data): Likewise.
36680
36681 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36682 (acos_test_tonearest): Likewise.
36683 (acos_test_towardzero): Likewise.
36684 (acos_test_downward): Likewise.
36685 (acos_test_upward): Likewise.
36686 (acosh_test): Likewise.
36687 (asin_test): Likewise.
36688 (asin_test_tonearest): Likewise.
36689 (asin_test_towardzero): Likewise.
36690 (asin_test_downward): Likewise.
36691 (asin_test_upward): Likewise.
36692 (asinh_test): Likewise.
36693 (atan_test): Likewise.
36694 (atanh_test): Likewise.
36695 (atan2_test): Likewise.
36696 (cabs_test): Likewise.
36697 (cacos_test): Likewise.
36698 (cacosh_test): Likewise.
36699 (casin_test): Likewise.
36700 (casinh_test): Likewise.
36701 (catan_test): Likewise.
36702 (catanh_test): Likewise.
36703 (cbrt_test): Likewise.
36704 (ccos_test): Likewise.
36705 (ccosh_test): Likewise.
36706 (cexp_test): Likewise.
36707 (clog_test): Likewise.
36708 (clog10_test): Likewise.
36709 (cos_test): Likewise.
36710 (cos_test_tonearest): Likewise.
36711 (cos_test_towardzero): Likewise.
36712 (cos_test_downward): Likewise.
36713 (cos_test_upward): Likewise.
36714 (cosh_test): Likewise.
36715 (cosh_test_tonearest): Likewise.
36716 (cosh_test_towardzero): Likewise.
36717 (cosh_test_downward): Likewise.
36718 (cosh_test_upward): Likewise.
36719 (cpow_test): Likewise.
36720 (csin_test): Likewise.
36721 (csinh_test): Likewise.
36722 (csqrt_test): Likewise.
36723 (ctan_test): Likewise.
36724 (ctan_test_tonearest): Likewise.
36725 (ctan_test_towardzero): Likewise.
36726 (ctan_test_downward): Likewise.
36727 (ctan_test_upward): Likewise.
36728 (ctanh_test): Likewise.
36729 (ctanh_test_tonearest): Likewise.
36730 (ctanh_test_towardzero): Likewise.
36731 (ctanh_test_downward): Likewise.
36732 (ctanh_test_upward): Likewise.
36733 (erf_test): Likewise.
36734 (erfc_test): Likewise.
36735 (exp_test): Likewise.
36736 (exp_test_tonearest): Likewise.
36737 (exp_test_towardzero): Likewise.
36738 (exp_test_downward): Likewise.
36739 (exp_test_upward): Likewise.
36740 (exp10_test): Likewise.
36741 (exp2_test): Likewise.
36742 (expm1_test): Likewise.
36743 (fmod_test): Likewise.
36744 (gamma_test): Likewise.
36745 (hypot_test): Likewise.
36746 (j0_test): Likewise.
36747 (j1_test): Likewise.
36748 (jn_test): Likewise.
36749 (lgamma_test): Likewise.
36750 (log_test): Likewise.
36751 (log10_test): Likewise.
36752 (log1p_test): Likewise.
36753 (log2_test): Likewise.
36754 (logb_test_downward): Likewise.
36755 (pow_test): Likewise.
36756 (pow_test_tonearest): Likewise.
36757 (pow_test_towardzero): Likewise.
36758 (pow_test_downward): Likewise.
36759 (pow_test_upward): Likewise.
36760 (remainder_test): Likewise.
36761 (remquo_test): Likewise.
36762 (sin_test): Likewise.
36763 (sin_test_tonearest): Likewise.
36764 (sin_test_towardzero): Likewise.
36765 (sin_test_downward): Likewise.
36766 (sin_test_upward): Likewise.
36767 (sincos_test): Likewise.
36768 (sinh_test): Likewise.
36769 (sinh_test_tonearest): Likewise.
36770 (sinh_test_towardzero): Likewise.
36771 (sinh_test_downward): Likewise.
36772 (sinh_test_upward): Likewise.
36773 (sqrt_test): Likewise.
36774 (tan_test): Likewise.
36775 (tan_test_tonearest): Likewise.
36776 (tan_test_towardzero): Likewise.
36777 (tan_test_downward): Likewise.
36778 (tan_test_upward): Likewise.
36779 (tanh_test): Likewise.
36780 (tgamma_test): Likewise.
36781 (y0_test): Likewise.
36782 (y1_test): Likewise.
36783 (yn_test): Likewise.
36784
36785 * math/gen-libm-test.pl (adjust_arg): Remove function.
36786 (special_function): Remove argument $in_func. Only handle
36787 generating output for tables of tests, not inside functions.
36788 (parse_args): Likewise.
36789 (generate_testfile): Remove variable $in_func. Update call to
36790 parse_args.
36791 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36792 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36793 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36794 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36795 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36796 (MAX_VALUE_INIT): Rename macro to max_value.
36797 (MIN_VALUE_INIT): Rename macro to min_value.
36798 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36799 (plus_zero): Remove variable.
36800 (minus_zero): Likewise.
36801 (plus_infty): Likewise.
36802 (minus_infty): Likewise.
36803 (qnan_value): Likewise.
36804 (max_value): Likewise.
36805 (min_value): Likewise.
36806 (min_subnorm_value): Likewise.
36807
36808 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36809
36810 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36811 uint64_t or uint32_t usage.
36812 * crypt/sha256-block.c: Likewise.
36813 * crypt/sha256-crypt.c: Likewise.
36814 * crypt/sha256.c: Likewise.
36815 * crypt/sha512-block.c: Likewise.
36816 * crypt/sha512-crypt.c: Likewise.
36817 * crypt/sha512.c: Likewise.
36818 * debug/backtrace-tst.c: Likewise.
36819 * debug/pcprofiledump.c: Likewise.
36820 * elf/cache.c: Likewise.
36821 * elf/dl-cache.c: Likewise.
36822 * elf/dl-misc.c: Likewise.
36823 * elf/dl-profile.c: Likewise.
36824 * elf/dl-support.c: Likewise.
36825 * elf/ldconfig.c: Likewise.
36826 * elf/sprof.c: Likewise.
36827 * iconv/dummy-repertoire.c: Likewise.
36828 * iconv/iconv_charmap.c: Likewise.
36829 * iconv/skeleton.c: Likewise.
36830 * iconvdata/8bit-generic.c: Likewise.
36831 * iconvdata/cp737.h: Likewise.
36832 * iconvdata/cp775.h: Likewise.
36833 * iconvdata/ibm1008.h: Likewise.
36834 * iconvdata/ibm1025.h: Likewise.
36835 * iconvdata/ibm1046.h: Likewise.
36836 * iconvdata/ibm1097.h: Likewise.
36837 * iconvdata/ibm1112.h: Likewise.
36838 * iconvdata/ibm1122.h: Likewise.
36839 * iconvdata/ibm1123.h: Likewise.
36840 * iconvdata/ibm1124.h: Likewise.
36841 * iconvdata/ibm1129.h: Likewise.
36842 * iconvdata/ibm1130.h: Likewise.
36843 * iconvdata/ibm1132.h: Likewise.
36844 * iconvdata/ibm1133.h: Likewise.
36845 * iconvdata/ibm1137.h: Likewise.
36846 * iconvdata/ibm1140.h: Likewise.
36847 * iconvdata/ibm1141.h: Likewise.
36848 * iconvdata/ibm1142.h: Likewise.
36849 * iconvdata/ibm1143.h: Likewise.
36850 * iconvdata/ibm1144.h: Likewise.
36851 * iconvdata/ibm1145.h: Likewise.
36852 * iconvdata/ibm1146.h: Likewise.
36853 * iconvdata/ibm1147.h: Likewise.
36854 * iconvdata/ibm1148.h: Likewise.
36855 * iconvdata/ibm1149.h: Likewise.
36856 * iconvdata/ibm1153.h: Likewise.
36857 * iconvdata/ibm1154.h: Likewise.
36858 * iconvdata/ibm1155.h: Likewise.
36859 * iconvdata/ibm1156.h: Likewise.
36860 * iconvdata/ibm1157.h: Likewise.
36861 * iconvdata/ibm1158.h: Likewise.
36862 * iconvdata/ibm1160.h: Likewise.
36863 * iconvdata/ibm1161.h: Likewise.
36864 * iconvdata/ibm1162.h: Likewise.
36865 * iconvdata/ibm1163.h: Likewise.
36866 * iconvdata/ibm1164.h: Likewise.
36867 * iconvdata/ibm1166.h: Likewise.
36868 * iconvdata/ibm1167.h: Likewise.
36869 * iconvdata/ibm12712.h: Likewise.
36870 * iconvdata/ibm1390.h: Likewise.
36871 * iconvdata/ibm1399.h: Likewise.
36872 * iconvdata/ibm16804.h: Likewise.
36873 * iconvdata/ibm4517.h: Likewise.
36874 * iconvdata/ibm4899.h: Likewise.
36875 * iconvdata/ibm4909.h: Likewise.
36876 * iconvdata/ibm4971.h: Likewise.
36877 * iconvdata/ibm5347.h: Likewise.
36878 * iconvdata/ibm803.h: Likewise.
36879 * iconvdata/ibm856.h: Likewise.
36880 * iconvdata/ibm901.h: Likewise.
36881 * iconvdata/ibm902.h: Likewise.
36882 * iconvdata/ibm9030.h: Likewise.
36883 * iconvdata/ibm9066.h: Likewise.
36884 * iconvdata/ibm921.h: Likewise.
36885 * iconvdata/ibm922.h: Likewise.
36886 * iconvdata/ibm9448.h: Likewise.
36887 * iconvdata/isiri-3342.h: Likewise.
36888 * iconvdata/jis0201.h: Likewise.
36889 * include/link.h: Likewise.
36890 * include/netdb.h: Likewise.
36891 * inet/check_native.c: Likewise.
36892 * inet/check_pf.c: Likewise.
36893 * inet/getipv4sourcefilter.c: Likewise.
36894 * inet/getnameinfo.c: Likewise.
36895 * inet/getsourcefilter.c: Likewise.
36896 * inet/htonl.c: Likewise.
36897 * inet/setipv4sourcefilter.c: Likewise.
36898 * inet/setsourcefilter.c: Likewise.
36899 * inet/test-inet6_opt.c: Likewise.
36900 * inet/tst-network.c: Likewise.
36901 * locale/C-collate.c: Likewise.
36902 * locale/C-ctype.c: Likewise.
36903 * locale/C-time.c: Likewise.
36904 * locale/C-translit.h: Likewise.
36905 * locale/loadarchive.c: Likewise.
36906 * locale/programs/3level.h: Likewise.
36907 * locale/programs/charmap.c: Likewise.
36908 * locale/programs/charmap.h: Likewise.
36909 * locale/programs/ld-address.c: Likewise.
36910 * locale/programs/ld-collate.c: Likewise.
36911 * locale/programs/ld-ctype.c: Likewise.
36912 * locale/programs/ld-identification.c: Likewise.
36913 * locale/programs/ld-measurement.c: Likewise.
36914 * locale/programs/ld-messages.c: Likewise.
36915 * locale/programs/ld-monetary.c: Likewise.
36916 * locale/programs/ld-name.c: Likewise.
36917 * locale/programs/ld-numeric.c: Likewise.
36918 * locale/programs/ld-paper.c: Likewise.
36919 * locale/programs/ld-telephone.c: Likewise.
36920 * locale/programs/ld-time.c: Likewise.
36921 * locale/programs/linereader.c: Likewise.
36922 * locale/programs/locale.c: Likewise.
36923 * locale/programs/locarchive.c: Likewise.
36924 * locale/programs/locfile.h: Likewise.
36925 * locale/programs/repertoire.c: Likewise.
36926 * locale/programs/simple-hash.c: Likewise.
36927 * locale/programs/simple-hash.h: Likewise.
36928 * malloc/memusage.c: Likewise.
36929 * malloc/memusagestat.c: Likewise.
36930 * nis/nis_defaults.c: Likewise.
36931 * nis/nis_hash.c: Likewise.
36932 * nis/nis_print.c: Likewise.
36933 * nis/nis_xdr.c: Likewise.
36934 * nscd/connections.c: Likewise.
36935 * nscd/hstcache.c: Likewise.
36936 * nscd/nscd_gethst_r.c: Likewise.
36937 * nscd/nscd_getserv_r.c: Likewise.
36938 * nscd/nscd_helper.c: Likewise.
36939 * nscd/servicescache.c: Likewise.
36940 * nss/makedb.c: Likewise.
36941 * nss/nss_db/db-XXX.c: Likewise.
36942 * nss/nss_db/db-initgroups.c: Likewise.
36943 * nss/nss_db/db-netgrp.c: Likewise.
36944 * nss/nss_files/files-network.c: Likewise.
36945 * nss/nss_files/files-parse.c: Likewise.
36946 * posix/bug-regex5.c: Likewise.
36947 * posix/fnmatch_loop.c: Likewise.
36948 * posix/regcomp.c: Likewise.
36949 * posix/regexec.c: Likewise.
36950 * posix/tst-rfc3484-2.c: Likewise.
36951 * posix/tst-rfc3484-3.c: Likewise.
36952 * posix/tst-rfc3484.c: Likewise.
36953 * resolv/nss_dns/dns-canon.c: Likewise.
36954 * resolv/nss_dns/dns-network.c: Likewise.
36955 * resolv/res_init.c: Likewise.
36956 * resolv/res_mkquery.c: Likewise.
36957 * resolv/tst-aton.c: Likewise.
36958 * stdlib/cxa_atexit.c: Likewise.
36959 * stdlib/cxa_finalize.c: Likewise.
36960 * stdlib/gen-fpioconst.c: Likewise.
36961 * stdlib/strtol_l.c: Likewise.
36962 * string/tst-endian.c: Likewise.
36963 * sunrpc/auth_des.c: Likewise.
36964 * sunrpc/clnt_udp.c: Likewise.
36965 * sunrpc/rtime.c: Likewise.
36966 * sunrpc/svcauth_des.c: Likewise.
36967 * sunrpc/xdr.c: Likewise.
36968 * sunrpc/xdr_intXX_t.c: Likewise.
36969 * sunrpc/xdr_rec.c: Likewise.
36970 * sysdeps/generic/ldconfig.h: Likewise.
36971 * sysdeps/generic/ldsodefs.h: Likewise.
36972 * sysdeps/generic/memusage.h: Likewise.
36973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36974 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36975 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36976 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36977 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36979 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36980 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36981 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36982 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36983 * sysdeps/posix/getaddrinfo.c: Likewise.
36984 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36985 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36986 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36987 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36988 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36989 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36990 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36991 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36992 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36993 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36994 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36995 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36996 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36997 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36998 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36999 * sysdeps/x86_64/dl-tls.h: Likewise.
37000 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37001 * time/alt_digit.c: Likewise.
37002 * time/era.c: Likewise.
37003 * wcsmbs/tst-c16c32-1.c: Likewise.
37004
37005 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37006
37007 * math/libm-test.inc (struct test_sincos_data): New type.
37008 (RUN_TEST_LOOP_sincos): New macro.
37009 (sincos_test_data): New variable.
37010 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37011
37012 2013-05-16 Richard Henderson <rth@redhat.com>
37013
37014 * math/atest-exp2.c (LIMB64): New macro.
37015 (CONSTSZ): New macro.
37016 (mp_exp1, mp_exp_m1, mp_log2): New variables.
37017 (hexdig): Move ...
37018 (print_mpn_fp): ... to function scope.
37019 (read_mpn_hex): Remove.
37020 (get_log2): Remove.
37021 (exp2_mpn): Use mp_log2.
37022 (main): Use mp_exp1.
37023
37024 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37025
37026 * math/libm-test.inc: Remove comment about not testing "inexact"
37027 exceptions.
37028 (INEXACT_EXCEPTION): New macro.
37029 (NO_INEXACT_EXCEPTION): Likewise.
37030 (INVALID_EXCEPTION_OK): Update value.
37031 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37032 (OVERFLOW_EXCEPTION_OK): Likewise.
37033 (UNDERFLOW_EXCEPTION_OK): Likewise.
37034 (IGNORE_ZERO_INF_SIGN): Likewise.
37035 (ERRNO_UNCHANGED): Likewise.
37036 (ERRNO_EDOM): Likewise.
37037 (ERRNO_ERANGE): Likewise.
37038 (test_exceptions): Handle testing "inexact" exceptions.
37039 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37040 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37041 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37042 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37043 INEXACT_EXCEPTION.
37044 (rint_towardzero_test_data): Likewise.
37045 (rint_downward_test_data): Likewise.
37046 (rint_upward_test_data): Likewise.
37047
37048 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37049 with OVERFLOW_EXCEPTION.
37050 (exp10_test_data): Likewise.
37051 (exp2_test_data): Likewise.
37052 (expm1_test_data): Likewise.
37053 (lgamma_test_data): Likewise.
37054 (pow_test_data): Likewise.
37055 (tgamma_test_data): Likewise.
37056 (yn_test_data): Remove duplicate test of overflow.
37057
37058 * math/libm-test.inc (struct test_cc_c_data): New type.
37059 (RUN_TEST_LOOP_cc_c): New macro.
37060 (cpow_test_data): New variable.
37061 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37062
37063 * math/libm-test.inc (struct test_f_L_data): New type.
37064 (RUN_TEST_LOOP_f_L): New macro.
37065 (llrint_test_data): New variable.
37066 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37067 (llrint_tonearest_test_data): New variable.
37068 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37069 (llrint_towardzero_test_data): New variable.
37070 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37071 (llrint_downward_test_data): New variable.
37072 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37073 (llrint_upward_test_data): New variable.
37074 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37075 (llround_test_data): New variable.
37076 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37077
37078 2013-05-13 Peter Collingbourne <pcc@google.com>
37079
37080 * math/atest-exp2.c (get_log2): Remove const attribute.
37081
37082 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37083
37084 * math/libm-test.inc (struct test_f_l_data): New type.
37085 (RUN_TEST_LOOP_f_l): New macro.
37086 (lrint_test_data): New variable.
37087 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37088 (lrint_tonearest_test_data): New variable.
37089 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37090 (lrint_towardzero_test_data): New variable.
37091 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37092 (lrint_downward_test_data): New variable.
37093 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37094 (lrint_upward_test_data): New variable.
37095 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37096 (lround_test_data): New variable.
37097 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37098
37099 2013-05-15 Peter Collingbourne <pcc@google.com>
37100
37101 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37102 (EXTRACT_WORDS64) Use where appropriate.
37103 (INSERT_WORDS64) Likewise.
37104
37105 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37106 constraints with x constraints.
37107 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37108
37109 * malloc/obstack.c (_obstack_compat): Add initializer.
37110
37111 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
37112
37113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37114 si_trapno and add si_addr_lsb to _sifields.sigfault.
37115 (si_trapno): Remove macro.
37116 (si_addr_lsb): Define new macro.
37117 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37118
37119 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37120
37121 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37122 instead of TEST_f_l.
37123 (llrint_test_tonearest): Likewise.
37124 (llrint_test_towardzero): Likewise.
37125 (llrint_test_downward): Likewise.
37126 (llrint_test_upward): Likewise.
37127 (llround_test): Likewise.
37128
37129 * math/libm-test.inc (struct test_f_i_data): Add comment.
37130 (RUN_TEST_LOOP_f_b): New macro.
37131 (RUN_TEST_LOOP_f_b_tg): Likewise.
37132 (finite_test_data): New variable.
37133 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37134 (isfinite_test_data): New variable.
37135 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37136 (isinf_test_data): New variable.
37137 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37138 (isnan_test_data): New variable.
37139 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37140 (isnormal_test_data): New variable.
37141 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37142 (issignaling_test_data): New variable.
37143 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37144 (signbit_test_data): New variable.
37145 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37146
37147 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37148 with INVALID_EXCEPTION.
37149 (acosh_test_data): Likewise.
37150 (asin_test_data): Likewise.
37151 (atanh_test_data): Likewise.
37152 (fmod_test_data): Likewise.
37153 (log_test_data): Likewise.
37154 (log10_test_data): Likewise.
37155 (log2_test_data): Likewise.
37156 (pow_test_data): Likewise.
37157 (sqrt_test_data): Likewise.
37158 (y0_test_data): Likewise.
37159 (y1_test_data): Likewise.
37160 (yn_test_data): Likewise.
37161
37162 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37163 function contents.
37164
37165 * math/libm-test.inc (struct test_ff_i_data): New type.
37166 (RUN_TEST_LOOP_ff_i_tg): New macro.
37167 (isgreater_test_data): New variable.
37168 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37169 (isgreaterequal_test_data): New variable.
37170 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37171 (isless_test_data): New variable.
37172 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37173 (islessequal_test_data): New variable.
37174 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37175 (islessgreater_test_data): New variable.
37176 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37177 (isunordered_test_data): New variable.
37178 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37179
37180 2013-05-14 David S. Miller <davem@davemloft.net>
37181
37182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37183
37184 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37185
37186 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37187
37188 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37189 extra_test to int.
37190 (struct test_f_i_data): Change type of max_ulp to int.
37191
37192 * math/libm-test.inc (test_ffI_f1_data): New type.
37193 (RUN_TEST_LOOP_ffI_f1): New macro.
37194 (remquo_test_data): New variable.
37195 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37196
37197 * setjmp/tst-setjmp-fp.c: New file.
37198 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37199 (link-libm): New variable.
37200 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37201
37202 * math/libm-test.inc (struct test_f_i_data): New type.
37203 (RUN_TEST_LOOP_f_i): New macro.
37204 (RUN_TEST_LOOP_f_i_tg): Likewise.
37205 (fpclassify_test_data): New variable.
37206 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37207 (ilogb_test_data): New variable.
37208 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37209
37210 * math/libm-test.inc (scalbln_test): Correct function name in END
37211 call.
37212
37213 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37214 (RUN_TEST_LOOP_fI_f1): New macro.
37215 (frexp_test_data): New variable.
37216 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37217
37218 * math/libm-test.inc (struct test_fF_f1_data): New type.
37219 (RUN_TEST_LOOP_fF_f1): New macro.
37220 (modf_test_data): New variable.
37221 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37222
37223 * math/libm-test.inc (struct test_f_f1_data): New type.
37224 (RUN_TEST_LOOP_f_f1): New macro.
37225 (gamma_test_data): New variable.
37226 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37227 (lgamma_test_data): New variable.
37228 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37229
37230 2013-05-13 Carlos O'Donell <carlos@redhat.com>
37231
37232 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37233 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37234 (main): Comment "tls" pseudo-hwcap.
37235
37236 2013-05-13 Joseph Myers <joseph@codesourcery.com>
37237
37238 * math/libm-test.inc (struct test_fl_f_data): New type.
37239 (RUN_TEST_LOOP_fl_f): New variable.
37240 (scalbln_test_data): New variable.
37241 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37242
37243 * math/libm-test.inc (struct test_fi_f_data): New type.
37244 (RUN_TEST_LOOP_fi_f): New macro.
37245 (ldexp_test_data): New variable.
37246 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37247 (scalbn_test_data): New variable.
37248 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37249
37250 * math/libm-test.inc (struct test_c_f_data): New type.
37251 (RUN_TEST_LOOP_c_f): New macro.
37252 (cabs_test_data): New variable.
37253 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37254 (carg_test_data): New variable.
37255 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37256 (cimag_test_data): New variable.
37257 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37258 (creal_test_data): New variable.
37259 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37260
37261 * math/libm-test.inc (struct test_if_f_data): New type.
37262 (RUN_TEST_LOOP_if_f): New macro.
37263 (jn_test_data): New variable.
37264 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37265 (yn_test_data): New variable.
37266 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37267
37268 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37269
37270 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37271
37272 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37273 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37274
37275 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37276
37277 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37278 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37279 (bench-deps): Add bench-timing.h.
37280 * benchtests-bench-skeleton.c: Include bench-timing.h.
37281 (main): Use TIMING_* macros instead of clock_gettime.
37282 * benchtests/bench-timing.h: New file.
37283
37284 [BZ #14582]
37285 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37286 Renamed from _LIB_VERSION.
37287 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37288
37289 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37290
37291 * math/libm-test.inc (struct test_fff_f_data): New type.
37292 (RUN_TEST_LOOP_fff_f): New macro.
37293 (fma_test_data): New variable.
37294 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37295 (fma_towardzero_test_data): New variable.
37296 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37297 (fma_downward_test_data): New variable.
37298 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37299 (fma_upward_test_data): New variable.
37300 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37301
37302 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37303 (struct test_c_c_data): New type.
37304 (RUN_TEST_LOOP_c_c): New macro.
37305 (cacos_test_data): New variable.
37306 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37307 (cacosh_test_data): New variable.
37308 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37309 (casin_test_data): New variable.
37310 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37311 (casinh_test_data): New variable.
37312 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37313 (catan_test_data): New variable.
37314 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37315 (catanh_test_data): New variable.
37316 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37317 (ccos_test_data): New variable.
37318 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37319 (ccosh_test_data): New variable.
37320 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37321 (cexp_test_data): New variable.
37322 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37323 (clog_test_data): New variable.
37324 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37325 (clog10_test_data): New variable.
37326 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37327 (conj_test_data): New variable.
37328 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37329 (cproj_test_data): New variable.
37330 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37331 (csin_test_data): New variable.
37332 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37333 (csinh_test_data): New variable.
37334 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37335 (csqrt_test_data): New variable.
37336 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37337 (ctan_test_data): New variable.
37338 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37339 (ctan_tonearest_test_data): New variable.
37340 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37341 (ctan_towardzero_test_data): New variable.
37342 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37343 (ctan_downward_test_data): New variable.
37344 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37345 (ctan_upward_test_data): New variable.
37346 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37347 (ctanh_test_data): New variable.
37348 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37349 (ctanh_tonearest_test_data): New variable.
37350 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37351 (ctanh_towardzero_test_data): New variable.
37352 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37353 (ctanh_downward_test_data): New variable.
37354 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37355 (ctanh_upward_test_data): New variable.
37356 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37357 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37358 of BUILD_COMPLEX.
37359
37360 * math/libm-test.inc (struct test_ff_f_data): New type.
37361 (struct test_ff_f_data_nexttoward): Likewise.
37362 (RUN_TEST_LOOP_2_f): New macro.
37363 (RUN_TEST_LOOP_ff_f): Likewise.
37364 (atan2_test_data): New variable.
37365 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37366 (copysign_test_data): New variable.
37367 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37368 (fdim_test_data): New variable.
37369 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37370 (fmax_test_data): New variable.
37371 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37372 (fmin_test_data): New variable.
37373 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37374 (fmod_test_data): New variable.
37375 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37376 (hypot_test_data): New variable.
37377 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37378 (nextafter_test_data): New variable.
37379 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37380 (nexttoward_test_data): New variable.
37381 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37382 (pow_test_data): New variable.
37383 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37384 (pow_tonearest_test_data): New variable.
37385 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37386 (pow_towardzero_test_data): New variable.
37387 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37388 (pow_downward_test_data): New variable.
37389 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37390 (pow_upward_test_data): New variable.
37391 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37392 (remainder_test_data): New variable.
37393 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37394 (scalb_test_data): New variable.
37395 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37396 * sysdeps/i386/fpu/libm-test-ulps: Update.
37397
37398 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37399
37400 * math/libm-test.inc (fma_test): Use max_value instead of local
37401 variable fltmax.
37402 (nextafter_test): Likewise.
37403
37404 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37405 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37406 (acos_downward_test_data): New variable.
37407 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37408 (acos_upward_test_data): New variable.
37409 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37410 (acosh_test_data): New variable.
37411 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37412 (asin_test_data): New variable.
37413 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37414 (asin_tonearest_test_data): New variable.
37415 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37416 (asin_towardzero_test_data): New variable.
37417 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37418 (asin_downward_test_data): New variable.
37419 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37420 (asin_upward_test_data): New variable.
37421 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37422 (asinh_test_data): New variable.
37423 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37424 (atan_test_data): New variable.
37425 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37426 (atanh_test_data): New variable.
37427 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37428 (cbrt_test_data): New variable.
37429 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37430 (ceil_test_data): New variable.
37431 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37432 (cos_test_data): New variable.
37433 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37434 (cos_tonearest_test_data): New variable.
37435 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37436 (cos_towardzero_test_data): New variable.
37437 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37438 (cos_downward_test_data): New variable.
37439 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37440 (cos_upward_test_data): New variable.
37441 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37442 (cosh_test_data): New variable.
37443 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37444 (cosh_tonearest_test_data): New variable.
37445 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37446 (cosh_towardzero_test_data): New variable.
37447 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37448 (cosh_downward_test_data): New variable.
37449 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37450 (cosh_upward_test_data): New variable.
37451 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37452 (erf_test_data): New variable.
37453 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37454 (erfc_test_data): New variable.
37455 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37456 (exp_test_data): New variable.
37457 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37458 (exp_tonearest_test_data): New variable.
37459 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37460 (exp_towardzero_test_data): New variable.
37461 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37462 (exp_downward_test_data): New variable.
37463 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37464 (exp_upward_test_data): New variable.
37465 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37466 (exp10_test_data): New variable.
37467 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37468 (exp2_test_data): New variable.
37469 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37470 (expm1_test_data): New variable.
37471 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37472 (fabs_test_data): New variable.
37473 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37474 (floor_test_data): New variable.
37475 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37476 (j0_test_data): New variable.
37477 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37478 (j1_test_data): New variable.
37479 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37480 (log_test_data): New variable.
37481 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37482 (log10_test_data): New variable.
37483 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37484 (log1p_test_data): New variable.
37485 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37486 (log2_test_data): New variable.
37487 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37488 (logb_test_data): New variable.
37489 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37490 (logb_downward_test_data): New variable.
37491 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37492 (nearbyint_test_data): New variable.
37493 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37494 (rint_test_data): New variable.
37495 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37496 (rint_tonearest_test_data): New variable.
37497 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37498 (rint_towardzero_test_data): New variable.
37499 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37500 (rint_downward_test_data): New variable.
37501 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37502 (rint_upward_test_data): New variable.
37503 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37504 (round_test_data): New variable.
37505 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37506 (sin_test_data): New variable.
37507 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37508 (sin_tonearest_test_data): New variable.
37509 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37510 (sin_towardzero_test_data): New variable.
37511 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37512 (sin_downward_test_data): New variable.
37513 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37514 (sin_upward_test_data): New variable.
37515 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37516 (sinh_test_data): New variable.
37517 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37518 (sinh_tonearest_test_data): New variable.
37519 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37520 (sinh_towardzero_test_data): New variable.
37521 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37522 (sinh_downward_test_data): New variable.
37523 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37524 (sinh_upward_test_data): New variable.
37525 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37526 (sqrt_test_data): New variable.
37527 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37528 (tan_test_data): New variable.
37529 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37530 (tan_tonearest_test_data): New variable.
37531 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37532 (tan_towardzero_test_data): New variable.
37533 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37534 (tan_downward_test_data): New variable.
37535 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37536 (tan_upward_test_data): New variable.
37537 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37538 (tanh_test_data): New variable.
37539 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37540 (tgamma_test_data): New variable.
37541 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37542 (trunc_test_data): New variable.
37543 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37544 (y0_test_data): New variable.
37545 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37546 (y1_test_data): New variable.
37547 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37548 (significand_test_data): New variable.
37549 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37550
37551 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37552
37553 [BZ #12387]
37554 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37555
37556 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37557
37558 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37559
37560 2013-05-10 Andreas Jaeger <aj@suse.de>
37561
37562 [BZ #15448]
37563 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37564 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37565
37566 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37567
37568 * math/gen-libm-test.pl (adjust_arg): New function.
37569 (special_functions): Handle generating output in both functions
37570 and arrays.
37571 (parse_args): Likewise.
37572 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37573 $in_func argument to parse_args.
37574 * math/libm-test.inc (struct test_f_f_data): New type.
37575 (IF_ROUND_INIT_): New macro.
37576 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37577 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37578 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37579 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37580 (ROUND_RESTORE_): Likewise.
37581 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37582 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37583 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37584 (ROUND_RESTORE_FE_UPWARD): Likewise.
37585 (RUN_TEST_LOOP_f_f): New macro.
37586 (acos_test_data): New variable.
37587 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37588 (acos_tonearest_test_data): New variable.
37589 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37590
37591 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37592
37593 * benchtests/bench-skeleton.c (startup): Fix coding style.
37594
37595 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37596
37597 [BZ #6809]
37598 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37599 negative infinity argument.
37600 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37601 negative infinity argument.
37602 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37603 negative infinity argument.
37604 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37605 domain errors.
37606
37607 2013-05-10 Florian Weimer <fweimer@redhat.com>
37608
37609 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37610 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37611 * iconv/iconv_prog.c (main): Likewise.
37612 * locale/programs/charmap-dir.c (charmap_readdir)
37613 (fopen_uncompressed): Likewise.
37614 * locale/programs/locfile.c (siblings_uncached)
37615 (write_locale_data): Use lstat64 instead of lstat.
37616 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37617 stat.
37618
37619 2013-05-10 Andreas Jaeger <aj@suse.de>
37620
37621 [BZ #15395]
37622 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37623 localization.
37624 Include <locale.h>.
37625
37626 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37627
37628 * elf/dl-close.c (_dl_close_worker): Add comments.
37629
37630 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37631
37632 [BZ #15359]
37633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37634 high part of pi/2.
37635 (__ieee754_rem_pio2l): Update comments.
37636
37637 [BZ #15429]
37638 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37639 high part of pi/2.
37640 (__ieee754_rem_pio2l): Update comments.
37641
37642 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37643 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37644
37645 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37646 M_PI_4l.
37647
37648 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37649 (M_PI_34_LOG10El): Likewise.
37650 (M_PI2_LOG10El): Likewise.
37651 (M_PI4_LOG10El): Likewise.
37652 (M_PI_LOG10El): Likewise.
37653
37654 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37655
37656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37657
37658 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37659
37660 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37661 (MINUS_ZERO_INIT): Likewise.
37662 (PLUS_INFTY_INIT): Likewise.
37663 (MINUS_INFTY_INIT): Likewise.
37664 (QNAN_VALUE_INIT): Likewise.
37665 (MAX_VALUE_INIT): Likewise.
37666 (MIN_VALUE_INIT): Likewise.
37667 (MIN_SUBNORM_VALUE_INIT): Likewise.
37668 (plus_zero): Initialize with PLUS_ZERO_INIT.
37669 (minus_zero): Initialize with MINUS_ZERO_INIT.
37670 (plus_infty): Initialize with PLUS_INFTY_INIT.
37671 (minus_infty): Initialize with MINUS_INFTY_INIT.
37672 (qnan_value): Initialize with QNAN_VALUE_INIT.
37673 (max_value): Initialize with MAX_VALUE_INIT.
37674 (min_value): Initialize with MIN_VALUE_INIT.
37675 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37676
37677 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37678 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37679 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37680 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37681
37682 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37683 (RUN_TEST_2_f): Likewise.
37684 (RUN_TEST_ff_f): Likewise.
37685 (RUN_TEST_fi_f): Likewise.
37686 (RUN_TEST_fl_f): Likewise.
37687 (RUN_TEST_fff_f): Likewise.
37688 (RUN_TEST_c_f): Likewise.
37689 (RUN_TEST_f_f1): Likewise.
37690 (RUN_TEST_fF_f1): Likewise.
37691 (RUN_TEST_fI_f1): Likewise.
37692 (RUN_TEST_ffI_f1): Likewise.
37693 (RUN_TEST_c_c): Likewise.
37694 (RUN_TEST_cc_c): Likewise.
37695 (RUN_TEST_f_i): Likewise.
37696 (RUN_TEST_f_i_tg): Likewise.
37697 (RUN_TEST_ff_i_tg): Likewise.
37698 (RUN_TEST_f_b): Likewise.
37699 (RUN_TEST_f_b_tg): Likewise.
37700 (RUN_TEST_f_l): Likewise.
37701 (RUN_TEST_f_L): Likewise.
37702 (RUN_TEST_sincos): Likewise.
37703 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37704 whether to show exceptions. Do not include ");\n" in return
37705 value.
37706 (special_functions): Output call to RUN_TEST_sincos instead of
37707 check_float calls. Update calls to new_test.
37708 (parse_args): Output call to single RUN_TEST_* macro instead of
37709 check_* calls and other assignments. Update calls to new_test.
37710
37711 [BZ #2546]
37712 [BZ #2560]
37713 [BZ #5159]
37714 [BZ #15426]
37715 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37716 input to result for tgamma overflow.
37717 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37718 (gamma_coeff): New variable.
37719 (NCOEFF): New macro.
37720 (gamma_positive): New function.
37721 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37722 underflow here. Use gamma_positive instead of exp (lgamma) for
37723 other arguments.
37724 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37725 (gamma_coeff): New variable.
37726 (NCOEFF): New macro.
37727 (gammaf_positive): New function.
37728 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37729 underflow here. Use gamma_positive instead of exp (lgamma) for
37730 other arguments.
37731 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37732 (gamma_coeff): New variable.
37733 (NCOEFF): New macro.
37734 (gammal_positive): New function.
37735 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37736 underflow here. Use gamma_positive instead of exp (lgamma) for
37737 other arguments.
37738 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37739 (gamma_coeff): New variable.
37740 (NCOEFF): New macro.
37741 (gammal_positive): New function.
37742 (__ieee754_gammal_r): Handle positive infinity, overflow and
37743 underflow here. Handle NaN the same as positive infinity. Remove
37744 check x < 0xffffffff for negative integers. Use gamma_positive
37745 instead of exp (lgamma) for other arguments.
37746 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37747 (gamma_coeff): New variable.
37748 (NCOEFF): New macro.
37749 (gammal_positive): New function.
37750 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37751 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37755 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37756 * sysdeps/generic/math_private.h (__gamma_productf): New
37757 prototype.
37758 (__gamma_product): Likewise.
37759 (__gamma_productl): Likewise.
37760 * math/Makefile (libm-calls): Add gamma_product.
37761 * math/libm-test.inc (tgamma_test): Add more tests.
37762 * sysdeps/i386/fpu/libm-test-ulps: Update.
37763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37764
37765 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37766
37767 * benchtests/bench-skeleton.c (main): Preheat CPU.
37768
37769 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37770
37771 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37772
37773 2013-05-07 Roland McGrath <roland@hack.frob.com>
37774
37775 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37776 and _dl_skip_args_internal.
37777
37778 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37779
37780 * manual/message.texi (Message Translation): Talk about users.
37781 Message to key mapping impacts design.
37782
37783 2013-05-06 Roland McGrath <roland@hack.frob.com>
37784
37785 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37786
37787 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37788
37789 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37790 * sysdeps/wordsize-64/glob64.c: ... here.
37791
37792 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37793 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37794 New macros.
37795
37796 * debug/getlogin_r_chk.c: Moved to ...
37797 * login/getlogin_r_chk.c: ... here.
37798 * debug/Makefile (routines): Move getlogin_r_chk to ...
37799 * login/Makefile (routines): ... here.
37800 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37801 * login/Versions (libc: GLIBC_2.4): ... here.
37802
37803 * io/poll.c (__poll): Renamed from poll.
37804 Add libc_hidden_def.
37805 (poll): Define as weak alias.
37806
37807 * debug/ptsname_r_chk.c: Moved to ...
37808 * login/ptsname_r_chk.c: ... here.
37809 * debug/Makefile (routines): Move ptsname_r_chk to ...
37810 * login/Makefile (routines): ... here.
37811 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37812 * login/Versions (libc: GLIBC_2.4): ... here.
37813
37814 * posix/getlogin.c: Moved to ...
37815 * login/getlogin.c: ... here.
37816 * posix/getlogin_r.c: Moved to ...
37817 * login/getlogin_r.c: ... here.
37818 * posix/getlogin_r.c: Moved to ...
37819 * login/getlogin_r.c: ... here.
37820 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37821 * login/Makefile (routines): ... here.
37822 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37823 * login/Versions (libc: GLIBC_2.0): ... here.
37824
37825 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37826 (setrlimit): Define as weak alias.
37827
37828 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37829 Call __ names for open, ftruncate, and close.
37830 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37831 (truncate): Define as weak alias.
37832
37833 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37834
37835 * math/gen-libm-test.pl (parse_args): Initialize x before each
37836 test of frexp, modf and remquo.
37837
37838 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37839 test signgam value.
37840
37841 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37842
37843 [BZ #15418]
37844 [BZ #15419]
37845 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37846 internal tests.
37847 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37848
37849 2013-05-06 Roland McGrath <roland@hack.frob.com>
37850
37851 * elf/dl-writev.h: New file.
37852 * elf/dl-misc.c: Include it.
37853 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37854 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37855
37856 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37857
37858 * math/libm-test.inc (noXFails): Remove variable.
37859 (noXPasses): Likewise.
37860 (BUILD_COMPLEX_INT): Remove macro.
37861 (print_screen): Remove xfail argument.
37862 (print_screen_max_error): Likewise.
37863 (update_stats): Likewise.
37864 (print_max_error): Likewise. Update calls to other affected
37865 functions.
37866 (print_complex_max_error): Likewise.
37867 (test_single_exception): Update calls to print_screen.
37868 (test_single_errno): Likewise.
37869 (check_float_internal): Remove xfail argument. Update calls to
37870 other affected functions.
37871 (check_float): Likewise.
37872 (check_complex): Likewise.
37873 (check_int): Likewise.
37874 (check_long): Likewise.
37875 (check_bool): Likewise.
37876 (check_longlong): Likewise.
37877 (main): Don't print noXFails and noXPasses.
37878 * math/gen-libm-test.pl (top level): Don't mention expected
37879 failure handling in comment.
37880 (new_test): Don't handle expected failures.
37881 (parse_args): Don't mention expected failure handling in comment.
37882 (generate_testfile): Don't handle expected failures.
37883 (parse_ulps): Likewise.
37884 (print_ulps_file): Likewise.
37885 (get_failure): Remove function.
37886 (output_test): Don't handle expected failures.
37887 * make/README.libm-test: Don't mention expected failure handling.
37888
37889 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37890 (minus_zero): Likewise.
37891 (plus_infty): Likewise.
37892 (minus_infty): Likewise.
37893 (qnan_value): Likewise.
37894 (max_value): Likewise.
37895 (min_value): Likewise.
37896 (min_subnorm_value): Likewise.
37897 (initialize): Do not initialize those variables dynamically.
37898
37899 2013-05-03 Roland McGrath <roland@hack.frob.com>
37900
37901 * io/open.c (__open_2): Moved to ...
37902 * io/open_2.c: ... this new file.
37903 * io/open64.c (__open64_2): Moved to ...
37904 * io/open64_2.c: ... this new file.
37905 * io/openat.c (__openat_2): Moved to ...
37906 * io/openat_2.c: ... this new file.
37907 * io/openat64.c (__openat64_2): Moved to ...
37908 * io/openat64_2.c: ... this new file.
37909 * io/Makefile (routines): Add them.
37910 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37911 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37912 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37913 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37914 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37915 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37916 (__openat64): Add hidden_ver.
37917 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37918 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37919
37920 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37921 Separately conditionalize setting of GLRO(dl_sysinfo) so
37922 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37923 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37924
37925 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37926
37927 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37928 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37929 definition.
37930 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37931 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37932 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37933 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37934 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37935
37936 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37937
37938 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37939 test signgam value.
37940
37941 * math/libm-test.inc (hypot_test): Do not use
37942 IGNORE_ZERO_INF_SIGN.
37943
37944 2013-05-03 Andreas Jaeger <aj@suse.de>
37945
37946 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37947 Linux 3.9.
37948 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37949 (PF_MAX): Adjust for VSOCK change.
37950
37951 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37952
37953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37954
37955 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37956
37957 [BZ #15264]
37958 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37959 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37960 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37961
37962 2013-05-02 David S. Miller <davem@davemloft.net>
37963
37964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37965
37966 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37967
37968 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37969
37970 2013-05-01 Roland McGrath <roland@hack.frob.com>
37971
37972 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37973
37974 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37975
37976 [BZ #14952]
37977 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37978 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37979 Use __attribute__ ((__gnu_inline__)).
37980 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37981 Don't use __attribute__ ((__gnu_inline__)).
37982
37983 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37984
37985 [BZ #15423]
37986 * math/s_catan.c (__catan): Handle small real or imaginary part of
37987 input specially to avoid spurious underflow.
37988 * math/s_catanf.c (__catanf): Likewise.
37989 * math/s_catanh.c (__catanh): Likewise.
37990 * math/s_catanhf.c (__catanhf): Likewise.
37991 * math/s_catanhl.c (__catanhl): Likewise.
37992 * math/s_catanl.c (__catanl): Likewise.
37993 * math/libm-test.inc (catan_test): Add more tests.
37994 (catanh_test): Likewise.
37995 * sysdeps/i386/fpu/libm-test-ulps: Update.
37996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37997
37998 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37999
38000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38001
38002 2013-04-30 Joseph Myers <joseph@codesourcery.com>
38003
38004 [BZ #15416]
38005 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38006 accurately for denominator in atan2.
38007 * math/s_catanf.c (__catanf): Likewise.
38008 * math/s_catanh.c (__catanh): Likewise.
38009 * math/s_catanhf.c (__catanhf): Likewise.
38010 * math/s_catanhl.c (__catanhl): Likewise.
38011 * math/s_catanl.c (__catanl): Likewise.
38012 * math/libm-test.inc (catan_test): Add more tests.
38013 (catanh_test): Likewise.
38014 * sysdeps/i386/fpu/libm-test-ulps: Update.
38015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38016
38017 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38018
38019 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38020
38021 * benchtests/Makefile (bench): Remove slow benchmarks.
38022 * benchtests/atan-inputs: Add slow benchmark inputs.
38023 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38024 (BENCH_FUNC): Accept variant offset.
38025 (VARIANT): Define.
38026 * benchtests/bench-skeleton.c (main): Run benchmark for each
38027 variant.
38028 * benchtests/cos-inputs: Add slow benchmark inputs.
38029 * benchtests/exp-inputs: Likewise.
38030 * benchtests/pow-inputs: Likewise.
38031 * benchtests/sin-inputs: Likewise.
38032 * benchtests/slowatan-inputs: Remove.
38033 * benchtests/slowatan.c: Remove.
38034 * benchtests/slowcos-inputs: Remove.
38035 * benchtests/slowcos.c: Remove.
38036 * benchtests/slowexp-inputs: Remove.
38037 * benchtests/slowexp.c: Remove.
38038 * benchtests/slowpow-inputs: Remove.
38039 * benchtests/slowpow.c: Remove.
38040 * benchtests/slowsin-inputs: Remove.
38041 * benchtests/slowsin.c: Remove.
38042 * benchtests/slowtan-inputs: Remove.
38043 * benchtests/slowtan.c: Remove.
38044 * benchtests/tan-inputs: Add slow benchmark inputs.
38045 * scripts/bench.pl: Parse comments and directives.
38046
38047 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
38048 in CPPFLAGS.
38049 ($(objpfx)bench-%.c): Remove *-ITER.
38050 * benchtests/bench-modf.c: Remove definition of ITER.
38051 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38052 (main): Loop for DURATION seconds instead of fixed number of
38053 iterations.
38054 * scripts/bench.pl: Don't expect iterations in parameters.
38055
38056 2013-04-29 Roland McGrath <roland@hack.frob.com>
38057
38058 * io/fchdir.c (__fchdir): Renamed from fchdir.
38059 (fchdir): Define as weak alias.
38060
38061 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38062
38063 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38064 (ERRNO_EDOM): Likewise.
38065 (ERRNO_ERANGE): Likewise.
38066 (noErrnoTests): New variable.
38067 (init_max_error): Set errno to 0.
38068 (test_single_errno): New function.
38069 (test_errno): Likewise.
38070 (check_float_internal): Call test_errno. Set errno to 0.
38071 (check_complex): Refer to errno tests in comment.
38072 (check_int): Call test_errno. Set errno to 0.
38073 (check_long): Likewise.
38074 (check_bool): Likewise.
38075 (check_longlong): Likewise.
38076 (cos_test): Use ERRNO_* flags for errno tests instead of
38077 check_int.
38078 (expm1_test): Likewise.
38079 (fmod_test): Likewise.
38080 (ilogb_test): Likewise.
38081 (lgamma_test): Likewise.
38082 (pow_test): Likewise.
38083 (remainder_test): Likewise.
38084 (sin_test): Likewise.
38085 (tan_test): Likewise.
38086 (yn_test): Likewise.
38087 (initialize): Set errno to 0.
38088 (main): Print number of errno tests.
38089 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38090
38091 2013-04-29 Andreas Jaeger <aj@suse.de>
38092
38093 [BZ #15084]
38094 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38095 and RES_USEVC.
38096
38097 [BZ #15085]
38098 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38099 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38100 unimplemented.
38101
38102 [BZ #15380]
38103 * stdlib/random.c (__initstate): Return NULL if
38104 __initstate fails.
38105
38106 [BZ #15086]
38107 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38108 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38109 RES_SNGLKUPREOP.
38110
38111 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38112
38113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38114
38115 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38116
38117 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38118 of individual tests.
38119 (casin_test): Likewise.
38120 (casinh_test): Likewise.
38121
38122 2013-04-27 Joseph Myers <joseph@codesourcery.com>
38123
38124 [BZ #15409]
38125 * math/s_catan.c (__catan): Handle arguments with large real or
38126 imaginary part separately without squaring.
38127 * math/s_catanf.c (__catanf): Likewise.
38128 * math/s_catanh.c (__catanh): Likewise.
38129 * math/s_catanhf.c (__catanhf): Likewise.
38130 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38131 and redefine.
38132 (__catanhl): Handle arguments with large real or imaginary part
38133 separately without squaring.
38134 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38135 and redefine.
38136 (__catanl): Handle arguments with large real or imaginary part
38137 separately without squaring.
38138 * math/libm-test.inc (catan_test): Add more tests.
38139 (catanh_test): Likewise.
38140 * sysdeps/i386/fpu/libm-test-ulps: Update.
38141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38142
38143 2013-04-27 Andreas Jaeger <aj@suse.de>
38144
38145 [BZ #15007]
38146 * stdlib/stdlib.h: Update guards for qecvt.
38147 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38148 <stdlib.h>.
38149
38150 2013-04-27 Allan McRae <allan@archlinux.org>
38151
38152 * sysdeps/i386/fpu/libm-test-ulps: Update.
38153
38154 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38155
38156 [BZ #15406]
38157 * math/s_catan.c: Include <float.h>.
38158 (__catan): Ensure underflow exception occurs for underflowed
38159 result.
38160 * math/s_catanf.c: Include <float.h>.
38161 (__catanf): Ensure underflow exception occurs for underflowed
38162 result.
38163 * math/s_catanh.c: Include <float.h>.
38164 (__catanh): Ensure underflow exception occurs for underflowed
38165 result.
38166 * math/s_catanhf.c: Include <float.h>.
38167 (__catanhf): Ensure underflow exception occurs for underflowed
38168 result.
38169 * math/s_catanhl.c: Include <float.h>.
38170 (__catanhl): Ensure underflow exception occurs for underflowed
38171 result.
38172 * math/s_catanl.c: Include <float.h>.
38173 (__catanl): Ensure underflow exception occurs for underflowed
38174 result.
38175 * math/libm-test.inc (catan_test): Add more tests.
38176 (catanh_test): Likewise.
38177
38178 [BZ #15405]
38179 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38180 underflowed result.
38181 * math/s_ccoshf.c (__ccoshf): Likewise.
38182 * math/s_ccoshl.c (__ccoshl): Likewise.
38183 * math/s_csin.c (__csin): Likewise.
38184 * math/s_csinf.c (__csinf): Likewise.
38185 * math/s_csinh.c (__csinh): Likewise.
38186 * math/s_csinhf.c (__csinhf): Likewise.
38187 * math/s_csinhl.c (__csinhl): Likewise.
38188 * math/s_csinl.c (__csinl): Likewise.
38189 * math/libm-test.inc (ccos_test): Add more tests.
38190 (ccosh_test): Likewise.
38191 (csin_test): Likewise.
38192 (csinh_test): Likewise.
38193
38194 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38195
38196 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38197 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38198 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38199 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38200 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38201 powerpc/power5+/fpu folders.
38202 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38203
38204
38205 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38206
38207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38208
38209 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38210
38211 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38212 additions to variable.
38213 [$(config-machine) = x86_64] (modules-names): Likewise.
38214 ($(objpfx)tst-audit3): Remove dependency.
38215 ($(objpfx)tst-audit3.out): Likewise.
38216 ($(objpfx)tst-audit4): Likewise.
38217 ($(objpfx)tst-audit4.out): Likewise.
38218 ($(objpfx)tst-audit5): Likewise.
38219 ($(objpfx)tst-audit5.out): Likewise.
38220 ($(objpfx)tst-audit6): Likewise.
38221 ($(objpfx)tst-audit6.out): Likewise.
38222 ($(objpfx)tst-audit7): Likewise.
38223 ($(objpfx)tst-audit7.out): Likewise.
38224 (tst-audit3-ENV): Remove variable.
38225 (tst-audit4-ENV): Likewise.
38226 (tst-audit5-ENV): Likewise.
38227 (tst-audit6-ENV): Likewise.
38228 (tst-audit7-ENV): Likewise.
38229 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38230 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38231 addition to variable.
38232 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38233 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38234 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38235 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38236 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38237 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38238 tst-audit3, tst-audit4 and tst-audit5.
38239 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38240 tst-audit6 and tst-audit7.
38241 [$(subdir) = elf] (modules-names): Add audit modules for those
38242 tests.
38243 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38244 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38245 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38246 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38247 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38248 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38249 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38250 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38251 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38252 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38253 [$(subdir) = elf] (tst-audit3-ENV): New variable.
38254 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38255 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38256 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38257 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38258 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38259 Likewise.
38260 [$(subdir) = elf && $(config-cflags-avx) = yes]
38261 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38262 [$(subdir) = elf && $(config-cflags-avx) = yes]
38263 (CFLAGS-tst-auditmod4a.c): Likewise.
38264 [$(subdir) = elf && $(config-cflags-avx) = yes]
38265 (CFLAGS-tst-auditmod4b.c): Likewise.
38266 [$(subdir) = elf && $(config-cflags-avx) = yes]
38267 (CFLAGS-tst-auditmod6b.c): Likewise.
38268 [$(subdir) = elf && $(config-cflags-avx) = yes]
38269 (CFLAGS-tst-auditmod6c.c): Likewise.
38270 [$(subdir) = elf && $(config-cflags-avx) = yes]
38271 (CFLAGS-tst-auditmod7b.c): Likewise.
38272 * elf/tst-audit3.c: Move to ...
38273 * sysdeps/x86_64/tst-audit3.c: ... here.
38274 * elf/tst-audit4.c: Move to ...
38275 * sysdeps/x86_64/tst-audit4.c: ... here.
38276 * elf/tst-audit5.c: Move to ...
38277 * sysdeps/x86_64/tst-audit5.c: ... here.
38278 * elf/tst-audit6.c: Move to ...
38279 * sysdeps/x86_64/tst-audit6.c: ... here.
38280 * elf/tst-audit7.c: Move to ...
38281 * sysdeps/x86_64/tst-audit7.c: ... here.
38282 * elf/tst-auditmod3a.c: Move to ...
38283 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38284 * elf/tst-auditmod3b.c: Move to ...
38285 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38286 * elf/tst-auditmod4a.c: Move to ...
38287 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38288 * elf/tst-auditmod4b.c: Move to ...
38289 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38290 * elf/tst-auditmod5a.c: Move to ...
38291 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38292 * elf/tst-auditmod5b.c: Move to ...
38293 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38294 * elf/tst-auditmod6a.c: Move to ...
38295 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38296 * elf/tst-auditmod6b.c: Move to ...
38297 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38298 * elf/tst-auditmod6c.c: Move to ...
38299 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38300 * elf/tst-auditmod7a.c: Move to ...
38301 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38302 * elf/tst-auditmod7b.c: Move to ...
38303 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38304
38305 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38306
38307 [BZ #15366]
38308 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38309 define unconditionally.
38310 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38311 define unconditionally.
38312 (INT8_C, INT16_C, etc.): Likewise.
38313
38314 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38315
38316 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38317 __ehdr_start with hidden visibility.
38318
38319 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38320
38321 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38322
38323 * math/libm-test.inc (cos_test): Use accurate hex constants.
38324 (sincost_test): Likewise.
38325
38326 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38327
38328 * math/libm-test.inc (catan_test): Add more tests.
38329 (catanh_test): Likewise.
38330
38331 * math/s_catanf.c (__catanf): Use suffixed floating-point
38332 constants.
38333 * math/s_catanhf.c (__catanhf): Likewise.
38334 * math/s_catanhl.c (__catanhl): Likewise.
38335 * math/s_catanl.c (__catanl): Likewise.
38336
38337 [BZ #15394]
38338 * math/s_catan.c (__catan): Calculate imaginary part of result
38339 with log1p not log unless computing log of number close to 0.
38340 * math/s_catanf.c (__catanf): Likewise.
38341 * math/s_catanl.c (__catanl): Likewise.
38342 * math/s_catanh.c (__catanh): Calculate real part of result with
38343 log1p not log unless computing log of number close to 0.
38344 * math/s_catanhf.c (__catanhf): Likewise.
38345 * math/s_catanhl.c (__catanhl): Likewise.
38346 * math/libm-test.inc (catan_test): Add more tests.
38347 (catanh_test): Likewise.
38348 * sysdeps/i386/fpu/libm-test-ulps: Update.
38349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38350
38351 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38352
38353 * benchtests/Makefile: Mention files in which fast and slow
38354 paths of math functions are implemented.
38355
38356 2013-04-23 Roland McGrath <roland@hack.frob.com>
38357
38358 * sysdeps/posix/timespec_get.c: New file.
38359
38360 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38361
38362 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38363 POWER.
38364 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38365 for POWER.
38366 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38367 powerpc/power5/fpu folders.
38368 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38369 * benchtests/Makefile: Add modf testcase.
38370 * benchtests/bench-modf.c: New file: Benchmark test for mo
38371
38372 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38373
38374 [BZ #14888]
38375 * time/Makefile (tests): Add tst-strptime-whitespace.
38376 * time/strptime_l.c (get_number): Use ISSPACE.
38377 (__strptime_internal): Likewise.
38378 * time/tst-strptime-whitespace.c: New test case.
38379
38380 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38381
38382 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38383 member.
38384 (_nss_files_init): Set it here.
38385
38386 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38387
38388 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38389 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38390 unsigned.
38391
38392 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38393
38394 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38395
38396 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38397
38398 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38399 size just once.
38400
38401 2013-04-21 David S. Miller <davem@davemloft.net>
38402
38403 * po/ru.po: Update Russion translation from translation project.
38404
38405 2013-04-17 Adam Conrad <adconrad@0c3.net>
38406
38407 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38408 and setfsgid.
38409
38410 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38411
38412 * configure.in: Remove i386 configure warning. Remove i386 case.
38413 * configure: Regenerate.
38414 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38415 Add example to error message.
38416 * sysdeps/i386/configure: Regenerate.
38417
38418 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38419
38420 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38421 slowtan.
38422 * benchtests/cos-inputs: New file.
38423 * benchtests/slowcos-inputs: New file.
38424 * benchtests/slowcos.c: New file.
38425 * benchtests/slowtan-inputs: New file.
38426 * benchtests/slowtan.c: New file.
38427 * benchtests/tan-inputs: New file.
38428
38429 2013-04-16 Roland McGrath <roland@hack.frob.com>
38430
38431 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38432 considered kosher.
38433
38434 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38435
38436 * benchtests/Makefile: Include cppflags-iterator.mk to add
38437 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38438
38439 * Makefile.in (bench-clean): New target.
38440 * benchtests/Makefile (bench-clean): Likewise.
38441
38442 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38443
38444 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38445
38446 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38447
38448 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38449
38450 2013-04-15 Andreas Schwab <schwab@suse.de>
38451
38452 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38454 * nscd/pwdcache.c (cache_addpw): Likewise.
38455 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38456 more than recsize.
38457
38458 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38459
38460 * benchtests/Makefile (bench): Write all output to
38461 bench-out.tmp together.
38462
38463 2013-04-15 Andreas Schwab <schwab@suse.de>
38464
38465 * nscd/nscd.c (main): Don't fork again after closing files.
38466
38467 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38468
38469 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38470
38471 * benchtests/Rules (bench-deps): Collect dependencies into a
38472 single variable. Add Makefile to dependencies.
38473 ($(objpfx)bench-%.c): Depend on bench-deps.
38474
38475 2013-04-12 Roland McGrath <roland@hack.frob.com>
38476 Xavier Roche <roche+kml2@exalead.com>
38477
38478 [BZ #15361]
38479 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38480 just that it's a file descriptor.
38481 * manual/llio.texi (Synchronizing AIO Operations): Update description
38482 for EBADF error from aio_fsync.
38483
38484 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38485
38486 * Rules (bench): Move target definition...
38487 * benchtests/Makefile: ... here.
38488
38489 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38490
38491 * math/libm-test.inc (cos_test): Fix PI/2 test.
38492 (sincos_test): Likewise.
38493 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38494 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38495
38496 2013-04-11 Andreas Schwab <schwab@suse.de>
38497
38498 [BZ #13988]
38499 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38500 accept exponent character only when digits were seen.
38501 * stdio-common/Makefile (tests): Add bug26.
38502 * stdio-common/bug26.c: New file.
38503
38504 [BZ #14293]
38505 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38506 non-freeable.
38507
38508 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38509
38510 * Makeconfig (rtld-prefix): Define built linker prefix.
38511 * Rules (run-bench): Use it.
38512 * math/Makefile (run-regen-ulps): Likewise.
38513
38514 * Rules (bench): Remove eval.
38515
38516 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38517 Roland McGrath <roland@hack.frob.com>
38518 Ondrej Bilka <neleai@seznam.cz>
38519
38520 [BZ #15346]
38521 * time/getdate.c: Include ctype.h and alloca.h.
38522 (__getdate_r): Trim leading and trailing spaces of input.
38523 * time/tst-getdate.c (tests): Add tests with leading and
38524 trailing spaces.
38525
38526 2013-04-08 Roland McGrath <roland@hack.frob.com>
38527
38528 [BZ #14280]
38529 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38530 when computing value.
38531
38532 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38533
38534 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38535 Use testrun.sh to run libm tests.
38536
38537 [BZ #15309]
38538 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38539
38540 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38541
38542 [BZ #15264]
38543 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38544
38545 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38546
38547 * Makefile.in (regen-ulps): New target.
38548 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38549 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38550 [ifneq (no,$(PERL)] (regen-ulps): New target.
38551 [ifeq (no,$(PERL)] (regen-ulps): New target.
38552 * math/libm-test.inc (ulps_file_name): Define.
38553 (output_dir): New variable.
38554 (options): Add "output-dir" option.
38555 (parse_opt): Handle 'o' case.
38556 (main): If output_dir is non-NULL use it as a prefix
38557 otherwise use "".
38558 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38559
38560 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38561
38562 [BZ #10060, #10062]
38563 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38564 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38565 fail configure if __sync_val_compare_and_swap is not inlined.
38566 * sysdeps/i386/configure: Regenerate.
38567 * configure.in: Build for i686 when configured for i386.
38568 * configure: Regenerate.
38569 * README: Remove i386 reference.
38570
38571 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38572
38573 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38575
38576 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38577
38578 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38579 (lmsnanval): New variables.
38580 (F): Add conversion tests.
38581 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38582 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38583
38584 * stdio-common/tstdiomisc.c (F): Properly collect individual
38585 tests' results.
38586
38587 [BZ #14686, #15336]
38588 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38589 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38590 Instead, use input NaN values or generate a qNaN by arithmetic
38591 operation. Also fix bugs to comply with the standard.
38592 * math/libm-test.inc (remainder_test): Add more tests.
38593
38594 [BZ #15335, #15342]
38595 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38596 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38597 input NaN values or generate a qNaN by arithmetic operation.
38598
38599 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38600 unreachable code.
38601
38602 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38603 definitions.
38604
38605 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38606
38607 [BZ #14478]
38608 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38609 underflowed result.
38610 * math/s_cexpf.c (__cexpf): Likewise.
38611 * math/s_cexpl.c (__cexpl): Likewise.
38612 * math/libm-test.inc (cexp_test): Add more tests.
38613
38614 2013-04-03 Andreas Schwab <schwab@suse.de>
38615
38616 [BZ #15330]
38617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38618 order arrays from heap if bigger than alloca cutoff.
38619
38620 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38621
38622 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38623 (SNAN_TESTS_double): Refer to GCC PR56831.
38624 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38625 GCC PR56828.
38626
38627 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38628
38629 * Rules (bench): Move bench.out after the run is complete.
38630
38631 * Rules (bench): Echo currently running benchmark.
38632
38633 * benchtests/Makefile (bench): Add atan and slowatan.
38634 * benchtests/atan-inputs: New file.
38635 * benchtests/slowatan-inputs: New file.
38636 * benchtests/slowatan.c: New file.
38637
38638 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38639 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38640 its value.
38641
38642 [BZ #15305]
38643 * sysdeps/unix/sysv/linux/kernel-features.h
38644 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38645 __ASSUME_XFS_RESTRICTED_CHOWN.
38646 * sysdeps/unix/sysv/linux/pathconf.c
38647 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38648 Save and restore errno.
38649
38650 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38651
38652 [BZ #15327]
38653 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38654 arguments using __kernel_casinh.
38655 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38656 arguments using __kernel_casinhf.
38657 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38658 arguments using __kernel_casinhl.
38659 * math/libm-test.inc (cacosh_test): Add more tests.
38660 * sysdeps/i386/fpu/libm-test-ulps: Update.
38661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38662
38663 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38664
38665 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38667
38668 * bench/Makefile (bench): Add sin and slowsin.
38669 * benchtests/sin-inputs: New file.
38670 * benchtests/slowsin-inputs: New file.
38671 * benchtests/slowsin.c: New file.
38672
38673 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38674 (bench): Add slowexp and slowpow.
38675 (exp-ITER): Increase iterations.
38676 (pow-ITER): Likewise.
38677 * benchtests/exp-inputs: Change input.
38678 * benchtests/pow-inputs: Likewise.
38679 * benchtests/slowexp-inputs: New file.
38680 * benchtests/slowexp.c: New file.
38681 * benchtests/slowpow-inputs: New file.
38682 * benchtests/slowpow.c: New file.
38683
38684 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38685
38686 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38687 instructions.
38688 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38689 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38690 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38691 * benchtests/Makefile: Add rint benchtest.
38692 * benchtests/rint-inputs: Input for rint benchtest.
38693
38694 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38695
38696 * Versions.def (libm): Add GLIBC_2.18.
38697 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38698 hidden libm prototypes.
38699 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38700 * math/Makefile (libm-calls): Add s_issignaling.
38701 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38702 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38703 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38704 declaration.
38705 * math/math.h [__USE_GNU] (issignaling): New macro.
38706 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38707 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38709 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38710 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38711 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38712 * manual/arith.texi (issignaling): New section.
38713 * manual/libm-err-tab.pl (@all_functions): Update comment.
38714 * math/gen-libm-test.pl (parse_args): Apply special handling for
38715 issignaling.
38716 * math/libm-test.inc (print_float, issignaling_test): New
38717 functions.
38718 (check_float_internal): Add issignaling checks.
38719 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38720 default definition.
38721 * sysdeps/powerpc/math-tests.h: New file.
38722 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38723 tests.
38724 * math/test-snan.c (TEST_FUNC): Likewise.
38725
38726 2013-03-30 David S. Miller <davem@davemloft.net>
38727
38728 * po/de.po: Update from translation team.
38729
38730 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38731
38732 [BZ #10357]
38733 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38734 imaginary part less than 1.0 and real part less than 0.5
38735 specially.
38736 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38737 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38738 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38739 (cacos_test): Add more tests.
38740 (casin_test): Likewise.
38741 (casinh_test): Likewise.
38742 * sysdeps/i386/fpu/libm-test-ulps: Update.
38743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38744
38745 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38746
38747 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38748 ONE with its value.
38749
38750 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38751 (__pow_mp): Replace ONE and MONE with their values.
38752 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38754 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38755 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38756 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38757 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38758
38759 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38760
38761 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38762 (__pow_mp): Replace ZERO and MZERO with their values.
38763 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38765 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38767 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38768 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38769 (__sqr): Likewise.
38770
38771 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38772
38773 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38774
38775 2013-03-28 Roland McGrath <roland@hack.frob.com>
38776
38777 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38778 Declare with __attribute__ ((weak)).
38779 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38780 Call __call_tls_dtors only if it's not NULL.
38781
38782 2013-03-28 Roland McGrath <roland@hack.frob.com>
38783
38784 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38785 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38786 magic __ehdr_start linker symbol if it's defined.
38787 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38788 them up here if it was already done.
38789
38790 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38791 (_dl_aux_init): Use const in cast when setting it.
38792 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38793 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38794 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38795
38796 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38797 Declare them here.
38798 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38799 * csu/libc-tls.c: Nor here.
38800 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38801
38802 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38803 (__libc_message): Never call vsyslog.
38804
38805 2013-03-28 Alan Modra <amodra@gmail.com>
38806
38807 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38808 Define as empty.
38809 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38810 Likewise.
38811
38812 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38813
38814 [BZ #15214]
38815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38816 underflow.
38817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38818
38819 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38820
38821 [BZ #15304]
38822 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38823 Don't add gid passed as argument.
38824
38825 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38826
38827 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38828
38829 [BZ #15307]
38830 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38831 imaginary part between 1.0 and 1.5 and real part less than 0.5
38832 specially.
38833 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38834 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38835 * math/libm-test.inc (cacos_test): Add more tests.
38836 (casin_test): Likewise.
38837 (casinh_test): Likewise.
38838 * sysdeps/i386/fpu/libm-test-ulps: Update.
38839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38840
38841 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38842
38843 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38844 constants.
38845 (norm): Likewise.
38846 (denorm): Likewise.
38847 (__dbl_mp): Likewise.
38848 (add_magnitudes): Likewise.
38849 (sub_magnitudes): Likewise.
38850 (__add): Likewise.
38851 (__sub): Likewise.
38852 (__mul): Likewise.
38853 (__sqr): Likewise.
38854 (__inv): Likewise.
38855 (__dvd): Likewise.
38856
38857 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38858 commented code.
38859 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38860 (__dubcos): Likewise.
38861 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38862 (__ieee754_acos): Likewise.
38863 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38864 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38865 (__exp1): Likewise.
38866 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38868 (log1): Likewise.
38869 (my_log2): Likewise.
38870 (checkint): Likewise.
38871 * sysdeps/ieee754/dbl-64/e_remainder.c
38872 (__ieee754_remainder): Likewise.
38873 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38875 (bsloww): Likewise.
38876 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38877
38878 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38879 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38880 MANTISSA_STORE_T to store computations on mantissa. Use
38881 macros for rounding and division.
38882 (denorm): Likewise.
38883 (__dbl_mp): Likewise.
38884 (add_magnitudes): Likewise.
38885 (sub_magnitudes): Likewise.
38886 (__mul): Likewise.
38887 (__sqr): Likewise.
38888 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38889 powers of two in terms of TWOPOW macro.
38890 (mp_no): Make type of mantissa as MANTISSA_T.
38891 [!RADIXI]: Define RADIXI.
38892 [!TWO52]: Define TWO52.
38893 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38894
38895 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38896
38897 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38898 llroundl symbol when building for PPC32.
38899
38900 2013-03-24 Mark H Weaver <mhw@netris.org>
38901
38902 * manual/arith.texi (Normalization Functions): Fix prototypes for
38903 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38904
38905 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38906
38907 [BZ #13889]
38908 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38909 high value to check if expl overflow.
38910 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38911 to check for underflow and overflow.
38912 * math/libm-test.inc: Add exp test.
38913
38914 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38915
38916 [BZ #11120]
38917 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38918 with NOT_IN_libc.
38919
38920 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38921
38922 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38923 symbol.
38924
38925 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38926
38927 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38928 wrap blocks consisting of several statements.
38929
38930 * sysdeps/generic/math-tests.h: New file.
38931 * sysdeps/i386/fpu/math-tests.h: Likewise.
38932 * math/test-snan.c: Include it.
38933 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38934
38935 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38936
38937 [BZ #15285]
38938 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38939 (__ieee754_j0l): Do not improve calculations using cos of twice
38940 input for inputs above LDBL_MAX / 2.0L.
38941 (__ieee754_y0l): Likewise.
38942 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38943 (__ieee754_j1l): Do not improve calculations using cos of twice
38944 input for inputs above LDBL_MAX / 2.0L.
38945 (__ieee754_y1l): Likewise.
38946 * math/libm-test.inc (j0_test): Add another test.
38947 (j1_test): Likewise.
38948 (y0_test): Likewise.
38949 (y1_test): Likewise.
38950 * sysdeps/i386/fpu/libm-test-ulps: Update.
38951
38952 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38953
38954 * Rules ($(objpfx)bench-%.c): Include code from a C source
38955 file.
38956
38957 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38958
38959 [BZ #15287]
38960 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38961 imaginary part 1.0 and real part less than 0.5 specially.
38962 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38963 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38964 * math/libm-test.inc (cacos_test): Add more tests.
38965 (casin_test): Likewise.
38966 (casinh_test): Likewise.
38967 * sysdeps/i386/fpu/libm-test-ulps: Update.
38968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38969
38970 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38971
38972 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38973 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38974
38975 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38976
38977 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38978 * config.make.in (config-cflags-sse4): Remove variable.
38979 (config-cflags-avx): Likewise.
38980 (config-cflags-sse2avx): Likewise.
38981 (config-cflags-novzeroupper): Likewise.
38982 (config-asflags-i686): Likewise.
38983 (have-mfma4): Likewise.
38984 (have-as-vis3): Likewise.
38985 (MIG): Likewise.
38986 * configure.in (MIG): Do not AC_SUBST.
38987 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38988 (libc_cv_cc_sse4): Do not AC_SUBST.
38989 (libc_cv_cc_avx): Likewise.
38990 (libc_cv_cc_sse2avx): Likewise.
38991 (libc_cv_cc_novzeroupper): Likewise.
38992 (libc_cv_cc_fma4): Likewise.
38993 (libc_cv_as_i686): Likewise.
38994 (libc_cv_sparc_as_vis3): Likewise.
38995 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38996 LIBC_CONFIG_VAR.
38997 (config-asflags-i686): Likewise.
38998 (config-cflags-avx): Likewise.
38999 (config-cflags-sse2avx): Likewise.
39000 (have-mfma4): Likewise.
39001 (config-cflags-novzeroupper): Likewise.
39002 * sysdeps/mach/configure.in (MIG): Likewise.
39003 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39004 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39005 LIBC_CONFIG_VAR.
39006 (config-cflags-avx): Likewise.
39007 (config-cflags-sse2avx): Likewise.
39008 (have-mfma4): Likewise.
39009 (config-cflags-novzeroupper): Likewise.
39010 * configure: Regenerated.
39011 * sysdeps/i386/configure: Likewise.
39012 * sysdeps/mach/configure: Likewise.
39013 * sysdeps/sparc/configure: Likewise.
39014 * sysdeps/x86_64/configure: Likewise.
39015
39016 2013-03-20 Roland McGrath <roland@hack.frob.com>
39017
39018 [BZ #14812]
39019 * locale/programs/localedef.c (options): Put N_ translation marker
39020 on argument names, not just descriptions.
39021
39022 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39023
39024 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39025
39026 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
39027
39028 [BZ #14176]
39029 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39030
39031 2013-03-19 Roland McGrath <roland@hack.frob.com>
39032
39033 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39034 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39035 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39036 [!BEFORE_ABORT] (before_abort): New function.
39037 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39038 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39039 (writev_for_fatal): New function.
39040 (WRITEV_FOR_FATAL): New macro; call that.
39041 (backtrace_and_maps): New function.
39042 (BEFORE_ABORT): New macro; call that.
39043 (struct str_list): Type removed.
39044 (__libc_message, __libc_fatal): Functions removed.
39045 Include <sysdeps/posix/libc_fatal.c> instead.
39046
39047 2013-03-19 Joseph Myers <joseph@codesourcery.com>
39048
39049 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39050 constants.
39051 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39052 double constants.
39053
39054 2013-03-19 Andreas Schwab <schwab@suse.de>
39055
39056 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39057 * sysdeps/gnu/configure: Regenerate.
39058
39059 * configure.in: Substitute libc_cv_rtlddir.
39060 * configure: Regenerate.
39061 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39062 * Makeconfig (rtlddir, inst_rtlddir): New variables.
39063 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39064 * elf/Makefile (install-others, CFLAGS-interp.c)
39065 (ldso_install, common-ldd-rewrite): Likewise.
39066 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39067 $(inst_slibdir)/$(rtld-installed-name).
39068 * scripts/rellns-sh: Add -p option.
39069 * Makerules (make-shlib-link): Use rellns-sh to get relative name
39070 for source.
39071
39072 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39073
39074 * manual/nptl.texi: Renamed to ...
39075 * manual/threads.texi: ... this.
39076 * manual/Makefile (chapters): Update.
39077
39078 2013-03-18 Roland McGrath <roland@hack.frob.com>
39079
39080 [BZ #14812]
39081 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39082 on argument names, not just descriptions.
39083 * malloc/memusagestat.c (options): Likewise.
39084 * nss/getent.c (options): Likewise.
39085
39086 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
39087
39088 [BZ #14812]
39089 * iconv/iconv_prog.c (options): Put N_ translation marker
39090 on argument names, not just descriptions.
39091 * iconv/iconvconfig.c (options): Likewise.
39092
39093 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
39094
39095 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39096 implementation which is faster on all x86_64 architectures.
39097 Tested on AMD, Intel Nehalem, SNB, IVB.
39098 * sysdeps/x86_64/strnlen.S: Likewise.
39099
39100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39101 Remove all multiarch strlen and strnlen versions.
39102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39103 Remove strlen and strnlen related parts.
39104
39105 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39106 Inline strlen part.
39107 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39108
39109 * sysdeps/x86_64/multiarch/strlen.S: Remove.
39110 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39111 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39112 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39113 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39114 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39115
39116 2013-03-17 Carlos O'Donell <carlos@redhat.com>
39117
39118 * manual/memory.texi (Malloc Tunable Parameters):
39119 Sort parameters alphabetically. Add comments for missing entries.
39120
39121 2013-03-17 David S. Miller <davem@davemloft.net>
39122
39123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39124
39125 2013-03-16 Joseph Myers <joseph@codesourcery.com>
39126
39127 [BZ #15283]
39128 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39129 for arguments at most half maximum finite value.
39130 * math/libm-test.inc (j0_test): Add more tests.
39131 (j1_test): Likewise.
39132 (y0_test): Likewise.
39133 (y1_test): Likewise.
39134 * sysdeps/i386/fpu/libm-test-ulps: Update.
39135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39136
39137 [BZ #14155]
39138 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39139 1 / x and functions P and Q for arguments above 0x1p256L.
39140 (__ieee754_y0l): Likewise.
39141 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39142 (__ieee754_y1l): Likewise.
39143 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39144 (j1_test): Likewise.
39145 (y0_test): Likewise.
39146 (y1_test): Likewise.
39147
39148 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39149
39150 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39151 variable.
39152
39153 2013-03-15 Roland McGrath <roland@hack.frob.com>
39154
39155 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39156 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39157 zero since it's initialized to EXEC_PAGESIZE.
39158
39159 * sysdeps/unix/sysv/linux/ldsodefs.h
39160 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39161 * sysdeps/generic/ldsodefs.h: ... here.
39162
39163 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39164
39165 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39166
39167 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39168 math/test-snan.c.
39169 * math/test-snan.c: Renamed from
39170 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39171 * math/Makefile (tests): Add test-snan.
39172 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39173 test-powerpc-snan.
39174
39175 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39176 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39177 functions.
39178 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39179 __builtin_nan family of functions.
39180 * math/libm-test.inc (initialize): Initialize qnan_value with
39181 __builtin_nan family of functions.
39182 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39183 Remove variables.
39184 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39185 Remove functions.
39186 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39187 storage class. Initialize qNaN_var and sNaN_var with
39188 __builtin_nan and __builtin_nans families of functions,
39189 respectively.
39190
39191 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39192 (sqrt_test): Remove duplicate test with qNaN input.
39193 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39194 (round_test, signbit_test, significand_test): Note missing +/-Inf
39195 as well as qNaN tests.
39196
39197 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39198 qNaN_var. Fix a few strings, too.
39199 * math/libm-test.inc (nan_value): Rename to qnan_value.
39200 * math/gen-libm-test.pl (%beautify): Adjust to that.
39201 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39202 * math/test-misc.c (main): Likewise.
39203 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39204 to __qnan_bytes, and __qnan_union, respectively.
39205 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39206 Likewise.
39207 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39208 and lqnanval, respectively.
39209 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39210 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39211 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39212 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39213
39214 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39215 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39216 doubles.
39217
39218 * math/test-misc.c (main): Fix copy'n'pastos.
39219 * misc/tst-efgcvt.c (special): Likewise.
39220
39221 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39222 Remove declarations.
39223
39224 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39225
39226 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39227 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39228 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39229 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39230
39231 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39232
39233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39234 macro to return vdso values correctly in IFUNC implementations.
39235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39236 Optimization by using IFUNC.
39237
39238 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39239 Richard Henderson <rth@redhat.com>
39240 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39241
39242 * Makefile.in (bench): New target.
39243 * NEWS: Mention the benchmark framework.
39244 * Rules (bench): Likewise.
39245 (binaries-bench): Generate binaries for functions to
39246 benchmark.
39247 * benchtests/Makefile: New makefile for benchmark tests.
39248 * benchtests/bench-skeleton.c: New skeleton file for benchmark
39249 programs.
39250 * benchtests/exp-inputs: New input file for EXP function.
39251 * benchtests/pow-inputs: New input file for POW function.
39252 * scripts/bench.pl: New script to generate source files for
39253 benchmark programs.
39254
39255 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39256
39257 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39258 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39259 computations on mantissa. Use macros for rounding and
39260 division.
39261 (denorm): Likewise.
39262 (__dbl_mp): Likewise.
39263 (add_magnitudes): Likewise.
39264 (sub_magnitudes): Likewise.
39265 (__mul): Likewise.
39266 (__sqr): Likewise.
39267 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39268 powers of two in terms of TWOPOW macro.
39269 (mp_no): Make type of mantissa as MANTISSA_T.
39270 [!RADIXI]: Define RADIXI.
39271 [!TWO52]: Define TWO52.
39272 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39273
39274 * manual/nptl.texi (cindex): Modify threads to pthreads.
39275
39276 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39277
39278 * sysdeps/x86_64/preconfigure: Regenerated.
39279
39280 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39281
39282 [BZ #14155]
39283 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39284 0x1p28 and above.
39285 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39286 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39287 0x1p28 and above.
39288 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39289 * math/libm-test.inc (j0_test): Do not allow one spurious
39290 underflow exception.
39291 (y1_test): Likewise.
39292
39293 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39294
39295 * manual/Makefile (chapters): Add nptl.
39296 * manual/debug.texi (Debugging Support): Add link to Threads
39297 chapter.
39298 * manual/nptl.texi: New file.
39299
39300 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39301
39302 2013-03-14 Petr Baudis <pasky@ucw.cz>
39303
39304 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39305 for non-NULL pointer before the memory validity test. Pointed
39306 out by Holger Brunck <holger.brunck@keymile.com>.
39307
39308 2013-03-13 Andreas Schwab <schwab@suse.de>
39309
39310 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39311 instead of .os.
39312
39313 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39314
39315 * timezone/zic.c: Update from tzcode 2013b.
39316
39317 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39318
39319 * manual/install.texi (Configuring and compiling):
39320 Mention i686 and i586.
39321 * INSTALL: Regenerate.
39322
39323 2013-03-12 Roland McGrath <roland@hack.frob.com>
39324
39325 * sysdeps/init_array/elf-init.c: New file.
39326 * csu/elf-init.c
39327 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39328 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39329
39330 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39331 __gmon_start__ as global, but as static with a .preinit_array pointer.
39332 * sysdeps/init_array/gmon-start.c: New file. Use that.
39333 * sysdeps/init_array/crti.S: New file, empty except for comments.
39334 * sysdeps/init_array/crtn.S: Likewise.
39335
39336 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39337
39338 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39339 definining bcopy.
39340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39341 Remove Prefer_SSE_for_memop.
39342 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39343 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39344 HAS_PREFER_SSE_FOR_MEMOP.
39345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39346 memset-x86-64.
39347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39348 Remove bzero, memset ifunc support.
39349 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39350 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39351 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39352 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39353
39354 2013-03-11 Andreas Schwab <schwab@suse.de>
39355
39356 [BZ #15234]
39357 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39358 by SHLIB_COMPAT.
39359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39360 (GLIBC_2.16): Remove pthread_atfork.
39361
39362 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39363
39364 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39365 (ptestcases.h): Likewise.
39366
39367 2013-03-08 Roland McGrath <roland@hack.frob.com>
39368
39369 * Makeconfig ($(common-objpfx)config.status): Depend on
39370 sysdeps/*/preconfigure{,.in} too.
39371
39372 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39373
39374 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39375 (__free_hook): Use void * instead of __malloc_ptr_t.
39376 (__malloc_hook): Likewise.
39377 (__realloc_hook): Likewise.
39378 (__memalign_hook): Likewise.
39379 (__after_morecore_hook): Likewise.
39380 * malloc/arena.c (save_malloc_hook): Likewise.
39381 (save_free_hook): Likewise.
39382 * malloc/hooks.c (malloc_hook_ini): Likewise.
39383 (realloc_hook_ini): Likewise.
39384 (memalign_hook_ini): Likewise.
39385 * malloc/malloc.c (malloc_hook_ini): Likewise.
39386 (realloc_hook_ini): Likewise.
39387 (memalign_hook_ini): Likewise.
39388 (__free_hook): Likewise.
39389 (__malloc_hook): Likewise.
39390 (__realloc_hook): Likewise.
39391 (__memalign_hook): Likewise.
39392 (__libc_malloc): Likewise.
39393 (__libc_free): Likewise.
39394 (__libc_realloc): Likewise.
39395 (__libc_memalign): Likewise.
39396 (__libc_valloc): Likewise.
39397 (__libc_pvalloc): Likewise.
39398 (__libc_calloc): Likewise.
39399 (__posix_memalign): Likewise.
39400 * malloc/morecore.c (__sbrk): Likewise.
39401 (__default_morecore): Likewise.
39402
39403 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39404
39405 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39406 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39407 __malloc_ptrdiff_t.
39408
39409 * malloc/malloc.h (__malloc_size_t): Remove macro.
39410 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39411 __malloc_size_t.
39412 (old_memalign_hook): Likewise.
39413 (old_realloc_hook): Likewise.
39414 (struct hdr): Likewise.
39415 (flood): Likewise.
39416 (mallochook): Likewise.
39417 (memalignhook): Likewise.
39418 (reallochook): Likewise.
39419 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39420 (tr_old_realloc_hook): Likewise.
39421 (tr_old_memalign_hook): Likewise.
39422 (tr_mallochook): Likewise.
39423 (tr_reallochook): Likewise.
39424 (tr_memalignhook): Likewise.
39425
39426 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39427
39428 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39429 default_ldbl_pack and using as default implementation.
39430 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39431 implementation.
39432 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39433 redundant definition.
39434 (ldbl_insert_mantissa): Likewise.
39435 (ldbl_canonicalize): Likewise.
39436 (ldbl_nearbyint): Likewise.
39437 (ldbl_pack): Rename to ldbl_pack_ppc.
39438 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39439 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39440 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39441
39442 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39443
39444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39445 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39446 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39447 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39449 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39450 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39451 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39452
39453 2013-03-07 Andreas Jaeger <aj@suse.de>
39454
39455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39456 bits/mman-linux.h.
39457
39458 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39459
39460 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39461 Include mpa.h and declare __MPEXP.
39462 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39463 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39464 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39465 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39466 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39467 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39468 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39469
39470 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39471 (__slowpow): Use long double EXPL and LOGL functions to
39472 compute POW.
39473 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39474 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39475 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39476 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39477 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39478 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39479
39480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39481 intermediate variable to calculate exponent.
39482 (__sqr): Likewise.
39483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39484 Likewise.
39485 (__sqr): Likewise.
39486
39487 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39488 [!NO__SQR]: Define __sqr.
39489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39490 and NO__SQR. Remove all code except __mul and __sqr. Include
39491 sysdeps/ieee754/dbl-64/mpa.c.
39492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39493
39494 [BZ #12723]
39495 * posix/Makefile (tests): Add tst-pathconf.
39496 * posix/tst-pathconf.c: New test case.
39497 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39498 _PC_PIPE_BUF.
39499 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39500
39501 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39502
39503 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39504
39505 2013-03-06 Andreas Jaeger <aj@suse.de>
39506
39507 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39508 definition via __MAP_ANONYMOUS.
39509
39510 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39511 it's not part of Linux headers.
39512
39513 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39514 (MAP_HUGE_MASK): Define.
39515
39516 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39517 Define.
39518 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39520 Define.
39521 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39522 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39523 Define.
39524 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39526 Define.
39527 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39528
39529 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39530 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39531 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39532 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39533 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39534 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39535
39536 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39537 Handle f2fs.
39538
39539 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39540 Handle f2fs and efivarfs.
39541
39542 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39543 f2fs.
39544
39545 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39546 (EFIVARFS_MAGIC): Add.
39547 (F2FS_LINK_MAX): Add.
39548
39549 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39550
39551 * stdio-common/vfprintf.c: Replace __builtin_expect with
39552 __glibc_unlikely.
39553
39554 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39555
39556 [BZ #13550]
39557 * sysdeps/generic/bp-sym.h: Remove file.
39558 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39559 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39560 <bp-sym.h> and <bp-asm.h>.
39561 (__longjmp): Don't use BP_SYM.
39562 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39563 and <bp-asm.h>.
39564 (memcpy): Don't use BP_SYM.
39565 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39566 <bp-sym.h> and <bp-asm.h>.
39567 (memcpy): Don't use BP_SYM.
39568 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39569 <bp-asm.h>.
39570 (memcpy): Don't use BP_SYM.
39571 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39572 <bp-asm.h>.
39573 (memset): Don't use BP_SYM.
39574 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39575 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39576 (__bzero): Don't use BP_SYM.
39577 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39578 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39579 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39580 <bp-sym.h> and <bp-asm.h>.
39581 (memcmp): Don't use BP_SYM. Remove comment about bounded
39582 pointers.
39583 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39584 <bp-sym.h> and <bp-asm.h>.
39585 (memcpy): Don't use BP_SYM.
39586 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39587 <bp-sym.h> and <bp-asm.h>.
39588 (memset): Don't use BP_SYM.
39589 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39590 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39591 (__bzero): Don't use BP_SYM.
39592 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39593 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39594 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39595 <bp-sym.h> and <bp-asm.h>.
39596 (strncmp): Don't use BP_SYM. Remove comment about bounded
39597 pointers.
39598 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39599 <bp-sym.h> and <bp-asm.h>.
39600 (memcpy): Don't use BP_SYM.
39601 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39602 <bp-sym.h> and <bp-asm.h>.
39603 (memset): Don't use BP_SYM.
39604 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39605 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39606 (__bzero): Don't use BP_SYM.
39607 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39608 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39609 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39610 <bp-sym.h> and <bp-asm.h>.
39611 (__memchr): Don't use BP_SYM.
39612 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39613 <bp-sym.h> and <bp-asm.h>.
39614 (memcmp): Don't use BP_SYM. Remove comment about bounded
39615 pointers.
39616 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39617 <bp-sym.h> and <bp-asm.h>.
39618 (memcpy): Don't use BP_SYM.
39619 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39620 <bp-sym.h> and <bp-asm.h>.
39621 (__mempcpy): Don't use BP_SYM.
39622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39623 <bp-sym.h> and <bp-asm.h>.
39624 (__memrchr): Don't use BP_SYM.
39625 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39626 <bp-sym.h> and <bp-asm.h>.
39627 (memset): Don't use BP_SYM.
39628 (__bzero): Likewise.
39629 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39630 <bp-sym.h> and <bp-asm.h>.
39631 (__rawmemchr): Don't use BP_SYM.
39632 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39633 <bp-sym.h> and <bp-asm.h>.
39634 (__STRCMP): Don't use BP_SYM.
39635 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39636 <bp-sym.h> and <bp-asm.h>.
39637 (strchr): Don't use BP_SYM.
39638 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39639 <bp-sym.h> and <bp-asm.h>.
39640 (__strchrnul): Don't use BP_SYM.
39641 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39642 <bp-sym.h> and <bp-asm.h>.
39643 (strlen): Don't use BP_SYM.
39644 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39645 <bp-sym.h> and <bp-asm.h>.
39646 (strncmp): Don't use BP_SYM. Remove comment about bounded
39647 pointers.
39648 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39649 <bp-sym.h> and <bp-asm.h>.
39650 (__strnlen): Don't use BP_SYM.
39651 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39652 <bp-sym.h> and <bp-asm.h>.
39653 (__GI__setjmp): Don't use BP_SYM.
39654 (_setjmp): Likewise.
39655 (__sigsetjmp): Likewise.
39656 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39657 (L(start_addresses)): Don't use BP_SYM.
39658 (_start): Likewise.
39659 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39660 <bp-asm.h>.
39661 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39662 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39663 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39664 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39665 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39666 <bp-asm.h>.
39667 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39668 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39669 about bounded pointers.
39670 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39671 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39672 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39673 <bp-asm.h>.
39674 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39675 about bounded pointers. Remove GKM FIXME comments.
39676 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39677 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39678 <bp-asm.h>.
39679 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39680 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39681 Remove GKM FIXME comments.
39682 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39683 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39684 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39685 <bp-asm.h>.
39686 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39687 about bounded pointers. Remove GKM FIXME comment.
39688 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39689 and <bp-asm.h>.
39690 (strncmp): Don't use BP_SYM. Remove comment about bounded
39691 pointers.
39692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39693 <bp-sym.h> and <bp-asm.h>.
39694 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39696 <bp-sym.h> and <bp-asm.h>.
39697 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39698 comment.
39699
39700 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39701
39702 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39703 call free(NULL).
39704
39705 2013-03-05 David S. Miller <davem@davemloft.net>
39706
39707 * po/es.po: Update from translation team.
39708
39709 2013-03-05 Andreas Jaeger <aj@suse.de>
39710
39711 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39712 <bits/mman-linux.h>.
39713 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39714 is fine.
39715 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39716 <bits/mman-linux.h> to end of file.
39717 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39718 is fine.
39719 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39720 <bits/mman-linux.h> to end of file.
39721 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39722 is fine.
39723 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39724 <bits/mman-linux.h> to end of file.
39725
39726 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39727 (MCL_CURRENT, MCL_FUTURE): Define here.
39728
39729 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39730
39731 [BZ #15232]
39732 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39733 attribute_hidden.
39734 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39735
39736 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39737
39738 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39739 fourth parameter needed for rt_sigprocmask syscall.
39740 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39741 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39742 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39743 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39744 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39745 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39746
39747 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39748
39749 [BZ #13550]
39750 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39751 comment about bounded pointers.
39752 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39753 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39754
39755 2013-03-04 Andreas Jaeger <aj@suse.de>
39756
39757 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39758 common definitions.
39759
39760 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39761 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39762 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39763 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39764 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39765 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39766
39767 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39768
39769 [BZ #15055]
39770 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39771 __ieee754_sqrl instead of __sqrl.
39772
39773 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39774
39775 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39776 * sysdeps/powerpc/fpu_control.h: ... here.
39777 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39778 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39779 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39780 * sysdeps/powerpc/bits/mathinline.h: ... here.
39781
39782 2013-03-01 Roland McGrath <roland@hack.frob.com>
39783
39784 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39785 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39786 to just [NEED_DL_SYSINFO_DSO].
39787 * elf/dl-support.c: Likewise.
39788 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39789 * elf/rtld.c (dl_main): Likewise.
39790 * elf/setup-vdso.h (setup_vdso): Likewise.
39791 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39792 * sysdeps/unix/sysv/linux/dl-sysdep.c
39793 (_dl_discover_osversion): Likewise.
39794
39795 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39796
39797 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39798 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39799
39800 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39801
39802 * NEWS: Mention libm performance improvements and non-x86 PI
39803 futex support.
39804
39805 * csu/libc-start.c (__pthread_initialize_minimal): Change
39806 function arguments.
39807 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39808
39809 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39810
39811 [BZ #13550]
39812 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39813 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39814 <bp-sym.h> and <bp-asm.h>.
39815 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39816 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39817 and <bp-asm.h>.
39818 (memcpy): Don't use BP_SYM.
39819 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39820 <bp-asm.h>.
39821 (__mpn_add_n): Don't use BP_SYM.
39822 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39823 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39824 and <bp-asm.h>.
39825 (__mpn_addmul_1): Don't use BP_SYM.
39826 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39827 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39828 <bp-sym.h>.
39829 (_setjmp): Don't use BP_SYM.
39830 (__novmx_setjmp): Likewise.
39831 (__GI__setjmp): Likewise.
39832 (__vmx_setjmp): Likewise.
39833 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39834 <bp-sym.h>.
39835 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39836 (__bzero): Don't use BP_SYM.
39837 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39838 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39839 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39840 <bp-sym.h> and <bp-asm.h>.
39841 (memcpy): Don't use BP_SYM.
39842 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39843 <bp-sym.h> and <bp-asm.h>.
39844 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39845 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39846 <bp-sym.h> and <bp-asm.h>.
39847 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39848 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39849 <bp-asm.h>.
39850 (__mpn_lshift): Don't use BP_SYM.
39851 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39852 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39853 <bp-asm.h>.
39854 (memset): Don't use BP_SYM.
39855 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39856 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39857 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39858 <bp-asm.h>.
39859 (__mpn_mul_1): Don't use BP_SYM.
39860 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39862 <bp-sym.h> and <bp-asm.h>.
39863 (memcmp): Don't use BP_SYM.
39864 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39865 <bp-sym.h> and <bp-asm.h>.
39866 (memcpy): Don't use BP_SYM.
39867 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39868 <bp-sym.h> and <bp-asm.h>.
39869 (memset): Don't use BP_SYM.
39870 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39871 <bp-sym.h> and <bp-asm.h>.
39872 (strncmp): Don't use BP_SYM.
39873 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39874 <bp-sym.h> and <bp-asm.h>.
39875 (memcpy): Don't use BP_SYM.
39876 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39877 <bp-sym.h> and <bp-asm.h>.
39878 (memset): Don't use BP_SYM.
39879 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39880 <bp-sym.h> and <bp-asm.h>.
39881 (__memchr): Don't use BP_SYM.
39882 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39883 <bp-sym.h> and <bp-asm.h>.
39884 (memcmp): Don't use BP_SYM.
39885 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39886 <bp-sym.h> and <bp-asm.h>.
39887 (memcpy): Don't use BP_SYM.
39888 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39889 <bp-sym.h> and <bp-asm.h>.
39890 (__mempcpy): Don't use BP_SYM.
39891 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39892 <bp-sym.h> and <bp-asm.h>.
39893 (__memrchr): Don't use BP_SYM.
39894 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39895 <bp-sym.h> and <bp-asm.h>.
39896 (memset): Don't use BP_SYM.
39897 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39898 <bp-sym.h> and <bp-asm.h>.
39899 (__rawmemchr): Don't use BP_SYM.
39900 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39901 <bp-sym.h> and <bp-asm.h>.
39902 (__STRCMP): Don't use BP_SYM.
39903 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39904 <bp-sym.h> and <bp-asm.h>.
39905 (strchr): Don't use BP_SYM.
39906 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39907 <bp-sym.h> and <bp-asm.h>.
39908 (__strchrnul): Don't use BP_SYM.
39909 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39910 <bp-sym.h> and <bp-asm.h>.
39911 (strlen): Don't use BP_SYM.
39912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39913 <bp-sym.h> and <bp-asm.h>.
39914 (strncmp): Don't use BP_SYM.
39915 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39916 <bp-sym.h> and <bp-asm.h>.
39917 (__strnlen): Don't use BP_SYM.
39918 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39919 <bp-asm.h>.
39920 (__mpn_rshift): Don't use BP_SYM.
39921 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39922 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39923 <bp-sym.h> and <bp-asm.h>.
39924 (__sigsetjmp): Don't use BP_SYM.
39925 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39926 (L(start_addresses)): Don't use BP_SYM.
39927 (_start): Likewise.
39928 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39929 <bp-asm.h>.
39930 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39931 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39932 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39933 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39934 <bp-asm.h>.
39935 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39936 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39937 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39938 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39939 <bp-asm.h>.
39940 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39941 comments.
39942 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39943 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39944 <bp-asm.h>.
39945 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39946 FIXME comments.
39947 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39948 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39949 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39950 <bp-asm.h>.
39951 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39952 comment.
39953 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39954 and <bp-asm.h>.
39955 (strncmp): Don't use BP_SYM,
39956 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39957 <bp-asm.h>.
39958 (__mpn_sub_n): Don't use BP_SYM.
39959 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39960 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39961 and <bp-asm.h>.
39962 (__mpn_submul_1): Don't use BP_SYM.
39963 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39965 <bp-sym.h> and <bp-asm.h>.
39966 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39968 <bp-sym.h> and <bp-asm.h>.
39969 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39970 comment.
39971
39972 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39973
39974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39975 Use ZK to minimize writes to Z.
39976 (sub_magnitudes): Simplify code a bit.
39977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39978 Use ZK to minimize writes to Z.
39979 (sub_magnitudes): Simplify code a bit.
39980
39981 2013-02-27 Roland McGrath <roland@hack.frob.com>
39982
39983 * csu/gmon-start.c: Add special exception to license text.
39984
39985 2013-02-27 Richard Henderson <rth@redhat.com>
39986
39987 * scripts/config.guess: Update from config.git.
39988 * scripts/config.sub: Likewise.
39989
39990 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39991
39992 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39993
39994 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39995
39996 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39997
39998 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39999
40000 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40001
40002 2013-02-26 Roland McGrath <roland@hack.frob.com>
40003
40004 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40005 [$(build-shared = yes].
40006
40007 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40008
40009 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40010 (__mul): Reduce iterations for calculating mantissa.
40011
40012 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40013 MPTWO.
40014 (__mpranred): Likewise.
40015
40016 [BZ #15160]
40017 * malloc/memusagestat.c (main): Draw graphs for heap and stack
40018 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40019
40020 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
40021
40022 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40023 Define __attribute__.
40024
40025 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40026
40027 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40028 unused.
40029 * posix/regex_internal.h (__attribute): Remove.
40030 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40031 (re_string_context_at): Likewise.
40032 (bitset_not): Use __attribute__ and mark function as possibly
40033 unused.
40034 (bitset_merge): Likewise.
40035 (bitset_mask): Likewise.
40036 (re_string_char_size_at): Likewise.
40037 (re_string_wchar_at): Likewise.
40038 (re_string_elem_size_at): Likewise.
40039
40040 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40041
40042 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40043 code.
40044 (cc32): Likewise.
40045
40046 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40047 (__acr): Likewise.
40048 (__cpy): Likewise.
40049 (norm): Likewise.
40050 (denorm): Likewise.
40051 (__dbl_mp): Likewise.
40052 (add_magnitudes): Likewise.
40053 (sub_magnitudes): Likewise.
40054 (__mul): Likewise.
40055 (__inv): Likewise.
40056
40057 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40058 style.
40059
40060 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40061 style.
40062
40063 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40064 code.
40065
40066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40067 up changes with default code.
40068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40069 Likewise.
40070
40071 2013-02-24 Allan McRae <allan@archlinux.org>
40072
40073 * manual/socket.texi (The Internet Namespace): Order menu items
40074 to match that in the file.
40075
40076 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40077 node listing of the info page menu.
40078
40079 2013-02-21 Joseph Myers <joseph@codesourcery.com>
40080
40081 [BZ #13550]
40082 * sysdeps/i386/bp-asm.h: Remove file.
40083 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40084 (PARMS): Do not use macros from bp-asm.h.
40085 (S1): Likewise.
40086 (S2): Likewise.
40087 (SIZE): Likewise.
40088 (__mpn_add_n): Do not use BP_SYM
40089 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40090 "bp-asm.h".
40091 (PARMS): Do not use macros from bp-asm.h.
40092 (S1): Likewise.
40093 (SIZE): Likewise.
40094 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
40101 "bp-asm.h".
40102 (PARMS): Do not use macros from bp-asm.h.
40103 (SIGMSK): Likewise.
40104 (setjmp): Likewise. Do not use BP_SYM.
40105 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40106 "bp-asm.h".
40107 (PARMS): Do not use macros from bp-asm.h.
40108 (__frexp): Do not use BP_SYM.
40109 (frexp): Likewise.
40110 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40111 "bp-asm.h".
40112 (PARMS): Do not use macros from bp-asm.h.
40113 (__frexpf): Do not use BP_SYM.
40114 (frexpf): Likewise.
40115 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40116 "bp-asm.h".
40117 (PARMS): Do not use macros from bp-asm.h.
40118 (__frexpl): Do not use BP_SYM.
40119 (frexpl): Likewise.
40120 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40121 "bp-asm.h".
40122 (PARMS): Do not use macros from bp-asm.h.
40123 (__remquo): Do not use BP_SYM.
40124 (remquo): Likewise.
40125 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40126 "bp-asm.h".
40127 (PARMS): Do not use macros from bp-asm.h.
40128 (__remquof): Do not use BP_SYM.
40129 (remquof): Likewise.
40130 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40131 "bp-asm.h".
40132 (PARMS): Do not use macros from bp-asm.h.
40133 (__remquol): Do not use BP_SYM.
40134 (remquol): Likewise.
40135 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40136 "bp-asm.h".
40137 (PARMS): Do not use macros from bp-asm.h.
40138 (DEST): Likewise.
40139 (SRC): Likewise.
40140 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40141 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40142 "bp-asm.h".
40143 (PARMS): Do not use macros from bp-asm.h.
40144 (strlen): Do not use BP_SYM.
40145 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40146 "bp-asm.h".
40147 (PARMS): Do not use macros from bp-asm.h.
40148 (S1): Likewise.
40149 (S2): Likewise.
40150 (SIZE): Likewise.
40151 (__mpn_add_n): Do not use BP_SYM.
40152 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40153 "bp-asm.h".
40154 (PARMS): Do not use macros from bp-asm.h.
40155 (S1): Likewise.
40156 (SIZE): Likewise.
40157 (__mpn_addmul_1): Do not use BP_SYM.
40158 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40159 weak_alias.
40160 (bzero): Likewise.
40161 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40162 "bp-asm.h".
40163 (PARMS): Do not use macros from bp-asm.h.
40164 (S): Likewise.
40165 (SIZE): Likewise.
40166 (__mpn_lshift): Do not use BP_SYM.
40167 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40168 "bp-asm.h".
40169 (PARMS): Do not use macros from bp-asm.h.
40170 (DEST): Likewise.
40171 (SRC): Likewise.
40172 (LEN): Likewise.
40173 (memcpy): Likewise. Do not use BP_SYM.
40174 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40175 libc_hidden_def and weak_alias.
40176 (mempcpy): Do not use BP_SYM in weak_alias.
40177 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40178 "bp-asm.h".
40179 (PARMS): Do not use macros from bp-asm.h.
40180 (DEST): Likewise.
40181 (LEN): Likewise.
40182 [!BZERO_P] (CHR): Likewise.
40183 (memset): Likewise. Do not use BP_SYM.
40184 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40185 "bp-asm.h".
40186 (PARMS): Do not use macros from bp-asm.h.
40187 (S1): Likewise.
40188 (SIZE): Likewise.
40189 (__mpn_mul_1): Do not use BP_SYM.
40190 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40191 "bp-asm.h".
40192 (PARMS): Do not use macros from bp-asm.h.
40193 (S): Likewise.
40194 (SIZE): Likewise.
40195 (__mpn_rshift): Do not use BP_SYM.
40196 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40197 "bp-asm.h".
40198 (PARMS): Do not use macros from bp-asm.h.
40199 (STR): Likewise.
40200 (CHR): Likewise.
40201 (strchr): Likewise. Do not use BP_SYM.
40202 (index): Do not use BP_SYM in weak_alias.
40203 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40204 "bp-asm.h".
40205 (PARMS): Do not use macros from bp-asm.h.
40206 (DEST): Likewise.
40207 (SRC): Likewise.
40208 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40209 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40210 "bp-asm.h".
40211 (PARMS): Do not use macros from bp-asm.h.
40212 (strlen): Do not use BP_SYM.
40213 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40214 "bp-asm.h".
40215 (PARMS): Do not use macros from bp-asm.h.
40216 (S1): Likewise.
40217 (S2): Likewise.
40218 (SIZE): Likewise.
40219 (__mpn_sub_n): Do not use BP_SYM.
40220 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40221 "bp-asm.h".
40222 (PARMS): Do not use macros from bp-asm.h.
40223 (S1): Likewise.
40224 (SIZE): Likewise.
40225 (__mpn_submul_1): Do not use BP_SYM.
40226 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40227 "bp-asm.h".
40228 (PARMS): Do not use macros from bp-asm.h.
40229 (S1): Likewise.
40230 (S2): Likewise.
40231 (SIZE): Likewise.
40232 (__mpn_add_n): Do not use BP_SYM.
40233 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40234 weak_alias.
40235 (bzero): Likewise.
40236 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40237 "bp-asm.h".
40238 (PARMS): Do not use macros from bp-asm.h.
40239 (BLK2): Likewise.
40240 (LEN): Likewise.
40241 (memcmp): Do not use BP_SYM.
40242 (bcmp): Do not use BP_SYM in weak_alias.
40243 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40244 "bp-asm.h".
40245 (PARMS): Do not use macros from bp-asm.h.
40246 (DEST): Likewise.
40247 (SRC): Likewise.
40248 (LEN): Likewise.
40249 (memcpy): Likewise. Do not use BP_SYM.
40250 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40251 "bp-asm.h".
40252 (PARMS): Do not use macros from bp-asm.h.
40253 (DEST): Likewise.
40254 (SRC): Likewise.
40255 (LEN): Likewise.
40256 (memmove): Likewise. Do not use BP_SYM.
40257 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40258 "bp-asm.h".
40259 (PARMS): Do not use macros from bp-asm.h.
40260 (DEST): Likewise.
40261 (SRC): Likewise.
40262 (LEN): Likewise.
40263 (__mempcpy): Likewise. Do not use BP_SYM.
40264 (mempcpy): Do not use BP_SYM in weak_alias.
40265 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40266 "bp-asm.h".
40267 (PARMS): Do not use macros from bp-asm.h.
40268 (DEST): Likewise.
40269 (LEN): Likewise.
40270 [!BZERO_P] (CHR): Likewise.
40271 (memset): Likewise. Do not use BP_SYM.
40272 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40273 "bp-asm.h".
40274 (PARMS): Do not use macros from bp-asm.h.
40275 (STR2): Likewise.
40276 (strcmp): Do not use BP_SYM.
40277 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40278 "bp-asm.h".
40279 (PARMS): Do not use macros from bp-asm.h.
40280 (STR): Likewise.
40281 (DELIM): Likewise.
40282 [USE_AS_STRTOK_R] (SAVE): Likewise.
40283 (FUNCTION): Likewise. Do not use BP_SYM.
40284 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40285 aliases.
40286 (strtok_r): Likewise.
40287 (__GI___strtok_r): Likewise.
40288 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40289 (PARMS): Do not use macros from bp-asm.h.
40290 (S): Likewise.
40291 (SIZE): Likewise.
40292 (__mpn_lshift): Do not use BP_SYM.
40293 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40294 (PARMS): Do not use macros from bp-asm.h.
40295 (STR): Likewise.
40296 (CHR): Likewise.
40297 (__memchr): Do not use BP_SYM.
40298 (memchr): Do not use BP_SYM in weak_alias.
40299 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40300 (PARMS): Do not use macros from bp-asm.h.
40301 (BLK2): Likewise.
40302 (LEN): Likewise.
40303 (memcmp): Do not use BP_SYM.
40304 (bcmp): Do not use BP_SYM in weak_alias.
40305 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40306 (PARMS): Do not use macros from bp-asm.h.
40307 (S1): Likewise.
40308 (SIZE): Likewise.
40309 (__mpn_mul_1): Do not use BP_SYM.
40310 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40311 "bp-asm.h".
40312 (PARMS): Do not use macros from bp-asm.h.
40313 (STR): Likewise.
40314 (CHR): Likewise.
40315 (__rawmemchr): Do not use BP_SYM.
40316 (rawmemchr): Do not use BP_SYM in weak_alias.
40317 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40318 (PARMS): Do not use macros from bp-asm.h.
40319 (S): Likewise.
40320 (SIZE): Likewise.
40321 (__mpn_rshift): Do not use BP_SYM.
40322 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40323 (PARMS): Do not use macros from bp-asm.h.
40324 (SIGMSK): Likewise.
40325 (__sigsetjmp): Likewise. Do not use BP_SYM.
40326 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40327 (_start): Do not use BP_SYM.
40328 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40329 (PARMS): Do not use macros from bp-asm.h.
40330 (DEST): Likewise.
40331 (SRC): Likewise.
40332 (__stpcpy): Likewise. Do not use BP_SYM.
40333 (stpcpy): Do not use BP_SYM in weak_alias.
40334 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40335 "bp-asm.h".
40336 (PARMS): Do not use macros from bp-asm.h.
40337 (DEST): Likewise.
40338 (SRC): Likewise.
40339 (LEN): Likewise.
40340 (__stpncpy): Likewise. Do not use BP_SYM.
40341 (stpncpy): Do not use BP_SYM in weak_alias.
40342 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40343 (PARMS): Do not use macros from bp-asm.h.
40344 (STR): Likewise.
40345 (CHR): Likewise.
40346 (strchr): Likewise. Do not use BP_SYM.
40347 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40348 "bp-asm.h".
40349 (PARMS): Do not use macros from bp-asm.h.
40350 (STR): Likewise.
40351 (CHR): Likewise.
40352 (__strchrnul): Likewise. Do not use BP_SYM.
40353 (strchrnul): Do not use BP_SYM in weak_alias.
40354 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40355 "bp-asm.h".
40356 (PARMS): Do not use macros from bp-asm.h.
40357 (STOP): Likewise.
40358 (strcspn): Do not use BP_SYM.
40359 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40360 "bp-asm.h".
40361 (PARMS): Do not use macros from bp-asm.h.
40362 (STR): Likewise.
40363 (STOP): Likewise.
40364 (strpbrk): Likewise. Do not use BP_SYM.
40365 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40366 "bp-asm.h".
40367 (PARMS): Do not use macros from bp-asm.h.
40368 (STR): Likewise.
40369 (CHR): Likewise.
40370 (strrchr): Likewise. Do not use BP_SYM.
40371 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40372 (PARMS): Do not use macros from bp-asm.h.
40373 (SKIP): Likewise.
40374 (strspn): Do not use BP_SYM.
40375 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40376 (PARMS): Do not use macros from bp-asm.h.
40377 (STR): Likewise.
40378 (DELIM): Likewise.
40379 (SAVE): Likewise.
40380 (FUNCTION): Likewise. Do not use BP_SYM.
40381 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40382 aliases.
40383 (strtok_r): Likewise.
40384 (__GI___strtok_r): Likewise.
40385 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40386 (PARMS): Do not use macros from bp-asm.h.
40387 (S1): Likewise.
40388 (S2): Likewise.
40389 (SIZE): Likewise.
40390 (__mpn_sub_n): Do not use BP_SYM.
40391 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40392 "bp-asm.h".
40393 (PARMS): Do not use macros from bp-asm.h.
40394 (S1): Likewise.
40395 (SIZE): Likewise.
40396 (__mpn_submul_1): Do not use BP_SYM.
40397 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40398 <bp-sym.h>.
40399 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40400 and <bp-asm.h>.
40401 (PARMS): Do not use macros from bp-asm.h.
40402 (FLAGS): Likewise.
40403 (PTID): Likewise.
40404 (TLS): Likewise.
40405 (CTID): Likewise.
40406 (__clone): Do not use BP_SYM.
40407 (clone): Do not use BP_SYM in weak_alias.
40408 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40409 and <bp-asm.h>.
40410 (PARMS): Do not use macros from bp-asm.h.
40411 (LEN): Likewise.
40412 (__mmap64): Do not use BP_SYM.
40413 (mmap64): Do not use BP_SYM in weak_alias.
40414 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40415 <bp-sym.h> and <bp-asm.h>.
40416 (PARMS): Do not use macros from bp-asm.h.
40417 (__posix_fadvise64_l64): Do not use BP_SYM.
40418 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40419 (PARMS): Do not use macros from bp-asm.h.
40420 (NSOPS): Likewise.
40421 (semtimedop): Do not use BP_SYM.
40422 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40423 and <bp-asm.h>.
40424
40425 2013-02-21 Allan McRae <allan@archlinux.org>
40426
40427 * manual/message.texi (Charset conversion in gettext):
40428 Move @end statement to beginning of line.
40429
40430 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40431
40432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40433 static.
40434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40435 Likewise.
40436
40437 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40438 (denorm): Likewise.
40439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40441
40442 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40443
40444 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40445 tail-call to the resolved function if pltexit isn't needed.
40446
40447 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40448
40449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40450 or Y being zero as being unlikely.
40451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40452 Likewise.
40453
40454 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40455
40456 * manual/nss.texi (System Databases and Name Service Switch):
40457 Remove frobnicate @pxref.
40458
40459 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40460
40461 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40462 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40463
40464 2013-02-20 Petr Machata <pmachata@redhat.com>
40465
40466 * elf/elf.h (R_ARM_TARGET1): New macro.
40467 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40468 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40469 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40470 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40471 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40472 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40473 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40474 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40475 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40476 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40477 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40478 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40479 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40480 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40481 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40482 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40483 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40484 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40485 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40486 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40487 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40488 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40489 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40490 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40491 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40492 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40493 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40494 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40495 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40496 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40497 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40498 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40499 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40500 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40501 (R_ARM_THM_GOT_BREL12): Likewise.
40502 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40503 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40504 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40505 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40506 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40507 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40508 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40509 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40510 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40511
40512 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40513
40514 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40515 __attribute_used__ to __attribute__ ((unused)).
40516
40517 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40518
40519 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40520 powerpc mpa.c.
40521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40522 comment formatting.
40523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40524
40525 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40526
40527 [BZ #13550]
40528 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40529 Remove macro.
40530 (ENTER): Remove both macro definitions.
40531 (LEAVE): Likewise.
40532 (CHECK_BOUNDS_LOW): Likewise.
40533 (CHECK_BOUNDS_HIGH): Likewise.
40534 (CHECK_BOUNDS_BOTH): Likewise.
40535 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40536 (RETURN_BOUNDED_POINTER): Likewise.
40537 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40538 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40539 (POP_ERRNO_LOCATION_RETURN): Likewise.
40540 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40541 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40542 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40543 macros.
40544 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40545 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40546 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40547 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40548 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40549 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40550 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40551 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40552 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40553 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40554 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40555 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40556 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40557 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40558 removed macros.
40559 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40560 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40561 macros.
40562 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40563 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40564 * sysdeps/i386/i586/memset.S (memset): Likewise.
40565 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40566 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40567 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40568 macros.
40569 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40570 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40571 Change uses of L(2) to L(out).
40572 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40573 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40574 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40575 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40576 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40577 removed macros.
40578 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40579 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40580 macros.
40581 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40582 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40583 (RETURN): Do not use macro LEAVE.
40584 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40585 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40586 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40587 * sysdeps/i386/i686/memset.S (memset): Likewise.
40588 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40589 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40590 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40591 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40592 Likewise.
40593 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40594 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40595 L(1_2) and L(1_3) into L(1).
40596 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40597 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40598 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40599 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40600 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40601 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40602 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40603 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40604 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40605 macros.
40606 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40607 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40608 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40609 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40610 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40611 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40612 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40613 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40614 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40615 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40616 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40617 * sysdeps/i386/strspn.S (strspn): Likewise.
40618 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40619 conditional code.
40620 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40621 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40622 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40623 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40624 L(1_3) into L(1_1).
40625 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40626 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40627 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40628 macros.
40629 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40630
40631 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40632
40633 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40634 macro.
40635
40636 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40637
40638 * math/atest-exp.c (exp_mpn): Remove ROUND.
40639 * math/atest-exp2.c (exp_mpn): Likewise.
40640 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40641
40642 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40643 * stdlib/tst-tls-atexit-lib.c: Likewise.
40644 * stdlib/tst-tls-atexit.c: Likewise.
40645
40646 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40647
40648 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40649 and __attribute_alloc_size__.
40650
40651 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40652
40653 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40654 __attribute_alloc_size__.
40655 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40656 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40657
40658 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40659
40660 * include/programs/xmalloc.h: New file.
40661 * catgets/gencat.c: Include it.
40662 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40663 * elf/pldd.c: Likewise.
40664 * iconv/iconv_charmap.c: Likewise.
40665 * iconv/iconvconfig.c: Likewise.
40666 * iconv/strtab.c: Likewise.
40667 * locale/programs/locale.c: Likewise.
40668 * locale/programs/localedef.h: Likewise.
40669 * locale/programs/simple-hash.c: Likewise.
40670 * nscd/nscd.h: Likewise.
40671 * nss/makedb.c: Likewise.
40672 * sysdeps/generic/ldconfig.h: Likewise.
40673
40674 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40675
40676 * Versions.def: Add GLIBC_2.18.
40677 * include/link.h (struct link_map): New member l_tls_dtor_count.
40678 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40679 (__call_tls_dtors): Likewise.
40680 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40681 __cxa_thread_atexit_impl.
40682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40683 Likewise.
40684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40685 Likewise.
40686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40687 Likewise.
40688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40689 Likewise.
40690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40692 Likewise.
40693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40694 Likewise.
40695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40697 Likewise.
40698 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40699 (tests): Add test case tst-tls-atexit.
40700 (modules-names): Add shared library for tst-tls-atexit.
40701 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40702 (GLIBC_PRIVATE): Add __call_tls_dtors.
40703 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40704 for libstdc++.
40705 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40706 * stdlib/tst-tls-atexit.c: New test case.
40707 * stdlib/tst-tls-atexit-lib.c: New test case.
40708
40709 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40710
40711 * elf/Versions (ld): Add _dl_find_dso_for_object.
40712 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40713 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40714 (dl_open_worker): Use _dl_find_dso_for_object.
40715 * elf/dl-sym.c (do_sym): Likewise.
40716 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40717
40718 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40719
40720 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40721 Syntactic changes only.
40722 (_dl_runtime_profile): Do a tail-call to the resolved function.
40723
40724 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40725
40726 [BZ #13550]
40727 * sysdeps/x86_64/bp-asm.h: Remove file.
40728 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40729 <bp-sym.h> and <bp-asm.h>.
40730 (__clone): Do not use BP_SYM.
40731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40732 <bp-sym.h> and <bp-asm.h>.
40733 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40734 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40735 "bp-asm.h".
40736 (_setjmp): Do not use BP_SYM.
40737 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40738 "bp-asm.h".
40739 (setjmp): Do not use BP_SYM.
40740 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40741 libc_hidden_def.
40742 (mempcpy): Do not use BP_SYM in weak_alias.
40743 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40744 "bp-asm.h".
40745 (strchr): Do not use BP_SYM.
40746 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40747 "bp-asm.h".
40748 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40749 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40750 (_start): Do not use BP_SYM.
40751 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40752 "bp-asm.h".
40753 (strcat): Do not use BP_SYM.
40754 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40755 "bp-asm.h".
40756 (STRCMP): Do not use BP_SYM.
40757 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40758 "bp-asm.h".
40759 (STRCPY): Do not use BP_SYM.
40760 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40761 "bp-asm.h".
40762 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40763 "bp-asm.h".
40764 (FUNCTION): Do not use BP_SYM.
40765 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40766 weak_alias.
40767 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40768
40769 2013-02-17 Andreas Jaeger <aj@suse.de>
40770
40771 * time/Versions: Sort entries.
40772 * string/Versions: Likewise.
40773 * resolv/Versions: Likewise.
40774 * posix/Versions: Likewise.
40775 * iconv/Versions: Likewise.
40776 * elf/Versions: Likewise.
40777 * wcsmbs/Versions: Likewise.
40778
40779 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40780
40781 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40782 loop termination condition.
40783
40784 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40785 variable to calculate EZ.
40786 (__sqr): Likewise.
40787
40788 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40789 the lower precision input.
40790
40791 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40792
40793 [BZ #13550]
40794 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40795 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40796 (run-via-rtld-prefix): Do not handle %-bp tests.
40797 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40798 (all-object-suffixes): Remove .ob.
40799 (bppfx): Remove variable.
40800 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40801 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40802 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40803 [$(build-bounded) = yes] (libtype.ob): Likewise.
40804 * Makerules (elide-routines.ob): Remove variable.
40805 (do-tests-clean): Do not handle *-bp.out.
40806 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40807 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40808 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40809 (tests): Do not include $(tests-bp.out).
40810 (xtests): Do not include $(xtests-bp.out).
40811 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40812 [$(build-bounded) = yes] ($(addprefix
40813 $(objpfx),$(binaries-bounded))): Remove rule.
40814 ($(objpfx)%-bp.out): Remove rule.
40815 * config.make.in (build-bounded): Remove variable.
40816 * crypt/Makefile [$(build-bounded) = yes]
40817 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40818 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40819 append to variable.
40820 [$(build-bounded) = yes] (install-lib): Likewise.
40821 [$(build-bounded) = yes] (generated): Likewise.
40822 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40823 Remove rule.
40824 * intl/Makefile [$(build-bounded) = yes]
40825 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40826 * math/Makefile [$(build-bounded) = yes]
40827 ($(tests:%=$(objpfx)%-bp): Likewise.
40828 * misc/Makefile [$(build-bounded) = yes]
40829 ($(objpfx)tst-tsearch-bp): Likewise.
40830 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40831 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40832 Remove dependency.
40833 * string/Makefile (o-objects.ob): Remove variable.
40834 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40835 (CFLAGS-.ob): Remove variable.
40836 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40837 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40838 both definitions of variable.
40839 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40840 (ASFLAGS-.ob): Remove variable.
40841
40842 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40843
40844 [BZ #13550]
40845 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40846 Remove __BOUNDED_POINTERS__ from condition.
40847 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40848 * string/bits/string2.h [!__NO_STRING_INLINES &&
40849 !__BOUNDED_POINTERS__]: Likewise.
40850 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40851 Likewise.
40852 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40853 Remove conditional code.
40854 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40855 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40856 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40857 condition.
40858
40859 [BZ #13550]
40860 * csu/libc-start.c: Do not include <bp-sym.h>.
40861 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40862 * elf/dl-open.c: Do not include <bp-sym.h>.
40863 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40864 * math/fegetenv.c: Do not include <bp-sym.h>.
40865 (fegetenv): Do not use BP_SYM in versioned symbols.
40866 * nptl/sysdeps/pthread/bits/libc-lockP.h
40867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40868 <bp-sym.h>.
40869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40870 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40872 (__pthread_mutex_destroy): Likewise.
40873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40874 (__pthread_mutex_lock): Likewise.
40875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40876 (__pthread_mutex_trylock): Likewise.
40877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40878 (__pthread_mutex_unlock): Likewise.
40879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40880 (__pthread_mutexattr_init): Likewise.
40881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40882 (__pthread_mutexattr_destroy): Likewise.
40883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40884 (__pthread_mutexattr_settype): Likewise.
40885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40886 (__pthread_rwlock_init): Likewise.
40887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40888 (__pthread_rwlock_destroy): Likewise.
40889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40890 (__pthread_rwlock_rdlock): Likewise.
40891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40892 (__pthread_rwlock_tryrdlock): Likewise.
40893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40894 (__pthread_rwlock_wrlock): Likewise.
40895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40896 (__pthread_rwlock_trywrlock): Likewise.
40897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40898 (__pthread_rwlock_unlock): Likewise.
40899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40900 (__pthread_key_create): Likewise.
40901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40902 (__pthread_setspecific): Likewise.
40903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40904 (__pthread_getspecific): Likewise.
40905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40906 Likewise.
40907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40908 (_pthread_cleanup_push_defer): Likewise.
40909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40910 (_pthread_cleanup_pop_restore): Likewise.
40911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40912 (pthread_setcancelstate): Likewise.
40913 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40914 <bp-sym.h>.
40915 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40916 (memchr): Do not use BP_SYM in weak_alias.
40917 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40918 (fegetenv): Do not use BP_SYM in versioned symbols.
40919 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40920 (fesetenv): Do not use BP_SYM in versioned symbols.
40921 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40922 (feupdateenv): Do not use BP_SYM in versioned symbols.
40923 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40924 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40925 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40926 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40927 (open64): Do not use BP_SYM in weak_alias.
40928 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40929 (fegetenv): Do not use BP_SYM in versioned symbols.
40930 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40931 (fesetenv): Do not use BP_SYM in versioned symbols.
40932 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40933 (feupdateenv): Do not use BP_SYM in versioned symbols.
40934 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40935 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40936 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40937 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40938 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40939 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40940 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40941 <bp-sym.h>.
40942 (__libc_start_main): Do not use BP_SYM.
40943
40944 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40945
40946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40947 redundant return line.
40948 (norm): Likewise.
40949 (denorm): Likewise.
40950 (dbl_mp): Likewise.
40951 (sub_magnitudes): Likewise.
40952 (__add): Likewise.
40953 (__sub): Likewise.
40954 (__mul): Likewise.
40955 (__inv): Likewise.
40956 (__dvd): Likewise.
40957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40958 (norm): Likewise.
40959 (denorm): Likewise.
40960 (dbl_mp): Likewise.
40961 (sub_magnitudes): Likewise.
40962 (__add): Likewise.
40963 (__sub): Likewise.
40964 (__mul): Likewise.
40965 (__inv): Likewise.
40966 (__dvd): Likewise.
40967
40968 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40969 instead of __mul.
40970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40971 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40972 (cc32): Likewise.
40973
40974 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40975 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40977 of __mul for squares.
40978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40979 function
40980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40981 Likewise.
40982 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40983 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40984
40985 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40986
40987 [BZ #13550]
40988 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40989 code.
40990 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40991 prototype or function definition. Rename ubp_* variables and
40992 parameters. Remove argv definitions conditional on
40993 [__BOUNDED_POINTERS__].
40994 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40995 * elf/dl-runtime.c (_dl_fixup): Likewise.
40996 * include/set-hooks.h (RUN_HOOK): Likewise.
40997 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40998 definition.
40999 * string/strcpy.c (strcpy): Do not use __unbounded.
41000 * sysdeps/generic/frame.h (struct layout): Likewise.
41001 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41002 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41003 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41004 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41005 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41006 (__backtrace): Likewise.
41007 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41008 use __ptrvalue.
41009 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41010 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41011 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41012 Likewise.
41013 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41014 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41015 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41016 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41017 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41018 Do not use __unbounded.
41019 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41020 Rename __unboundedrlimits parameter to rlimits in prototype.
41021 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41022 Do not use __unbounded.
41023 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41024 not use __ptrvalue.
41025 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41026 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41027 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41028 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41029 __ptrvalue or __unbounded.
41030 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41031 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41032 use __unbounded.
41033 (__new_msgctl): Do not use __ptrvalue.
41034 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41035 __unbounded.
41036 (__libc_msgrcv): Do not use __ptrvalue.
41037 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41038 startup_info): Do not use __unbounded.
41039 (__libc_start_main): Likewise. Rename ubp_* variables and
41040 parameters. Remove argv definitions conditional on
41041 [__BOUNDED_POINTERS__].
41042 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41043 __ptrvalue.
41044 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41045 use __unbounded.
41046 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41047 or __ptrvalue.
41048 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41049 use __unbounded.
41050 (__new_shmctl): Do not use __ptrvalue.
41051 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41052 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41053 Likewise.
41054 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41055 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41056 (__libc_sigaction): Likewise.
41057 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41058 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41059 Likewise.
41060 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41061
41062 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
41063
41064 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41065
41066 * string/mempcpy.c: Implement by calling memcpy.
41067
41068 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41069
41070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41071
41072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41073 evaluation.
41074
41075 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41076 values in the mantissa.
41077
41078 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41079 minimize writes to Z.
41080 (sub_magnitudes): Simplify code a bit.
41081
41082 2013-02-12 Roland McGrath <roland@hack.frob.com>
41083
41084 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41085 from the message. The linker prefixes all warnings with that already.
41086
41087 2013-02-12 Andreas Schwab <schwab@suse.de>
41088
41089 [BZ #15078]
41090 * posix/regexec.c (extend_buffers): Add parameter min_len.
41091 (check_matching): Pass minimum needed length.
41092 (clean_state_log_if_needed): Likewise.
41093 (get_subexp): Likewise.
41094 * posix/Makefile (tests): Add bug-regex34.
41095 (bug-regex34-ENV): Define.
41096 * posix/bug-regex34.c: New file.
41097
41098 [BZ #11561]
41099 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41100 elements compare against the byte sequence of it, not its name.
41101 * posix/Makefile (tests): Add bug-regex35.
41102 (bug-regex35-ENV): Define.
41103 * posix/bug-regex35.c: New file.
41104
41105 2013-02-11 Tom de Vries <tom@codesourcery.com>
41106
41107 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41108 comment.
41109 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41110 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41111 (CHECK_EOL): Add undef.
41112
41113 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
41114
41115 * bits/stdlib-bsearch.h: New file.
41116 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41117 * stdlib/stdlib.h: Likewise.
41118
41119 2013-02-11 Roland McGrath <roland@hack.frob.com>
41120
41121 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41122 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41123 declaration.
41124 * manual/search.texi (Array Search Function): Add missing const in
41125 lfind prototype.
41126 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41127 declaration to use rlim_t.
41128 (Basic Scheduling Functions): Remove erroneous const from
41129 sched_getparam prototype. Remove erroneous * from
41130 sched_get_priority_max and sched_get_priority_min prototypes.
41131 (Resource Usage): Fix summary @comment on vtimes to refer to
41132 sys/vtimes.h rather than vtimes.h.
41133 Add missing *s in vtimes prototype.
41134 (Limits on Resources): Fix ulimit prototype to return long int.
41135 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41136 prototypes to use long int rather than double.
41137 (BSD Random): Fix initstate and setstate to use char *, not void *.
41138 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41139 prototype to make second argument 'struct aiocb64 *const[]'.
41140 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41141 (Status of AIO Operations): Remove erroneous const in aio_return and
41142 aio_return64 prototypes.
41143 (Synchronizing I/O): Fix sync prototype to return void.
41144 * manual/startup.texi (Suboptions): Remove an erroneous const in
41145 getsubopt prototype.
41146 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41147 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41148 use size_t rather than int.
41149 (Scanning All Users): Likewise for getpwent_r.
41150 (Setting Groups): Add missing const to setgroups prototype.
41151 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41152 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41153 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41154 'const void *' rather than 'const char *'.
41155 (Host Address Functions): Likewise for inet_ntop.
41156 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41157 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41158 ssize_t for return value.
41159 (Sending Data): Likewise for send, sendto, sendmsg.
41160 (Socket Option Functions): Add a missing const in setsockopt prototype.
41161 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41162 use wchar_t for the argument.
41163 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41164 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41165 take no arguments.
41166 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41167 double/float/long double for second argument.
41168 Fix return types of significand, significandf, significandl.
41169 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41170 argument in fchmod prototype.
41171 (File Owner): Use uid_t and gid_t in fchown prototype.
41172 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41173 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41174 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41175 use 'const struct dirent **' as argument types to CMP function pointer
41176 argument.
41177 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41178 (File Times): Fix summary magic @comment for struct utimbuf and utime
41179 to refer to utime.h, not time.h.
41180 * manual/string.texi (Argz Functions): Add missing const in
41181 argz_extract and argz_next prototypes.
41182 (Finding Tokens in a String): Likewise for basename.
41183 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41184 (Copying and Concatenation): Fix typo in wmemmove prototype.
41185 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41186 (Signal Stack): Remove erroneous const in sigstack prototype.
41187 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41188 prototype.
41189 (Simple Calendar Time): Likewise for stime.
41190 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41191 prototype.
41192 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41193 say sys/sysctl.h instead.
41194 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41195 and vsyslog prototypes.
41196
41197 2013-02-11 Tom de Vries <tom@codesourcery.com>
41198
41199 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41200 Remove.
41201
41202 2013-02-11 Roland McGrath <roland@hack.frob.com>
41203
41204 * misc/sys/mman.h: Fix typo in mremap comment.
41205
41206 2013-02-08 Roland McGrath <roland@hack.frob.com>
41207
41208 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41209 the '\0' terminator.
41210
41211 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41212
41213 [BZ #13550]
41214 * debug/segfault.c: Don't include <bp-checks.h>.
41215 * sysdeps/generic/bp-checks.h: Remove file.
41216 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41217 (__GETDENTS): Don't use CHECK_N.
41218 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41219 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41220 (__getgroups): Don't use CHECK_N.
41221 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41222 (setgroups): Don't use CHECK_N.
41223 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41224 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41225 (__libc_msgrcv): Don't use CHECK_N.
41226 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41227 (__libc_msgsnd): Don't use CHECK_N.
41228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41229 <bp-checks.h>.
41230 (__libc_pread): Don't use CHECK_N.
41231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41232 include <bp-checks.h>.
41233 (__libc_pread64): Don't use CHECK_N.
41234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41235 include <bp-checks.h>.
41236 (__libc_pwrite): Don't use CHECK_N.
41237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41238 include <bp-checks.h>.
41239 (__libc_pwrite64): Don't use CHECK_N.
41240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41241 <bp-checks.h>.
41242 (__libc_pread): Don't use CHECK_N.
41243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41244 include <bp-checks.h>.
41245 (__libc_pread64): Don't use CHECK_N.
41246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41247 include <bp-checks.h>.
41248 (__libc_pwrite): Don't use CHECK_N.
41249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41250 include <bp-checks.h>.
41251 (__libc_pwrite64): Don't use CHECK_N.
41252 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41253 (do_pread): Don't use CHECK_N.
41254 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41255 (do_pread64): Don't use CHECK_N.
41256 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41257 (do_pwrite): Don't use CHECK_N.
41258 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41259 (do_pwrite64): Don't use CHECK_N.
41260 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41261 (__libc_readv): Don't use CHECK_N.
41262 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41263 (semop): Don't use CHECK_N.
41264 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41265 <bp-checks.h>.
41266 (semtimedop): Don't use CHECK_N.
41267 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41268 (__libc_pread): Don't use CHECK_N.
41269 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41270 <bp-checks.h>.
41271 (__libc_pread64): Don't use CHECK_N.
41272 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41273 <bp-checks.h>.
41274 (__libc_pwrite): Don't use CHECK_N.
41275 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41276 <bp-checks.h>.
41277 (__libc_pwrite64): Don't use CHECK_N.
41278 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41279 <bp-checks.h>.
41280 (__libc_msgrcv): Don't use CHECK_N.
41281 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41282 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41283 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41284 (__libc_writev): Don't use CHECK_N.
41285
41286 2013-02-08 Roland McGrath <roland@hack.frob.com>
41287
41288 * string/strcpy.c: Removed unused variable.
41289
41290 * Makeconfig (+sysdep-includes): Define with := rather than =.
41291 Use an existing include/ subdir of each sysdeps dir before it.
41292
41293 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41294
41295 * nscd/connection.c (register_traced_file): Comment function.
41296 [HAVE_INOTIFY] (union __inev): Define.
41297 [HAVE_INOTIFY] (inotify_check_files): New function.
41298 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41299 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41300 clear_db_cache.
41301 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41302
41303 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41304
41305 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41306 loaded if not already and that a failure is permanent.
41307
41308 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41309
41310 [BZ #15006]
41311 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41312 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41313
41314 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41315
41316 [BZ #13550]
41317 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41318 (CHECK_1_NULL_OK): Likewise.
41319 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41320 (__fxstat): Do not use CHECK_1.
41321 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41322 <bp-checks.h>.
41323 (___fxstat64): Do not use CHECK_1.
41324 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41325 <bp-checks.h>.
41326 (__fxstatat): Do not use CHECK_1.
41327 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41328 <bp-checks.h>.
41329 (__fxstatat64): Do not use CHECK_1.
41330 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41331 <bp-checks.h>.
41332 (__fxstat): Do not use CHECK_1.
41333 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41334 <bp-checks.h>.
41335 (__fxstatat): Do not use CHECK_1.
41336 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41337 <bp-checks.h>.
41338 (__getresgid): Do not use CHECK_1.
41339 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41340 <bp-checks.h>.
41341 (__getresuid): Do not use CHECK_1.
41342 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41343 <bp-checks.h>.
41344 (__lxstat): Do not use CHECK_1.
41345 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41346 <bp-checks.h>.
41347 (__old_msgctl): Do not use CHECK_1.
41348 (__new_msgctl): Likewise.
41349 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41350 <bp-checks.h>.
41351 (__new_setrlimit): Do not use CHECK_1.
41352 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41353 <bp-checks.h>.
41354 (__old_shmctl): Do not use CHECK_1.
41355 (__new_shmctl): Likewise.
41356 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41357 <bp-checks.h>.
41358 (__xstat): Do not use CHECK_1.
41359 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41360 (__lxstat): Do not use CHECK_1.
41361 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41362 <bp-checks.h>.
41363 (___lxstat64): Do not use CHECK_1.
41364 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41365 (__old_msgctl): Do not use CHECK_1.
41366 (__new_msgctl): Likewise.
41367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41368 <bp-checks.h>.
41369 (__gettimeofday): Do not use CHECK_1.
41370 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41371 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41372 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41373 <bp-checks.h>.
41374 (__gettimeofday): Do not use CHECK_1.
41375 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41376 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41377 (__new_shmctl): Do not use CHECK_1.
41378 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41379 <bp-checks.h>.
41380 (do_sigtimedwait): Do not use CHECK_1.
41381 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41382 <bp-checks.h>.
41383 (do_sigwaitinfo): Do not use CHECK_1.
41384 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41385 <bp-checks.h>.
41386 (msgctl): Do not use CHECK_1.
41387 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41388 <bp-checks.h>.
41389 (shmctl): Do not use CHECK_1.
41390 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41391 (ustat): Do not use CHECK_1.
41392 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41393 <bp-checks.h>.
41394 (__fxstat): Do not use CHECK_1.
41395 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41396 <bp-checks.h>.
41397 (__fxstatat): Do not use CHECK_1.
41398 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41399 <bp-checks.h>.
41400 (__lxstat): Do not use CHECK_1.
41401 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41402 <bp-checks.h>.
41403 (__xstat): Do not use CHECK_1.
41404 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41405 (__xstat): Do not use CHECK_1.
41406 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41407 (___xstat64): Do not use CHECK_1.
41408
41409 [BZ #13550]
41410 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41411 definitions.
41412 (CHECK_BOUNDS_HIGH): Likewise.
41413 * string/strcpy.c: Do not include <bp-checks.h>.
41414 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41415
41416 2013-02-07 Roland McGrath <roland@hack.frob.com>
41417
41418 * nscd/nscd-client.h (__nscd_drop_map_ref):
41419 Add __attribute__ ((unused)).
41420 * nis/nss-nisplus.h (niserr2nss): Likewise.
41421
41422 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41423 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41424
41425 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41426 Remove inline keyword.
41427 * include/rounding-mode.h (round_away): Likewise.
41428 * libio/wfileops.c (adjust_wide_data): Likewise.
41429 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41430 (__m128i_strloadu_tolower): Likewise.
41431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41432 (__m128i_strloadu_tolower): Likewise.
41433 * time/mktime.c (ydhms_diff): Likewise.
41434 * locale/elem-hash.h (elem_hash): Likewise.
41435 * locale/setlocale.c (setdata): Likewise.
41436 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41437 (re_string_wchar_at): Likewise.
41438 (bitset_not, bitset_merge, bitset_mask): Likewise.
41439 [!(__GNUC__ > 3)] (inline): Remove macro.
41440 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41441 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41442 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41443 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41444 * string/memcmp.c (memcmp_bytes): Likewise.
41445 * locale/programs/locarchive.c (compute_hashval): Likewise.
41446 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41447 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41448 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41449 * nss/getent.c (print_rpc, print_protocols): Likewise.
41450 (print_passwd, print_group, print_aliases): Likewise.
41451 * nis/nss-nisplus.h (niserr2nss): Likewise.
41452 * nscd/connections.c (restart_p): Likewise.
41453 Change return type to bool.
41454
41455 2013-02-05 Roland McGrath <roland@hack.frob.com>
41456
41457 * Makeconfig (all-Depend-files): Add existing
41458 $(sorted-subdirs:=/Depend) files.
41459 (all-subdirs): Remove nss.
41460 * sysdeps/unix/inet/Subdirs: Add it here instead.
41461 * hesiod/Depend: New file.
41462
41463 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41464 instead of calling alloca.
41465
41466 * io/lseek.c (__lseek): Rename to __libc_lseek.
41467 Define __lseek as an alias.
41468
41469 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41470
41471 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41472
41473 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41474 else clause and remove check for non-standard endianness.
41475
41476 2013-02-04 David S. Miller <davem@davemloft.net>
41477
41478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41479
41480 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41481
41482 [BZ #13550]
41483 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41484 (__ubp_memchr): Remove prototype.
41485 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41486 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41487 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41488 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41489 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41490 Remove alias.
41491 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41492 (__ubp_memchr): Likewise.
41493 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41494 (__ubp_memchr): Likewise.
41495 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41496 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41497 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41498 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41499 CHECK_STRING.
41500 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41501 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41502 (__getcwd): Do not use CHECK_STRING.
41503 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41504 <bp-checks.h>.
41505 (__real_chown): Do not use CHECK_STRING.
41506 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41507 <bp-checks.h>.
41508 (fchownat): Do not use CHECK_STRING.
41509 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41510 CHECK_STRING.
41511 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41512 <bp-checks.h>.
41513 (__lchown): Do not use CHECK_STRING.
41514 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41515 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41516 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41517 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41519 include <bp-checks.h>.
41520 (truncate64): Do not use CHECK_STRING.
41521 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41522 <bp-checks.h>.
41523 (__real_chown): Do not use CHECK_STRING.
41524 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41525 <bp-checks.h>.
41526 (__lchown): Do not use CHECK_STRING.
41527 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41528 <bp-checks.h>.
41529 (__chown): Do not use CHECK_STRING.
41530 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41531 <bp-checks.h>.
41532 (truncate64): Do not use CHECK_STRING.
41533 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41534 Likewise.
41535 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41536 (__xmknod): Do not use CHECK_STRING.
41537 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41538 <bp-checks.h>.
41539 (__xmknodat): Do not use CHECK_STRING.
41540 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41541 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41542
41543 2013-02-04 Andreas Schwab <schwab@suse.de>
41544
41545 [BZ #14142]
41546 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41547 * include/netdb.h: Likewise for h_errno.
41548 * elf/tst-stackguard1.c: Include <tls.h>.
41549
41550 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41551
41552 * elf/link.h (struct link_map): Extend the l_addr comment.
41553 * include/link.h (struct link_map): Likewise.
41554
41555 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41556
41557 [BZ #13550]
41558 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41559 (BOUNDED_1): Remove macro.
41560 * debug/backtrace.c: Don't include <bp-checks.h>.
41561 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41562 (__backtrace): Likewise.
41563 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41564 <bp-checks.h>.
41565 (__backtrace): Don't use BOUNDED_1.
41566 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41567 <bp-checks.h>.
41568 (__backtrace): Don't use BOUNDED_1.
41569 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41570 (__backtrace): Don't use BOUNDED_1.
41571 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41572 (shmat): Don't use BOUNDED_N.
41573
41574 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41575
41576 [BZ #13550]
41577 * sysdeps/generic/bp-start.h: Remove file.
41578 * csu/libc-start.c: Don't include <bp-start.h>.
41579 (LIBC_START_MAIN): Set up __environ directly instead of using
41580 INIT_ARGV_and_ENVIRON.
41581 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41582 <bp-start.h>.
41583
41584 [BZ #13550]
41585 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41586 definitions.
41587 (CHECK_FCNTL): Likewise.
41588 (CHECK_N_PAGES): Likewise.
41589
41590 [BZ #13550]
41591 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41592 definitions.
41593 (CHECK_SIGSET_NULL_OK): Likewise.
41594 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41595 <bp-checks.h>.
41596 (sigpending): Don't use CHECK_SIGSET.
41597 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41598 <bp-checks.h>.
41599 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41600 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41601 <bp-checks.h>.
41602 (do_sigsuspend): Don't use CHECK_SIGSET.
41603 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41604 use CHECK_SIGSET.
41605 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41606 (do_sigwait): Don't use CHECK_SIGSET.
41607 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41608 use CHECK_SIGSET.
41609 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41610 include <bp-checks.h>.
41611 (sigpending): Don't use CHECK_SIGSET.
41612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41613 include <bp-checks.h>.
41614 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41615 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41616 <bp-checks.h>.
41617 (sigpending): Don't use CHECK_SIGSET.
41618 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41619 <bp-checks.h>.
41620 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41621
41622 [BZ #13550]
41623 * sysdeps/generic/bp-semctl.h: Remove file.
41624 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41625 <bp-checks.h> and <bp-semctl.h>.
41626 (__old_semctl): Don't use CHECK_SEMCTL.
41627 (__new_semctl): Likewise.
41628 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41629 and <bp-semctl.h>.
41630 (__old_semctl): Don't use CHECK_SEMCTL.
41631 (__new_semctl): Likewise.
41632 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41633 <bp-checks.h> and <bp-semctl.h>.
41634 (__old_semctl): Don't use CHECK_SEMCTL.
41635 (__new_semctl): Likewise.
41636 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41637 <bp-checks.h> and <bp-semctl.h>.
41638 (semctl): Don't use CHECK_SEMCTL.
41639
41640 [BZ #13550]
41641 * Makerules (elide-bp-thunks): Remove variable.
41642 (elide-routines.oS): Don't use $(elide-bp-thunks).
41643 (elide-routines.os): Likewise.
41644 (elide-routines.o): Likewise.
41645 (elide-routines.op): Likewise.
41646 (elide-routines.og): Likewise.
41647 (objects): Don't use $(bp-thunks).
41648 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41649 include.
41650 (common-generated): Do not add s-proto-bp.d.
41651 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41652 (int): Likewise.
41653 (typ): Likewise.
41654 Do not generate makefile rules for bounded-pointer thunks.
41655 * sysdeps/generic/bp-thunks.h: Remove file.
41656 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41657 * sysdeps/unix/s-proto-bp.S: Likewise.
41658
41659 [BZ #15062]
41660 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41661 parts of result separately when argument is not close to line from
41662 -i to i and one part of argument is small.
41663 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41664 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41665 * math/libm-test.inc (cacos_test): Add more tests.
41666 (casin_test): Likewise.
41667 (casinh_test): Likewise.
41668 * sysdeps/i386/fpu/libm-test-ulps: Update.
41669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41670
41671 2013-01-31 David S. Miller <davem@davemloft.net>
41672
41673 * po/de.po: Update from translation team.
41674
41675 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41676
41677 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41678
41679 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41680
41681 * configure.in (_AC_PROG_CC_C89): New definition.
41682 * configure: Regenerate.
41683
41684 * configure.in (AC_PROG_CPP): New definition.
41685 * configure: Regenerate.
41686
41687 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41688
41689 * debug/tst-backtrace.h: New file.
41690 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41691 (ret): Remove variable.
41692 (x): Likewise.
41693 (FAIL): Remove macro.
41694 (NO_INLINE): Likewise.
41695 (fn1): Use match function instead of strstr.
41696 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41697 (ret): Remove variable.
41698 (x): Likewise.
41699 (FAIL): Remove macro.
41700 (NO_INLINE): Likewise.
41701 (fn): Use match function instead of strstr.
41702 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41703 (ret): Remove variable.
41704 (x): Likewise.
41705 (FAIL): Remove macro.
41706 (NO_INLINE): Likewise.
41707 (handle_signal): Use match function instead of strstr.
41708 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41709 (ret): Remove variable.
41710 (x): Likewise.
41711 (FAIL): Remove macro.
41712 (NO_INLINE): Likewise.
41713 (handle_signal): Use match function instead of strstr.
41714
41715 2013-01-23 Roland McGrath <roland@hack.frob.com>
41716
41717 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41718
41719 2013-01-23 David S. Miller <davem@davemloft.net>
41720
41721 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41722 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41723 argument of CAS if possible.
41724 * sysdeps/sparc/sparc64/bits/atomic.h
41725 (__arch_compare_and_exchange_val_32_acq): Likewise.
41726 (__arch_compare_and_exchange_val_64_acq): Likewise.
41727
41728 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41729
41730 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41731 * sysdeps/posix/ulimit.c: ... this.
41732 Include <limits.h>.
41733 * sysdeps/unix/bsd/ulimit.c: Remove file.
41734
41735 2013-01-23 Adam Conrad <adconrad@0c3.net>
41736
41737 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41738 (LDFLAGS-tst-array5): Likewise.
41739
41740 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41741
41742 [BZ #15036]
41743 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41744 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41745 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41746 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41747
41748 2013-01-21 David S. Miller <davem@davemloft.net>
41749
41750 * sysdeps/sparc/backtrace.c: New file.
41751 * sysdeps/sparc/sparc32/backtrace.h: New file.
41752 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41753 * sysdeps/sparc/sparc64/backtrace.h: New file.
41754 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41755 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41756 -funwind-tables.
41757
41758 2013-01-21 Andreas Schwab <schwab@suse.de>
41759
41760 [BZ #15020]
41761 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41762 closed its stdout.
41763
41764 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41765
41766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41767 "mpa2.h".
41768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41769
41770 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41771 Mark Mitchell <mark@codesourcery.com>
41772 Tom de Vries <tom@codesourcery.com>
41773 Paul Pluzhnikov <ppluzhnikov@google.com>
41774
41775 * debug/tst-backtrace2.c: New file.
41776 * debug/tst-backtrace3.c: Likewise.
41777 * debug/tst-backtrace4.c: Likewise.
41778 * debug/tst-backtrace5.c: Likewise.
41779 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41780 (CFLAGS-tst-backtrace3.c): Likewise.
41781 (CFLAGS-tst-backtrace4.c): Likewise.
41782 (CFLAGS-tst-backtrace5.c): Likewise.
41783 (LDFLAGS-tst-backtrace2): Likewise.
41784 (LDFLAGS-tst-backtrace3): Likewise.
41785 (LDFLAGS-tst-backtrace4): Likewise.
41786 (LDFLAGS-tst-backtrace5): Likewise.
41787 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41788 tst-backtrace4 and tst-backtrace5.
41789
41790 2013-01-18 Anton Blanchard <anton@samba.org>
41791 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41792
41793 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41794 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41795 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41796 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41798 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41799 "+r" and remove output regs list as redundant. Add explicit inline
41800 asm to specify register of return val to work around compiler codegen
41801 bug. Remove (int) cast on return value. Add return type parameter to
41802 use in macro so that this macro does not truncate return value for
41803 64-bit values.
41804 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41805 pass to INTERNAL_VSYSCALL_NCS.
41806 (INLINE_VSYSCALL): Add 'long int' as return type to
41807 INTERNAL_VSYSCALL_NCS macro invocation.
41808 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41809 INTERNAL_VSYSCALL_NCS macro invocation.
41810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41811
41812 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41813
41814 [BZ #14496]
41815 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41816 Fix application of SIMD FP exception mask.
41817
41818 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41819 mp_no from a power of two.
41820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41821 __mpexp_twomm1. Use __pow_mp.
41822
41823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41824 multiplication.
41825
41826 2013-01-17 David S. Miller <davem@davemloft.net>
41827
41828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41829
41830 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41831
41832 [BZ #15023]
41833 * include/complex.h: Condition contents on [!_COMPLEX_H].
41834 (__kernel_casinhf): New prototype.
41835 (__kernel_casinh): Likewise.
41836 (__kernel_casinhl): Likewise.
41837 * math/Makefile (libm_calls): Add k_casinh.
41838 * math/k_casinh.c: New file.
41839 * math/k_casinhf.c: Likewise.
41840 * math/k_casinhl.c: Likewise.
41841 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41842 finite nonzero arguments.
41843 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41844 finite nonzero arguments.
41845 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41846 finite nonzero arguments.
41847 * math/s_casinh.c: Do not include <float.h>.
41848 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41849 * math/s_casinhf.c: Do not include <float.h>.
41850 (__casinhf): Move code for finite nonzero arguments to
41851 k_casinhf.c.
41852 * math/s_casinhl.c: Do not include <float.h>.
41853 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41854 redefine.
41855 (__casinhl): Move code for finite nonzero arguments to
41856 k_casinhl.c.
41857 * math/libm-test.inc (cacos_test): Add more tests.
41858 * sysdeps/i386/fpu/libm-test-ulps: Update.
41859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41860
41861 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41862
41863 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41864 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41865 [!HAVE_MREMAP]: Remove [defined linux] case.
41866 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41867
41868 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41869
41870 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41871
41872 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41873
41874 * elf/elf.h (R_386_SIZE32): New relocation.
41875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41876 R_386_SIZE32.
41877 (elf_machine_rela): Likewise.
41878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41879 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41880
41881 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41882
41883 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41884 (FP_FAST_FMA): Do not define.
41885 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41886 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41887 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41888 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41889 !_SOFT_FLOAT]: Likewise.
41890 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41891 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41892 value.
41893 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41894 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41895 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41897 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41898 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41899 file.
41900
41901 2013-01-16 Andreas Schwab <schwab@suse.de>
41902
41903 [BZ #14327]
41904 * include/stdlib.h (__mktemp): Add declaration.
41905 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41906 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41907
41908 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41909
41910 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41911 definitions.
41912 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41913 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41914 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41915 definitions here.
41916 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41917 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41918 definitions.
41919 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41920 and ONE.
41921 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41922 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41923 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41924 definitions.
41925 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41926 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41927 definitions.
41928 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41929
41930 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41931
41932 2013-01-15 David S. Miller <davem@davemloft.net>
41933
41934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41935 trunc{,f} to libm-sysdep_routes.
41936 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41938 file.
41939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41941 file.
41942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41943 file.
41944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41946 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41947 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41948 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41949 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41950 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41951 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41952
41953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41954 nearbyint{,f} to libm-sysdep_routes.
41955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41957 New file.
41958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41959 file.
41960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41961 New file.
41962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41963 file.
41964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41966 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41967 file.
41968 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41970 file.
41971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41972 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41973 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41974
41975 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41976 libc_feholdexcept and libc_fesetenv.
41977
41978 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41979
41980 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41981
41982 2013-01-14 David S. Miller <davem@davemloft.net>
41983
41984 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41985 (SPARC_ASM_VIS2_IFUNC): Likewise.
41986 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41988 use of 'siam' instruction.
41989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41990 Likewise.
41991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41992 Likewise.
41993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41994 Likewise.
41995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42000 file.
42001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42002 file.
42003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42004 file.
42005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42006 file.
42007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42012 new VIS2 routines.
42013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42016 Likewise.
42017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42022 routines to libm-sysdep_routines.
42023 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42024
42025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42026 fdim/fdimf to libm-sysdep_routines.
42027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42028 file.
42029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42031 file.
42032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42035 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42036 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42037 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42038 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42039
42040 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42041
42042 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42043 to optimize copies.
42044
42045 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42048
42049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42050 local variable MPTWO.
42051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42052 Likewise.
42053
42054 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42055
42056 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42057 GLOB_NOESCAPE.
42058
42059 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42060
42061 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42062
42063 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42064
42065 * manual/pattern.texi (glob_t): Document gl_flags.
42066 (glob64_t): Likewise.
42067
42068 2013-01-11 David S. Miller <davem@davemloft.net>
42069
42070 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42071 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42072 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
42073 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42074 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42075 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42076 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42077 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42078 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42079 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42080 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42081 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42082 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42083
42084 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42085 sparc V9 rather than using V8 code.
42086 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42087 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42088
42089 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42090 Move to...
42091 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42092 Here.
42093
42094 2013-01-11 Roland McGrath <roland@hack.frob.com>
42095
42096 [BZ #14941]
42097 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42098 not in the main loop.
42099 * configure: Regenerated.
42100
42101 2013-01-11 Joseph Myers <joseph@codesourcery.com>
42102
42103 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42104 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42105 to just #else.
42106 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
42107 [!__GLIBC_HAVE_LONG_LONG] case.
42108 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42109 condition to just #else.
42110 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42111 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42112 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42113 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42114 unconditional.
42115 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42116 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42117 #elif condition to just #else.
42118 * sysdeps/unix/sysv/linux/sys/sysmacros.h
42119 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42120 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42121 #elif condition to just #else.
42122
42123 2013-01-11 Steve Ellcey <sellcey@mips.com>
42124
42125 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42126 (EF_MIPS_ARCH_64): Fix value.
42127 (EF_MIPS_ARCH_32R2): New.
42128 (EF_MIPS_ARCH_64R2): New.
42129
42130 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
42131
42132 * Makeconfig (+link-pie-before-libc): New.
42133 (+link-pie-after-libc): Likewise.
42134 (+link-pie-tests): Likewise.
42135 (+link-pie): Rewritten.
42136 (link-before-libc): Remove $(config-LDFLAGS).
42137 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42138 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42139 (config-LDFLAGS): Renamed to ...
42140 (rtld-LDFLAGS): This.
42141 (rtld-tests-LDFLAGS): New macro.
42142 (link-libc-rpath-link): Likewise.
42143 (link-libc-tests-rpath-link): Likewise.
42144 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42145 (link-libc): Prepand $(link-libc-rpath-link).
42146 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42147 (test-program-prefix): New macro.
42148 (test-via-rtld-prefix): Likewise.
42149 (test-program-cmd): Likewise.
42150 (host-test-program-cmd): Likewise.
42151 * Makefile ($(common-objpfx)testrun.sh): Replace
42152 $(run-program-prefix) with $(test-program-prefix).
42153 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42154 $(rtld-LDFLAGS).
42155 ($(common-objpfx)shlib.lds): Likewise.
42156 (build-module-helper): Likewise.
42157 ($(common-objpfx)format.lds): Likewise.
42158 * Rules (binaries-pie-tests): New.
42159 (binaries-pie-notests): Likewise.
42160 (binaries-pie): Rewritten.
42161 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42162 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42163 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42164 (make-test-out): Replace $(host-built-program-cmd) with
42165 $(host-test-program-cmd).
42166 * config.make.in (build-hardcoded-path-in-tests): New variable.
42167 * configure.in (--enable-hardcoded-path-in-tests): New configure
42168 option.
42169 (hardcoded_path_in_tests): New AC_SUBST.
42170 * configure: Regenerated.
42171 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42172 $(built-program-cmd) with $(test-program-cmd).
42173 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42174 (test_program_cmd): This.
42175 * elf/Makefile ($(objpfx)order.out): Run test with
42176 $(test-program-prefix).
42177 ($(objpfx)order2.out): Likewise.
42178 ($(objpfx)tst-initorder.out): Likewise.
42179 ($(objpfx)tst-initorder2.out): Likewise.
42180 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42181 $(test-program-cmd).
42182 ($(objpfx)tst-array1-static.out): Likewise.
42183 ($(objpfx)tst-array2.out): Likewise.
42184 ($(objpfx)tst-array3.out): Likewise.
42185 ($(objpfx)tst-array4.out): Likewise.
42186 ($(objpfx)tst-array5.out): Likewise.
42187 ($(objpfx)tst-array5-static.out): Likewise.
42188 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42189 $(test-program-cmd).
42190 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42191 $(run-program-prefix) with $(test-program-prefix).
42192 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42193 (test_program_prefix): This.
42194 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42195 $(run-program-prefix) with $(test-program-prefix).
42196 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42197 (test_program_prefix): This.
42198 * iconvdata/tst-tables.sh: Likewise.
42199 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42200 $(run-program-prefix) with $(test-program-prefix).
42201 ($(objpfx)tst-translit.out): Likewise.
42202 ($(objpfx)tst-gettext2.out): Likewise.
42203 ($(objpfx)tst-gettext4.out): Likewise.
42204 ($(objpfx)tst-gettext6.out): Likewise.
42205 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42206 (test_program_prefix): This.
42207 * intl/tst-gettext2.sh: Likewise.
42208 * intl/tst-gettext4.sh Likewise.
42209 * intl/tst-gettext6.sh: Likewise.
42210 * intl/tst-translit.sh: Likewise.
42211 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42212 with $(test-program-cmd).
42213 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42214 $(run-program-prefix) with $(test-program-prefix).
42215 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42216 (test_program_prefix): This.
42217 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42218 $(run-program-prefix) with $(test-program-prefix).
42219 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42220 (test_program_prefix): This.
42221 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42222 * posix/Makefile ($(objpfx)globtest.out): Replace
42223 $(run-via-rtld-prefix) and $(test-wrapper) with
42224 $(test-program-prefix) and $(test-via-rtld-prefix).
42225 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42226 $(test-program-prefix).
42227 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42228 $(host-test-program-cmd).
42229 (tst-spawn-ARGS): Likewise.
42230 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42231 $(test-program-prefix).
42232 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42233 (test_via_rtld_prefix): This.
42234 (test_wrapper): Renamed to ...
42235 (test_program_prefix): This.
42236 (run_program_prefix): Replaced by test_program_prefix.
42237 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42238 (test_program_prefix): This.
42239 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42240 with $(host-test-program-cmd).
42241 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42242 $(run-program-prefix) with $(test-program-prefix).
42243 ($(objpfx)tst-printf.out): Likewise.
42244 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42245 $(test-program-cmd).
42246 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42247 (test_program_prefix): This.
42248 * stdio-common/tst-unbputc.sh: Likewise.
42249 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42250 $(run-program-prefix) with $(test-program-prefix).
42251 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42252 (test_program_prefix): This.
42253 * string/Makefile ($(objpfx)tst-svc.out): Replace
42254 $(built-program-cmd) with $(test-program-cmd).
42255
42256 2013-01-11 Andreas Jaeger <aj@suse.de>
42257
42258 [BZ #15003]
42259 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42260 value. Sync with Linux 3.7.
42261
42262 2013-01-10 David S. Miller <davem@davemloft.net>
42263
42264 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42265 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42266 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42267
42268 2013-01-10 Roland McGrath <roland@hack.frob.com>
42269
42270 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42271 never set.
42272 * configure: Regenerated.
42273
42274 2013-01-10 David S. Miller <davem@davemloft.net>
42275
42276 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42277 sparc V9 rather than using V8 code.
42278 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42279 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42280
42281 2013-01-10 Roland McGrath <roland@hack.frob.com>
42282
42283 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42284 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42285 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42286 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42287 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42288 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42289 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42290 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42291 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42292 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42293 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42294 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42295 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42296 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42297 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42298 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42299 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42300 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42301 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42302 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42303 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42304 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42305 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42306 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42307 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42308 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42309 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42310
42311 2013-01-10 David S. Miller <davem@davemloft.net>
42312
42313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42314
42315 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42316
42317 * posix/Makefile (tests-static): New variable.
42318 (tests): Add $(tests-static).
42319 (tst-exec-static-ARGS): New variable.
42320 (tst-spawn-static-ARGS): Likewise.
42321 * posix/tst-exec-static.c: New file.
42322 * posix/tst-spawn-static.c: Likewise.
42323 * posix/tst-exec.c: Support run directly.
42324 * posix/tst-spawn.c: Likewise.
42325
42326 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42327
42328 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42329 long.
42330 * math/bits/mathcalls.h (llrint): Likewise.
42331 (llround): Likewise.
42332 * stdlib/stdlib.h (struct drand48_data): Likewise.
42333 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42334 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42335 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42336 Likewise.
42337 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42338 Likewise.
42339 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42340 (elf_greg_t): Likewise.
42341 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42342 (__jmp_buf): Likewise.
42343 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42344 definitions.
42345 (llrint): Likewise, for all definitions.
42346 (llrintl): Likewise.
42347
42348 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42349 Remove [__GNUC__] condition.
42350 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42351 condition to just [__USE_ISOC99].
42352 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42353
42354 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42355
42356 [BZ #14200]
42357 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42358 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42359 defined.
42360 (_POSIX_V6_ILP32_OFF32): Likewise.
42361 (_XBS5_ILP32_OFF32): Likewise.
42362 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42363 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42364
42365 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42366
42367 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42368
42369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42370 doubles __mpexp_twomm1. Adjust usage.
42371 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42372 Remove.
42373
42374 2013-01-10 Andreas Schwab <schwab@suse.de>
42375
42376 [BZ #14964]
42377 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42378 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42379
42380 2013-01-09 David S. Miller <davem@davemloft.net>
42381
42382 [BZ #15003]
42383 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42384 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42385 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42386 (TCP_FASTOPEN): Define.
42387 (tcp_repair_opt): New structure.
42388 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42389 enum values.
42390 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42391 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42392 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42393 (tcp_cookie_transactions): New structure.
42394
42395 2013-01-09 Anton Blanchard <anton@samba.org>
42396
42397 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42398 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42399 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42400 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42401
42402 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42403
42404 * include/features.h (__USE_ANSI): Remove.
42405
42406 2013-01-09 Roland McGrath <roland@hack.frob.com>
42407
42408 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42409
42410 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42411
42412 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42413
42414 * sysdeps/s390/fpu/libm-test-ulps: Update.
42415
42416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42417
42418 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42419 (__acr): Likewise.
42420 (__cpy): Likewise.
42421 (norm): Likewise.
42422 (denorm): Likewise.
42423 (__mp_dbl): Likewise.
42424 (__dbl_mp): Likewise.
42425 (add_magnitudes): Likewise.
42426 (sub_magnitudes): Likewise.
42427 (__add): Likewise.
42428 (__sub): Likewise.
42429 (__mul): Likewise.
42430 (__inv): Likewise.
42431 (__dvd): Likewise.
42432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42433 (__acr): Likewise.
42434 (__cpy): Likewise.
42435 (norm): Likewise.
42436 (denorm): Likewise.
42437 (__mp_dbl): Likewise.
42438 (__dbl_mp): Likewise.
42439 (add_magnitudes): Likewise.
42440 (sub_magnitudes): Likewise.
42441 (__add): Likewise.
42442 (__sub): Likewise.
42443 (__mul): Likewise.
42444 (__inv): Likewise.
42445 (__dvd): Likewise.
42446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42447 (__acr): Likewise.
42448 (__cpy): Likewise.
42449 (norm): Likewise.
42450 (denorm): Likewise.
42451 (__mp_dbl): Likewise.
42452 (__dbl_mp): Likewise.
42453 (add_magnitudes): Likewise.
42454 (sub_magnitudes): Likewise.
42455 (__add): Likewise.
42456 (__sub): Likewise.
42457 (__mul): Likewise.
42458 (__inv): Likewise.
42459 (__dvd): Likewise.
42460
42461 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42462
42463 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42464 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42465 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42466 2 && __USE_EXTERN_INLINES]: Likewise.
42467
42468 2013-01-08 Andreas Jaeger <aj@suse.de>
42469
42470 [BZ# 14985]
42471 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42472 Remove.
42473 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42474 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42475
42476 2013-01-07 Anton Blanchard <anton@samba.org>
42477
42478 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42479 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42480 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42481 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42482 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42483 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42484 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42485 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42487 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42488 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42489 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42490 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42491 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42492 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42493 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42494 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42495 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42496 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42497 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42498 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42499 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42501 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42502 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42503 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42504 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42505 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42507 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42508 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42510 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42511 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42512 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42513 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42514 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42516 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42517 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42518 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42520 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42521
42522 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42523
42524 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42525 (__MALLOC_PMT): Likewise.
42526 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42527 [__GNUC__], only on [_LIBC].
42528 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42529 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42530 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42531 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42532 forward declaration.
42533 (realloc_hook_ini): Likewise.
42534 (memalign_hook_ini): Likewise.
42535 (__libc_memalign): Do not use __MALLOC_PMT in variable
42536 declaration.
42537 (__libc_valloc): Likewise.
42538 (__libc_pvalloc): Likewise.
42539 (__libc_calloc): Likewise.
42540 (__posix_memalign): Likewise.
42541
42542 [BZ #14996]
42543 * math/s_casinh.c: Include <float.h>.
42544 (__casinh): Do not do computation with squaring and square root
42545 for large arguments.
42546 * math/s_casinhf.c: Include <float.h>.
42547 (__casinhf): Do not do computation with squaring and square root
42548 for large arguments.
42549 * math/s_casinhl.c: Include <float.h>.
42550 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42551 (__casinhl): Do not do computation with squaring and square root
42552 for large arguments.
42553 * math/libm-test.inc (casin_test): Add more tests.
42554 (casinh_test): Likewise.
42555 * sysdeps/i386/fpu/libm-test-ulps: Update.
42556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42557
42558 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42559
42560 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42561 (__x86_64_raw_data_cache_size): Likewise.
42562 (__x86_64_data_cache_size_half): Likewise.
42563 (__x86_64_raw_data_cache_size_half): Likewise.
42564 (__x86_64_shared_cache_size): Likewise.
42565 (__x86_64_raw_shared_cache_size): Likewise.
42566 (__x86_64_shared_cache_size_half): Likewise.
42567 (__x86_64_raw_shared_cache_size_half): Likewise.
42568 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42569 to ...
42570 (__x86_data_cache_size): This.
42571 (__x86_64_raw_data_cache_size): Renamed to ...
42572 (__x86_raw_data_cache_size): This.
42573 (__x86_64_data_cache_size_half): Renamed to ...
42574 (__x86_data_cache_size_half): This.
42575 (__x86_64_raw_data_cache_size_half): Renamed to ...
42576 (__x86_raw_data_cache_size_half): This.
42577 (__x86_64_shared_cache_size): Renamed to ...
42578 (__x86_shared_cache_size): This.
42579 (__x86_64_raw_shared_cache_size): Renamed to ...
42580 (__x86_raw_shared_cache_size): This.
42581 (__x86_64_shared_cache_size_half): Renamed to ...
42582 (__x86_shared_cache_size_half): This.
42583 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42584 (__x86_raw_shared_cache_size_half): This.
42585 * sysdeps/x86_64/memcpy.S: Updated.
42586 * sysdeps/x86_64/memset.S: Likewise.
42587 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42588 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42589 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42590
42591 2013-01-04 David S. Miller <davem@davemloft.net>
42592
42593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42594
42595 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42596
42597 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42598 1 to avoid redefinition warning.
42599 (__USE_GNU): Don't define.
42600 (init_signaling_nan): Protoize.
42601
42602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42603
42604 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42605
42606 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42608 (__cpymn): Likewise.
42609 (norm): Remove commented code.
42610 (denorm): Likewise.
42611 (__mp_dbl): Likewise.
42612 (__inv): Likewise.
42613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42614 (__cpymn): Likewise.
42615 (norm): Remove commented code.
42616 (denorm): Likewise.
42617 (__mp_dbl): Likewise.
42618 (__inv): Likewise.
42619
42620 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42626 mp_no value for 1.0 and 2.0.
42627 (norm): Use RADIXI instead of radixi.d.
42628 (denorm): Likewise.
42629 (__mul): Use 0.0 instead of zero.d.
42630
42631 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42632
42633 [BZ #14994]
42634 * math/s_casinh.c (__casinh): Reduce finite argument to first
42635 quadrant then set signs of results at the end.
42636 * math/s_casinhf.c (__casinhf): Likewise.
42637 * math/s_casinhl.c (__casinhl): Likewise.
42638 * math/libm-test.inc (casin_test): Add more tests.
42639 (casinh_test): Likewise.
42640 * sysdeps/i386/fpu/libm-test-ulps: Update.
42641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42642
42643 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42644
42645 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42646
42647 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42648
42649 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42650 declarations.
42651 (denorm): Likewise.
42652 (__mp_dbl): Likewise.
42653 (__inv): Likewise.
42654
42655 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42656 and adjust the header comment.
42657
42658 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42659 variable name from declaration.
42660
42661 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42662
42663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42664 Initialize COMMON_CPUID_INDEX_7 element.
42665 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42666 (CPUID_RTM): Likewise.
42667 (HAS_RTM): Likewise.
42668 (COMMON_CPUID_INDEX_7): New enum.
42669
42670 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42671
42672 [BZ #14981]
42673 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42674 size is zero, record memory as freed.
42675
42676 2013-01-03 Andreas Jaeger <aj@suse.de>
42677
42678 * po/ia.po: Add new Interlingua translation.
42679
42680 2012-01-03 Allan McRae <allan@archlinux.org>
42681
42682 * locale/programs/localedef.c: Fix description of '--posix' flag.
42683
42684 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42685
42686 * NEWS: Update dates in second copyright notice.
42687 * README: Update copyright dates in example.
42688 * manual/libc.texinfo: Update copyright dates.
42689 * scripts/test-installation.pl: Update copyright date in --version
42690 output.
42691
42692 * hurd/ctty-input.c: Fix copyright notice formatting.
42693 * hurd/ctty-output.c: Likewise.
42694 * hurd/dtable.c: Likewise.
42695 * hurd/hurd-raise.c: Likewise.
42696 * hurd/hurdprio.c: Likewise.
42697 * hurd/msgportdemux.c: Likewise.
42698 * misc/sys/file.h: Likewise.
42699 * misc/sys/ioctl.h: Likewise.
42700 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42701 * sysdeps/mach/hurd/chdir.c: Likewise.
42702 * sysdeps/mach/hurd/fchdir.c: Likewise.
42703 * sysdeps/mach/hurd/rename.c: Likewise.
42704 * sysdeps/mach/hurd/rmdir.c: Likewise.
42705 * sysdeps/mach/hurd/seekdir.c: Likewise.
42706 * sysdeps/mach/hurd/setsid.c: Likewise.
42707 * sysdeps/posix/wait3.c: Likewise.
42708
42709 * All files with FSF copyright notices: Update copyright dates
42710 using scripts/update-copyrights.
42711 * intl/plural.c: Regenerated.
42712 * locale/programs/charmap-kw.h: Likewise.
42713 * locale/programs/locfile-kw.h: Likewise.
42714
42715 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42716
42717 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42718 four values.
42719
42720 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42721 calculation loop and add branch prediction.
42722
42723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42724 check access beyond bounds of m1np.
42725
42726 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42727 MPTWO.
42728 (__inv): Remove local variable MPTWO to use the global
42729 constant.
42730 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42731 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42732 variable MPTWO.
42733 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42734 MP3HALFS static const.
42735
42736 2013-01-01 David S. Miller <davem@davemloft.net>
42737
42738 * po/ca.po: Update from translation team.
42739
42740 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42741
42742 * scripts/update-copyrights: New file.
42743 * Makeconfig: Reformat copyright notice.
42744 * ctype/ctype.h: Likewise.
42745 * debug/swprintf_chk.c: Likewise.
42746 * elf/dl-cache.c: Likewise.
42747 * elf/dl-debug.c: Likewise.
42748 * elf/dl-object.c: Likewise.
42749 * grp/initgroups.c: Likewise.
42750 * hurd/Makefile: Likewise.
42751 * hurd/hurd/signal.h: Likewise.
42752 * hurd/hurdfault.c: Likewise.
42753 * hurd/hurdioctl.c: Likewise.
42754 * hurd/hurdlookup.c: Likewise.
42755 * hurd/intr-msg.c: Likewise.
42756 * iconv/gconv_open.c: Likewise.
42757 * libio/swprintf.c: Likewise.
42758 * locale/lc-ctype.c: Likewise.
42759 * locale/nl_langinfo.c: Likewise.
42760 * mach/Machrules: Likewise.
42761 * mach/Makefile: Likewise.
42762 * malloc/obstack.h: Likewise.
42763 * manual/Makefile: Likewise.
42764 * manual/tsort.awk: Likewise.
42765 * misc/bits/stab.def: Likewise.
42766 * nis/nis_print_group_entry.c: Likewise.
42767 * nis/nis_table.c: Likewise.
42768 * nis/nss_compat/compat-pwd.c: Likewise.
42769 * nis/nss_compat/compat-spwd.c: Likewise.
42770 * po/Makefile: Likewise.
42771 * posix/fnmatch.c: Likewise.
42772 * posix/regex.h: Likewise.
42773 * resolv/Makefile: Likewise.
42774 * resolv/nss_dns/dns-network.c: Likewise.
42775 * resolv/res_hconf.c: Likewise.
42776 * scripts/gen-sorted.awk: Likewise.
42777 * soft-fp/soft-fp.h: Likewise.
42778 * stdio-common/printf.h: Likewise.
42779 * stdlib/monetary.h: Likewise.
42780 * stdlib/random.c: Likewise.
42781 * stdlib/random_r.c: Likewise.
42782 * sysdeps/generic/Makefile: Likewise.
42783 * sysdeps/gnu/Makefile: Likewise.
42784 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42791 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42792 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42794 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42795 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42796 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42797 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42798 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42799 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42800 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42802 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42804 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42807 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42808 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42809 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42810 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42811 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42812 * sysdeps/mach/hurd/errnos.awk: Likewise.
42813 * sysdeps/mach/hurd/fork.c: Likewise.
42814 * sysdeps/mach/hurd/getcwd.c: Likewise.
42815 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42816 * sysdeps/mach/hurd/mmap.c: Likewise.
42817 * sysdeps/mach/hurd/utimes.c: Likewise.
42818 * sysdeps/mach/hurd/xmknod.c: Likewise.
42819 * sysdeps/posix/profil.c: Likewise.
42820 * sysdeps/posix/readdir_r.c: Likewise.
42821 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42822 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42823 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42824 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42826 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42827 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42828 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42830 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42831 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42832 * sysdeps/pthread/lio_listio.c: Likewise.
42833 * sysdeps/sparc/dl-procinfo.h: Likewise.
42834 * sysdeps/unix/i386/sysdep.S: Likewise.
42835 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42836 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42837 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42838 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42840 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42841 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42842 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42843 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42844 * sysdeps/wordsize-32/divdi3.c: Likewise.
42845 * time/sys/time.h: Likewise.
42846 * wcsmbs/Makefile: Likewise.
42847
42848 2013-01-01 David S. Miller <davem@davemloft.net>
42849
42850 * po/fr.po: Update from translation team.
42851
42852 * catgets/gencat.c: Update copyright year.
42853 * csu/version.c: Likewise.
42854 * debug/catchsegv.sh: Likewise.
42855 * debug/pcprofiledump.c: Likewise.
42856 * debug/xtrace.sh: Likewise.
42857 * elf/ldconfig.c: Likewise.
42858 * elf/ldd.bash.in: Likewise.
42859 * elf/pldd.c: Likewise.
42860 * elf/sotruss.ksh: Likewise.
42861 * elf/sprof.c: Likewise.
42862 * iconv/iconv_prog.c: Likewise.
42863 * iconv/iconvconfig.c: Likewise.
42864 * locale/programs/locale.c: Likewise.
42865 * locale/programs/localedef.c: Likewise.
42866 * login/programs/pt_chown.c: Likewise.
42867 * malloc/memusage.sh: Likewise.
42868 * malloc/memusagestat.c: Likewise.
42869 * malloc/mtrace.pl: Likewise.
42870 * nscd/nscd.c: Likewise.
42871 * nss/getent.c: Likewise.
42872 * nss/makedb.c: Likewise.
42873 * posix/getconf.c: Likewise.
42874
42875 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42876
42877 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42878 numbers.
42879
42880 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42881
42882 * math/bits/mathcalls.h (modf): Use __nonnull.
42883
42884 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42885
42886 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42887 (split): Use macro CN instead of the bare value.
42888 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42889 could be used.
42890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42891 instead of the bare value.
42892 (power1): Likewise.
42893
42894 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42895
42896 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42897 __ATAN_TWOM.
42898 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42899
42900 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42901 their values.
42902 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42903 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42904 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42905 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42906
42907 2012-12-28 Andreas Jaeger <aj@suse.de>
42908
42909 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42910 values are from Linux 3.7.
42911
42912 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42913 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42914
42915 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42916
42917 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42918 TRUE case.
42919
42920 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42921 (norm): Likewise.
42922 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42923 variables with preprocessor constants.
42924 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42925 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42926 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42927
42928 2012-12-27 Bruno Haible <bruno@clisp.org>
42929
42930 [BZ #14317]
42931 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42932 only if needed.
42933
42934 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42935
42936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42937 and use variable directly.
42938 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42939
42940 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42941 MPONE.
42942 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42943 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42944 variable MPONE.
42945 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42947 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42948 include directive. Remove local variable MPONE.
42949 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42950 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42951 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42952
42953 2012-12-25 David S. Miller <davem@davemloft.net>
42954
42955 * version.h (RELEASE): Set to "development".
42956 (VERSION): Set to "2.17.90".
42957 * NEWS: Add 2.18 section.
42958
42959 2012-12-21 David S. Miller <davem@davemloft.net>
42960
42961 * po/hr.po: Update from translation team.
42962
42963 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42964
42965 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42966
42967 2012-12-19 Steve Ellcey <sellcey@mips.com>
42968
42969 * NEWS: Mention new memcpy for MIPS.
42970
42971 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42972
42973 * manual/contrib.texi (Contributors): Spelling correction.
42974
42975 2012-12-15 David S. Miller <davem@davemloft.net>
42976
42977 * po/ru.po: Update from translation team.
42978
42979 2012-12-13 David S. Miller <davem@davemloft.net>
42980
42981 * NEWS: Mention IFUNC testsuite enhancements.
42982
42983 * po/pl.po: Update from translation team.
42984 * po/bg.po: Likewise.
42985
42986 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42987 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42988
42989 2012-12-11 David S. Miller <davem@davemloft.net>
42990
42991 * po/sv.po: Update from translation team.
42992
42993 * po/vi.po: Update from translation team.
42994
42995 * po/cs.po: Update from translation team.
42996
42997 * po/de.po: Update from translation team.
42998 * po/eo.po: Likewise.
42999 * po/nl.po: Likewise.
43000
43001 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43002
43003 [BZ #14246]
43004 * manual/argp.texi (Argp Helper Functions): Move node to follow
43005 Argp Parsing State.
43006
43007 [BZ #14872]
43008 * manual/conf.texi (Limits on File System Capacity): Mention if
43009 terminating null is included in the max size.
43010
43011 2012-12-10 Andreas Jaeger <aj@suse.de>
43012
43013 * po/cs.po: Update from translation team.
43014
43015 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43016
43017 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43018 void pointer and cast to uintptr_t.
43019 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43020 path.
43021 * sysdeps/s390/s390-64/memcpy.S: Likewise.
43022 * sysdeps/s390/s390-64/memset.S: Likewise.
43023
43024 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
43025
43026 [BZ #14833]
43027 * menual/message.texi (Message Translation): Fix typos.
43028 (Helper programs for gettext): Likewise.
43029
43030 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
43031
43032 [BZ #14898]
43033 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43034 Change to -1.
43035
43036 2012-12-07 David S. Miller <davem@davemloft.net>
43037
43038 * po/libc.pot: Update.
43039
43040 2012-12-07 Richard Henderson <rth@redhat.com>
43041
43042 [BZ #10114]
43043 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43044 normal/normal case to before the switch.
43045 (_FP_DIV): Likewise.
43046
43047 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
43048 Mike Frysinger <vapier@gentoo.org>
43049
43050 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43051 check for __NR_fadvise64_64.
43052
43053 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
43054
43055 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43056 0, not just to plain "0" as a statement.
43057 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43058 with cw.
43059
43060 2012-12-06 Joseph Myers <joseph@codesourcery.com>
43061
43062 * NEWS: Use sourceware.org in Bugzilla URL.
43063
43064 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43065
43066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43067 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43068
43069 * stdio-common/tst-put-error.c (do_test): Add newline to the
43070 padded test to ensure flush.
43071
43072 2012-12-05 Jeff Law <law@redhat.com>
43073
43074 * sunrpc/etc.rpc (fedfs_admin): Add entry.
43075
43076 2012-12-05 Joseph Myers <joseph@codesourcery.com>
43077
43078 * README: Don't refer to ports add-on as distributed separately.
43079 Mention AArch64 in list of systems supported in the ports add-on.
43080
43081 * LICENSES: Add more non-FSF copyright and license notices.
43082
43083 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43084 ((unused)).
43085
43086 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43087
43088 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43089 10000 as width of padded output.
43090
43091 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43092
43093 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43094
43095 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43096 variable LX with __attribute__ ((unused)).
43097 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43098 Likewise.
43099 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43100 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43101 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43102 with __attribute__ ((unused)).
43103
43104 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
43105
43106 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43107
43108 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43109
43110 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43111 (CFLAGS-nldbl-acos.c): New variable.
43112 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43113 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43114 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43115 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43116 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43117 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43118 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43119 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43120 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43121 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43122 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43123 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43124 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43125 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43126 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43127 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43128 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43129 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43130 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43131 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43132 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43133 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43134 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43135 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43136 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43137 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43138 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43139 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43140 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43141 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43142 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43143 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43144 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43145 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43146 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43147 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43148 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43149 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43150 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43151 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43152 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43153 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43154 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43155 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43156 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43157 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43158 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43159 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43160 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43161 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43162 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43163 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43164 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43165 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43166 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43167 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43168 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43169 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43170 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43171 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43172 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43173 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43174 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43175 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43176 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43177 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43178 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43179 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43180 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43181 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43182 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43183 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43184 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43185 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43186 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43187 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43188 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43189 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43190 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43191 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43192 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43193 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43194 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43195 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43196 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43197 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43198 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43199 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43200 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43201 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43202 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43203 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43204 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43205 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43206 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43207 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43208 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43209
43210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43211 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43212
43213 [BZ #14914]
43214 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43215 whole low double instead of just low 47 bits when splitting values
43216 into two parts.
43217
43218 2012-12-03 Allan McRae <allan@archlinux.org>
43219
43220 * manual/stdio.texi (Predefined Printf Handlers): Remove
43221 @hsep and @vsep usage.
43222
43223 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43224
43225 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43226 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43227
43228 2012-12-03 Jeff Law <law@redhat.com>
43229
43230 * time/sys/time.h (settimeofday): Do not mark TV argument
43231 as __nonnull.
43232
43233 2012-12-01 Mike Frysinger <vapier@gentoo.org>
43234
43235 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43236 when currently writing and seek to current position when not.
43237 * libio/Makefile (tests): Remove bug-fclose1.
43238 * libio/bug-fclose1.c: Delete.
43239
43240 2012-12-01 Joseph Myers <joseph@codesourcery.com>
43241
43242 * manual/arith.texi (feenableexcept): Fix typo.
43243 (fedisableexcept): Likewise.
43244
43245 2012-11-30 Roland McGrath <roland@hack.frob.com>
43246
43247 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43248 second, differently-typed declaration, rather than a cast.
43249
43250 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43251
43252 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43253 * include/rpc/svc.h: ... here.
43254
43255 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43256
43257 [BZ #13013]
43258 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43259 depending n and resplen2 to catch cases where answer
43260 equals answerp2.
43261
43262 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43263
43264 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43265 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43266
43267 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43268
43269 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43270
43271 2012-11-29 Roland McGrath <roland@hack.frob.com>
43272
43273 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43274
43275 2012-11-28 Jeff Law <law@redhat.com>
43276
43277 [BZ #13761]
43278 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43279 dataset_temporary. Track alloca usage into alloca_used.
43280 If dataset is large allocate and release it via malloc/free.
43281
43282 2012-06-04 Florian Weimer <fweimer@redhat.com>
43283
43284 [BZ #14197]
43285 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43286
43287 2012-11-28 David S. Miller <davem@davemloft.net>
43288
43289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43290
43291 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43292
43293 [BZ #14803]
43294 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43295 of pi/2 rounded to nearest to 64 bits.
43296 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43297 nearest to 64 bits.
43298 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43299 bits.
43300
43301 2012-11-28 Jeff Law <law@redhat.com>
43302 Martin Osvald <mosvald@redhat.com>
43303
43304 [BZ #14889]
43305 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43306 * sunrpc/svc.c: Include time.h.
43307 (__svc_accept_failed): New function.
43308 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43309 any reason other than EINTR, call __svc_accept_failed.
43310 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43311 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43312
43313 2012-11-28 Andreas Schwab <schwab@suse.de>
43314
43315 * scripts/abilist.awk: Also handle indirect functions in .opd
43316 section.
43317
43318 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43319
43320 [BZ #13881]
43321 * sysdeps/x86/fpu/powl_helper.c: New file.
43322 * sysdeps/x86/fpu/Makefile: Likewise.
43323 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43324 (p3): New object.
43325 (__ieee754_powl): Use __powl_helper for finite arguments except
43326 integer exponents below 8.
43327 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43328 (p3): New object.
43329 (__ieee754_powl): Use __powl_helper for finite arguments except
43330 integer exponents below 8.
43331 * math/libm-test.inc (pow_test): Add more tests and enable some
43332 previously disabled tests.
43333 * sysdeps/i386/fpu/libm-test-ulps: Update.
43334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43335
43336 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43337 Carlos O'Donell <carlos_odonell@mentor.com>
43338
43339 * nss/makedb.c (is_prime): Assert that input is odd and greater
43340 than 4. Note that fact in a comment too.
43341 (next_prime): Add 4 to input.
43342
43343 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43344
43345 [BZ #11741]
43346 * libio/Makefile (tests): Add test case tst-fwrite-error.
43347 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43348 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43349 * libio/tst-fwrite-error.c: New test case.
43350
43351 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43352
43353 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43354 before casting to void *.
43355 * include/libc-internal.h (__pointer_type): New macro.
43356 (__integer_if_pointer_type_sub): Likewise.
43357 (__integer_if_pointer_type): Likewise.
43358 (cast_to_integer): Likewise.
43359 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43360 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43361 before casting to atomic64_t.
43362 (atomic_exchange_acq): Likewise.
43363 (__arch_exchange_and_add_body): Likewise.
43364 (__arch_add_body): Likewise.
43365 (atomic_add_negative): Likewise.
43366 (atomic_add_zero): Likewise.
43367
43368 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43369
43370 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43371 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43372 (add_fdes): Likewise.
43373 (linear_search_fdes): Likewise.
43374 (binary_search_unencoded_fdes): Likewise.
43375
43376 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43377
43378 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43379
43380 2012-11-24 Adam Conrad <adconrad@0c3.net>
43381
43382 * configure.in: Autodetect C++ header directories.
43383 * configure: Regenerated.
43384
43385 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43386
43387 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43388
43389 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43390
43391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43392
43393 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43394
43395 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43396 LDBL_MANT_DIG == 106]: Disable some tests.
43397 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43398 Likewise.
43399 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43400 Likewise.
43401
43402 [BZ #14871]
43403 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43404 input for small inputs. Return +/- pi/2 for large inputs.
43405 * math/libm-test.inc (atan_test): Add more tests.
43406
43407 * sysdeps/generic/unwind-dw2-fde-glibc.c
43408 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43409 __attribute__ ((unused)).
43410
43411 [BZ #14645]
43412 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43413 x * y if x and y are nonzero and z is zero.
43414
43415 [BZ #14811]
43416 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43417 nonzero exponents with absolute value below 0x1p-117 to +/-
43418 0x1p-117.
43419
43420 [BZ #14869]
43421 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43422 up arguments below 2**-450, not just those below 2**-500.
43423 * math/libm-test.inc (hypot_test): Add another test.
43424
43425 [BZ #14868]
43426 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43427 Return a+b for ratio over 2**120, not 2**60.
43428 * math/libm-test.inc (hypot_test): Add another test.
43429
43430 * math/libm-test.inc (clog_test): Use
43431 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43432 (clog10_test): Likewise.
43433
43434 [BZ #6778]
43435 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43436
43437 2012-11-22 Andreas Schwab <schwab@suse.de>
43438
43439 * sysdeps/i386/fpu/libm-test-ulps: Update.
43440
43441 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43442
43443 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43444 printf output with newline.
43445
43446 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43447
43448 [BZ #14865]
43449 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43450 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43451 -z nodlopen, -z initfirst and -z execstack support.
43452 * configure: Regenerated.
43453
43454 * elf/elf.h (DF_1_NODIRECT): New macro.
43455 (DF_1_IGNMULDEF): Likewise.
43456 (DF_1_NOKSYMS): Likewise.
43457 (DF_1_NOHDR): Likewise.
43458 (DF_1_EDITED): Likewise.
43459 (DF_1_NORELOC): Likewise.
43460 (DF_1_SYMINTPOSE): Likewise.
43461 (DF_1_GLOBAUDIT): Likewise.
43462 (DF_1_SINGLETON): Likewise.
43463 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43464 DT_1_SUPPORTED_MASK bits.
43465 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43466
43467 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43468
43469 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43470
43471 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43472
43473 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43474 macro.
43475
43476 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43477 (sendmmsg): Move declarations...
43478 * socket/sys/socket.h: ... here.
43479 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43480 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43481 include it from...
43482 * socket/recvmmsg.c: ... this new file.
43483 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43484 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43485 definition of __sendmmsg hidden.
43486 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43487 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43488 Move ENOSYS stub into and include it from...
43489 * socket/sendmmsg.c: ... this new file.
43490 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43491 (sysdep_routines): Move recvmmsg and sendmmsg...
43492 * socket/Makefile (routines): ... here.
43493 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43494 (GLIBC_PRIVATE): Add __sendmmsg.
43495 * include/sys/socket.h (__sendmmsg): Add declarations.
43496 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43497 sendmmsg.
43498
43499 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43500
43501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43502 variable I1 with __attribute__ ((unused)).
43503 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43504
43505 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43506
43507 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43508 DUMMY variables with __attribute__ ((unused)).
43509
43510 * bits/byteswap.h: Include <bits/types.h>.
43511 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43512
43513 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43514
43515 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43516 string_t. Do not manually set errno.
43517 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43518 length with __strnlen. Make sure to both set errno and return it on
43519 failure.
43520
43521 2012-11-19 David S. Miller <davem@davemloft.net>
43522
43523 With help from Joseph Myers.
43524 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43525 very large arguments properly.
43526 * math/libm-test.inc (atan_test): New tests.
43527 (atan2_test): New tests.
43528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43530
43531 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43532
43533 [BZ #14856]
43534 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43535 Define to 3.
43536
43537 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43538 [POSIX] (EADDRNOTAVAIL): Likewise.
43539 [POSIX] (EAFNOSUPPORT): Likewise.
43540 [POSIX] (EALREADY): Likewise.
43541 [POSIX] (ECONNABORTED): Likewise.
43542 [POSIX] (ECONNREFUSED): Likewise.
43543 [POSIX] (ECONNRESET): Likewise.
43544 [POSIX] (EDESTADDRREQ): Likewise.
43545 [POSIX] (EDQUOT): Likewise.
43546 [POSIX] (EHOSTUNREACH): Likewise.
43547 [POSIX] (EIDRM): Likewise.
43548 [POSIX] (EISCONN): Likewise.
43549 [POSIX] (ELOOP): Likewise.
43550 [POSIX] (EMULTIHOP): Likewise.
43551 [POSIX] (ENETDOWN): Likewise.
43552 [POSIX] (ENETUNREACH): Likewise.
43553 [POSIX] (ENOBUFS): Likewise.
43554 [POSIX] (ENODATA): Likewise.
43555 [POSIX] (ENOLINK): Likewise.
43556 [POSIX] (ENOMSG): Likewise.
43557 [POSIX] (ENOPROTOOPT): Likewise.
43558 [POSIX] (ENOSR): Likewise.
43559 [POSIX] (ENOSTR): Likewise.
43560 [POSIX] (ENOTCONN): Likewise.
43561 [POSIX] (ENOTSOCK): Likewise.
43562 [POSIX] (EOPNOTSUPP): Likewise.
43563 [POSIX] (EOVERFLOW): Likewise.
43564 [POSIX] (EPROTO): Likewise.
43565 [POSIX] (EPROTONOSUPPORT): Likewise.
43566 [POSIX] (EPROTOTYPE): Likewise.
43567 [POSIX] (ESTALE): Likewise.
43568 [POSIX] (ETIME): Likewise.
43569 [POSIX] (ETXTBSY): Likewise.
43570 [POSIX] (EWOULDBLOCK): Likewise.
43571 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43572 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43573 [POSIX] (SEEK_CUR): Likewise.
43574 [POSIX] (SEEK_END): Likewise.
43575 [POSIX || UNIX98] (mode_t): Do not require.
43576 [POSIX] (off_t): Likewise.
43577 [POSIX] (pid_t): Likewise.
43578 [POSIX] (sys/stat.h): Do not allow header.
43579 [POSIX] (unistd.h): Likewise.
43580 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43581 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43582 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43583 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43584 require.
43585 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43586 sigevent): Specify elements.
43587 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43588 entry.
43589 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43590 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43591
43592 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43593 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43594 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43595 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43596 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43597 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43598 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43599 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43600 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43601 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43602 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43603 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43604 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43605 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43606 Likewise.
43607 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43608 Likewise.
43609 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43610 Likewise.
43611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43612 Likewise.
43613 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43614 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43615 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43616 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43617 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43618 Specify lower bound on value.
43619 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43620 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43621 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43622 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43623 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43624 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43625 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43626 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43627 value.
43628 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43629 as optional.
43630 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43631 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43632 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43633 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43634 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43635 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43636 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43637 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43638 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43639 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43640 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43641 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43642 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43643 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43644 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43645 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43646 entry.
43647 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43648 optional.
43649 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43650 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43651 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43652 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43653 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43654 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43655 Likewise.
43656 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43657 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43658 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43659 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43660 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43661 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43662 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43663 as optional.
43664 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43665 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43666 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43667 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43668 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43669 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43670 specify as optional.
43671 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43672 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43673 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43674 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43675 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43676 [XPG3] (NL_LANGMAX): Likewise.
43677 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43678 [POSIX || XPG3] (NL_NMAX): Likewise.
43679 [POSIX || XPG3] (NL_SETMAX): Likewise.
43680 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43681 [XPG3] (NZERO): Likewise.
43682 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43683 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43684 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43685 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43686 (REG_ERANGE): Expect.
43687 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43688 optional-constant.
43689 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43690 Use (void) in prototype.
43691 [POSIX] (*_t): Allow.
43692 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43693 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43694 (WRDE_BADVAL): Expect.
43695
43696 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43697 expect.
43698 [XPG3 || XPG4] (O_RSYNC): Likewise.
43699 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43700 Likewise.
43701 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43702 [XPG3 || XPG4] (sigqueue): Likewise.
43703 [XPG3 || XPG4] (sigtimedwait): Likewise.
43704 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43705 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43706 [XPG3 || XPG4] (vsnprintf): Likewise.
43707 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43708 Likewise.
43709 [XPG3 || XPG4] (blksize_t): Likewise.
43710 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43711 Likewise.
43712 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43713 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43714 [XPG3 || XPG4] (struct itimerspec): Likewise.
43715 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43716 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43717 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43718 [XPG3 || XPG4] (clockid_t): Likewise.
43719 [XPG3 || XPG4] (timer_t): Likewise.
43720 [XPG3 || XPG4] (clock_getres): Likewise.
43721 [XPG3 || XPG4] (clock_gettime): Likewise.
43722 [XPG3 || XPG4] (clock_settime): Likewise.
43723 [XPG3 || XPG4] (nanosleep): Likewise.
43724 [XPG3 || XPG4] (timer_create): Likewise.
43725 [XPG3 || XPG4] (timer_delete): Likewise.
43726 [XPG3 || XPG4] (timer_gettime): Likewise.
43727 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43728 [XPG3 || XPG4] (timer_settime): Likewise.
43729 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43730 [XPG3 || XPG4] (getlogin_r): Likewise.
43731 [XPG3 || XPG4] (pread): Likewise.
43732 [XPG3 || XPG4] (pthread_atfork): Likewise.
43733 [XPG3 || XPG4] (pwrite): Likewise.
43734
43735 [BZ #14835]
43736 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43737 <bits/siginfo.h>.
43738
43739 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43740
43741 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43742 finalizing MALLSTREAM.
43743
43744 * sysdeps/mach/hurd/syncfs.c: New file.
43745
43746 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43747
43748 [BZ #14719]
43749 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43750 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43751 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43752 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43753 (_nss_dns_gethostbyname4_r): Likewise.
43754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43755 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43756
43757 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43758
43759 [BZ #13763]
43760 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43761
43762 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43763
43764 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43765 * elf/cache.c (print_entry): Print ",AArch64" for
43766 FLAG_AARCH64_LIB64
43767
43768 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43769 * elf/cache.c (print_entry): Print ",hard-float" for
43770 FLAG_ARM_LIBHF.
43771
43772 2012-11-18 David S. Miller <davem@davemloft.net>
43773
43774 With help from Joseph Myers.
43775 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43776 cutoff to 2**-13.
43777 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43778 cutoff to 2**-25.
43779 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43780 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43781 small.
43782 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43783 * math/libm-test.inc (y0_test): New tests.
43784 (y1_test): New tests.
43785 * sysdeps/i386/fpu/libm-test-ulps: Update.
43786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43788
43789 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43790
43791 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43792 64-bit targets.
43793 * configure: Regenerated.
43794
43795 2012-11-17 David S. Miller <davem@davemloft.net>
43796
43797 [BZ #14811]
43798 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43799 nonzero exponents with absolute value below 0x1p-128 to +/-
43800 0x1p-128.
43801
43802 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43803
43804 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43805
43806 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43807
43808 * posix/getconf-speclist.c: New file.
43809 * posix/posix-envs.def: Likewise.
43810 * posix/confstr.c (START_ENV_GROUP): New macro.
43811 (END_ENV_GROUP): Likewise.
43812 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43813 (KNOWN_PRESENT_ENV_STRING): Likewise.
43814 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43815 (UNKNOWN_ENVIRONMENT): Likewise.
43816 (confstr): Include posix-envs.def instead of handling
43817 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43818 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43819 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43820 (END_ENV_GROUP): Likewise.
43821 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43822 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43823 (UNKNOWN_ENVIRONMENT): Likewise.
43824 (__sysconf): Include posix-envs.def instead of handling associated
43825 cases directly here.
43826 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43827 preprocessing getconf-speclist.c rather than running getconf or
43828 generating empty file.
43829
43830 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43831
43832 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43833
43834 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43835
43836 [BZ #14672]
43837 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43838
43839 2012-11-16 David S. Miller <davem@davemloft.net>
43840
43841 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43842 smaller than LDBL_EPSILON/2.0L, just return xm1.
43843
43844 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43845
43846 * elf/tst-array1.c (init): Set constructor priority to 1000.
43847 (fini): Set destructor priority to 1000.
43848 * elf/tst-array2dep.c: Likewise.
43849
43850 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43851
43852 [BZ #11741]
43853 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43854 (_IO_new_file_xsputn): Also return EOF if none of the input
43855 data was written when overflow failed.
43856 * libio/iopadn.c (_IO_padn): Likewise.
43857 * libio/iowpadn.c (_IO_wpadn): Likewise.
43858 * stdio-common/tst-put-error.c: Add copyright notice.
43859 (do_test): Add case for printing padded string.
43860 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43861 _IO_padn returned error.
43862 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43863 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43864 return EOF.
43865
43866 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43867
43868 * libio/libioP.h: Add comment note that the references to C++
43869 bits are now obsolete.
43870
43871 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43872
43873 * math/libm-test.inc (check_complex): Use asprintf.
43874
43875 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43876
43877 * debug/pcprofiledump.c (print_version): Update copyright year.
43878 * malloc/memusagestat.c (print_version): Likewise.
43879
43880 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43881
43882 [BZ #14831]
43883 * elf/Makefile (tests): Add tst-audit8.
43884 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43885 ($(objpfx)tst-audit8.out): New target.
43886 (tst-audit8-ENV): New variable.
43887 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43888 audit if l_reloc_result is NULL.
43889 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43890 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43891 * elf/tst-audit8.c: New file.
43892
43893 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43894
43895 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43896 * misc/Makefile (CFLAGS-select.c): Define.
43897 * posix/Makefile (CFLAGS-pause.c): Define.
43898
43899 2012-11-13 David S. Miller <davem@davemloft.net>
43900
43901 * crypt/Makefile: Move test targets after toplevel Rules
43902 inclusion. Grab any necessary sysdep routines when linking.
43903 * crypt/md5.c (md5_process_block): Remove define, we will always
43904 name it __md5_process_block.
43905 (md5_finish_ctx): Update md5_process_block call.
43906 (md5_stream): Likewise.
43907 (md5_process_bytes): Likewise.
43908 (md5_process_block): Rename to __md5_process_block and move to ...
43909 * crypt/md5-block.c: ... here.
43910 * crypt/sha256.c (sha256_process_block): Move to ...
43911 * crypt/sha256-block.c: ... here.
43912 * crypt/sha512.c (sha512_process_block): Move to ...
43913 * crypt/sha512-block.c: ... here.
43914 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43915 path.
43916 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43917 * sysdeps/sparc/sparc64/multiarch/Makefile
43918 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43919 crypt subdir.
43920 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43921 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43922 multiarch changes.
43923 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43924 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43925 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43926 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43927 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43928 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43929 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43930 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43931 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43932 file.
43933 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43934 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43935 file.
43936 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43937
43938 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43939
43940 * timezone/tzselect.ksh: Update from tzcode git revision
43941 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43942 * timezone/zdump.c: Likewise.
43943 * timezone/zic.c: Likewise.
43944 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43945 in TZVERSION setting, not $(PKGVERSION).
43946 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43947 REPORT_BUGS_TO settings.
43948
43949 [BZ #14838]
43950 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43951 macro.
43952
43953 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43954
43955 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43956 detection to immediately after _FP_ROUND().
43957 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43958 bits are 0.
43959
43960 2012-11-11 David S. Miller <davem@davemloft.net>
43961
43962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43963 inttypes.h
43964 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43965 __close rather than their public counterparts.
43966
43967 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43968
43969 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43970 file.
43971 [UNIX98] (sem_timedwait): Do not expect.
43972 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43973 [XPG4 || UNIX98] (sockatmark): Do not expect.
43974 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43975 (clock_getcpuclockid): Do not expect.
43976 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43977 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43978 Do not expect.
43979 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43980 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43981 [UNIX98] (vwscanf): Likewise.
43982 [UNIX98] (vswscanf): Likewise.
43983
43984 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43985
43986 * timezone/version.h: Remove file.
43987 * timezone/README: Do not refer to version.h.
43988 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43989 $(objpfx)version.h.
43990 ($(objpfx)zdump.o): Likewise.
43991 ($(objpfx)version.h): New target.
43992
43993 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43994 2012i.
43995 * timezone/README: Don't mention modification to tzselect.ksh.
43996 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43997 work on unmodified tzselect.ksh. Substitute version numbers in
43998 tzselect.ksh.
43999
44000 * Makefile (format-me): Remove.
44001 (INSTALL): Adjust indentation. Use commands directly instead of
44002 using $(format-me).
44003
44004 * aclocal.m4 (ACX_PKGVERSION): New macro.
44005 (ACX_BUGURL): Likewise.
44006 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44007 (PKGVERSION): New AC_DEFINE_UNQUOTED.
44008 (REPORT_BUGS_TO): Likewise.
44009 * configure: Regenerated.
44010 * config.h.in (PKGVERSION): New macro.
44011 (REPORT_BUGS_TO): Likewise.
44012 * config.make.in (PKGVERSION): New variable.
44013 (PKGVERSION_TEXI): Likewise.
44014 (REPORT_BUGS_TO): Likewise.
44015 (REPORT_BUGS_TEXI): Likewise.
44016 * Makefile (format-me): Use -I$(common-objpfx)manual.
44017 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44018 ($(common-objpfx)manual/%): New target.
44019 (manual/%): Remove target.
44020 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44021 (print_version): Use PKGVERSION.
44022 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44023 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44024 and REPORT_BUGS_TO.
44025 ($(objpfx)xtrace): Likewise.
44026 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44027 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44028 (print_version): Use PKGVERSION.
44029 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44030 (do_version): Use PKGVERSION.
44031 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44032 REPORT_BUGS_TO.
44033 (common-ldd-rewrite): Likewise.
44034 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44035 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44036 (print_version): Use PKGVERSION.
44037 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44038 * elf/pldd.c (argp_program_bug_address): Remove variable.
44039 (more_help): New function.
44040 (argp): Use more_help.
44041 (print_version): Use PKGVERSION.
44042 * elf/sln.c (main): Use PKGVERSION.
44043 (usage): Use REPORT_BUGS_TO.
44044 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44045 (top level): Use PKGVERSION.
44046 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44047 (print_version): Use PKGVERSION.
44048 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44049 (print_version): Use PKGVERSION.
44050 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44051 (print_version): Use PKGVERSION.
44052 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44053 (print_version): Use PKGVERSION.
44054 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44055 (print_version): Use PKGVERSION.
44056 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44057 (print_version): Use PKGVERSION.
44058 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44059 and BUGURL.
44060 ($(objpfx)memusage): Likewise.
44061 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44062 (do_version): Use PKGVERSION.
44063 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44064 (print_version): Use PKGVERSION.
44065 * malloc/mtrace.pl ($PACKAGE): Remove variable.
44066 ($PKGVERSION): New variable.
44067 ($REPORT_BUGS_TO): Likewise.
44068 (usage): Use $REPORT_BUGS_TO.
44069 (top level): Use $PKGVERSION.
44070 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44071 ($(objpfx)pkgvers.texi): New rule.
44072 ($(objpfx)stamp-pkgvers): Likewise.
44073 * manual/install.texi: Include pkgvers.texi.
44074 (--with-pkgversion): Document new configure option.
44075 (--with-bugurl): Likewise.
44076 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44077 than necessarily for this particular distribution. Use
44078 REPORT_BUGS_TO for where to report bugs.
44079 * INSTALL: Regenerated.
44080 * manual/libc.texinfo: Include pkgvers.texi.
44081 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44082 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44083 (print_version): Use PKGVERSION.
44084 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44085 (print_version): Use PKGVERSION.
44086 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44087 (print_version): Use PKGVERSION.
44088 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44089 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44090 macro.
44091 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44092 (print_version): Use PKGVERSION.
44093 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44094 (print_version): Use PKGVERSION.
44095 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44096 and PKGVERSION.
44097
44098 * timezone/checktab.awk: Update from tzcode 2012i.
44099 * timezone/ialloc.c: Likewise.
44100 * timezone/private.h: Likewise.
44101 * timezone/scheck.c: Likewise.
44102 * timezone/tzfile.h: Likewise.
44103 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44104 (TZVERSION): Hardcode tzcode version number.
44105 * timezone/zdump.c: Update from tzcode 2012i.
44106 * timezone/zic.c: Likewise.
44107 * timezone/version.h: New file.
44108 * timezone/README: Describe version.h. Update upstream location.
44109
44110 [BZ #14824]
44111 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44112 (mktemp): Enable declaration.
44113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44117 Likewise.
44118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44119 Likewise.
44120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44121 Likewise.
44122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44123 Likewise.
44124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44125 Likewise.
44126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44127 Likewise.
44128
44129 [BZ #14821]
44130 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44131 offset in buffer as u_int32_t not u_long. Consistently use memcpy
44132 for copies of such integer values.
44133 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44134 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44135
44136 2012-11-09 Andreas Jaeger <aj@suse.de>
44137
44138 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44139 definitions and declarations that are provided by
44140 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44141
44142 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44143
44144 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44145 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44146 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44147 definition.
44148
44149 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44150
44151 * elf/elf.h: Update comment before AArch64 relocations.
44152
44153 2012-11-07 David S. Miller <davem@davemloft.net>
44154
44155 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44156 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44157 (__start_context): Declare.
44158 (__makecontext_ret): Delete.
44159 (__makecontext): Hook up __start_context instead of
44160 __makecontext_ret.
44161 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44162 (sysdep_routines): Add __start_context when in stdlib.
44163
44164 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44165
44166 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44167 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44168 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44169 hardcoded "nm".
44170 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44171 (READELF): New variable. Use it instead of hardcoded "readelf".
44172
44173 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44174
44175 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44176 * sysdeps/x86/Makefile: Here.
44177 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44178 * sysdeps/x86/tst-xmmymm.sh: This.
44179
44180 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44181
44182 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44183 expectations.
44184 [UNIX98] (pthread_barrier_t): Do not expect.
44185 [UNIX98] (pthread_barrierattr_t): Likewise.
44186 [UNIX98] (pthread_spinlock_t): Likewise.
44187 [UNIX98] (pthread_barrier_destroy): Likewise.
44188 [UNIX98] (pthread_barrier_init): Likewise.
44189 [UNIX98] (pthread_barrier_wait): Likewise.
44190 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44191 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44192 [UNIX98] (pthread_barrierattr_init): Likewise.
44193 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44194 [UNIX98] (pthread_getcpuclockid): Likewise.
44195 [UNIX98] (pthread_mutex_timedlock): Likewise.
44196 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44197 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44198 [UNIX98] (pthread_sigmask): Likewise.
44199 [UNIX98] (pthread_spin_destroy): Likewise.
44200 [UNIX98] (pthread_spin_init): Likewise.
44201 [UNIX98] (pthread_spin_lock): Likewise.
44202 [UNIX98] (pthread_spin_trylock): Likewise.
44203 [UNIX98] (pthread_spin_unlock): Likewise.
44204 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44205 Do not expect.
44206 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44208 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44209 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44210 [XPG3 || XPG4] (pthread_key_t): Likewise.
44211 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44212 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44213 [XPG3 || XPG4] (pthread_once_t): Likewise.
44214 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44215 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44217 [XPG3 || XPG4] (pthread_t): Likewise.
44218
44219 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44220 not expect.
44221 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44222
44223 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44224 Change function return type to int.
44225
44226 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44227 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44228 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44229 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44230 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44231 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44232 [!POSIX] (posix_madvise): Likewise.
44233 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44234 && !UNIX98].
44235 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44236 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44237 (mode_t): Likewise.
44238 (posix_mem_offset): Likewise.
44239 (posix_typed_mem_get_info): Likewise.
44240 (posix_typed_mem_open): Likewise.
44241
44242 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44243 Change condition to [XOPEN2K8].
44244
44245 * conform/conformtest.pl: Preprocess allow-header data with -x c
44246 instead of from stdin.
44247 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44248 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44249 [C99-based standards] (cerfc): Likewise.
44250 [C99-based standards] (cexp2): Likewise.
44251 [C99-based standards] (cexpm1): Likewise.
44252 [C99-based standards] (clog10): Likewise.
44253 [C99-based standards] (clog1p): Likewise.
44254 [C99-based standards] (clog2): Likewise.
44255 [C99-based standards] (clgamma): Likewise.
44256 [C99-based standards] (ctgamma): Likewise.
44257 [C99-based standards] (cerff): Likewise.
44258 [C99-based standards] (cerfcf): Likewise.
44259 [C99-based standards] (cexp2f): Likewise.
44260 [C99-based standards] (cexpm1f): Likewise.
44261 [C99-based standards] (clog10f): Likewise.
44262 [C99-based standards] (clog1pf): Likewise.
44263 [C99-based standards] (clog2f): Likewise.
44264 [C99-based standards] (clgammaf): Likewise.
44265 [C99-based standards] (ctgammaf): Likewise.
44266 [C99-based standards] (cerfl): Likewise.
44267 [C99-based standards] (cerfcl): Likewise.
44268 [C99-based standards] (cexp2l): Likewise.
44269 [C99-based standards] (cexpm1l): Likewise.
44270 [C99-based standards] (clog10l): Likewise.
44271 [C99-based standards] (clog1pl): Likewise.
44272 [C99-based standards] (clog2l): Likewise.
44273 [C99-based standards] (clgammal): Likewise.
44274 [C99-based standards] (ctgammal): Likewise.
44275 * conform/data/inttypes.h-data [C99-based standards]: Include
44276 stdint.h-data. Remove all expectations for stdint.h contents.
44277 [C99-based standards] (PRI*): Do not allow.
44278 [C99-based standards] (SCN*): Likewise.
44279 [C99-based standards] (*_t): Likewise.
44280 [C99-based-standards] (PRId8): Expect macro.
44281 [C99-based-standards] (PRIi8): Likewise.
44282 [C99-based-standards] (PRIo8): Likewise.
44283 [C99-based-standards] (PRIu8): Likewise.
44284 [C99-based-standards] (PRIx8): Likewise.
44285 [C99-based-standards] (PRIX8): Likewise.
44286 [C99-based-standards] (SCNd8): Likewise.
44287 [C99-based-standards] (SCNi8): Likewise.
44288 [C99-based-standards] (SCNo8): Likewise.
44289 [C99-based-standards] (SCNu8): Likewise.
44290 [C99-based-standards] (SCNx8): Likewise.
44291 [C99-based-standards] (PRIdLEAST8): Likewise.
44292 [C99-based-standards] (PRIiLEAST8): Likewise.
44293 [C99-based-standards] (PRIoLEAST8): Likewise.
44294 [C99-based-standards] (PRIuLEAST8): Likewise.
44295 [C99-based-standards] (PRIxLEAST8): Likewise.
44296 [C99-based-standards] (PRIXLEAST8): Likewise.
44297 [C99-based-standards] (SCNdLEAST8): Likewise.
44298 [C99-based-standards] (SCNiLEAST8): Likewise.
44299 [C99-based-standards] (SCNoLEAST8): Likewise.
44300 [C99-based-standards] (SCNuLEAST8): Likewise.
44301 [C99-based-standards] (SCNxLEAST8): Likewise.
44302 [C99-based-standards] (PRIdFAST8): Likewise.
44303 [C99-based-standards] (PRIiFAST8): Likewise.
44304 [C99-based-standards] (PRIoFAST8): Likewise.
44305 [C99-based-standards] (PRIuFAST8): Likewise.
44306 [C99-based-standards] (PRIxFAST8): Likewise.
44307 [C99-based-standards] (PRIXFAST8): Likewise.
44308 [C99-based-standards] (SCNdFAST8): Likewise.
44309 [C99-based-standards] (SCNiFAST8): Likewise.
44310 [C99-based-standards] (SCNoFAST8): Likewise.
44311 [C99-based-standards] (SCNuFAST8): Likewise.
44312 [C99-based-standards] (SCNxFAST8): Likewise.
44313 [C99-based-standards] (PRId16): Likewise.
44314 [C99-based-standards] (PRIi16): Likewise.
44315 [C99-based-standards] (PRIo16): Likewise.
44316 [C99-based-standards] (PRIu16): Likewise.
44317 [C99-based-standards] (PRIx16): Likewise.
44318 [C99-based-standards] (PRIX16): Likewise.
44319 [C99-based-standards] (SCNd16): Likewise.
44320 [C99-based-standards] (SCNi16): Likewise.
44321 [C99-based-standards] (SCNo16): Likewise.
44322 [C99-based-standards] (SCNu16): Likewise.
44323 [C99-based-standards] (SCNx16): Likewise.
44324 [C99-based-standards] (PRIdLEAST16): Likewise.
44325 [C99-based-standards] (PRIiLEAST16): Likewise.
44326 [C99-based-standards] (PRIoLEAST16): Likewise.
44327 [C99-based-standards] (PRIuLEAST16): Likewise.
44328 [C99-based-standards] (PRIxLEAST16): Likewise.
44329 [C99-based-standards] (PRIXLEAST16): Likewise.
44330 [C99-based-standards] (SCNdLEAST16): Likewise.
44331 [C99-based-standards] (SCNiLEAST16): Likewise.
44332 [C99-based-standards] (SCNoLEAST16): Likewise.
44333 [C99-based-standards] (SCNuLEAST16): Likewise.
44334 [C99-based-standards] (SCNxLEAST16): Likewise.
44335 [C99-based-standards] (PRIdFAST16): Likewise.
44336 [C99-based-standards] (PRIiFAST16): Likewise.
44337 [C99-based-standards] (PRIoFAST16): Likewise.
44338 [C99-based-standards] (PRIuFAST16): Likewise.
44339 [C99-based-standards] (PRIxFAST16): Likewise.
44340 [C99-based-standards] (PRIXFAST16): Likewise.
44341 [C99-based-standards] (SCNdFAST16): Likewise.
44342 [C99-based-standards] (SCNiFAST16): Likewise.
44343 [C99-based-standards] (SCNoFAST16): Likewise.
44344 [C99-based-standards] (SCNuFAST16): Likewise.
44345 [C99-based-standards] (SCNxFAST16): Likewise.
44346 [C99-based-standards] (PRId32): Likewise.
44347 [C99-based-standards] (PRIi32): Likewise.
44348 [C99-based-standards] (PRIo32): Likewise.
44349 [C99-based-standards] (PRIu32): Likewise.
44350 [C99-based-standards] (PRIx32): Likewise.
44351 [C99-based-standards] (PRIX32): Likewise.
44352 [C99-based-standards] (SCNd32): Likewise.
44353 [C99-based-standards] (SCNi32): Likewise.
44354 [C99-based-standards] (SCNo32): Likewise.
44355 [C99-based-standards] (SCNu32): Likewise.
44356 [C99-based-standards] (SCNx32): Likewise.
44357 [C99-based-standards] (PRIdLEAST32): Likewise.
44358 [C99-based-standards] (PRIiLEAST32): Likewise.
44359 [C99-based-standards] (PRIoLEAST32): Likewise.
44360 [C99-based-standards] (PRIuLEAST32): Likewise.
44361 [C99-based-standards] (PRIxLEAST32): Likewise.
44362 [C99-based-standards] (PRIXLEAST32): Likewise.
44363 [C99-based-standards] (SCNdLEAST32): Likewise.
44364 [C99-based-standards] (SCNiLEAST32): Likewise.
44365 [C99-based-standards] (SCNoLEAST32): Likewise.
44366 [C99-based-standards] (SCNuLEAST32): Likewise.
44367 [C99-based-standards] (SCNxLEAST32): Likewise.
44368 [C99-based-standards] (PRIdFAST32): Likewise.
44369 [C99-based-standards] (PRIiFAST32): Likewise.
44370 [C99-based-standards] (PRIoFAST32): Likewise.
44371 [C99-based-standards] (PRIuFAST32): Likewise.
44372 [C99-based-standards] (PRIxFAST32): Likewise.
44373 [C99-based-standards] (PRIXFAST32): Likewise.
44374 [C99-based-standards] (SCNdFAST32): Likewise.
44375 [C99-based-standards] (SCNiFAST32): Likewise.
44376 [C99-based-standards] (SCNoFAST32): Likewise.
44377 [C99-based-standards] (SCNuFAST32): Likewise.
44378 [C99-based-standards] (SCNxFAST32): Likewise.
44379 [C99-based-standards] (PRId64): Likewise.
44380 [C99-based-standards] (PRIi64): Likewise.
44381 [C99-based-standards] (PRIo64): Likewise.
44382 [C99-based-standards] (PRIu64): Likewise.
44383 [C99-based-standards] (PRIx64): Likewise.
44384 [C99-based-standards] (PRIX64): Likewise.
44385 [C99-based-standards] (SCNd64): Likewise.
44386 [C99-based-standards] (SCNi64): Likewise.
44387 [C99-based-standards] (SCNo64): Likewise.
44388 [C99-based-standards] (SCNu64): Likewise.
44389 [C99-based-standards] (SCNx64): Likewise.
44390 [C99-based-standards] (PRIdLEAST64): Likewise.
44391 [C99-based-standards] (PRIiLEAST64): Likewise.
44392 [C99-based-standards] (PRIoLEAST64): Likewise.
44393 [C99-based-standards] (PRIuLEAST64): Likewise.
44394 [C99-based-standards] (PRIxLEAST64): Likewise.
44395 [C99-based-standards] (PRIXLEAST64): Likewise.
44396 [C99-based-standards] (SCNdLEAST64): Likewise.
44397 [C99-based-standards] (SCNiLEAST64): Likewise.
44398 [C99-based-standards] (SCNoLEAST64): Likewise.
44399 [C99-based-standards] (SCNuLEAST64): Likewise.
44400 [C99-based-standards] (SCNxLEAST64): Likewise.
44401 [C99-based-standards] (PRIdFAST64): Likewise.
44402 [C99-based-standards] (PRIiFAST64): Likewise.
44403 [C99-based-standards] (PRIoFAST64): Likewise.
44404 [C99-based-standards] (PRIuFAST64): Likewise.
44405 [C99-based-standards] (PRIxFAST64): Likewise.
44406 [C99-based-standards] (PRIXFAST64): Likewise.
44407 [C99-based-standards] (SCNdFAST64): Likewise.
44408 [C99-based-standards] (SCNiFAST64): Likewise.
44409 [C99-based-standards] (SCNoFAST64): Likewise.
44410 [C99-based-standards] (SCNuFAST64): Likewise.
44411 [C99-based-standards] (SCNxFAST64): Likewise.
44412 [C99-based-standards] (PRIdMAX): Likewise.
44413 [C99-based-standards] (PRIiMAX): Likewise.
44414 [C99-based-standards] (PRIoMAX): Likewise.
44415 [C99-based-standards] (PRIuMAX): Likewise.
44416 [C99-based-standards] (PRIxMAX): Likewise.
44417 [C99-based-standards] (PRIXMAX): Likewise.
44418 [C99-based-standards] (SCNdMAX): Likewise.
44419 [C99-based-standards] (SCNiMAX): Likewise.
44420 [C99-based-standards] (SCNoMAX): Likewise.
44421 [C99-based-standards] (SCNuMAX): Likewise.
44422 [C99-based-standards] (SCNxMAX): Likewise.
44423 [C99-based-standards] (PRIdPTR): Likewise.
44424 [C99-based-standards] (PRIiPTR): Likewise.
44425 [C99-based-standards] (PRIoPTR): Likewise.
44426 [C99-based-standards] (PRIuPTR): Likewise.
44427 [C99-based-standards] (PRIxPTR): Likewise.
44428 [C99-based-standards] (PRIXPTR): Likewise.
44429 [C99-based-standards] (SCNdPTR): Likewise.
44430 [C99-based-standards] (SCNiPTR): Likewise.
44431 [C99-based-standards] (SCNoPTR): Likewise.
44432 [C99-based-standards] (SCNuPTR): Likewise.
44433 [C99-based-standards] (SCNxPTR): Likewise.
44434 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44435 allow.
44436 * conform/data/stdint.h-data: Update comments to clarify
44437 requirements.
44438 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44439 type.
44440 [C99-based standards] (INT8_MAX): Likewise.
44441 [C99-based standards] (INT16_MIN): Likewise.
44442 [C99-based standards] (INT16_MAX): Likewise.
44443 [C99-based standards] (INT32_MIN): Likewise.
44444 [C99-based standards] (INT32_MAX): Likewise.
44445 [C99-based standards] (INT64_MIN): Likewise.
44446 [C99-based standards] (INT64_MAX): Likewise.
44447 [C99-based standards] (UINT8_MAX): Likewise.
44448 [C99-based standards] (UINT16_MAX): Likewise.
44449 [C99-based standards] (UINT32_MAX): Likewise.
44450 [C99-based standards] (UINT64_MAX): Likewise.
44451 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44452 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44453 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44454 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44455 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44456 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44457 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44458 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44459 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44460 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44461 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44462 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44463 [C99-based standards] (INT_FAST8_MIN): Likewise.
44464 [C99-based standards] (INT_FAST8_MAX): Likewise.
44465 [C99-based standards] (INT_FAST16_MIN): Likewise.
44466 [C99-based standards] (INT_FAST16_MAX): Likewise.
44467 [C99-based standards] (INT_FAST32_MIN): Likewise.
44468 [C99-based standards] (INT_FAST32_MAX): Likewise.
44469 [C99-based standards] (INT_FAST64_MIN): Likewise.
44470 [C99-based standards] (INT_FAST64_MAX): Likewise.
44471 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44472 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44473 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44474 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44475 [C99-based standards] (INTPTR_MIN): Likewise.
44476 [C99-based standards] (INTPTR_MAX): Likewise.
44477 [C99-based standards] (UINTPTR_MAX): Likewise.
44478 [C99-based standards] (INTMAX_MIN): Likewise.
44479 [C99-based standards] (INTMAX_MAX): Likewise.
44480 [C99-based standards] (UINTMAX_MAX): Likewise.
44481 [C99-based standards] (PTRDIFF_MIN): Likewise.
44482 [C99-based standards] (PTRDIFF_MAX): Likewise.
44483 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44484 [C99-based standards] (SIZE_MAX): Likewise.
44485 [C99-based standards] (WCHAR_MAX): Likewise.
44486 [C99-based standards] (WINT_MAX): Likewise.
44487 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44488 constraint on value.
44489 [C99-based standards] (WCHAR_MIN): Likewise.
44490 [C99-based standards] (WINT_MIN): Likewise.
44491 [C99-based standards] (*_t): Allow.
44492 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44493 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44494 Include math.h-data and complex.h-data. Remove all expectations
44495 of math.h and complex.h contents.
44496 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44497 at end of line.
44498 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44499 (struct tm): Expect tag.
44500 [C99-based-standards] (wcstof): Expect function.
44501 [C99-based-standards] (wcstold): Likewise.
44502 [C99-based-standards] (wcstoll): Likewise.
44503 [C99-based-standards] (wcstoull): Likewise.
44504 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44505 macro-int-constant. Specify type.
44506 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44507 constraint on value.
44508 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44509 Specify type.
44510 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44511 Specify value.
44512 [ISO C standards]: Do not allow headers.
44513 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44514 wcs[abcdefghijklmnopqrstuvwxyz]*.
44515 [ISO C standards] (*_t): Do not allow.
44516 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44517 Expect function.
44518 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44519 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44520 Specify type.
44521 [ISO C standards]: Do not allow headers.
44522 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44523 is[abcdefghijklmnopqrstuvwxyz]*.
44524 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44525 to[abcdefghijklmnopqrstuvwxyz]*.
44526 [ISO C standards] (*_t): Do not allow.
44527 * conform/data/stdalign.h-data: New file.
44528 * conform/data/stdbool.h-data: Likewise.
44529 * conform/data/stdnoreturn.h-data: Likewise.
44530
44531 2012-11-07 Roland McGrath <roland@hack.frob.com>
44532
44533 [BZ #14815]
44534 * manual/filesys.texi (Directory Entries): Typo fix.
44535 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44536
44537 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44538
44539 * elf/elf.h (EM_AARCH64): New macro.
44540 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44541 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44542 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44543 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44544 (R_AARCH64_TLSDESC): Likewise.
44545 (NT_ARM_TLS): Likewise.
44546 (NT_ARM_HW_BREAK): Likewise.
44547 (NT_ARM_HW_WATCH): Likewise.
44548
44549 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44550
44551 [BZ #14811]
44552 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44553 (__ieee754_powl): Saturate nonzero exponents with absolute value
44554 below 0x1p-79 to +/- 0x1p-79.
44555 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44556 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44557 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44558 nonzero exponents with absolute value below 0x1p-32 to +/-
44559 0x1p-32.
44560 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44561 (__ieee754_powl): Saturate nonzero exponents with absolute value
44562 below 0x1p-79 to +/- 0x1p-79.
44563 * math/libm-test.inc (pow_test): Add more tests.
44564
44565 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44566
44567 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44568 _dl_s390_cap_flags with kernel. Increase string length.
44569 (_dl_s390_platforms): Add z196 and zEC12.
44570
44571 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44572
44573 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44574 Change XOPEN21K to XOPEN2K.
44575
44576 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44577
44578 * string/memmove.c: Use memcpy when possible.
44579
44580 2012-11-06 Andreas Jaeger <aj@suse.de>
44581
44582 * po/eo.po: Update from translation team.
44583
44584 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44585
44586 [BZ #14793]
44587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44588 exponent and small x and y exponents, scale x or y up. Increase
44589 by 2 the exponent used in scaling up.
44590 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44591 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44592 * math/libm-test.inc (fma_test): Add more tests.
44593 (fma_test_towardzero): Likewise.
44594 (fma_test_downward): Likewise.
44595 (fma_test_upward): Likewise.
44596
44597 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44598
44599 [BZ #14805]
44600 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44601 fenv_t *.
44602
44603 [BZ #14801]
44604 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44605 namespace for names of struct fields.
44606 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44607 fenv_t fields.
44608 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44609 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44610
44611 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44612
44613 [BZ #3665]
44614 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44615
44616 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44617
44618 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44619 PTR_DEMANGLE.
44620
44621 [BZ #5246]
44622 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44623 PTR_DEMANGLE.
44624
44625 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44626
44627 [BZ #14797]
44628 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44629 definitely overflow as x * y not x * y + z.
44630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44631 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44632 * math/libm-test.inc (fma_test): Add more tests.
44633 (fma_test_towardzero): Likewise.
44634 (fma_test_downward): Likewise.
44635 (fma_test_upward): Likewise.
44636
44637 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44638
44639 [BZ #157]
44640
44641 * include/stub-tag.h: Remove file.
44642 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44643 '#include' of it.
44644 * manual/maint.texi (Porting): Don't reference it.
44645 * Makerules ($(objpfx)stubs): Likewise.
44646 * dirent/closedir.c: Don't include <stub-tag.h>.
44647 * dirent/dirfd.c: Likewise.
44648 * dirent/fdopendir.c: Likewise.
44649 * dirent/getdents.c: Likewise.
44650 * dirent/getdents64.c: Likewise.
44651 * dirent/opendir.c: Likewise.
44652 * dirent/readdir.c: Likewise.
44653 * dirent/readdir64.c: Likewise.
44654 * dirent/readdir64_r.c: Likewise.
44655 * dirent/readdir_r.c: Likewise.
44656 * dirent/rewinddir.c: Likewise.
44657 * dirent/seekdir.c: Likewise.
44658 * dirent/telldir.c: Likewise.
44659 * gmon/profil.c: Likewise.
44660 * grp/setgroups.c: Likewise.
44661 * inet/if_index.c: Likewise.
44662 * io/access.c: Likewise.
44663 * io/chdir.c: Likewise.
44664 * io/chmod.c: Likewise.
44665 * io/chown.c: Likewise.
44666 * io/close.c: Likewise.
44667 * io/dup.c: Likewise.
44668 * io/dup2.c: Likewise.
44669 * io/dup3.c: Likewise.
44670 * io/euidaccess.c: Likewise.
44671 * io/faccessat.c: Likewise.
44672 * io/fchdir.c: Likewise.
44673 * io/fchmod.c: Likewise.
44674 * io/fchmodat.c: Likewise.
44675 * io/fchown.c: Likewise.
44676 * io/fchownat.c: Likewise.
44677 * io/fcntl.c: Likewise.
44678 * io/flock.c: Likewise.
44679 * io/fstatfs.c: Likewise.
44680 * io/fstatfs64.c: Likewise.
44681 * io/fstatvfs.c: Likewise.
44682 * io/fstatvfs64.c: Likewise.
44683 * io/futimens.c: Likewise.
44684 * io/fxstat.c: Likewise.
44685 * io/fxstat64.c: Likewise.
44686 * io/fxstatat.c: Likewise.
44687 * io/fxstatat64.c: Likewise.
44688 * io/getcwd.c: Likewise.
44689 * io/isatty.c: Likewise.
44690 * io/lchmod.c: Likewise.
44691 * io/lchown.c: Likewise.
44692 * io/link.c: Likewise.
44693 * io/linkat.c: Likewise.
44694 * io/lseek.c: Likewise.
44695 * io/lseek64.c: Likewise.
44696 * io/lxstat64.c: Likewise.
44697 * io/mkdir.c: Likewise.
44698 * io/mkdirat.c: Likewise.
44699 * io/mkfifo.c: Likewise.
44700 * io/mkfifoat.c: Likewise.
44701 * io/open.c: Likewise.
44702 * io/open64.c: Likewise.
44703 * io/openat.c: Likewise.
44704 * io/openat64.c: Likewise.
44705 * io/pipe.c: Likewise.
44706 * io/pipe2.c: Likewise.
44707 * io/poll.c: Likewise.
44708 * io/posix_fadvise.c: Likewise.
44709 * io/posix_fadvise64.c: Likewise.
44710 * io/posix_fallocate.c: Likewise.
44711 * io/posix_fallocate64.c: Likewise.
44712 * io/read.c: Likewise.
44713 * io/readlink.c: Likewise.
44714 * io/readlinkat.c: Likewise.
44715 * io/rmdir.c: Likewise.
44716 * io/sendfile.c: Likewise.
44717 * io/sendfile64.c: Likewise.
44718 * io/statfs.c: Likewise.
44719 * io/statfs64.c: Likewise.
44720 * io/statvfs.c: Likewise.
44721 * io/statvfs64.c: Likewise.
44722 * io/symlink.c: Likewise.
44723 * io/symlinkat.c: Likewise.
44724 * io/ttyname.c: Likewise.
44725 * io/ttyname_r.c: Likewise.
44726 * io/umask.c: Likewise.
44727 * io/unlink.c: Likewise.
44728 * io/unlinkat.c: Likewise.
44729 * io/utime.c: Likewise.
44730 * io/utimensat.c: Likewise.
44731 * io/write.c: Likewise.
44732 * io/xmknod.c: Likewise.
44733 * io/xmknodat.c: Likewise.
44734 * io/xstat.c: Likewise.
44735 * io/xstat64.c: Likewise.
44736 * login/getpt.c: Likewise.
44737 * login/grantpt.c: Likewise.
44738 * login/unlockpt.c: Likewise.
44739 * math/e_acoshl.c: Likewise.
44740 * math/e_acosl.c: Likewise.
44741 * math/e_asinl.c: Likewise.
44742 * math/e_atan2l.c: Likewise.
44743 * math/e_atanhl.c: Likewise.
44744 * math/e_coshl.c: Likewise.
44745 * math/e_expl.c: Likewise.
44746 * math/e_fmodl.c: Likewise.
44747 * math/e_gammal_r.c: Likewise.
44748 * math/e_hypotl.c: Likewise.
44749 * math/e_j0l.c: Likewise.
44750 * math/e_j1l.c: Likewise.
44751 * math/e_jnl.c: Likewise.
44752 * math/e_lgammal_r.c: Likewise.
44753 * math/e_log10l.c: Likewise.
44754 * math/e_log2l.c: Likewise.
44755 * math/e_logl.c: Likewise.
44756 * math/e_powl.c: Likewise.
44757 * math/e_rem_pio2l.c: Likewise.
44758 * math/e_sinhl.c: Likewise.
44759 * math/e_sqrtl.c: Likewise.
44760 * math/fclrexcpt.c: Likewise.
44761 * math/fedisblxcpt.c: Likewise.
44762 * math/feenablxcpt.c: Likewise.
44763 * math/fegetenv.c: Likewise.
44764 * math/fegetexcept.c: Likewise.
44765 * math/fegetround.c: Likewise.
44766 * math/feholdexcpt.c: Likewise.
44767 * math/fesetenv.c: Likewise.
44768 * math/fesetround.c: Likewise.
44769 * math/feupdateenv.c: Likewise.
44770 * math/fgetexcptflg.c: Likewise.
44771 * math/fraiseexcpt.c: Likewise.
44772 * math/fsetexcptflg.c: Likewise.
44773 * math/ftestexcept.c: Likewise.
44774 * math/k_cosl.c: Likewise.
44775 * math/k_rem_pio2l.c: Likewise.
44776 * math/k_sinl.c: Likewise.
44777 * math/k_tanl.c: Likewise.
44778 * math/s_asinhl.c: Likewise.
44779 * math/s_atanl.c: Likewise.
44780 * math/s_cbrtl.c: Likewise.
44781 * math/s_erfl.c: Likewise.
44782 * math/s_expm1l.c: Likewise.
44783 * math/s_log1pl.c: Likewise.
44784 * math/s_tanhl.c: Likewise.
44785 * misc/acct.c: Likewise.
44786 * misc/brk.c: Likewise.
44787 * misc/chflags.c: Likewise.
44788 * misc/chroot.c: Likewise.
44789 * misc/fchflags.c: Likewise.
44790 * misc/fgetxattr.c: Likewise.
44791 * misc/flistxattr.c: Likewise.
44792 * misc/fremovexattr.c: Likewise.
44793 * misc/fsetxattr.c: Likewise.
44794 * misc/fsync.c: Likewise.
44795 * misc/ftruncate.c: Likewise.
44796 * misc/futimes.c: Likewise.
44797 * misc/futimesat.c: Likewise.
44798 * misc/getdomain.c: Likewise.
44799 * misc/getdtsz.c: Likewise.
44800 * misc/gethostid.c: Likewise.
44801 * misc/gethostname.c: Likewise.
44802 * misc/getloadavg.c: Likewise.
44803 * misc/getpagesize.c: Likewise.
44804 * misc/getsysstats.c: Likewise.
44805 * misc/getxattr.c: Likewise.
44806 * misc/gtty.c: Likewise.
44807 * misc/ioctl.c: Likewise.
44808 * misc/lgetxattr.c: Likewise.
44809 * misc/listxattr.c: Likewise.
44810 * misc/llistxattr.c: Likewise.
44811 * misc/lremovexattr.c: Likewise.
44812 * misc/lsetxattr.c: Likewise.
44813 * misc/lutimes.c: Likewise.
44814 * misc/madvise.c: Likewise.
44815 * misc/mincore.c: Likewise.
44816 * misc/mlock.c: Likewise.
44817 * misc/mlockall.c: Likewise.
44818 * misc/mmap.c: Likewise.
44819 * misc/mprotect.c: Likewise.
44820 * misc/msync.c: Likewise.
44821 * misc/munlock.c: Likewise.
44822 * misc/munlockall.c: Likewise.
44823 * misc/munmap.c: Likewise.
44824 * misc/preadv.c: Likewise.
44825 * misc/preadv64.c: Likewise.
44826 * misc/ptrace.c: Likewise.
44827 * misc/pwritev.c: Likewise.
44828 * misc/pwritev64.c: Likewise.
44829 * misc/readv.c: Likewise.
44830 * misc/reboot.c: Likewise.
44831 * misc/remap_file_pages.c: Likewise.
44832 * misc/removexattr.c: Likewise.
44833 * misc/revoke.c: Likewise.
44834 * misc/select.c: Likewise.
44835 * misc/setdomain.c: Likewise.
44836 * misc/setegid.c: Likewise.
44837 * misc/seteuid.c: Likewise.
44838 * misc/sethostid.c: Likewise.
44839 * misc/sethostname.c: Likewise.
44840 * misc/setregid.c: Likewise.
44841 * misc/setreuid.c: Likewise.
44842 * misc/setxattr.c: Likewise.
44843 * misc/sstk.c: Likewise.
44844 * misc/stty.c: Likewise.
44845 * misc/swapoff.c: Likewise.
44846 * misc/swapon.c: Likewise.
44847 * misc/sync.c: Likewise.
44848 * misc/syncfs.c: Likewise.
44849 * misc/syscall.c: Likewise.
44850 * misc/truncate.c: Likewise.
44851 * misc/ualarm.c: Likewise.
44852 * misc/usleep.c: Likewise.
44853 * misc/ustat.c: Likewise.
44854 * misc/utimes.c: Likewise.
44855 * misc/vhangup.c: Likewise.
44856 * misc/writev.c: Likewise.
44857 * posix/_exit.c: Likewise.
44858 * posix/alarm.c: Likewise.
44859 * posix/execve.c: Likewise.
44860 * posix/fexecve.c: Likewise.
44861 * posix/fork.c: Likewise.
44862 * posix/fpathconf.c: Likewise.
44863 * posix/getaddrinfo.c: Likewise.
44864 * posix/getegid.c: Likewise.
44865 * posix/geteuid.c: Likewise.
44866 * posix/getgid.c: Likewise.
44867 * posix/getgroups.c: Likewise.
44868 * posix/getlogin.c: Likewise.
44869 * posix/getlogin_r.c: Likewise.
44870 * posix/getpgid.c: Likewise.
44871 * posix/getpid.c: Likewise.
44872 * posix/getppid.c: Likewise.
44873 * posix/getresgid.c: Likewise.
44874 * posix/getresuid.c: Likewise.
44875 * posix/getsid.c: Likewise.
44876 * posix/getuid.c: Likewise.
44877 * posix/glob64.c: Likewise.
44878 * posix/nanosleep.c: Likewise.
44879 * posix/pathconf.c: Likewise.
44880 * posix/pause.c: Likewise.
44881 * posix/posix_madvise.c: Likewise.
44882 * posix/pread.c: Likewise.
44883 * posix/pread64.c: Likewise.
44884 * posix/pwrite.c: Likewise.
44885 * posix/pwrite64.c: Likewise.
44886 * posix/sched_getaffinity.c: Likewise.
44887 * posix/sched_getp.c: Likewise.
44888 * posix/sched_gets.c: Likewise.
44889 * posix/sched_primax.c: Likewise.
44890 * posix/sched_primin.c: Likewise.
44891 * posix/sched_rr_gi.c: Likewise.
44892 * posix/sched_setaffinity.c: Likewise.
44893 * posix/sched_setp.c: Likewise.
44894 * posix/sched_sets.c: Likewise.
44895 * posix/sched_yield.c: Likewise.
44896 * posix/setgid.c: Likewise.
44897 * posix/setlogin.c: Likewise.
44898 * posix/setpgid.c: Likewise.
44899 * posix/setresgid.c: Likewise.
44900 * posix/setresuid.c: Likewise.
44901 * posix/setsid.c: Likewise.
44902 * posix/setuid.c: Likewise.
44903 * posix/sleep.c: Likewise.
44904 * posix/spawni.c: Likewise.
44905 * posix/sysconf.c: Likewise.
44906 * posix/times.c: Likewise.
44907 * posix/wait.c: Likewise.
44908 * posix/wait3.c: Likewise.
44909 * posix/wait4.c: Likewise.
44910 * posix/waitpid.c: Likewise.
44911 * resolv/gai_sigqueue.c: Likewise.
44912 * resource/getpriority.c: Likewise.
44913 * resource/getrlimit.c: Likewise.
44914 * resource/getrusage.c: Likewise.
44915 * resource/nice.c: Likewise.
44916 * resource/setpriority.c: Likewise.
44917 * resource/setrlimit.c: Likewise.
44918 * resource/ulimit.c: Likewise.
44919 * rt/aio_cancel.c: Likewise.
44920 * rt/aio_fsync.c: Likewise.
44921 * rt/aio_read.c: Likewise.
44922 * rt/aio_sigqueue.c: Likewise.
44923 * rt/aio_suspend.c: Likewise.
44924 * rt/aio_write.c: Likewise.
44925 * rt/clock_getres.c: Likewise.
44926 * rt/clock_gettime.c: Likewise.
44927 * rt/clock_nanosleep.c: Likewise.
44928 * rt/clock_settime.c: Likewise.
44929 * rt/lio_listio.c: Likewise.
44930 * rt/mq_close.c: Likewise.
44931 * rt/mq_getattr.c: Likewise.
44932 * rt/mq_notify.c: Likewise.
44933 * rt/mq_open.c: Likewise.
44934 * rt/mq_receive.c: Likewise.
44935 * rt/mq_send.c: Likewise.
44936 * rt/mq_setattr.c: Likewise.
44937 * rt/mq_timedreceive.c: Likewise.
44938 * rt/mq_timedsend.c: Likewise.
44939 * rt/mq_unlink.c: Likewise.
44940 * rt/shm_open.c: Likewise.
44941 * rt/shm_unlink.c: Likewise.
44942 * rt/timer_create.c: Likewise.
44943 * rt/timer_delete.c: Likewise.
44944 * rt/timer_getoverr.c: Likewise.
44945 * rt/timer_gettime.c: Likewise.
44946 * rt/timer_settime.c: Likewise.
44947 * setjmp/__longjmp.c: Likewise.
44948 * setjmp/setjmp.c: Likewise.
44949 * signal/kill.c: Likewise.
44950 * signal/killpg.c: Likewise.
44951 * signal/raise.c: Likewise.
44952 * signal/sigaction.c: Likewise.
44953 * signal/sigaltstack.c: Likewise.
44954 * signal/sigblock.c: Likewise.
44955 * signal/sigignore.c: Likewise.
44956 * signal/sigintr.c: Likewise.
44957 * signal/signal.c: Likewise.
44958 * signal/sigpause.c: Likewise.
44959 * signal/sigpending.c: Likewise.
44960 * signal/sigqueue.c: Likewise.
44961 * signal/sigreturn.c: Likewise.
44962 * signal/sigset.c: Likewise.
44963 * signal/sigsetmask.c: Likewise.
44964 * signal/sigstack.c: Likewise.
44965 * signal/sigsuspend.c: Likewise.
44966 * signal/sigtimedwait.c: Likewise.
44967 * signal/sigvec.c: Likewise.
44968 * signal/sigwait.c: Likewise.
44969 * signal/sigwaitinfo.c: Likewise.
44970 * signal/sysv_signal.c: Likewise.
44971 * socket/accept.c: Likewise.
44972 * socket/accept4.c: Likewise.
44973 * socket/bind.c: Likewise.
44974 * socket/connect.c: Likewise.
44975 * socket/getpeername.c: Likewise.
44976 * socket/getsockname.c: Likewise.
44977 * socket/getsockopt.c: Likewise.
44978 * socket/isfdtype.c: Likewise.
44979 * socket/listen.c: Likewise.
44980 * socket/recv.c: Likewise.
44981 * socket/recvfrom.c: Likewise.
44982 * socket/recvmsg.c: Likewise.
44983 * socket/send.c: Likewise.
44984 * socket/sendmsg.c: Likewise.
44985 * socket/sendto.c: Likewise.
44986 * socket/setsockopt.c: Likewise.
44987 * socket/shutdown.c: Likewise.
44988 * socket/sockatmark.c: Likewise.
44989 * socket/socket.c: Likewise.
44990 * socket/socketpair.c: Likewise.
44991 * stdio-common/ctermid.c: Likewise.
44992 * stdio-common/cuserid.c: Likewise.
44993 * stdio-common/remove.c: Likewise.
44994 * stdio-common/rename.c: Likewise.
44995 * stdio-common/renameat.c: Likewise.
44996 * stdio-common/tempname.c: Likewise.
44997 * stdlib/getcontext.c: Likewise.
44998 * stdlib/makecontext.c: Likewise.
44999 * stdlib/setcontext.c: Likewise.
45000 * stdlib/swapcontext.c: Likewise.
45001 * stdlib/system.c: Likewise.
45002 * streams/fattach.c: Likewise.
45003 * streams/fdetach.c: Likewise.
45004 * streams/getmsg.c: Likewise.
45005 * streams/getpmsg.c: Likewise.
45006 * streams/putmsg.c: Likewise.
45007 * streams/putpmsg.c: Likewise.
45008 * sysdeps/unix/bsd/getpt.c: Likewise.
45009 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45010 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45011 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45013 Likewise.
45014 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45015 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45016 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45017 * sysvipc/msgctl.c: Likewise.
45018 * sysvipc/msgget.c: Likewise.
45019 * sysvipc/msgrcv.c: Likewise.
45020 * sysvipc/msgsnd.c: Likewise.
45021 * sysvipc/semctl.c: Likewise.
45022 * sysvipc/semget.c: Likewise.
45023 * sysvipc/semop.c: Likewise.
45024 * sysvipc/semtimedop.c: Likewise.
45025 * sysvipc/shmat.c: Likewise.
45026 * sysvipc/shmctl.c: Likewise.
45027 * sysvipc/shmdt.c: Likewise.
45028 * sysvipc/shmget.c: Likewise.
45029 * termios/tcdrain.c: Likewise.
45030 * termios/tcflow.c: Likewise.
45031 * termios/tcflush.c: Likewise.
45032 * termios/tcgetattr.c: Likewise.
45033 * termios/tcgetpgrp.c: Likewise.
45034 * termios/tcsendbrk.c: Likewise.
45035 * termios/tcsetattr.c: Likewise.
45036 * termios/tcsetpgrp.c: Likewise.
45037 * time/adjtime.c: Likewise.
45038 * time/clock.c: Likewise.
45039 * time/getitimer.c: Likewise.
45040 * time/gettimeofday.c: Likewise.
45041 * time/setitimer.c: Likewise.
45042 * time/settimeofday.c: Likewise.
45043 * time/stime.c: Likewise.
45044 * time/time.c: Likewise.
45045
45046 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
45047
45048 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45049 /usr/old/bin.
45050
45051 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45052 instead of spaces.
45053 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45054
45055 2012-11-03 Joseph Myers <joseph@codesourcery.com>
45056
45057 [BZ #14796]
45058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45059 FE_TONEAREST before applying Dekker multiplication and Knuth
45060 addition. Clear inexact exceptions and check for exact zero
45061 results afterwards.
45062 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45063 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45064 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45065 * math/libm-test.inc (fma_test): Add more tests.
45066 (fma_test_towardzero): Likewise.
45067 (fma_test_downward): Likewise.
45068 (fma_test_upward): Likewise.
45069 * sysdeps/generic/math_private.h (default_libc_fesetround): New
45070 function.
45071 (libc_fesetround): New macro.
45072 (libc_fesetroundf): Likewise.
45073 (libc_fesetroundl): Likewise.
45074 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45075 function.
45076 (libc_fesetround_387): Likewise.
45077 (libc_fesetroundf): New macro.
45078 (libc_fesetround): Likewise.
45079 (libc_fesetroundl): Likewise.
45080 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45081 function.
45082 (libc_fesetroundf): New macro.
45083 (libc_fesetround): Likewise.
45084 (libc_fesetroundl): Likewise.
45085 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45086 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45087 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45088 libm_hidden_ver.
45089 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45090 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45091 libm_hidden_def.
45092 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45093 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45094 libm_hidden_ver.
45095 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45096 libm_hidden_def.
45097
45098 [BZ #3439]
45099 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45100 integer constant usable in #if and use that to give value to enum
45101 constant.
45102 (FE_DIVBYZERO): Likewise.
45103 (FE_UNDERFLOW): Likewise.
45104 (FE_OVERFLOW): Likewise.
45105 (FE_INVALID): Likewise.
45106 (FE_INVALID_SNAN): Likewise.
45107 (FE_INVALID_ISI): Likewise.
45108 (FE_INVALID_IDI): Likewise.
45109 (FE_INVALID_ZDZ): Likewise.
45110 (FE_INVALID_IMZ): Likewise.
45111 (FE_INVALID_COMPARE): Likewise.
45112 (FE_INVALID_SOFTWARE): Likewise.
45113 (FE_INVALID_SQRT): Likewise.
45114 (FE_INVALID_INTEGER_CONVERSION): Likewise.
45115 (FE_TONEAREST): Likewise.
45116 (FE_TOWARDZERO): Likewise.
45117 (FE_UPWARD): Likewise.
45118 (FE_DOWNWARD): Likewise.
45119 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45120 (FE_DIVBYZERO): Likewise.
45121 (FE_OVERFLOW): Likewise.
45122 (FE_UNDERFLOW): Likewise.
45123 (FE_INEXACT): Likewise.
45124 (FE_TONEAREST): Likewise.
45125 (FE_DOWNWARD): Likewise.
45126 (FE_UPWARD): Likewise.
45127 (FE_TOWARDZERO): Likewise.
45128 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45129 (FE_UNDERFLOW): Likewise.
45130 (FE_OVERFLOW): Likewise.
45131 (FE_DIVBYZERO): Likewise.
45132 (FE_INVALID): Likewise.
45133 (FE_TONEAREST): Likewise.
45134 (FE_TOWARDZERO): Likewise.
45135 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45136 (FE_OVERFLOW): Likewise.
45137 (FE_UNDERFLOW): Likewise.
45138 (FE_DIVBYZERO): Likewise.
45139 (FE_INEXACT): Likewise.
45140 (FE_TONEAREST): Likewise.
45141 (FE_TOWARDZERO): Likewise.
45142 (FE_UPWARD): Likewise.
45143 (FE_DOWNWARD): Likewise.
45144 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45145 (FE_DIVBYZERO): Likewise.
45146 (FE_OVERFLOW): Likewise.
45147 (FE_UNDERFLOW): Likewise.
45148 (FE_INEXACT): Likewise.
45149 (FE_TONEAREST): Likewise.
45150 (FE_DOWNWARD): Likewise.
45151 (FE_UPWARD): Likewise.
45152 (FE_TOWARDZERO): Likewise.
45153
45154 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45155
45156 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45157
45158 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45159
45160 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45161 commands. Quote $PWD.
45162 (blacklist_exports): Don't use remove_newlines. Replace "declare
45163 -x" by "export".
45164 (remove_newlines): Remove.
45165
45166 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45167
45168 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45169 * stdlib/stdlib.h (atof): Moved to ...
45170 * include/bits/stdlib-float.h: Here. New file.
45171 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45172 * stdlib/bits/stdlib-float.h: New file.
45173 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45174 -mno-sse -mno-mmx.
45175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45176 <xmmintrin.h>.
45177
45178 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45179
45180 * conform/conformtest.pl (@headers): Add fenv.h.
45181 * conform/data/fenv.h-data: New file.
45182 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45183 include of <math/fenv.h>.
45184
45185 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45186 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45187 && !UNIX98]. Enables tests for XOPEN2K8.
45188 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45189 POSIX2008]: Likewise.
45190
45191 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45192 (struct rusage): Do not expect type or its members.
45193
45194 [BZ #3439]
45195 * math/math.h (FP_NAN): Define macro to integer constant usable in
45196 #if and use that to give value to enum constant.
45197 (FP_INFINITE): Likewise.
45198 (FP_ZERO): Likewise.
45199 (FP_SUBNORMAL): Likewise.
45200 (FP_NORMAL): Likewise.
45201
45202 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45203
45204 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45205 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45206 arguments.
45207
45208 2012-11-02 Roland McGrath <roland@hack.frob.com>
45209
45210 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45211 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45212 autoconf-time if not.
45213 * configure.in: Remove AC_PREREQ.
45214
45215 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45216
45217 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45218 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45219 of the internal implementation.
45220
45221 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45222
45223 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45224 except include of <misc/sys/syslog.h>.
45225
45226 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45227
45228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45229 function returns with a NULL context exit with zero.
45230
45231 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45232
45233 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45234
45235 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
45236
45237 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45238 (run_program_cmd): This.
45239 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45240 (tst_langinfo): New variable. Use it.
45241
45242 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
45243
45244 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45245 floating point opcodes.
45246
45247 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45248
45249 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45250 variable.
45251
45252 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45253
45254 * sysdeps/mach/hurd/powerpc: Remove directory.
45255 * sysdeps/mach/powerpc: Likewise.
45256
45257 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45258
45259 * scripts/check-local-headers.sh: Ignore c++ headers.
45260
45261 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45262
45263 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45264 __libc_cleanup_region_start argument.
45265
45266 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45267
45268 [BZ #14784]
45269 [BZ #14785]
45270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45271 x * y using scaling, not as x * y + z.
45272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45274 * math/libm-test.inc (fma_test): Add more tests.
45275 (fma_test_towardzero): Likewise.
45276 (fma_test_downward): Likewise.
45277 (fma_test_upward): Likewise.
45278
45279 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45280
45281 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45282
45283 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45284
45285 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45286 New variable.
45287
45288 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45289
45290 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45291
45292 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45293
45294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45295 Fix sort order.
45296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45297 Likewise.
45298
45299 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45300
45301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45302 Fix the order of the list for glibc 2.17.
45303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45304 Likewise.
45305
45306 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45307
45308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45309
45310 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45311
45312 [BZ #14610]
45313 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45314 for low part of x being zero before using __atanl (y).
45315 * math/libm-test.inc (atan2_test): Add another test.
45316
45317 * manual/install.texi (Configuring and compiling): Document
45318 general use of test-wrapper and test-wrapper-env.
45319 * INSTALL: Regenerated.
45320
45321 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45322 (__fma): Do not extract and scale down low bits on after-rounding
45323 systems when result rounded to normal precision would have normal
45324 exponent.
45325 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45326 (__fmal): Do not extract and scale down low bits on after-rounding
45327 systems when result rounded to normal precision would have normal
45328 exponent.
45329 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45330 (__fmal): Do not extract and scale down low bits on after-rounding
45331 systems when result rounded to normal precision would have normal
45332 exponent.
45333 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45334 macro.
45335 (fma_test): Add more tests.
45336 (fma_test_towardzero): Likewise.
45337 (fma_test_downward): Likewise.
45338 (fma_test_upward): Likewise.
45339
45340 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45341
45342 * sysdeps/i386/tininess.h: Renamed to ...
45343 * sysdeps/x86/tininess.h: This.
45344 * sysdeps/x86_64/tininess.h: Removed.
45345
45346 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45347
45348 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45349 input. Use $(build-program-cmd).
45350 ($(objpfx)tst-array1-static.out): Likewise.
45351 ($(objpfx)tst-array2.out): Likewise.
45352 ($(objpfx)tst-array3.out): Likewise.
45353 ($(objpfx)tst-array4.out): Likewise.
45354 ($(objpfx)tst-array5.out): Likewise.
45355 ($(objpfx)tst-array5-static.out): Likewise.
45356
45357 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45358
45359 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45360 if defined.
45361
45362 * nss/nsswitch.h (nss_interface_function): Provide new
45363 macro for use with NSS functions.
45364 * grp/initgroups.c: Use new macro.
45365 * nss/getXXbyYY.c: Likewise.
45366 * nss/getXXbyYY_r.c: Likewise.
45367 * nss/getXXent.c: Likewise.
45368 * nss/getXXent_r.c: Likewise.
45369 * sysdeps/posix/getaddrinfo.c: Likewise.
45370
45371 2012-10-30 Andreas Jaeger <aj@suse.de>
45372
45373 * po/ru.po: Update Russion translation from translation project.
45374
45375 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45376
45377 [BZ #14152]
45378 [BZ #14783]
45379 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45380 result and shift together with sticky bit instead of replicating
45381 round-to-nearest rounding.
45382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45383 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45384 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45385 missing underflow exceptions.
45386 (fma_test_towardzero): Add more tests.
45387 (fma_test_downward): Likewise.
45388 (fma_test_upward): Likewise.
45389
45390 [BZ #14047]
45391 * sysdeps/generic/tininess.h: New file.
45392 * sysdeps/i386/tininess.h: Likewise.
45393 * sysdeps/sh/tininess.h: Likewise.
45394 * sysdeps/x86_64/tininess.h: Likewise.
45395 * stdlib/tst-strtod-underflow.c: Likewise.
45396 * stdlib/tst-tininess.c: Likewise.
45397 * stdlib/strtod_l.c: Include <tininess.h>.
45398 (round_and_return): Do not set errno for exact underflow cases.
45399 Force an underflow exception when setting errno for underflow.
45400 Determine underflow based on rounding to normal precision if
45401 TININESS_AFTER_ROUNDING.
45402 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45403 ERANGE for exact underflow cases.
45404 * stdlib/Makefile (tests): Add tst-tininess and
45405 tst-strtod-underflow.
45406 ($(objpfx)tst-tininess): Use $(link-libm).
45407 ($(objpfx)tst-strtod-underflow): Likewise.
45408
45409 2012-10-30 Andreas Jaeger <aj@suse.de>
45410
45411 [BZ#14767]
45412 * elf/Makefile (tests): Remove conditional for have-initfini-array
45413 since this is now always required and the variable does not exist
45414 anymore.
45415 (tests-static): Likewise.
45416 (modules-names): Likewise.
45417
45418 * po/eo.po: Add Esperanto translation from translation project.
45419
45420 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45421 merged with constructor/destructor.
45422 (init_array): Likewise.
45423 * elf/tst-array2dep.c (fini_array): Likewise.
45424 (init_array): Likewise.
45425
45426 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45427
45428 * manual/message.texi: Delete @cartouche tags.
45429
45430 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45431
45432 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45433 EOPNOTSUPP.
45434 * sysdeps/mach/hurd/fsync.c: Likewise.
45435
45436 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45437 [_POSIX_REALTIME_SIGNALS]: Change condition to
45438 [_POSIX_REALTIME_SIGNALS > 0].
45439
45440 2012-10-27 Andreas Jaeger <aj@suse.de>
45441
45442 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45443 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45444 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45445 [__WORDSIZE != 64]: Likewise.
45446
45447 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45448
45449 * iconvdata/tst-table.sh: Remove ${SHELL}.
45450 * iconvdata/tst-tables.sh: Likewise.
45451
45452 2012-10-25 David S. Miller <davem@davemloft.net>
45453
45454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45455 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45456 of strtoull.
45457
45458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45459 ifunc-impl-list.c
45460 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45461 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45462 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45463 file.
45464
45465 2012-10-25 Roland McGrath <roland@hack.frob.com>
45466
45467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45468 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45469 __getdirentries.
45470
45471 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45472 Jim Blandy <jimb@codesourcery.com>
45473
45474 * scripts/cross-test-ssh.sh: New file.
45475 * manual/install.texi (Configuring and compiling): Document use of
45476 cross-test-ssh.sh.
45477 * INSTALL: Regenerated.
45478
45479 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45480
45481 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45482 EOPNOTSUPP.
45483
45484 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45485
45486 * Makeconfig (run-program-prefix): Fix comment.
45487
45488 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45489 Jim Blandy <jimb@codesourcery.com>
45490
45491 * Makeconfig (test-wrapper): New variable,
45492 (test-wrapper-env): Likewise.
45493 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45494 (run-built-tests): Define to yes.
45495 (run-program-prefix): Use $(test-wrapper).
45496 (built-program-cmd): Likewise.
45497 * Rules (make-test-out): Use $(test-wrapper-env) and
45498 $(host-built-program-cmd).
45499 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45500 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45501 tst-pathopt.sh.
45502 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45503 $(test-wrapper-env) to tst-rtld-load-self.sh.
45504 ($(objpfx)order2.out): Use $(test-wrapper).
45505 ($(objpfx)tst-initorder.out): Likewise.
45506 ($(objpfx)tst-initorder2.out): Likewise.
45507 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45508 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45509 (test_wrapper_env): New variable. Use it to run ld.so.
45510 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45511 Use it to run ld.so.
45512 (test_wrapper_env): Likewise.
45513 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45514 $(test-wrapper) to run-iconv-test.sh.
45515 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45516 (ICONV): Use $test_wrapper.
45517 * posix/Makefile ($(objpfx)globtest.out): Pass
45518 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45519 globtest.sh, not $(run-program-prefix).
45520 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45521 (test_wrapper): Likewise.
45522 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45523 set together with run_via_rtld_prefix.
45524 (run_program_prefix): Define in terms of test_wrapper and
45525 run_via_rtld_prefix.
45526
45527 2012-10-24 Roland McGrath <roland@hack.frob.com>
45528
45529 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45530 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45531 Targets removed.
45532
45533 [BZ #14743]
45534 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45535 Declare __clock_getres, __clock_gettime, __clock_settime,
45536 __clock_nanosleep, and __clock_getcpuclockid.
45537 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45538 Remove librt_hidden_def (clock_gettime).
45539 * sysdeps/unix/clock_gettime.c: Likewise.
45540 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45541 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45542 * rt/clock_getres.c: Define __clock_getres as an alias.
45543 * sysdeps/posix/clock_getres.c: Likewise.
45544 * rt/clock_settime.c: Define __clock_settime as an alias.
45545 * sysdeps/unix/clock_settime.c: Likewise.
45546 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45547 * sysdeps/unix/clock_nanosleep.c: Likewise.
45548 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45549 * rt/clock-compat.c: New file.
45550 * rt/Makefile (librt-routines): Add clock-compat and move
45551 $(clock-routines) to ...
45552 (routines): ... here, new variable.
45553 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45554 Don't add get_clockfreq here.
45555 * rt/Versions (libc: GLIBC_2.17): New version set.
45556 Add clock_* symbols here.
45557 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45558 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45559 (GLIBC_2.17): Add clock_* symbols.
45560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45562 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45564 Likewise.
45565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45566 Likewise.
45567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45571 * NEWS: Mention the move.
45572
45573 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45574 Use __open, __read, __close rather than their public counterparts.
45575 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45576 (__get_clockfreq_via_cpuinfo): Likewise.
45577 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45578 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45579
45580 * config.h.in (HAVE_IFUNC): New #undef.
45581 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45582 was successful.
45583 * configure: Regenerated.
45584
45585 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45586
45587 * configure.in: Move READELF check to start of file.
45588 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45589 libc_cv_asm_gnu_indirect_function in the process.
45590 * configure: Regenerated.
45591
45592 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45593
45594 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45595 send the output to /dev/null.
45596 (libc_cv_cc_with_libunwind): Likewise.
45597 (libc_cv_as_noexecstack): Likewise.
45598 * configure: Regenerate.
45599
45600 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45601
45602 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45603
45604 * posix/globtest.sh (TMPDIR): Do not set.
45605 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45606 (testout): Likewise.
45607
45608 2012-10-24 Andreas Jaeger <aj@suse.de>
45609
45610 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45611 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45612 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45613 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45614 posix_fadvise64, posix_fallocate64.
45615
45616 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45617 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45618 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45619 Likewise.
45620 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45621 Likewise.
45622 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45623
45624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45625 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45626 <bits/fcntl-linux.h>.
45627 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45628
45629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45630 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45631 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45632 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45633 [__WORDSIZE != 64]: Likewise.
45634
45635 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45636
45637 * Makeconfig (run-built-tests): New variable.
45638 * Rules [$(cross-compiling) = yes]: Change condition to
45639 [$(run-built-tests) = no].
45640 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45641 to [$(run-built-tests) = yes].
45642 * elf/Makefile [$(cross-compiling) = no]: Likewise
45643 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45644 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45645 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45646 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45647 * io/Makefile [$(cross-compiling) = no]: Likewise.
45648 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45649 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45650 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45651 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45652 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45653 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45654 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45655 * string/Makefile [$(cross-compiling) = no]: Likewise.
45656
45657 * posix/Makefile ($(objpfx)globtest.out): Pass
45658 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45659 $(rtld-installed-name).
45660 * posix/globtest.sh (elf_objpfx): Remove variable.
45661 (rtld_installed_name): Likewise.
45662 (library_path): Likewise.
45663 (run_program_prefix): New variable. Use for running globtest
45664 binary.
45665
45666 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45667 Joseph Myers <joseph@codesourcery.com>
45668
45669 * Makeconfig (host-built-program-cmd): New variable.
45670 * elf/Makefile (tst-stackguard1-ARGS): Use
45671 $(host-built-program-cmd).
45672 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45673 (tst-spawn-ARGS): Likewise.
45674 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45675
45676 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45677 Jim Blandy <jimb@codesourcery.com>
45678
45679 * Makeconfig (run-via-rtld-prefix): New variable.
45680 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45681 (built-program-cmd): Likewise.
45682
45683 2012-10-22 Andreas Jaeger <aj@suse.de>
45684
45685 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45686 __O_RSYNC if it exists, otherwise to O_SYNC.
45687
45688 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45689 Joseph Myers <joseph@codesourcery.com>
45690
45691 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45692 /dev/null.
45693 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45694 from /dev/null
45695 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45696 /dev/null.
45697
45698 2012-10-22 Andreas Jaeger <aj@suse.de>
45699
45700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45701 Define always.
45702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45703
45704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45705 bits/fcntl-linux.h.
45706
45707 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45708 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45709
45710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45711 to __O_LARGEFILE.
45712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45713 to __O_LARGEFILE.
45714
45715 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45716 Joseph Myers <joseph@codesourcery.com>
45717
45718 * config.make.in (NM): New variable.
45719
45720 2012-10-21 Andreas Jaeger <aj@suse.de>
45721
45722 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45723 definitions and declarations that are provided by
45724 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45725
45726 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45727
45728 [BZ #14683]
45729 * elf/Makefile (tests-static): Add tst-leaks1-static.
45730 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45731 ($(objpfx)tst-leaks1-static): New rule.
45732 ($(objpfx)tst-leaks1-static-mem): Likewise.
45733 (tst-leaks1-static-ENV): New macro.
45734 * elf/dl-open.c (dl_open_worker): Check the main application
45735 only if SHARED is defined.
45736 * elf/tst-leaks1-static.c: New file.
45737
45738 2012-10-20 Andreas Jaeger <aj@suse.de>
45739
45740 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45741 generic values for Linux.
45742 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45743 and declarations that are provided by <bits/fcntl-linux.h> and
45744 include <bits/fcntl-linux.h>.
45745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45747
45748 2012-10-20 Roland McGrath <roland@hack.frob.com>
45749
45750 * io/fcntl.h: Move include of <bits/types.h> to the top and
45751 include it unconditionally.
45752
45753 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45754
45755 * wcsmbs/Makefile (tests-ifunc): New variable.
45756 (tests): Add $(tests-ifunc).
45757 * wcsmbs/test-wcschr-ifunc.c: New file.
45758 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45759 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45760 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45761 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45762 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45763
45764 * string/Makefile (tests-ifunc): New variable.
45765 (tests): Add $(tests-ifunc).
45766 * string/test-memccpy.c (TEST_NAME): New macro.
45767 * string/test-memchr.c (TEST_NAME): Likewise.
45768 * string/test-memcmp.c (TEST_NAME): Likewise.
45769 * string/test-memcpy.c (TEST_NAME): Likewise.
45770 * string/test-memmem.c (TEST_NAME): Likewise.
45771 * string/test-memmove.c (TEST_NAME): Likewise.
45772 * string/test-memset.c (TEST_NAME): Likewise.
45773 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45774 * string/test-stpcpy.c (TEST_NAME): Likewise.
45775 * string/test-stpncpy.c (TEST_NAME): Likewise.
45776 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45777 * string/test-strcasestr.c (TEST_NAME): Likewise.
45778 * string/test-strcat.c (TEST_NAME): Likewise.
45779 * string/test-strchr.c (TEST_NAME): Likewise.
45780 * string/test-strcmp.c(TEST_NAME): Likewise.
45781 * string/test-strcpy.c (TEST_NAME): Likewise.
45782 * string/test-strcspn.c (TEST_NAME): Likewise.
45783 * string/test-strlen.c (TEST_NAME): Likewise.
45784 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45785 * string/test-strncmp.c (TEST_NAME): Likewise.
45786 * string/test-strncpy.c (TEST_NAME): Likewise.
45787 * string/test-strnlen.c (TEST_NAME): Likewise.
45788 * string/test-strpbrk.c (TEST_NAME): Likewise.
45789 * string/test-strrchr.c (TEST_NAME): Likewise.
45790 * string/test-strspn.c (TEST_NAME): Likewise.
45791 * string/test-strstr.c (TEST_NAME): Likewise.
45792 * string/test-bcopy-ifunc.c: New file.
45793 * string/test-bzero-ifunc.c: Likewise.
45794 * string/test-memccpy-ifunc.c: Likewise.
45795 * string/test-memchr-ifunc.c: Likewise.
45796 * string/test-memcmp-ifunc.c: Likewise.
45797 * string/test-memcpy-ifunc.c: Likewise.
45798 * string/test-memmem-ifunc.c: Likewise.
45799 * string/test-memmove-ifunc.c: Likewise.
45800 * string/test-mempcpy-ifunc.c: Likewise.
45801 * string/test-memset-ifunc.c: Likewise.
45802 * string/test-rawmemchr-ifunc.c: Likewise.
45803 * string/test-stpcpy-ifunc.c: Likewise.
45804 * string/test-stpncpy-ifunc.c: Likewise.
45805 * string/test-strcasecmp-ifunc.c: Likewise.
45806 * string/test-strcasestr-ifunc.c: Likewise.
45807 * string/test-strcat-ifunc.c: Likewise.
45808 * string/test-strchr-ifunc.c: Likewise.
45809 * string/test-strchrnul-ifunc.c: Likewise.
45810 * string/test-strcmp-ifunc.c: Likewise.
45811 * string/test-strcpy-ifunc.c: Likewise.
45812 * string/test-strcspn-ifunc.c: Likewise.
45813 * string/test-strlen-ifunc.c: Likewise.
45814 * string/test-strncasecmp-ifunc.c: Likewise.
45815 * string/test-strncat-ifunc.c: Likewise.
45816 * string/test-strncmp-ifunc.c: Likewise.
45817 * string/test-strncpy-ifunc.c: Likewise.
45818 * string/test-strnlen-ifunc.c: Likewise.
45819 * string/test-strpbrk-ifunc.c: Likewise.
45820 * string/test-strrchr-ifunc.c: Likewise.
45821 * string/test-strspn-ifunc.c: Likewise.
45822 * string/test-strstr-ifunc.c: Likewise.
45823
45824 * debug/Makefile (tests-ifunc): New variable.
45825 (tests): Add $(tests-ifunc).
45826 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45827 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45828 * debug/test-stpcpy_chk-ifunc.c: New file.
45829 * debug/test-strcpy_chk-ifunc.c: Likewise.
45830
45831 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45832
45833 [BZ #13601]
45834 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45835 header is not read in.
45836
45837 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45838
45839 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45840 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45841 directly. Pass built executable to script as
45842 $(built-program-cmd).
45843 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45844 $testprogram without using LD_LIBRARY_PATH and $ldso.
45845
45846 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45847 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45848 $(rtld-installed-name).
45849 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45850 (rtld_installed_name): Likewise.
45851 (library_path): Likewise.
45852 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45853 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45854 $(run-program-prefix) to tst-tables.sh.
45855 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45856 it to run tst-table-from and tst-table-to.
45857 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45858 Pass it to tst-table.sh.
45859 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45860 $(run-program-prefix) to tst-gettext.sh.
45861 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45862 tst-translit.sh.
45863 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45864 tst-gettext2.sh.
45865 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45866 to run tst-gettext.
45867 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45868 to run tst-gettext2.
45869 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45870 to run tst-translit.
45871 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45872 $(run-program-prefix) to tst-mtrace.sh.
45873 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45874 to run tst-mtrace.
45875 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45876 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45877 $(rtld-installed-name).
45878 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45879 (rtld_installed_name): Likewise.
45880 (run_program_prefix): New variable. Use it to run wordexp-test.
45881
45882 * Makeconfig (ARCH): Remove all definitions.
45883 (machine): Likewise.
45884 [ARCH]: Remove conditional code.
45885 [!objdir]: Give error.
45886 [!objdir] (objpfx): Remove.
45887 [!objdir] (common-objpfx): Likewise.
45888 [!objdir] (common-objdir): Likewise.
45889 * configure.in (config_makefile): Remove. Hardcode Makefile in
45890 AC_CONFIG_FILES call.
45891 * configure: Regenerated.
45892
45893 [BZ #13888]
45894 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45895 or TMPDIR.
45896 (testout): Likewise.
45897
45898 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45899 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45900 $(rtld-installed-name).
45901 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45902 (rtld_installed_name): Likwise.
45903 (runit): Remove function.
45904 (run_getconf): New variable, Use it for running getconf binary.
45905
45906 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45907
45908 [BZ #14716]
45909 * string/test-memmem.c (check_result): New function.
45910 (do_one_test): Use it.
45911 (check1): New function.
45912 (test_main): Use it.
45913
45914 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45915
45916 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45917
45918 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45919
45920 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45921 (_G_LSEEK64): Likewise.
45922 (_G_MMAP64): Likewise.
45923 (_G_FSTAT64): Likewise.
45924 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45925 (_G_LSEEK64): Likewise.
45926 (_G_MMAP64): Likewise.
45927 (_G_FSTAT64): Likewise.
45928 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45929 unconditional. Call __mmap64 directly.
45930 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45931 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45932 __lseek64 directly.
45933 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45934 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45935 __mmap64 directly.
45936 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45937 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45938 __lseek64 directly.
45939 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45940 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45941 __lseek64 directly.
45942 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45943 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45944 __lseek64 directly.
45945 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45946 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45947 __fxstat64 directly.
45948 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45949 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45950 unconditional.
45951 (freopen64) [!_G_OPEN64]: Remove conditional code.
45952 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45953 unconditional.
45954 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45955 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45956 unconditional.
45957 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45958 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45959 unconditional.
45960 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45961 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45962 unconditional.
45963 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45964 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45965 unconditional.
45966 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45967 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45968 unconditional.
45969 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45970 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45971 unconditional.
45972 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45973
45974 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45975
45976 [BZ #12140]
45977 * manual/memory.texi (Malloc Tunable Parameters): Add note
45978 about free list pointers overwriting some perturb bytes.
45979 Wording suggested by Roland McGrath.
45980
45981 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45982
45983 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45984 (lgamma_test): Likewise.
45985 (tgamma_test): Likewise.
45986
45987 2012-10-16 Florian Weimer <fweimer@redhat.com>
45988
45989 [BZ #14700]
45990 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45991 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45992
45993 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45994
45995 * NEWS: Mention BZ #14716.
45996 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45997 when removing AVAILABLE1_USES_J macro.
45998
45999 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
46000
46001 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46002 (__bswap_64): __uint64_t for unsigned 64-bit int.
46003
46004 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
46005
46006 * include/string.h (memmem): Declare libc hidden alias.
46007 * string/memmem.c (memmem): Define libc hidden alias.
46008 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46009 __read, __close instead of open, read, close.
46010
46011 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
46012
46013 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46014 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46015 global and hidden.
46016 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46017 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46018 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46019 Likewise.
46020 (__rawmemchr_sse2): Likewise.
46021 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46022 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46023 (__strchr_sse2): Likewise.
46024 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46025 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46026 (__strcasecmp_sse2): Likewise.
46027 (__strncasecmp_sse2): Likewise.
46028 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46029 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46030 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46031 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46032 (__strrchr_sse2): Likewise.
46033 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46034 ifunc-impl-list.c.
46035 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46036 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46037 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46038 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46039 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46040 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46041 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46042 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46043 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46044 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46045 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46046 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46047 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46048 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46049 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46050 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46051 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46052 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46053 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46054 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46055 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46056 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46057 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46058 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46059 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46060 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46061 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46062 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46063 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46064 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46065
46066 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46067 global and hidden.
46068 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46069 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46070 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46071 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46072 Likewise.
46073 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46074 Likewise.
46075 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46076 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46077 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46078 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46079 ifunc-impl-list.c.
46080 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46081 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46082 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46083 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46084 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46085 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46086 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46087 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46088 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46089 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46090 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46091 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46092 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46093 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46094 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46095 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46096 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46097 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46098 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46099 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46100 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46101 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46102 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46103 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46105 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46106 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46107 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46108 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46109 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46110 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46111 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46112 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46113 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46114 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46115 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46116 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46117 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46118 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46119 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46120 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46121
46122 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46123 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46124 * include/ifunc-impl-list.h: New file.
46125 * misc/ifunc-impl-list.c: Likewise.
46126 * misc/Makefile (routines): Add ifunc-impl-list.
46127 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46128 * string/test-string.h: Include <ifunc-impl-list.h>.
46129 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46130 TEST_NAME]: New variables.
46131 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46132 are defined.
46133 (test_init): Call __libc_ifunc_impl_list to initialize
46134 func_list if TEST_IFUNC and TEST_NAME are defined.
46135
46136 * string/Makefile (strop-tests): Add bcopy and bzero.
46137 * string/test-bcopy.c: New file.
46138 * string/test-bzero.c: Likewise.
46139 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46140 defined.
46141 * string/test-memset.c: Support bzero test if TEST_BZERO is
46142 defined.
46143 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46144 __libc_memmove.
46145 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46146 __libc_memset.
46147 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46148 of memset.
46149
46150 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46151
46152 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46153 * configure: Regenerated.
46154
46155 * Makeconfig (+link-static-before-libc): Don't include
46156 $(link-static-libc).
46157
46158 * libio/libio.h (_IO_pos_t): Remove.
46159
46160 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46161
46162 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46163 McGrath.
46164
46165 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46166
46167 * crypt/crypt-entry.c: Include fips-private.h.
46168 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46169 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46170 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46171 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46172
46173 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46174
46175 * crypt/crypt-private.h: Include stdbool.h.
46176 (_ufc_setup_salt_r): Return bool.
46177 * crypt/crypt-entry.c: Include errno.h.
46178 (__crypt_r): Return NULL with EINVAL for bad salt.
46179 * crypt/crypt_util.c (bad_for_salt): New.
46180 (_ufc_setup_salt_r): Check that salt is long enough and within
46181 the specified alphabet.
46182 * crypt/badsalttest.c: New file.
46183 * crypt/Makefile (tests): Add it.
46184 ($(objpfx)badsalttest): New.
46185
46186 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46187
46188 * NEWS: Add entry for BZ #14602.
46189
46190 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46191
46192 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46193 type-generic.
46194 * math/libm-test.inc: Update comment listing what functions and
46195 macros are tested.
46196 (isgreater_test): New function.
46197 (isgreaterequal_test): Likewise.
46198 (isless_test): Likewise.
46199 (islessequal_test): Likewise.
46200 (islessgreater_test): Likewise.
46201 (isunordered_test): Likewise.
46202 (main): Call the new functions.
46203
46204 2012-10-09 Roland McGrath <roland@hack.frob.com>
46205
46206 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46207 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46208 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46209 * sysdeps/i386/configure: Regenerated.
46210 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46211 * sysdeps/mach/configure: Regenerated.
46212 * sysdeps/mach/hurd/configure: Regenerated.
46213 * sysdeps/powerpc/configure: Regenerated.
46214 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46215 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46216 * sysdeps/s390/s390-32/configure: Regenerated.
46217 * sysdeps/s390/s390-64/configure: Regenerated.
46218 * sysdeps/sh/configure: Regenerated.
46219 * sysdeps/sparc/configure: Regenerated.
46220 * sysdeps/unix/sysv/linux/configure: Regenerated.
46221 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46222 * sysdeps/x86_64/configure: Regenerated.
46223
46224 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46225 defined. Don't check if MAP is NULL.
46226
46227 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46228
46229 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46230 (_G_stat64): Likewise.
46231 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46232 (_G_stat64): Likewise.
46233 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46234 instead of struct _G_stat64.
46235 * libio/fileops.c (mmap_remap_check): Likewise.
46236 (decide_maybe_mmap): Likewise.
46237 (_IO_new_file_seekoff): Likewise.
46238 (_IO_file_stat): Likewise.
46239 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46240 _G_off64_t.
46241 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46242 instead of struct _G_stat64.
46243 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46244
46245 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
46246
46247 [BZ #14602]
46248 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46249 Replace with ...
46250 (CHECK_EOL): New macro.
46251 (two_way_short_needle): Check beginning of haystack for EOL. Use
46252 CHECK_EOL.
46253 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46254 Replace with CHECK_EOL.
46255 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46256 Replace with CHECK_EOL.
46257
46258 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46259
46260 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46261 type-generic.
46262 * math/libm-test.inc: Update comment listing what functions and
46263 macros are tested.
46264 (finite_test): New function.
46265 (isinf_test): Likewise.
46266 (isnan_test): Likewise.
46267 (fpclassify_test): Test subnormal input.
46268 (isfinite_test): Likewise.
46269 (isnormal_test): Likewise.
46270 (main): Call the new functions.
46271
46272 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46273
46274 [BZ #14660]
46275 * Makerules (%.dynsym): Force C locale when running
46276 $(OBJDUMP) --dynamic-syms.
46277
46278 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46279
46280 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46281 <stdint.h>.
46282
46283 2012-10-06 David S. Miller <davem@davemloft.net>
46284
46285 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46286 upper 32-bits of the length value in %o2 since we use branch-on-register
46287 tests which consider the entire 64-bit register.
46288
46289 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46290
46291 * string/test-strstr.c (check2): Add a test for page boundary.
46292
46293 2012-10-05 David S. Miller <davem@davemloft.net>
46294
46295 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46296 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46297 file.
46298 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46299 sysdep_routines.
46300 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46301 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46302 and bzero when HWCAP_SPARC_CRYPTO is present.
46303
46304 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46305
46306 [BZ #14602]
46307 * string/test-strstr.c (check2): New function.
46308 (test_main): Call check2.
46309
46310 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46311 and bug-strchr1.
46312 * string/bug-strcasestr1.c (do_test): Moved to ...
46313 * string/test-strcasestr.c (check1): Here. New function.
46314 (do_one_test): Break out result checking code into ...
46315 (check_result): This. New function.
46316 (do_one_test): Call check_result.
46317 (test_main): Call check1.
46318 * string/bug-strchr1.c (do_test): Moved to ...
46319 * string/test-strchr.c (check1): Here. New function.
46320 (do_one_test): Break out result checking code into ...
46321 (check_result): This. New function.
46322 (do_one_test): Call check_result.
46323 (test_main): Call check1.
46324 * string/bug-strstr1.c (main): Moved to ...
46325 * string/test-strstr.c (check1): Here. New function.
46326 (do_one_test): Break out result checking code into ...
46327 (check_result): This. New function.
46328 (do_one_test): Call check_result.
46329 (test_main): Call check1.
46330 * string/bug-strcasestr1.c: Removed.
46331 * string/bug-strchr1.c: Likewise.
46332 * string/bug-strstr1.c: Likewise.
46333
46334 * elf/Makefile (dl-routines): Add hwcaps.
46335 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46336 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46337 (_dl_important_hwcaps): Moved to ...
46338 * elf/dl-hwcaps.c: Here. New file.
46339 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46340
46341 [BZ #14557]
46342 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46343 if IS_IN_rtld isn't defined.
46344
46345 * elf/dl-support.c (_dl_sysinfo_map): New.
46346 Include "get-dynamic-info.h" and "setup-vdso.h".
46347 (_dl_non_dynamic_init): Call setup_vdso.
46348 * elf/dynamic-link.h: Don't include <assert.h>.
46349 (elf_get_dynamic_info): Moved to ...
46350 * elf/get-dynamic-info.h: Here. New file.
46351 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46352 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46353 * elf/setup-vdso.h: Here. New file.
46354 * elf/rtld.c: Include "setup-vdso.h".
46355 (dl_main): Call setup_vdso.
46356
46357 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46358
46359 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46360 creal in comment listing functions tested. List finite, isinf,
46361 isnan, isless, islessequal, isgreater, isgreaterequal,
46362 islessgreater, isunordered, lgamma_r and pow10 as functions and
46363 macros not tested. Mention which functions not tested are aliases
46364 for other functions. Fix typo. Note that signs of NaNs are not
46365 tested.
46366
46367 * scripts/config.guess: Update from config.git.
46368 * scripts/config.sub: Likewise.
46369
46370 2012-10-04 Roland McGrath <roland@hack.frob.com>
46371
46372 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46373 * misc/madvise.c (madvise): Renamed to __madvise.
46374 Make madvise a weak alias.
46375 * include/sys/mman.h: Declare __madvise.
46376 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46377 * sysdeps/unix/syscalls.list
46378 (madvise): Make __madvise the strong name, and madvise a weak alias.
46379 * sysdeps/unix/sysv/linux/syscalls.list
46380 (madvise, mmap): Remove redundant entries.
46381 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46382 * malloc/malloc.c (mtrim): Likewise.
46383 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46384
46385 2012-10-03 Roland McGrath <roland@hack.frob.com>
46386
46387 * sysdeps/mach/hurd/dl-cache.c: File removed.
46388 * config.h.in (USE_LDCONFIG): New #undef.
46389 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46390 * configure: Regenerated.
46391 * elf/Makefile (dl-routines): Add dl-cache only under
46392 [$(use-ldconfig) = yes].
46393 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46394 cache on [USE_LDCONFIG].
46395 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46396 [USE_LDCONFIG].
46397 * elf/rtld.c (dl_main): Likewise.
46398
46399 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46400
46401 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46402 _SC_LEVEL4_CACHE_LINESIZE.
46403
46404 2012-10-03 Roland McGrath <roland@hack.frob.com>
46405
46406 * sysdeps/unix/bsd/confstr.h: File removed.
46407
46408 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46409
46410 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46411 sys/sdt-config.h.
46412
46413 2012-10-02 Roland McGrath <roland@hack.frob.com>
46414
46415 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46416 Make 'mapoff' field ElfW(Off) rather than off_t.
46417
46418 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46419
46420 * nscd/Makefile: Remove nscd-cflags and all its users.
46421 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46422 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46423
46424 [BZ #10631]
46425 * malloc.c (malloc_printerr): Clarify error message.
46426
46427 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46428
46429 [BZ #14648]
46430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46431 Set bit_FMA_Usable if FMA is supported.
46432 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46433 macro.
46434 (bit_FMA4_Usable): Updated.
46435 (index_FMA_Usable): New macro.
46436 (CPUID_FMA): Likewise
46437 (HAS_FMA): Defined with bit_FMA_Usable.
46438
46439 2012-10-01 Roland McGrath <roland@hack.frob.com>
46440
46441 * bits/types.h (__swblk_t): Type removed.
46442 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46443 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46444 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46445 (__SWBLK_T_TYPE): Likewise.
46446 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46447 (__SWBLK_T_TYPE): Likewise.
46448 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46449 (__SWBLK_T_TYPE): Likewise.
46450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46451 (__SWBLK_T_TYPE): Likewise.
46452
46453 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46454 Honza Horak <hhorak@redhat.com>
46455
46456 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46457 (xdr_mapname): Use YPMAXMAP as maxsize.
46458 (xdr_peername): Use YPMAXPEER as maxsize.
46459 (xdr_keydat): Use YPAXRECORD as maxsize.
46460 (xdr_valdat): Use YPMAXRECORD as maxsize.
46461
46462 2012-10-01 Roland McGrath <roland@hack.frob.com>
46463
46464 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46465
46466 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46467 * csu/init-first.c: ... here.
46468 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46469 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46470 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46471 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46472 * sysdeps/i386/init-first.c: File removed.
46473 * sysdeps/sh/init-first.c: File removed.
46474
46475 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46476
46477 [BZ #14645]
46478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46479 if x * y might underflow to zero and z is zero.
46480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46482 * math/libm-test.inc (min_subnorm_value): New variable.
46483 (fma_test): Add more tests.
46484 (fma_test_towardzero): Likewise.
46485 (fma_test_downward): Likewise
46486 (fma_test_upward): Likewise.
46487 (initialize): Set min_subnorm_value.
46488
46489 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46490
46491 [BZ #14638]
46492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46493 0 + 0.
46494 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46495 mode for addition resulting in exact zero.
46496 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46498 exact 0 + 0.
46499 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46501 * math/libm-test.inc (fma_test): Add more tests.
46502 (fma_test_towardzero): New function.
46503 (fma_test_downward): Likewise.
46504 (fma_test_upward): Likewise.
46505 (main): Call the new functions.
46506
46507 2012-09-28 David S. Miller <davem@davemloft.net>
46508
46509 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46510
46511 2012-09-28 Roland McGrath <roland@hack.frob.com>
46512
46513 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46514 instead of SIGALRM.
46515
46516 * sysdeps/gnu/_G_config.h: Moved to ...
46517 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46518 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46519 * sysdeps/generic/_G_config.h: ... here.
46520
46521 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46522
46523 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46524
46525 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46526 Conditionalize target on [libnss_test1.so-version].
46527
46528 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46529
46530 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46531 (elfobjdir): Move out of conditionals.
46532
46533 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46534 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46535 (__nss_lookup_function): Conditionalize label remove_from_tree on
46536 [!DO_STATIC_NSS || SHARED], matching its only use.
46537
46538 2012-09-28 David S. Miller <davem@davemloft.net>
46539
46540 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46541 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46542 file.
46543 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46544 sysdep_routines.
46545 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46547 when HWCAP_SPARC_CRYPTO is present.
46548
46549 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46550
46551 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46552
46553 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46554
46555 [BZ #6530]
46556 * stdio-common/vfprintf.c (process_string_arg): Revert
46557 2000-07-22 change.
46558
46559 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46560
46561 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46562 for testcase.
46563 * stdio-common/tst-sprintf.c: Include <locale.h>
46564 (main): Test sprintf's handling of incomplete multibyte
46565 characters.
46566
46567 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46568
46569 * elf/dl-runtime.c (VERSYMIDX): Removed.
46570 * elf/dl-version.c (VERSYMIDX): Likewise.
46571 * elf/do-rel.h (VERSYMIDX): Likewise.
46572 (VALIDX): Likewise.
46573 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46574 * elf/rtld.c (VALIDX): Likewise.
46575 (ADDRIDX): Likewise.
46576 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46577 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46578 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46579 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46580 (VALIDX): Likewise.
46581 (ADDRIDX): Likewise.
46582
46583 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46584
46585 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46586
46587 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46588
46589 [BZ #11438]
46590 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46591 to global scope.
46592 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46593 addresses are in the same scope as 192.0.2/24.
46594 * posix/gai.conf: Document new scope table defaults.
46595
46596 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46597
46598 [BZ #5298]
46599 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46600 for ftell. Compute offsets from write pointers instead.
46601 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46602
46603 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46604
46605 [BZ #14543]
46606 * libio/Makefile (tests): New test case tst-fseek.
46607 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46608 combination works in wide mode.
46609 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46610 state when the external buffer state changes.
46611
46612 2012-09-27 David S. Miller <davem@davemloft.net>
46613
46614 [BZ #14376]
46615 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46616 pass reloc->r_addend in as the 'high' argument to
46617 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46618
46619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46620
46621 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46622
46623 * rt/tst-aio2.c: Include <pthread.h>.
46624 * rt/tst-aio3.c: Likewise.
46625
46626 2012-09-27 Steve Ellcey <sellcey@mips.com>
46627
46628 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46629
46630 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46631
46632 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46633 contents on [SHARED].
46634
46635 2012-09-26 Marek Polacek <polacek@redhat.com>
46636
46637 [BZ #14530]
46638 [BZ #13741]
46639 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46640 for C++ and GCC <4.3 as well as for non GCC compilers.
46641
46642 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46643
46644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46645
46646 2012-09-25 Roland McGrath <roland@hack.frob.com>
46647
46648 * Makefile.in (all, install): Declare with .PHONY.
46649 Reported by Michael Hope <michael.hope@linaro.org>.
46650
46651 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46652
46653 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46654 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46655 system header.
46656 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46657 Likewise.
46658 (sydep_routines): Add the new and the internal functions.
46659 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46660 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46662 (GLIBC_2.17): Add the new function.
46663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46664 (GLIBC_2.17): Likewise.
46665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46666 (GLIBC_2.17): Likewise.
46667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46668 (GLIBC_2.17): Likewise.
46669 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46670
46671 2012-09-25 Alan Modra <amodra@gmail.com>
46672
46673 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46674 Add release barrier before setting once_control to say
46675 initialisation is done. Add hints on lwarx. Use macro in
46676 place of isync.
46677 (clear_once_control): Add release barrier.
46678
46679 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46680
46681 [BZ #13629]
46682 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46683 specially.
46684 * math/s_clog10.c (__clog10): Likewise.
46685 * math/s_clog10f.c (__clog10f): Likewise.
46686 * math/s_clog10l.c (__clog10l): Likewise.
46687 * math/s_clogf.c (__clogf): Likewise.
46688 * math/s_clogl.c (__clogl): Likewise.
46689 * math/Makefile (libm-calls): Add x2y2m1.
46690 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46691 (__x2y2m1): Likewise.
46692 (__x2y2m1l): Likewise.
46693 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46694 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46695 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46696 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46697 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46698 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46699 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46700 * sysdeps/i386/fpu/libm-test-ulps: Update.
46701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46702
46703 [BZ #14621]
46704 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46705 int as type of variable DEPTH.
46706 (glob): Use size_t instead of int as type of variables NEWCOUNT
46707 and OLD_PATHC.
46708
46709 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46710
46711 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46712 Add s_sincosf-sse2.
46713 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46714 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46715 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46716 macros for using routine as __sincosf_ia32.
46717 Use macro for function declaration and weak_alias.
46718 * sysdeps/i386/fpu/libm-test-ulps: Update.
46719
46720 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46722
46723 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46724 subnormal argument.
46725 * math/s_cexpf.c (__cexpf): Likewise.
46726 * math/s_csinf.c (__csinf): Likewise.
46727 * math/s_csinhf.c (__csinhf): Likewise.
46728 * math/s_ctanf.c (__ctanf): Likewise.
46729 * math/s_ctanhf.c (__ctanhf): Likewise.
46730 * math/s_ccosh.c (__ccoshf): Likewise.
46731 * math/s_cexp.c (__cexpl): Likewise.
46732 * math/s_csin.c (__csin): Likewise.
46733 * math/s_csinh.c (__csinh): Likewise.
46734 * math/s_ctan.c (__ctan): Likewise.
46735 * math/s_ctanh.c (ctanh): Likewise.
46736 * math/s_ccoshl.c (__ccoshl): Likewise.
46737 * math/s_cexpl.c (__cexpl): Likewise.
46738 * math/s_csinl.c (__csinl): Likewise.
46739 * math/s_csinhl.c (__csinhl): Likewise.
46740 * math/s_ctanl.c (__ctanl): Likewise.
46741 * math/s_ctanhl.c (__ctanhl): Likewise.
46742
46743 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46744
46745 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46746 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46747 (_IO_off_t): Define to __off_t, not _G_off_t.
46748 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46749 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46750 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46751 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46752 type of __dummy and __dummy2 fields.
46753 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46754 (_G_ssize_t): Likewise.
46755 (_G_off_t): Likewise.
46756 (_G_pid_t): Likewise.
46757 (_G_uid_t): Likewise.
46758 (_G_wchar_t): Likewise.
46759 (_G_wint_t): Likewise.
46760 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46761 (_G_ssize_t): Likewise.
46762 (_G_off_t): Likewise.
46763 (_G_pid_t): Likewise.
46764 (_G_uid_t): Likewise.
46765 (_G_wchar_t): Likewise.
46766 (_G_wint_t): Likewise.
46767 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46768 (_G_ssize_t): Likewise.
46769 (_G_off_t): Likewise.
46770 (_G_pid_t): Likewise.
46771 (_G_uid_t): Likewise.
46772 (_G_wchar_t): Likewise.
46773 (_G_wint_t): Likewise.
46774
46775 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46776
46777 * malloc/arena.c: Include malloc-sysdep.h.
46778 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46779 is sufficient to shrink the heap or an unmap is needed.
46780 * sysdeps/generic/malloc-sysdep.h: New file. Define
46781 new function check_may_shrink_heap.
46782 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46783 new function check_may_shrink_heap.
46784
46785 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46786
46787 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46788 comments.
46789
46790 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46791
46792 * catgets/test-gencat.sh: Add "set -e".
46793 * elf/tst-pathopt.sh: Likewise.
46794 * grp/tst_fgetgrent.sh: Likewise.
46795 * iconvdata/run-iconv-test.sh: Likewise.
46796 * intl/tst-gettext.sh: Likewise.
46797 * intl/tst-gettext2.sh: Likewise.
46798 * intl/tst-gettext4.sh: Likewise.
46799 * intl/tst-gettext6.sh: Likewise.
46800 * intl/tst-translit.sh: Likewise.
46801 * io/ftwtest-sh: Likewise.
46802 * libio/test-freopen.sh: Likewise.
46803 * malloc/tst-mtrace.sh: Likewise.
46804 * posix/globtest.sh: Likewise.
46805 * posix/tst-getconf.sh: Likewise.
46806 * posix/wordexp-tst.sh: Likewise.
46807 * stdio-common/tst-printf.sh: Likewise.
46808 * stdio-common/tst-unbputc.sh: Likewise.
46809 * stdlib/tst-fmtmsg.sh: Likewise.
46810 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46811 * catgets/Makefile: Do not specify -e option when running
46812 testsuite shell scripts.
46813 * elf/Makefile: Likewise.
46814 * grp/Makefile: Likewise.
46815 * iconvdata/Makefile: Likewise.
46816 * intl/Makefile: Likewise.
46817 * io/Makefile: Likewise.
46818 * libio/Makefile: Likewise.
46819 * malloc/Makefile: Likewise.
46820 * posix/Makefile: Likewise.
46821 * stdio-common/Makefile: Likewise.
46822 * stdlib/Makefile: Likewise.
46823 * sysdeps/x86_64/Makefile: Likewise.
46824
46825 * io/ftwtest-sh: Add copyright header.
46826 * posix/globtest.sh: Likewise.
46827 * posix/tst-getconf.sh: Likewise.
46828 * posix/wordexp-tst.sh: Likewise.
46829 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46830
46831 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46832
46833 [BZ #13679]
46834 * Makeconfig (+link): Defined as $(+link-static) if
46835 $(build-shared) isn't yes.
46836 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46837 isn't yes.
46838 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46839
46840 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46841
46842 [BZ #14562]
46843 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46844 new chunk size with MALLOC_ALIGN_MASK.
46845
46846 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46847
46848 [BZ #5044]
46849 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46850 <rounding-mode.h>.
46851 (__printf_fphex): Determine rounding using get_rounding_mode and
46852 round_away.
46853 * stdio-common/tst-printf-round.c (struct hex_test): New
46854 structure.
46855 (hex_tests): New variable.
46856 (test_hex_in_one_mode): New function.
46857 (do_test): Also run tests for hex float output.
46858
46859 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46860
46861 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46862 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46863 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46864 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46865 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46866 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46867 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46868 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46869
46870 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46871
46872 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46873 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46874 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46875 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46876
46877 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46878
46879 [BZ #14579]
46880 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46881 mode only.
46882 * elf/tst-rtld-load-self.sh: New test.
46883 * elf/Makefile: Run it.
46884
46885 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46886
46887 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46888 (tst-writev-ENV): Remove.
46889 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46890
46891 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46892
46893 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46894
46895 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46896
46897 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46898 unconditional.
46899 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46900 Likewise.
46901 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46902 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46903 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46904 Likewise.
46905
46906 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46907
46908 [BZ #14587]
46909 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46910 * config.make.in (have-cpp-asm-debuginfo): Removed.
46911 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46912 * configure: Regenerated.
46913
46914 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46915
46916 [BZ #5044]
46917 * stdio-common/printf_fp.c: Include <stdbool.h> and
46918 <rounding-mode.h>.
46919 (___printf_fp): Determine rounding using get_rounding_mode and
46920 round_away.
46921 * stdio-common/tst-printf-round.c: New file.
46922 * stdio-common/Makefile (tests): Add tst-printf-round.
46923 (link-libm): New variable.
46924 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46925
46926 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46927
46928 [BZ #14576]
46929 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46930 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46931 Likewise.
46932 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46933 Likewise.
46934
46935 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46936
46937 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46938 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46939 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46940 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46941
46942 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46943
46944 [BZ #14518]
46945 * include/rounding-mode.h: New file.
46946 * sysdeps/generic/get-rounding-mode.h: Likewise.
46947 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46948 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46949 (MAX_VALUE): New macro.
46950 (MIN_VALUE): Likewise.
46951 (overflow_value): New function.
46952 (underflow_value): Likewise.
46953 (round_and_return): Use overflow_value and underflow_value to
46954 determine return values in overflow and underflow cases. Use
46955 round_away to determine rounding depending on rounding mode.
46956 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46957 determine return values in overflow and underflow cases.
46958 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46959 (struct test_results): New structure.
46960 (struct test): Use struct test_results to store expected results
46961 for all rounding modes.
46962 (TEST): Include expected results for all rounding modes.
46963 (test_in_one_mode): New function.
46964 (do_test): Use test_in_one_mode to compute and check results.
46965 Check results for all rounding modes.
46966 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46967 $(link-libm).
46968
46969 2012-12-09 Allan McRae <allan@archlinux.org>
46970
46971 * sysdeps/i386/fpu/libm-test-ulps: Update
46972
46973 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46974
46975 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46976 (_G_int32_t): Likewise.
46977 (_G_uint16_t): Likewise.
46978 (_G_uint32_t): Likewise.
46979 (_G_HAVE_BOOL): Likewise.
46980 (_G_HAVE_ATEXIT): Likewise.
46981 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46982 (_G_HAVE_IO_FILE_OPEN): Likewise.
46983 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46984 (_G_int32_t): Likewise.
46985 (_G_uint16_t): Likewise.
46986 (_G_uint32_t): Likewise.
46987 (_G_HAVE_BOOL): Likewise.
46988 (_G_HAVE_ATEXIT): Likewise.
46989 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46990 (_G_HAVE_IO_FILE_OPEN): Likewise.
46991 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46992 (_G_int32_t): Likewise.
46993 (_G_uint16_t): Likewise.
46994 (_G_uint32_t): Likewise.
46995 (_G_HAVE_BOOL): Likewise.
46996 (_G_HAVE_ATEXIT): Likewise.
46997 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46998 (_G_HAVE_IO_FILE_OPEN): Likewise.
46999
47000 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
47001
47002 * csu/libc-tls.c: Update copyright years.
47003
47004 2012-09-10 Joseph Myers <joseph@codesourcery.com>
47005
47006 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47007 [!_G_USING_THUNKS]: Remove conditional code.
47008 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47009 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47010
47011 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47012 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47013 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47014 (_G_VTABLE_LABEL_PREFIX): Likewise.
47015 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47016 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47017 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47018 (_G_VTABLE_LABEL_PREFIX): Likewise.
47019 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47020 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47021 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47022 (_G_VTABLE_LABEL_PREFIX): Likewise.
47023 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47024
47025 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
47026
47027 * libio/Makefile: Include ../Makeconfig before tests.
47028 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47029 only if $(build-shared) is yes.
47030
47031 * iconv/gconv_db.c: Update copyright years.
47032
47033 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47034
47035 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47036 unwind info if defined PIC. Fix special cases description.
47037 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47038
47039 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47040 DP_HI_MASK entry.
47041 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47042
47043 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
47044
47045 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47046
47047 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47048 is NULL.
47049
47050 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47051 (LDLIBS-tst-chk4): This.
47052 (LDFLAGS-tst-chk5): Renamed to ...
47053 (LDLIBS-tst-chk5): This.
47054 (LDFLAGS-tst-chk6): Renamed to ...
47055 (LDLIBS-tst-chk6): This.
47056 (LDFLAGS-tst-lfschk4): Renamed to ...
47057 (LDLIBS-tst-lfschk4): This.
47058 (LDFLAGS-tst-lfschk5): Renamed to ...
47059 (LDLIBS-tst-lfschk5): This.
47060 (LDFLAGS-tst-lfschk6): Renamed to ...
47061 (LDLIBS-tst-lfschk6): This.
47062
47063 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47064 on $(common-objpfx)soversions.mk.
47065
47066 2012-09-07 Joseph Myers <joseph@codesourcery.com>
47067
47068 [BZ #10014]
47069 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47070 example host name.
47071
47072 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47073
47074 * malloc/arena.c (arena_get_retry): New function that gets
47075 another arena for the caller to try its request on.
47076 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47077 current arena cannot fulfill the request.
47078 (__libc_memalign): Likewise.
47079 (__libc_memalign): Likewise.
47080 (__libc_pvalloc): Likewise.
47081 (__libc_calloc): Likewise.
47082
47083 2012-09-05 John Tobey <john.tobey@gmail.com>
47084
47085 [BZ #13542]
47086 * manual/arith.texi (Operations on Complex): Fix description
47087 of carg branch cut.
47088
47089 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47090
47091 [BZ #10014]
47092 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47093 host name.
47094
47095 [BZ #10038]
47096 * manual/memory.texi (Memory): Make order of menu items match
47097 order of sections.
47098
47099 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47100
47101 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47102 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
47103 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47104
47105 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47106
47107 * csu/libc-tls.c (static_dtv): Renamed to ...
47108 (_dl_static_dtv): This. Make it global.
47109 (_dl_initial_dtv): Removed.
47110 (__libc_setup_tls): Updated.
47111 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47112 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47113 DL_INITIAL_DTV.
47114
47115 2012-09-06 Petr Machata <pmachata@redhat.com>
47116
47117 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47118 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47119 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47120 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47121
47122 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47123
47124 [BZ #14545]
47125 * csu/libc-tls.c (_dl_initial_dtv): New variable.
47126 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47127 freeing dtv[-1].
47128
47129 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47130
47131 [BZ #14544]
47132 * Makeconfig (link-static-before-libc): Replace $(+prector)
47133 with $(+prectorT).
47134 (link-static-after-libc): Replace $(+postctor) with
47135 $(+postctorT).
47136 (link-bounded): Replace $(+prector)/$(+postctor) with
47137 $(+prectorT)/$(+postctorT).
47138 (+prectorT): New macro.
47139 (+postctorT): Likewise.
47140
47141 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47142
47143 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47144 (round_str): Handle values above the maximum for IBM long double
47145 as inexact.
47146 * stdlib/tst-strtod-round.c (tests): Regenerated.
47147
47148 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47149
47150 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47151 assembler flag.
47152 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47153 zarch_nohighgprs around the zarch optimized routines.
47154 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47155 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47156 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47157 for zarch.
47158
47159 2012-09-05 David S. Miller <davem@davemloft.net>
47160
47161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47162
47163 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47164 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47165 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47166 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47167 entries.
47168
47169 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47170
47171 * malloc/arena.c: Fold copyright years.
47172 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47173
47174 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47175
47176 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47177
47178 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47179
47180 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47181
47182 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47183
47184 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47185 change internal state upon failure.
47186
47187 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47188
47189 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47190 * malloc/memusage.c (mmap): Likewise.
47191 (mmap64, mremap): Likewise. Adjust name in comment.
47192
47193 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47194
47195 * libio/fileops.c: Fix typos in comments.
47196 * libio/oldfileops.c: Likewise.
47197 * libio/wfileops.c: Likewise.
47198
47199 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47200
47201 [BZ #1349]
47202 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47203 (tst-malloc-usable-ENV): Set environment for test case.
47204 * malloc/hooks.c (malloc_check_get_size): New function to get
47205 requested size.
47206 * malloc/malloc.c (musable): Use malloc_check_get_size.
47207 * malloc/tst-malloc-usable.c: New test case.
47208
47209 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47210
47211 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47212
47213 2012-09-05 Allan McRae <allan@archlinux.org>
47214
47215 [BZ #13966]
47216 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47217 determine header location.
47218 * configure: Regenerated.
47219
47220 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47221
47222 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47223 float format.
47224 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47225 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47226 format.
47227 (test): Regenerate.
47228
47229 2012-09-04 David S. Miller <davem@davemloft.net>
47230
47231 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47232 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47233 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47234
47235 2012-09-04 Florian Weimer <fweimer@redhat.com>
47236
47237 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47238 failures.
47239
47240 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47241
47242 2012-09-04 Joseph Myers <joseph@codesourcery.com>
47243
47244 [BZ #9914]
47245 * libio/iogetdelim.c: Include <limits.h>.
47246 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47247 + len + 1 would overflow.
47248
47249 2012-09-03 Andreas Jaeger <aj@suse.de>
47250
47251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47252 * sysdeps/i386/fpu/libm-test-ulps: Update.
47253
47254 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47255
47256 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47257 Add s_sinf-sse2, s_conf-sse2.
47258
47259 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47260 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47261 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47262 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47263
47264 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47265 for using routine as __sinf_ia32.
47266 Use macro for function declaration and weak_alias.
47267 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47268 for using routine as __cosf_ia32.
47269 Use macro for function declaration and weak_alias.
47270
47271 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47272 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47273
47274 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47275 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47277
47278 * math/libm-test.inc (cos_test): Add more test cases.
47279 (sin_test): Likewise.
47280 (sincos_test): Likewise.
47281
47282 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47283
47284 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47285 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47286 hidden.
47287 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47288
47289 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47290
47291 [BZ #14538]
47292 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47293 first element of the GOT.
47294 (elf_machine_load_address): Return the difference between
47295 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47296
47297 2012-09-01 Allan McRae <allan@archlinux.org>
47298
47299 [BZ #13412]
47300 * configure.in (AWK): Require gawk version 3.0 or later.
47301 * configure: Regenerated.
47302
47303 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47304
47305 * sysdeps/unix/sysv/linux/kernel-features.h
47306 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47308 [__NR_clock_getres]: Make code unconditional.
47309 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47310 (clock_getcpuclockid): Remove code left unreachable by removal of
47311 conditionals.
47312 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47313 code unconditional.
47314 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47315 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47316 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47317 Make code unconditional.
47318 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47319 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47320 * sysdeps/unix/sysv/linux/clock_settime.c
47321 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47322 conditional code.
47323 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47324 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47325
47326 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47327
47328 [BZ #14476]
47329 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47330 scripts/test-installation.pl.
47331
47332 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47333 and $ld_so_version if it is set.
47334
47335 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47336
47337 [BZ #14516]
47338 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47339 failure if reading from procfs failed.
47340 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47341
47342 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47343
47344 * sysdeps/unix/sysv/linux/kernel-features.h
47345 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47346 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47347 Remove conditional code.
47348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47349 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47350 Remove conditional code.
47351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47352 * sysdeps/unix/sysv/linux/i386/fxstat.c
47353 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47355 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47356 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47358 * sysdeps/unix/sysv/linux/i386/lxstat.c
47359 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47360 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47361 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47362 Remove conditional code.
47363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47364 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47365 Remove conditional code.
47366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47367 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47368 <kernel-features.h>.
47369 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47370 Remove.
47371 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47372 Remove conditional code.
47373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47374 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47375 Remove conditional.
47376
47377 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47378
47379 [BZ #5400]
47380 * NEWS: Add fixed bug number.
47381
47382 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47383
47384 [BZ #14519]
47385 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47386 underflowing exponent in case of negative sign.
47387 * stdlib/tst-strtod-round-data: Add more tests.
47388 * stdlib/tst-strtod-round.c (tests): Regenerated.
47389
47390 [BZ #3479]
47391 * stdlib/strtod_l.c (NDIG): Remove.
47392 (HEXNDIG): Likewise.
47393 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47394 smallest representable value.
47395 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47396 lie within an exact representation of 1/2 ulp of the result.
47397 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47398 unconditionally.
47399 (TENS_P9_IDX): Define unconditionally.
47400 (TENS_P9_SIZE): Likewise.
47401 (TENS_P10_IDX): Likewise.
47402 (TENS_P10_SIZE): Likewise.
47403 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47404 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47405 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47406 entries for 10^2^13 and 10^2^14.
47407 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47408 (TENS_P13_IDX): Define.
47409 (TENS_P13_SIZE): Likewise.
47410 (TENS_P14_IDX): Likewise.
47411 (TENS_P14_SIZE): Likewise.
47412 (_fpioconst_pow10): Change array size to
47413 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47414 unconditional.
47415 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47416 1024]: Add entries for 10^2^13 and 10^2^14.
47417 [LAST_POW10 > _LAST_POW10]: Remove #error.
47418 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47419 (_fpioconst_pow10): Change array size to
47420 FPIOCONST_POW10_ARRAY_SIZE.
47421 * stdlib/gen-fpioconst.c: New file.
47422 * stdlib/gen-tst-strtod-round.c: Likewise.
47423 * stdlib/tst-strtod-round-data: Likewise.
47424 * stdlib/tst-strtod-round.c: Likewise.
47425 * stdlib/Makefile (tests): Add tst-strtod-round.
47426
47427 [BZ #14459]
47428 * stdlib/strtod_l.c: Include <stdint.h>.
47429 (NDEBUG): Do not define.
47430 (round_and_return): Change EXPONENT parameter to type intmax_t.
47431 Rearrange calculations to avoid internal overflow possibilities.
47432 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47433 Rearrange calculations to avoid internal overflow possibilities.
47434 Assert that number fits inside MPNSIZE limbs.
47435 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47436 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47437 calculations and add assertions to avoid internal overflow
47438 possibilities. Add casts to avoid signed/unsigned operations.
47439 * stdlib/tst-strtod-overflow.c: New file.
47440 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47441
47442 2012-08-25 Marek Polacek <polacek@redhat.com>
47443
47444 * time/time.h: Fix some typos in comments.
47445
47446 2012-08-23 Roland McGrath <roland@hack.frob.com>
47447
47448 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47449 * posix/tst-rfc3484-2.c: Likewise.
47450 * posix/tst-rfc3484-3.c: Likewise.
47451
47452 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47453
47454 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47455 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47456
47457 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47458
47459 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47460 #include of fxstatat64.c.
47461
47462 2012-08-22 Roland McGrath <roland@hack.frob.com>
47463
47464 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47465 * shadow/getspent_r.c: Likewise.
47466 * shadow/getspnam.c: Likewise.
47467 * shadow/getspnam_r.c: Likewise.
47468 * gshadow/getsgent.c: Likewise.
47469 * gshadow/getsgent_r.c: Likewise.
47470 * gshadow/getsgnam.c: Likewise.
47471 * gshadow/getsgnam_r.c: Likewise.
47472 * inet/getnetbyad.c: Likewise.
47473 * inet/getnetbyad_r.c: Likewise.
47474 * inet/getnetbynm.c: Likewise.
47475 * inet/getnetbynm_r.c: Likewise.
47476 * inet/getnetent.c: Likewise.
47477 * inet/getnetent_r.c: Likewise.
47478 * inet/getproto.c: Likewise.
47479 * inet/getproto_r.c: Likewise.
47480 * inet/getprtent.c: Likewise.
47481 * inet/getprtent_r.c: Likewise.
47482 * inet/getprtname.c: Likewise.
47483 * inet/getprtname_r.c: Likewise.
47484 * inet/getrpcbyname.c: Likewise.
47485 * inet/getrpcbyname_r.c: Likewise.
47486 * inet/getrpcbynumber.c: Likewise.
47487 * inet/getrpcbynumber_r.c: Likewise.
47488 * inet/getrpcent.c: Likewise.
47489 * inet/getrpcent_r.c: Likewise.
47490 * inet/getaliasent.c: Likewise.
47491 * inet/getaliasent_r.c: Likewise.
47492 * inet/getaliasname.c: Likewise.
47493 * inet/getaliasname_r.c: Likewise.
47494 * nscd/getgrgid_r.c: Likewise.
47495 * nscd/getgrnam_r.c: Likewise.
47496 * nscd/gethstbyad_r.c: Likewise.
47497 * nscd/gethstbynm3_r.c: Likewise.
47498 * nscd/getpwnam_r.c: Likewise.
47499 * nscd/getpwuid_r.c: Likewise.
47500 * nscd/getsrvbynm_r.c: Likewise.
47501 * nscd/getsrvbypt_r.c: Likewise.
47502 * nscd/gai.c: Likewise.
47503
47504 * configure.in (build_nscd): New substituted variable, set
47505 by --disable-build-nscd and defaults to $use_nscd.
47506 * configure: Regenerated.
47507 * config.make.in (build-nscd): New substituted variable.
47508 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47509 Change conditional to require [$(build-nscd) = yes] as well.
47510 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47511
47512 [BZ# 13696]
47513 * configure.in (use_nscd): New substituted variable, set by
47514 --disable-nscd. If enabled, define USE_NSCD.
47515 * configure: Regenerated.
47516 * config.h.in: Add USE_NSCD.
47517 * config.make.in (use-nscd): New substituted variable.
47518 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47519 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47520 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47521 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47522 (CFLAGS-getgrnam_r.c): Likewise.
47523 (CFLAGS-initgroups.c): Likewise.
47524 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47525 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47526 Variables removed.
47527 * inet/getnetgrent_r.c
47528 (nscd_setnetgrent): New function, broken out of ...
47529 (setnetgrent): ... here. Call it.
47530 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47531 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47532 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47533 * nscd/Makefile (routines, aux): Move definitions after include of
47534 Makeconfig. Conditionalize on [$(use-nscd) != no].
47535 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47536 Conditionalize on [USE_NSCD].
47537 (is_nscd, nscd_init_cb): Likewise.
47538 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47539 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47540 * nss/nss_db/db-init.c: Likewise.
47541 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47542 [USE_NSCD].
47543 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47544 (make_request): Use it.
47545 (cache_valid_p): New function.
47546 (__check_pf): Use it.
47547 * NEWS: Add item for --disable-nscd.
47548
47549 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47550
47551 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47552 to support sed >= 4.2.1-20-ga9bf076.
47553 * configure: Regenerated.
47554
47555 2012-08-22 Roland McGrath <roland@hack.frob.com>
47556
47557 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47558 Conditionalize whole body on [IREL].
47559
47560 2012-08-22 Jeff Law <law@redhat.com>
47561
47562 [BZ #14505]
47563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47564 if the family is PF_UNSPEC.
47565
47566 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47567
47568 * Makerules (lib-version): Rename from V.
47569 (install-lib-nosubdir): Change V to lib-version.
47570
47571 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47572
47573 [BZ #14252]
47574 * powerpc32/power6/wcschr.c: New file.
47575 * powerpc32/power6/wcscpy.c: New file.
47576 * powerpc32/power6/wcsrchr.c: New file.
47577 * powerpc64/power6/wcschr.c: New file.
47578 * powerpc64/power6/wcscpy.c: New file.
47579 * powerpc64/power6/wcsrchr.c: New file.
47580
47581 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47582
47583 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47584 (two_way_short_needle): Use it.
47585 * string/strstr.c (AVAILABLE1_USES_J): Define.
47586 * string/strcasestr.c: Likewise.
47587
47588 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47589 array references.
47590 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47591
47592 [BZ #11607]
47593 * NEWS: Add an entry.
47594 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47595 define their defaults.
47596 (two_way_short_needle): Detect end-of-string on-the-fly.
47597 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47598 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47599 * string/bug-strcasestr1.c: New test.
47600 * string/Makefile: Run it.
47601
47602 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47603
47604 [BZ #11607]
47605 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47606 the first character.
47607
47608 2012-08-21 Roland McGrath <roland@hack.frob.com>
47609
47610 * csu/elf-init.c (__libc_csu_irel): Function removed.
47611 * csu/libc-start.c (apply_irel): New function.
47612 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47613
47614 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47615
47616 * sysdeps/unix/sysv/linux/kernel-features.h
47617 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47618 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47619 <kernel-features.h>.
47620 [__NR_fadvise64_64]: Make code unconditional.
47621 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47622 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47623 !__NR_fadvise64_64)]: Likewise.
47624 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47625 !__NR_fadvise64_64))]: Likewise.
47626 [__NR_fadvise64]: Make code unconditional.
47627 [!__NR_fadvise64]: Remove conditional code.
47628 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47629 <kernel-features.h>.
47630 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47631 unconditional.
47632 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47633 conditional code.
47634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47635 not include <kernel-features.h>.
47636 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47637 unconditional.
47638 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47639 conditional code.
47640 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47641 include <kernel-features.h>.
47642 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47643 unconditional.
47644 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47645 conditional code.
47646
47647 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47648
47649 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47650 slight instruction rearrangements per scrollpipe analysis.
47651 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47652
47653 2012-08-20 Roland McGrath <roland@hack.frob.com>
47654
47655 * manual/syslog.texi (syslog; vsyslog, closelog):
47656 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47657 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47658
47659 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47660 DSOCAPS to match condition on defining it.
47661
47662 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47663
47664 * sysdeps/unix/sysv/linux/kernel-features.h
47665 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47667 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47668 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47670 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47671 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47673 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47674 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47675
47676 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47677 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47678
47679 * sysdeps/unix/sysv/linux/kernel-features.h
47680 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47681 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47682 unconditional.
47683 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47684 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47685 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47686 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47687 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47688 Make code unconditional.
47689 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47690 (__mmap64) [!__NR_mmap2]: Likewise.
47691 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47692 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47693 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47694 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47695 [__NR_mmap2]: Make code unconditional.
47696 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47697 (__mmap64) [!__NR_mmap2]: Likewise.
47698
47699 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47700
47701 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47702
47703 2012-08-18 Andreas Jaeger <aj@suse.de>
47704
47705 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47706
47707 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47708
47709 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47710 * include/unistd.h (__have_sock_cloexec): Likewise.
47711 (__have_pipe2): Likewise.
47712 (__have_dup3): Likewise.
47713
47714 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47715
47716 [BZ #9685]
47717 * include/unistd.h (__have_pipe2): Change define into an extern int.
47718 (__have_dup3): Likewise.
47719 * socket/have_sock_cloexec.c: Include fcntl.h.
47720 (__have_pipe2): New variable.
47721 (__have_dup3): Likewise.
47722
47723 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47724
47725 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47726
47727 2012-08-17 Marek Polacek <polacek@redhat.com>
47728
47729 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47730 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47731
47732 2012-08-17 Roland McGrath <roland@hack.frob.com>
47733
47734 * configure.in: Add AC_SUBST for sysheaders.
47735 * configure: Regenerated.
47736 * config.make.in (sysheaders): New substituted variable.
47737
47738 * sysdeps/unix/mkfifo.c: Moved ...
47739 * sysdeps/posix/mkfifo.c: ... here.
47740 * sysdeps/unix/mkfifoat.c: Moved ...
47741 * sysdeps/posix/mkfifoat.c: ... here.
47742
47743 * sysdeps/unix/utime.c: Moved ...
47744 * sysdeps/posix/utime.c: ... here.
47745
47746 * sysdeps/unix/time.c: Moved ...
47747 * sysdeps/posix/time.c: ... here.
47748 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47749 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47750
47751 * sysdeps/unix/nice.c: Moved ...
47752 * sysdeps/posix/nice.c: ... here.
47753
47754 * sysdeps/unix/alarm.c: Moved ...
47755 * sysdeps/posix/alarm.c: ... here.
47756
47757 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47758
47759 2012-08-17 Jeff Law <law@redhat.com>
47760
47761 * intl/Makefile (codeset_mo): New variable.
47762 ($(codeset_mo)): New target.
47763 (tst-codeset.out): Depend on that. Remove explicit rule.
47764 (tst-gettext3.out, tst-gettext5.out): Likewise.
47765 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47766 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47767 * intl/tst-codeset.sh: Remove.
47768 * intl/tst-gettext3.sh: Likewise.
47769 * intl/tst-gettext5.sh: Likewise.
47770
47771 2012-08-17 Roland McGrath <roland@hack.frob.com>
47772
47773 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47774 * sysdeps/unix/syscalls.list: ... here.
47775
47776 * sysdeps/posix/getaddrinfo.c
47777 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47778 (gaiconf_init, gaiconf_reload): Use them.
47779 [!_STATBUF_ST_NSEC]
47780 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47781 Define using time_t rather than struct timespec.
47782
47783 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47784 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47785 Macros removed.
47786 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47787 [!NO_THREADS].
47788 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47789 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47790 Likewise.
47791
47792 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47793 __libc_cleanup_push argument.
47794
47795 * bits/param.h: New file.
47796 * misc/sys/param.h: New file.
47797 * include/sys/param.h: New file.
47798 * misc/Makefile (headers): Add bits/param.h.
47799 * sysdeps/generic/sys/param.h: File removed.
47800 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47801 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47802 * sysdeps/mach/hurd/bits/param.h: New file.
47803 * sysdeps/mach/hurd/sys/param.h: File removed.
47804
47805 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47806 last change.
47807
47808 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47809 [_IO_MTSAFE_IO].
47810 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47811 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47812 New macros.
47813
47814 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47815 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47816 rather than -D_IO_MTSAFE_IO conditionally.
47817 * stdio-common/Makefile (CPPFLAGS): Likewise.
47818 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47819 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47820 Use $(libio-mtsafe).
47821 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47822 of -D_IO_MTSAFE_IO.
47823 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47824 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47825 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47826 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47827 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47828 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47829 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47830 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47831 (CFLAGS-fread_u_chk.c): Likewise.
47832 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47833 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47834 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47835 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47836 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47837 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47838 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47839 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47840 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47841
47842 * libio/Makefile: Test [$(libc-reentrant) = yes]
47843 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47844
47845 * Makeconfig
47846 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47847 * sysdeps/pthread/configure: File removed.
47848 * sysdeps/pthread/Makeconfig: New file.
47849 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47850 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47851
47852 2012-08-16 Gary Benson <gbenson@redhat.com>
47853
47854 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47855 unmapping the first object in a namespace.
47856
47857 2012-08-16 Roland McGrath <roland@hack.frob.com>
47858
47859 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47860 (__internal_setnetgrent): ... this. Add internal_function to
47861 definition. Add libc_hidden_def.
47862 (setnetgrent): Update caller.
47863 (internal_endnetgrent): Renamed to ...
47864 (__internal_endnetgrent): ... this. Add internal_function to
47865 definition. Add libc_hidden_def.
47866 (endnetgrent): Update caller.
47867 (internal_getnetgrent_r): Renamed to ...
47868 (__internal_getnetgrent_r): ... this. Add internal_function to
47869 definition. Add libc_hidden_def.
47870 (__getnetgrent_r): Update caller.
47871 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47872
47873 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47874
47875 * stdlib/longlong.h: Update from GCC.
47876
47877 2012-08-16 Roland McGrath <roland@hack.frob.com>
47878
47879 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47880 on _QL, which is set by umul_ppmm but never used.
47881 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47882 variables, which are set by GMP macros but never used.
47883 * stdio-common/_itowa.c (_itowa): Likewise.
47884 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47885 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47886
47887 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47888
47889 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47890 struct La_sh_regs is not constant.
47891 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47892 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47893 and struct La_sparc64_regs are not constant.
47894
47895 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47896
47897 * sysdeps/unix/sysv/linux/kernel-features.h
47898 (__ASSUME_POSIX_TIMERS): Remove.
47899 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47900 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47901 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47902 Make code unconditional.
47903 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47904 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47905 Make code unconditional.
47906 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47907 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47908 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47909 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47910 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47911 Make code unconditional.
47912 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47913 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47914 (__libc_missing_posix_timers): Remove.
47915
47916 2012-08-15 Roland McGrath <roland@hack.frob.com>
47917
47918 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47919 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47920
47921 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47922
47923 * elf/dl-sym.c: Include <stdlib.h>.
47924
47925 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47926 constants, which avoids warnings in 32-bit builds.
47927
47928 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47929 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47930
47931 * misc/lseek.c: File moved to ...
47932 * io/lseek.c: ... here.
47933
47934 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47935
47936 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47937 shifting LEN more than 31 bits at once.
47938
47939 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47940
47941 [BZ #14195]
47942 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47943 segmentation fault for a case of two empty input strings.
47944 * string/test-strncasecmp.c (check1): Renamed to...
47945 (bz12205): ...this.
47946 (bz14195): Add new testcase for two empty input strings and N > 0.
47947 (test_main): Call new testcase, adapt for renamed function.
47948
47949 2012-08-15 Andreas Jaeger <aj@suse.de>
47950
47951 [BZ #14090]
47952 * crypt/md5test2.c: New test, based on test supplied by Serge
47953 Belyshev <belyshev@depni.sinp.msu.ru>.
47954 * crypt/Makefile (xtests): Add md5test-giant..
47955 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47956
47957 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47958
47959 [BZ #14090]
47960 * crypt/md5.c (md5_process_block): Don't assume the buffer
47961 length is less than 2**32.
47962 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47963 length is less than 2**64.
47964
47965 2012-08-15 Roland McGrath <roland@hack.frob.com>
47966
47967 * string/str-two-way.h: Include <sys/param.h>.
47968 (MAX): Macro removed.
47969
47970 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47971 Move #define and #undef of memmove to just before and after
47972 including <string.h>.
47973
47974 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47975 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47976 and after including <string.h>. Move declarations of
47977 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47978 to before #include "string/memmove.c".
47979
47980 * include/dirent.h: Declare __getdirentries.
47981
47982 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47983 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47984
47985 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47986
47987 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47988 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47989 * sysdeps/i386/configure: Regenerated.
47990 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47991 STABS_CURRENT_FILE, and STABS_FUN.
47992 (END): Remove call to STABS_FUN_END.
47993 (STABS_CURRENT_FILE1): Delete.
47994 (STABS_CURRENT_FILE): Likewise.
47995 (STABS_FUN): Likewise.
47996 (STABS_FUN_END): Likewise.
47997 (STABS_FUN2): Likewise.
47998 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47999 * sysdeps/x86_64/configure: Regenerated.
48000
48001 2012-08-14 Roland McGrath <roland@hack.frob.com>
48002
48003 * elf/dl-open.c: Include <atomic.h>.
48004 * elf/dl-lookup.c: Likewise.
48005
48006 2012-08-14 Joseph Myers <joseph@codesourcery.com>
48007
48008 * sysdeps/unix/sysv/linux/kernel-features.h
48009 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48010 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48011 unconditionally.
48012 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48013 unconditionally.
48014 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48015 condition on __ASSUME_CLONE_THREAD_FLAGS.
48016
48017 2012-08-14 Andreas Jaeger <aj@suse.de>
48018
48019 * sysdeps/i386/fpu/libm-test-ulps: Update.
48020
48021 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
48022
48023 * include/atomic.h (atomic_exchange_and_add): Split into ...
48024 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48025 New atomic macros.
48026
48027 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
48028
48029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48030
48031 2012-08-13 Jeff Law <law@redhat.com>
48032
48033 * manual/stdio.texi (snprintf): Clarify handling of the trailing
48034 null byte in the output string.
48035
48036 2012-08-10 Joseph Myers <joseph@codesourcery.com>
48037
48038 * sysdeps/unix/sysv/linux/kernel-features.h
48039 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48040 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48041 (__ASSUME_ARG_MAX_STACK_BASED): Define.
48042 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48043 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48044 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
48045 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48046
48047 2012-08-09 Jeff Law <law@redhat.com>
48048
48049 [BZ #13939]
48050 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48051 When avoid_arena is set, don't retry in the that arena. Pick the
48052 next one, whatever it might be.
48053 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48054 (arena_lock): Pass in new parameter to arena_get2.
48055 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48056 arena_get2.
48057 (__libc_malloc): Unify retrying after main arena failure with
48058 __libc_memalign version.
48059 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48060
48061 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
48062
48063 [BZ #14166]
48064 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48065 to __redirect_strstr.
48066 (__strstr_sse42): Use typeof __redirect_strstr.
48067 (__strstr_ia32): Likewise.
48068 (__libc_strstr): New prototype.
48069 (strstr): Renamed to ...
48070 (__libc_strstr): This.
48071 (strstr): New strong alias of __libc_strstr.
48072 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48073 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48074 __redirect_time.
48075 Include <time.h>.
48076 (__libc_time): New prototype.
48077 (time_ifunc): Replace time with __libc_time.
48078 (time): New strong alias and hidden definition of __libc_time.
48079 (__GI_time): Remove strong alias.
48080 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48081 Include <stddef.h>.
48082 (memmove): Redefined to __redirect_memmove.
48083 (__memmove_sse2): Use typeof __redirect_memmove.
48084 (__memmove_ssse3): Likewise.
48085 (__memmove_ssse3_back): Likewise.
48086 (__libc_memmove): New prototype.
48087 (memmove): Renamed to ...
48088 (__libc_memmove): This.
48089 (memmove): New strong alias of __libc_memmove.
48090
48091 2012-08-08 Mark Salter <msalter@redhat.com>
48092
48093 * elf/elf.h
48094 (R_MN10300_TLS_GD): Define.
48095 (R_MN10300_TLS_LD): Likewise.
48096 (R_MN10300_TLS_LDO): Likewise.
48097 (R_MN10300_TLS_GOTIE): Likewise.
48098 (R_MN10300_TLS_IE): Likewise.
48099 (R_MN10300_TLS_LE): Likewise.
48100 (R_MN10300_TLS_DTPMOD): Likewise.
48101 (R_MN10300_TLS_DTPOFF): Likewise.
48102 (R_MN10300_TLS_TPOFF): Likewise.
48103 (R_MN10300_SYM_DIFF): Likewise.
48104 (R_MN10300_ALIGN): Likewise.
48105 (R_MN10300_NUM): Update.
48106
48107 2012-08-08 Joseph Myers <joseph@codesourcery.com>
48108
48109 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48110 Remove.
48111
48112 2012-08-08 Roland McGrath <roland@hack.frob.com>
48113
48114 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48115
48116 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48117 sysdeps/unix -> sysdeps/posix move.
48118 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48119
48120 2012-08-07 Allan McRae <allan@archlinux.org>
48121
48122 [BZ #14303]
48123 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48124 (SUNOS_CPP): Likewise.
48125 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48126 not found.
48127 (open_input): Call CPP using execvp.
48128
48129 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48130
48131 * sysdeps/unix/sysv/linux/kernel-features.h
48132 (__ASSUME_PROT_GROWSUPDOWN): Remove.
48133 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48134 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48135 (__ASSUME_WAITID_SYSCALL): Likewise.
48136 * sysdeps/unix/sysv/linux/dl-execstack.c
48137 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48138 code unconditional.
48139 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48140 conditional code.
48141 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48142 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48143 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48144 code.
48145 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48146 unconditional.
48147 [__ASSUME_WAITID_SYSCALL]: Likewise.
48148 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48149
48150 2012-08-07 Roland McGrath <roland@hack.frob.com>
48151
48152 * sysdeps/unix/closedir.c: Renamed to ...
48153 * sysdeps/posix/closedir.c: ... here.
48154 * sysdeps/unix/dirfd.c: Renamed to ...
48155 * sysdeps/posix/dirfd.c: ... here.
48156 * sysdeps/unix/dirstream.h: Renamed to ...
48157 * sysdeps/posix/dirstream.h: ... here.
48158 * sysdeps/unix/fdopendir.c: Renamed to ...
48159 * sysdeps/posix/fdopendir.c: ... here.
48160 * sysdeps/unix/opendir.c: Renamed to ...
48161 * sysdeps/posix/opendir.c: ... here.
48162 * sysdeps/unix/readdir.c: Renamed to ...
48163 * sysdeps/posix/readdir.c: ... here.
48164 * sysdeps/unix/readdir_r.c: Renamed to ...
48165 * sysdeps/posix/readdir_r.c: ... here.
48166 * sysdeps/unix/rewinddir.c: Renamed to ...
48167 * sysdeps/posix/rewinddir.c: ... here.
48168 * sysdeps/unix/seekdir.c: Renamed to ...
48169 * sysdeps/posix/seekdir.c: ... here.
48170 * sysdeps/unix/telldir.c: Renamed to ...
48171 * sysdeps/posix/telldir.c: ... here.
48172 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48173 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48174 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48175 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48176
48177 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48178 * bits/fcntl.h: ... here.
48179
48180 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48181 not 0.
48182 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48183 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48184 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48185 (struct flock): Move l_start, l_len to the beginning.
48186 Use __pid_t for l_pid.
48187 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48188 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48189 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48190 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48191 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48192 [__USE_LARGEFILE64] (struct flock64): New type.
48193 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48194
48195 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48196 * bits/dirent.h: ... here.
48197
48198 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48199 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48200
48201 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48202
48203 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48204 Change from 2.6.0 to 2.6.16.
48205 * sysdeps/unix/sysv/linux/configure: Regenerated.
48206 * sysdeps/unix/sysv/linux/kernel-features.h
48207 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48208 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48209 version.
48210 (__ASSUME_UTIMES): Likewise.
48211 (__ASSUME_CLONE_STOPPED): Remove.
48212 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48213 architectures, not kernel version.
48214 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48215 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48216 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48217 (__ASSUME_WAITID_SYSCALL): Likewise.
48218 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48219 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48220 * README: State 2.6.16 as minimum Linux kernel version. Do not
48221 refer to older versions.
48222
48223 2012-08-06 Roland McGrath <roland@hack.frob.com>
48224
48225 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48226 Define alphasort64 as an alias.
48227 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48228 Define versionsort64 as an alias.
48229 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48230 Define scandir64 as an alias.
48231 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48232 Define scandirat64 as an alias.
48233 * dirent/alphasort64.c (alphasort64):
48234 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48235 * dirent/versionsort64.c: Likewise.
48236 * dirent/scandir64.c: Likewise.
48237 * dirent/scandirat64.c: Likewise.
48238 * sysdeps/wordsize-64/alphasort.c: File removed.
48239 * sysdeps/wordsize-64/alphasort64.c: File removed.
48240 * sysdeps/wordsize-64/scandir.c: File removed.
48241 * sysdeps/wordsize-64/scandir64.c: File removed.
48242 * sysdeps/wordsize-64/scandirat.c: File removed.
48243 * sysdeps/wordsize-64/scandirat64.c: File removed.
48244 * sysdeps/wordsize-64/versionsort.c: File removed.
48245 * sysdeps/wordsize-64/versionsort64.c: File removed.
48246 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48247 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48248 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48249 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48250 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48251 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48252 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48253 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48254
48255 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48256 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48257 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48258 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48259 [defined __arch64__ || defined __sparcv9]
48260 (__INO_T_MATCHES_INO64_T): New macro.
48261 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48262 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48263 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48264 * sysdeps/unix/sysv/linux/bits/dirent.h
48265 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48266 (_DIRENT_MATCHES_DIRENT64): New macro.
48267
48268 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48269 Define lockf64 as an alias.
48270 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48271 Define fseeko64 as an alias.
48272 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48273 Define ftello64 as an alias.
48274 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48275 Define _IO_fgetpos64 and fgetpos64 as aliases.
48276 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48277 Define _IO_fsetpos64 and fsetpos64 as aliases.
48278 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48279 Conditionalize body on this.
48280 * libio/fseeko64.c: Likewise.
48281 * libio/ftello64.c: Likewise.
48282 * libio/iofgetpos64.c: Likewise.
48283 * libio/iofsetpos64.c: Likewise.
48284 * sysdeps/wordsize-64/lockf.c: File removed.
48285 * sysdeps/wordsize-64/lockf64.c: File removed.
48286 * sysdeps/wordsize-64/fseeko.c: File removed.
48287 * sysdeps/wordsize-64/fseeko64.c: File removed.
48288 * sysdeps/wordsize-64/ftello.c: File removed.
48289 * sysdeps/wordsize-64/ftello64.c: File removed.
48290 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48291 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48292 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48293 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48294 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48295 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48296 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48297 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48298 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48299 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48300 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48301 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48302 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48303 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48304
48305 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48307 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48309 [defined __arch64__ || defined __sparcv9]
48310 (__OFF_T_MATCHES_OFF64_T): New macro.
48311 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48312 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48314 (__OFF_T_MATCHES_OFF64_T): New macro.
48315
48316 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48317
48318 * stdlib/secure-getenv.c (__secure_getenv): Replace
48319 GLIBC_2_16 with GLIBC_2_17.
48320
48321 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48322
48323 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48324 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48325
48326 2012-08-03 David S. Miller <davem@davemloft.net>
48327
48328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48329
48330 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48331
48332 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48333 Remove.
48334 (__ASSUME_CORRECT_SI_PID): Likewise.
48335 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48336 (__ASSUME_TMPFS_NAME): Likewise.
48337 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48338 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48339 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48340 (HAVE_AUX_SECURE): Make definition unconditional.
48341 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48342 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48343
48344 2012-08-03 Roland McGrath <roland@hack.frob.com>
48345
48346 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48347 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48348 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48349 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48350 __eloop_threshold instead of SYMLOOP_MAX.
48351
48352 * sysdeps/generic/eloop-threshold.h: New file.
48353 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48354 of MAXSYMLINKS.
48355 * elf/chroot_canon.c (chroot_canon): Likewise.
48356
48357 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48358
48359 [BZ #13717]
48360 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48361 Change to 2.6.0 everywhere.
48362 * sysdeps/unix/sysv/linux/configure: Regenerated.
48363 * sysdeps/unix/sysv/linux/kernel-features.h
48364 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48365 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48366 kernel versions.
48367 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48368 (__ASSUME_FUTEX_REQUEUE): Remove.
48369 (__ASSUME_STATFS64): Define unconditionally.
48370 (__ASSUME_AT_SECURE): Likewise.
48371 (__ASSUME_CORRECT_SI_PID): Likewise.
48372 (__ASSUME_TGKILL): Define without depending on kernel version for
48373 i386.
48374 (__ASSUME_UTIMES): Likewise.
48375 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48376 kernel version.
48377 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48378 (__ASSUME_TMPFS_NAME): Likewise.
48379 * README: Update reference to Linux kernel versions.
48380
48381 2012-08-02 Marek Polacek <polacek@redhat.com>
48382
48383 [BZ# 14150]
48384 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48385 libc_cv_asm_type_prefix with %.
48386 * configure: Regenerated.
48387 * include/libc-symbols.h: Remove comment about
48388 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48389 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48390 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48391 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48392 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48393 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48394 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48395 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48396 * elf/tst-unique2mod1.c: Likewise.
48397 * elf/tst-unique1mod2.c: Likewise.
48398 * elf/tst-unique1mod1.c: Likewise.
48399 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48400 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48401 Replace ASM_TYPE_DIRECTIVE with .type.
48402 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48403 * sysdeps/i386/sysdep.h: Likewise.
48404 * sysdeps/x86_64/sysdep.h: Likewise.
48405 * sysdeps/sh/sysdep.h: Likewise.
48406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48407 Do not define ASM_TYPE_DIRECTIVE.
48408 * sysdeps/powerpc/sysdep.h: Likewise.
48409 * sysdeps/powerpc/powerpc32/sysdep.h:
48410 Replace ASM_TYPE_DIRECTIVE with .type.
48411 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48412 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48413 * sysdeps/i386/fpu/e_powf.S: Likewise.
48414 * sysdeps/i386/fpu/e_expl.S: Likewise.
48415 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48416 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48417 * sysdeps/i386/fpu/e_pow.S: Likewise.
48418 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48419 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48420 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48421 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48422 * sysdeps/i386/fpu/e_log2.S: Likewise.
48423 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48424 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48425 * sysdeps/i386/fpu/e_powl.S: Likewise.
48426 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48427 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48428 * sysdeps/i386/fpu/e_logl.S: Likewise.
48429 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48430 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48431 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48432 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48433 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48434 * sysdeps/i386/fpu/e_log.S: Likewise.
48435 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48436 * sysdeps/i386/fpu/e_logf.S: Likewise.
48437 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48438 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48439 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48440 * sysdeps/i386/fpu/e_log10.S: Likewise.
48441 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48442 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48443 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48444 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48445 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48446 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48447 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48448 * sysdeps/i386/i686/strtok.S: Likewise.
48449 * sysdeps/i386/i386-mcount.S: Likewise.
48450 * sysdeps/i386/strtok.S: Likewise.
48451 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48452 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48453 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48454 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48455 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48456 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48457 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48458 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48459 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48460 * sysdeps/x86_64/_mcount.S: Likewise.
48461 * sysdeps/x86_64/strtok.S: Likewise.
48462 * sysdeps/sh/_mcount.S: Likewise.
48463
48464 2012-08-01 Roland McGrath <roland@hack.frob.com>
48465
48466 * libio/iofopen.c: Include <fcntl.h>.
48467 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48468 (_IO_fopen64, fopen64): Define as aliases.
48469 * libio/iofopen64.c: Include <fcntl.h>.
48470 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48471 Conditionalize body on this.
48472 * sysdeps/wordsize-64/iofopen.c: File removed.
48473 * sysdeps/wordsize-64/iofopen64.c: File removed.
48474
48475 2012-08-01 Marek Polacek <polacek@redhat.com>
48476
48477 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48478 Use dlfcn directly instead of a variable.
48479 (binfmt-subdir): Do not define.
48480 (dlfcn): Likewise.
48481
48482 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48483
48484 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48485 Remove all definitions.
48486 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48487 <kernel-features.h>.
48488 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48489 (miss_F_GETOWN_EX): Remove all definitions.
48490 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48491 macro definition.
48492 [!__ASSUME_FCNTL64]: Remove conditional code.
48493 [__ASSUME_FCNTL64]: Make code unconditional.
48494 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48495 <kernel-features.h>.
48496 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48497 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48498 (lockf64) [__NR_fcntl64]: Make code unconditional.
48499 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48500
48501 * sysdeps/unix/sysv/linux/kernel-features.h
48502 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48503 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48504 Make code unconditional.
48505 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48506 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48508 [__NR_vfork]: Make code unconditional.
48509 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48510 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48512 [__NR_vfork]: Make code unconditional.
48513 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48514 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48515
48516 2012-08-01 Roland McGrath <roland@hack.frob.com>
48517
48518 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48519 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48520
48521 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48522 Define mkstemp64 as an alias.
48523 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48524 Define mkstemps64 as an alias.
48525 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48526 Define mkostemp64 as an alias.
48527 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48528 Define mkostemps64 as an alias.
48529 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48530 Conditionalize body on this.
48531 * misc/mkostemp64.c: Likewise.
48532 * misc/mkostemps64.c: Likewise.
48533 * misc/mkstemps64.c: Likewise.
48534 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48535 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48536 * sysdeps/wordsize-64/mkostemp.c: File removed.
48537 * sysdeps/wordsize-64/mkstemp.c: File removed.
48538 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48539 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48540 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48541 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48542
48543 [BZ #14138]
48544 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48545 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48546 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48547 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48548
48549 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48550 compat_symbol macros from <shlib-compat.h> rather than the underlying
48551 default_symbol_version and symbol_version macros, so that DEFAULT
48552 lines in shlib-versions are respected.
48553 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48554
48555 2012-08-01 Florian Weimer <fweimer@redhat.com>
48556
48557 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48558 Declare with warn_unused_result.
48559 (setgid, setregid, setegid, setresgid): Likewise.
48560 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48561 Likewise.
48562 * WUR-REPORT: Remove set*id functions.
48563
48564 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48565
48566 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48567
48568 2012-07-31 Roland McGrath <roland@hack.frob.com>
48569
48570 [BZ #10191]
48571 * include/sys/socket.h (__libc_accept, __libc_accept4):
48572 Add attribute_hidden.
48573 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48574
48575 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48576 use of PTR_MANGLE.
48577 * inet/getnetgrent_r.c (setup): Likewise.
48578
48579 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48580
48581 2012-07-31 David S. Miller <davem@davemloft.net>
48582
48583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48584
48585 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48586
48587 [BZ #13629]
48588 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48589 value between 1.0 and 2.0 and smaller part has absolute value less
48590 than 1.0.
48591 * math/s_clog10.c (__clog10): Likewise.
48592 * math/s_clog10f.c (__clog10f): Likewise.
48593 * math/s_clog10l.c (__clog10l): Likewise.
48594 * math/s_clogf.c (__clogf): Likewise.
48595 * math/s_clogl.c (__clogl): Likewise.
48596 * math/libm-test.inc (clog_test): Add more tests.
48597 (clog10_test): Likewise.
48598 * sysdeps/i386/fpu/libm-test-ulps: Update.
48599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48600
48601 2012-07-31 Florian Weimer <fweimer@redhat.com>
48602
48603 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48604 Exit with zero in case no suitable GID is found, and write a
48605 message to standard error.
48606
48607 2012-07-30 Roland McGrath <roland@hack.frob.com>
48608
48609 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48610 rather than to 1.
48611 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48612 (MAXPATHLEN): Removed.
48613 (NOGROUP, NODEV): New macros.
48614 (setbit, clrbit, isset, isclr): New macros.
48615 (howmany, roundup, powerof2): New macros.
48616 (DEV_BSIZE): New macro.
48617
48618 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48619 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48620
48621 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48622 definition on [!__NO_LONG_DOUBLE_MATH].
48623
48624 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48625 PTR_MANGLE and PTR_DEMANGLE.
48626
48627 * socket/accept4.c (accept4): Rename to __libc_accept4.
48628 Define accept4 as a weak alias.
48629
48630 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48631 on [_DIRENT_HAVE_D_TYPE].
48632 * io/ftw.c (ftw_dir): Likewise.
48633
48634 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48635
48636 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48637
48638 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48639 Use the BSD numbers rather than the arbitrary ones we had.
48640 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48641 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48642 (SIGXCPU, SIGXFSZ): New macros.
48643 (_NSIG): Now 32.
48644
48645 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48646 initializer on [_LIBC_REENTRANT].
48647
48648 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48649 definitions inside [_POSIX_MAPPED_FILES].
48650
48651 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48652
48653 * dirent/opendir.c: Include <fcntl.h>.
48654
48655 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48656 (__libc_getspecific): Likewise.
48657 (__libc_key_create): Likewise.
48658
48659 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48660 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48661 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48662 (tmpfile64): Define as alias.
48663 * sysdeps/wordsize-64/tmpfile.c: File removed.
48664 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48665 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48666 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48667
48668 * stdio-common/vfscanf.c: Include <stdbool.h>.
48669 * nss/makedb.c: Likewise.
48670 * stdio-common/_i18n_number.h: Likewise.
48671 * argp/argp-help.c: Likewise.
48672 * posix/wordexp.c: Likewise.
48673 * sysdeps/posix/spawni.c: Likewise.
48674 * nss/nss_files/files-initgroups.c: Likewise.
48675 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48676 * nss/nss_files/files-initgroups.c: Likewise.
48677 * nss/nss_db/db-netgrp.c: Likewise.
48678 * nss/nss_db/db-initgroups.c: Likewise.
48679 * io/fchmodat.c: Include <sys/stat.h>.
48680
48681 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48682 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48683
48684 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48685 [HAVE_MMAP].
48686
48687 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48688 Add multiple inclusion protection.
48689
48690 2012-07-27 David S. Miller <davem@davemloft.net>
48691
48692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48693
48694 2012-07-27 Gary Benson <gbenson@redhat.com>
48695
48696 [BZ #14298]
48697 * elf/rtld.c: Include <stap-probe.h>.
48698 (dl_main): Added static probes "init_start" and "init_complete".
48699 * elf/dl-load.c: Include <stap-probe.h>.
48700 (lose): Take new parameter "nsid".
48701 Added static probe "map_failed".
48702 (_dl_map_object_from_fd): Pass namespace id to lose.
48703 Added static probe "map_start".
48704 (open_verify): Pass namespace id to lose.
48705 * elf/dl-open.c: Include <stap-probe.h>.
48706 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48707 and "reloc_complete".
48708 * elf/dl-close.c: Include <stap-probe.h>.
48709 (_dl_close_worker): Added static probes "unmap_start" and
48710 "unmap_complete".
48711 * elf/rtld-debugger-interface.txt: New file documenting the above.
48712
48713 2012-07-26 Roland McGrath <roland@hack.frob.com>
48714
48715 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48716 rather than a string variable.
48717 * sunrpc/rpc_main.c (h_output): Likewise.
48718 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48719
48720 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48721
48722 * inet/check_native.c: New file.
48723
48724 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48725
48726 [BZ #13629]
48727 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48728 if larger part has absolute value 1.0.
48729 * math/s_clog10.c (__clog10): Likewise.
48730 * math/s_clog10f.c (__clog10f): Likewise.
48731 * math/s_clog10l.c (__clog10l): Likewise.
48732 * math/s_clogf.c (__clogf): Likewise.
48733 * math/s_clogl.c (__clogl): Likewise.
48734 * math/libm-test.inc (clog_test): Add more tests.
48735 (clog10_test): Likewise.
48736 * sysdeps/i386/fpu/libm-test-ulps: Update.
48737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48738
48739 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48740 (pltexit): Likewise.
48741 (La_regs): Likewise.
48742 (La_retval): Likewise.
48743 (int_retval): Likewise.
48744 Update #error for removed macros to refer only to definitions in
48745 tst-audit.h.
48746 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48747 macro.
48748 (pltexit): Likewise.
48749 (La_regs): Likewise.
48750 (La_retval): Likewise.
48751 (int_retval): Likewise.
48752 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48753 macro.
48754 (pltexit): Likewise.
48755 (La_regs): Likewise.
48756 (La_retval): Likewise.
48757 (int_retval): Likewise.
48758 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48759 macro.
48760 (pltexit): Likewise.
48761 (La_regs): Likewise.
48762 (La_retval): Likewise.
48763 (int_retval): Likewise.
48764 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48765 macro.
48766 (pltexit): Likewise.
48767 (La_regs): Likewise.
48768 (La_retval): Likewise.
48769 (int_retval): Likewise.
48770 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48771 macro.
48772 (pltexit): Likewise.
48773 (La_regs): Likewise.
48774 (La_retval): Likewise.
48775 (int_retval): Likewise.
48776 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48777 macro.
48778 (pltexit): Likewise.
48779 (La_regs): Likewise.
48780 (La_retval): Likewise.
48781 (int_retval): Likewise.
48782 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48783 macro definitions in tst-audit.h.
48784 * sysdeps/i386/tst-audit.h: New file.
48785 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48786 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48787 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48788 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48789 * sysdeps/sh/tst-audit.h: Likewise.
48790 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48791 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48792 * sysdeps/x86_64/tst-audit.h: Likewise.
48793
48794 2012-07-26 Andreas Jaeger <aj@suse.de>
48795
48796 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48797 ptrace.
48798
48799 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48800 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48801 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48802 PTRACE_O_MASK.
48803 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48804 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48805 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48806
48807 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48808 value.
48809
48810 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48811 _sigsys.
48812 (si_call_addr, si_syscall, si_arch): Define new macro.
48813 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48814 _sigsys.
48815 (si_call_addr, si_syscall, si_arch): Define new marcro.
48816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48817 _sigsys.
48818 (si_call_addr, si_syscall, si_arch): Define new macro.
48819 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48820 _sigsys.
48821 (si_call_addr, si_syscall, si_arch): Define new macro.
48822
48823 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48824
48825 [BZ #13717]
48826 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48827 Change to 2.4.21 where previously 2.4.1.
48828 * sysdeps/unix/sysv/linux/configure: Regenerated.
48829 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48830 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48831 Linux kernel version.
48832 (__ASSUME_STD_AUXV): Remove.
48833 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48834 kernel version.
48835 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48836 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48837 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48838 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48839 (__ASSUME_NETLINK_SUPPORT): Likewise.
48840 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48841 (__no_netlink_support): Remove conditional definition.
48842 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48843 Remove.
48844 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48845 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48846 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48847 (if_nameindex_ioctl): Remove.
48848 (if_nameindex_netlink): Do not handle __no_netlink_support.
48849 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48850 code.
48851 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48852 Remove conditional code.
48853 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48854 code.
48855 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48856 unconditional.
48857 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48858 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48859 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48860 Remove.
48861 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48862 [!__ASSUME_STD_AUXV]: Remove conditional code.
48863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48864 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48865 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48867 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48868 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48869 code.
48870 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48872 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48873 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48874 conditional code.
48875 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48877 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48878 code.
48879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48880 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48881 conditional code.
48882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48883 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48884 code unconditional.
48885 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48886 conditional code.
48887 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48888 unconditional.
48889 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48890 conditional code.
48891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48892 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48893 unconditional.
48894 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48895 conditional code.
48896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48897 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48898 code unconditional.
48899 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48900 conditional code.
48901 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48902 unconditional.
48903 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48904 conditional code.
48905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48906 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48907 code unconditional.
48908 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48909 conditional code.
48910 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48911 unconditional.
48912 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48913 conditional code.
48914
48915 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48916
48917 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48918 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48919 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48920 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48921 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48922 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48923 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48924 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48925 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48926 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48927 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48928 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48929 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48930 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48931 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48932 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48933 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48934 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48935 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48937 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48938 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48939 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48940
48941 2012-07-25 Florian Weimer <fweimer@redhat.com>
48942
48943 * Versions.def: Add GLIBC_2.17.
48944 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48945 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48946 Introduce __libc_secure_getenv.
48947 * stdlib/Versions (2.17): Add secure_getenv
48948 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48949 * stdlib/secure-getenv.c: Rename __secure_getenv to
48950 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48951 symbol __secure_getenv for GLIBC_2.0.
48952 * stdlib/tst-secure-getenv.c: New.
48953 * stdlib/Makefile (tests): Add testcase.
48954 * manual/startup.texi (Environment Access): Document
48955 secure_getenv.
48956 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48957 __libc_secure_getenv.
48958 * inet/ruserpass.c (ruserpass): Likewise.
48959 * malloc/mtrace.c (mtrace): Likewise.
48960 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48961 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48962 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48963 * sysdeps/posix/tempname.c: Likewise. Evaluate
48964 HAVE_SECURE_GETENV.
48965 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48966 __secure_getenv to __libc_secure_getenv.
48967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48969 Likewise.
48970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48971 Likewise.
48972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48979
48980 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48981
48982 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48983 (struct La_i86_retval): Likewise.
48984 (struct La_x86_64_regs): Likewise.
48985 (struct La_x86_64_retval): Likewise.
48986 (struct La_x32_regs): Likewise.
48987 (struct La_x32_retval): Likewise.
48988 (struct La_ppc32_regs): Likewise.
48989 (struct La_ppc32_retval): Likewise.
48990 (struct La_ppc64_regs): Likewise.
48991 (struct La_ppc64_retval): Likewise.
48992 (struct La_sh_regs): Likewise.
48993 (struct La_sh_retval): Likewise.
48994 (struct La_s390_32_regs): Likewise.
48995 (struct La_s390_32_retval): Likewise.
48996 (struct La_s390_64_regs): Likewise.
48997 (struct La_s390_64_retval): Likewise.
48998 (struct La_sparc32_regs): Likewise.
48999 (struct La_sparc32_retval): Likewise.
49000 (struct La_sparc64_regs): Likewise.
49001 (struct La_sparc64_retval): Likewise.
49002 (struct audit_ifaces): Remove architecture-specific pltenter and
49003 pltexit members.
49004 * sysdeps/i386/ldsodefs.h: New file.
49005 * sysdeps/powerpc/ldsodefs.h: Likewise.
49006 * sysdeps/s390/ldsodefs.h: Likewise.
49007 * sysdeps/sh/ldsodefs.h: Likewise.
49008 * sysdeps/sparc/ldsodefs.h: Likewise.
49009 * sysdeps/x86_64/ldsodefs.h: Likewise.
49010
49011 2012-07-25 Marek Polacek <polacek@redhat.com>
49012
49013 [BZ #6808]
49014 * math/libm-test.inc (yn_test): Add another test.
49015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49016 to ERANGE when the result is +-Inf.
49017 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49018 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49019 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49020 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49021
49022 2012-07-24 Joseph Myers <joseph@codesourcery.com>
49023
49024 * conform/data/time.h-data (NULL): Use macro-constant. Require
49025 equal to 0.
49026 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
49027 clock_t.
49028 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
49029
49030 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
49031
49032 * configure.in <sysdeps resolving>: Correct printing
49033 Implies_before.
49034 * configure: Regenerate.
49035
49036 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
49037
49038 * math/w_ilogb.c: Include <limits.h>.
49039 * math/w_ilogbl.c: Likewise.
49040
49041 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49042
49043 * manual/lang.texi (__va_copy): Document primarily as ISO C99
49044 va_copy. Document allowing for unavailable va_copy only as
49045 pre-C99 compatibility.
49046 * manual/string.texi (Copying and Concatenation): Use va_copy
49047 instead of __va_copy in concat example.
49048
49049 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
49050
49051 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49052 (__sendto): Use create_address_port. Initialize APORT and deallocate
49053 it if not null.
49054
49055 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49056 with O_NOLINK passed to __file_name_lookup.
49057
49058 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49059 with O_NOLINK passed to __file_name_lookup.
49060
49061 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49062 negative N or less than NGIDS.
49063
49064 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49065 type to string_t. Set ERANGE as errno and return it if NAME is not big
49066 enough. Use memcpy instead of strncpy.
49067
49068 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49069
49070 * elf/Makefile (check-data): Remove.
49071 (localplt.data): New vpath directive.
49072 ($(objpfx)check-localplt.out): Use localplt.data from vpath
49073 instead of $(check-data).
49074 * scripts/data/localplt-generic.data: Move to ...
49075 * sysdeps/generic/localplt.data: ... here.
49076 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49077 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49078 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49080 ... here.
49081 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49083 ... here.
49084 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49086 ... here.
49087 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49089 ... here.
49090 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49092 ... here.
49093 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49095 ... here.
49096
49097 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49098
49099 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49100 PPC32 and PPC64 files.
49101 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49102 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49103
49104 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49105
49106 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49107 __makecontext_ret to ...
49108 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49109 ... here and call exit if uc_link is NULL. New file.
49110 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49111 __makecontext_ret.S.
49112 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49113 __makecontext_ret to ...
49114 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49115 ... here and call exit if uc_link is NULL. New file.
49116 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49117 __makecontext_ret.S.
49118
49119 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49120
49121 * elf/elf.h (R_390_IRELATIVE): New definition.
49122 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49123 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
49124 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49126 (elf_machine_lazy_rel): Likewise.
49127 * sysdeps/s390/dl-irel.h: New file.
49128 * sysdeps/s390/s390-64/memcpy.S: New asm code.
49129 * sysdeps/s390/s390-64/memset.S: New asm code.
49130 * sysdeps/s390/s390-64/memcmp.S: New asm code.
49131 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49132 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49133 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49134 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49135 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49136 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49137 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49138 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49139 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49140 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49141 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49142 * sysdeps/s390/s390-32/memset.S: New asm code.
49143 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49144
49145 2012-07-17 Marek Polacek <polacek@redhat.com>
49146
49147 [BZ #14349]
49148 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49149 * sysdeps/s390/s390-64/configure.in: Likewise.
49150 * sysdeps/sparc/configure.in: Likewise.
49151 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49152 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49153 * sysdeps/i386/configure.in: Likewise.
49154 * sysdeps/x86_64/configure.in: Likewise.
49155 * sysdeps/sh/configure.in: Likewise.
49156 * sysdeps/s390/s390-32/configure: Regenerated.
49157 * sysdeps/s390/s390-64/configure: Likewise.
49158 * sysdeps/x86_64/configure: Likewise.
49159 * sysdeps/sh/configure: Likewise.
49160 * sysdeps/powerpc/powerpc64/configure: Likewise.
49161 * sysdeps/powerpc/powerpc32/configure: Likewise.
49162 * sysdeps/sparc/configure: Likwise.
49163 * sysdeps/i386/configure: Likewise.
49164
49165 * elf/dl-open.c: Comment fixes.
49166
49167 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49168
49169 * Makefile [CXX] (check-data): Remove.
49170 [CXX] (c++-types.data): New vpath directive.
49171 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49172 vpath. Do not allow for C++ type data being missing.
49173 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49174 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49175 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49176 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49177 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49178 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49179 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49181 ... here.
49182 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49184 ... here.
49185 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49187 ... here.
49188 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49190 ... here.
49191 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49193 ... here.
49194 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49196 ... here.
49197 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49199 ... here.
49200 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49202
49203 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49204 definitions to architecture-specific files.
49205 (TLS_IE): Likewise.
49206 (TLS_LD): Likewise.
49207 (TLS_GD): Likewise.
49208 * sysdeps/i386/tls-macros.h: New file.
49209 * sysdeps/powerpc/tls-macros.h: Likewise.
49210 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49211 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49212 * sysdeps/sh/tls-macros.h: Likewise.
49213 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49214 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49215 * sysdeps/x86_64/tls-macros.h: Likewise.
49216
49217 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49218
49219 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49220 zero value for regular exit case.
49221
49222 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49223 (__start_context): Preserve zero value for regular exit case.
49224
49225 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49226 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49227
49228 * manual/setjmp.texi (setcontext): Clarify normal process
49229 termination when uc_link is the null pointer.
49230 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49231 exit call.
49232
49233 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
49234
49235 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49236 preprocessor. Test for each exception mask separately.
49237
49238 2012-07-16 Andreas Jaeger <aj@suse.de>
49239
49240 * po/ru.po: Update from translation team.
49241
49242 2012-07-15 Joseph Myers <joseph@codesourcery.com>
49243
49244 * conform/data/string.h-data (NULL): Use macro-constant. Require
49245 equal to 0.
49246 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49247 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49248 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49249 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49250 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49251
49252 2012-07-13 Andreas Jaeger <aj@suse.de>
49253
49254 * po/fr.po: Update from translation team.
49255
49256 2012-07-12 Marek Polacek <polacek@redhat.com>
49257
49258 [BZ #14173]
49259 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49260 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49261 loop condition.
49262
49263 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49264
49265 [BZ #13717]
49266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49267 Change to 2.4.1 where previously 2.4.0.
49268 * sysdeps/unix/sysv/linux/configure: Regenerated.
49269 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49270 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49271 version.
49272 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49273 (__ASSUME_AT_CLKTCK): Remove.
49274 (__ASSUME_AT_PAGESIZE): Likewise.
49275 (__ASSUME_AT_XID): Likewise.
49276 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49277 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49278 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49279 unconditionally.
49280 (HAVE_AUX_PAGESIZE): Likewise.
49281 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49282 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49283 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49284
49285 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49286
49287 [BZ #14307]
49288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49289 the temporary buffer used to invoke __gethostbyname2_r,
49290 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49291 host_data / struct gaih_addrtuple.
49292 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49293 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49294 header file nss/nsswitch.h.
49295 * nss/nsswitch.h (global scope): Add definition of implementation
49296 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49297 resolv/nss_dns/dns-host.c).
49298
49299 2012-07-11 Andreas Jaeger <aj@suse.de>
49300
49301 * po/fr.po: Update from translation team.
49302
49303 * po/sv.po: Update from translation team
49304 * po/fr.po: Another update from translation team.
49305
49306 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49307
49308 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49309 for subnormals or multiply small sinh result by itself.
49310 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49312
49313 2012-07-11 David S. Miller <davem@davemloft.net>
49314
49315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49316
49317 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49318
49319 [BZ #14347]
49320 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49321 (INTERNAL_MARK): Shift it here.
49322
49323 2012-07-10 Marek Polacek <polacek@redhat.com>
49324
49325 [BZ #14151]
49326 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49327 libc_cv_asm_global_directive with .globl.
49328 * configure: Regenerated.
49329 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49330 with .globl.
49331 * sysdeps/i386/configure: Regenerated.
49332 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49333 with .globl.
49334 * sysdeps/x86_64/configure: Regenerated.
49335 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49336 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49337 * elf/tst-unique2mod2.c: Likewise.
49338 * elf/tst-unique2mod1.c: Likewise.
49339 * elf/tst-unique1mod2.c: Likewise.
49340 * elf/tst-unique1mod1.c: Likewise.
49341 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49342 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49343 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49344 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49345 * sysdeps/mach/sysdep.h: Likewise.
49346 * sysdeps/i386/sysdep.h: Likewise.
49347 * sysdeps/i386/i386-mcount.S: Likewise.
49348 * sysdeps/x86_64/_mcount.S: Likewise.
49349 * sysdeps/x86_64/sysdep.h: Likewise.
49350 * sysdeps/sh/_mcount.S: Likewise.
49351 * sysdeps/sh/sysdep.h: Likewise.
49352 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49353 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49354 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49355 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49356 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49357 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49358 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49359 * locale/localeinfo.h: Likewise.
49360 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49361 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49362
49363 2012-07-09 Roland McGrath <roland@hack.frob.com>
49364
49365 [BZ #14336]
49366 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49367 system".
49368 * manual/message.texi (The Uniforum approach): Likewise.
49369 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49370 (glibc iconv Implementation): Likewise.
49371
49372 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49373
49374 [BZ #14337]
49375 * math/s_clog.c (__clog): Avoid scaling a value down where that
49376 could result in underflow.
49377 * math/s_clog10.c (__clog10): Likewise.
49378 * math/s_clog10f.c (__clog10f): Likewise.
49379 * math/s_clog10l.c (__clog10l): Likewise.
49380 * math/s_clogf.c (__clogf): Likewise.
49381 * math/s_clogl.c (__clogl): Likewise.
49382 * math/libm-test.inc (clog_test): Add more tests.
49383 (clog10_test): Likewise.
49384 * sysdeps/i386/fpu/libm-test-ulps: Update.
49385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49386
49387 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49388
49389 [BZ #14283]
49390 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49391 by 7 not 8 to examine high bit of fractional part.
49392
49393 [BZ #14042]
49394 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49395 for call to __mcount_internal.
49396 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49397 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49398 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49399
49400 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49401
49402 [BZ #14154]
49403 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49404 approximation for values within 0x1p-13f of an odd multiple of
49405 pi/4.
49406 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49407 exception. Add more tests.
49408 * sysdeps/i386/fpu/libm-test-ulps: Update.
49409
49410 [BZ #6778]
49411 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49412 inputs and return -1 for them. Do not check for +Inf in case not
49413 reachable for +Inf.
49414 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49415 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49420 define.
49421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49422 and return -1 for them. Do not check for +Inf in case not
49423 reachable for +Inf.
49424 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49425 spurious underflow.
49426 * sysdeps/i386/fpu/libm-test-ulps: Update.
49427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49428
49429 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49430
49431 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49432
49433 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49434
49435 [BZ #14157]
49436 [BZ #14331]
49437 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49438 could result in spurious underflow. Scale down values above
49439 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49440 * math/s_csqrtf.c (__csqrtf): Likewise.
49441 * math/s_csqrtl.c (__csqrtl): Likewise.
49442 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49443 spurious underflow.
49444 * sysdeps/i386/fpu/libm-test-ulps: Update.
49445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49446
49447 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49448
49449 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49450 xopen-msg.sed.
49451 * catgets/xopen-msg.awk: New file.
49452 * catgets/xopen-msg.sed: Removed.
49453
49454 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49455 po2text.sed.
49456 * intl/po2test.awk: New file.
49457 * intl/po2test.sed: Removed.
49458
49459 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49460
49461 [BZ #14328]
49462 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49463 or multiply small sinh result by itself.
49464 * math/s_ctanf.c (__ctanf): Likewise.
49465 * math/s_ctanh.c (__ctanh): Likewise.
49466 * math/s_ctanhf.c (__ctanhf): Likewise.
49467 * math/s_ctanhl.c (__ctanhl): Likewise.
49468 * math/s_ctanl.c (__ctanl): Likewise.
49469 * math/libm-test.inc (ctan_test_tonearest): New function.
49470 (ctan_test_towardzero): Likewise.
49471 (ctan_test_downward): Likewise.
49472 (ctan_test_upward): Likewise.
49473 (ctanh_test_tonearest): Likewise.
49474 (ctanh_test_towardzero): Likewise.
49475 (ctanh_test_downward): Likewise.
49476 (ctanh_test_upward): Likewise.
49477 (main): Call these new functions.
49478 * sysdeps/i386/fpu/libm-test-ulps: Update.
49479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49480
49481 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49482
49483 * .gitignore: Delete /ports entry.
49484
49485 2012-07-03 Andreas Jaeger <aj@suse.de>
49486
49487 * po/bg.po: Update from translation team.
49488 * po/cs.po: Likewise.
49489 * po/de.po: Likewise.
49490 * po/hr.po: Likewise.
49491 * po/nl.pl: Likewise.
49492 * po/pl.po: Likewise.
49493 * po/vi.po: Likewise.
49494
49495 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49496
49497 * Makeconfig [!+link] (+link-before-libc): New variable.
49498 [!+link] (+link-after-libc): Likewise.
49499 [!+link] (+link-tests): Likewise.
49500 [!+link] (+link): Define in terms of $(+link-before-libc) and
49501 $(+link-after-libc).
49502 [!+link-static] (+link-static-before-libc): New variable.
49503 [!+link-static] (+link-static-after-libc): Likewise.
49504 [!+link-static] (+link-static-tests): Likewise.
49505 [!+link-static] (+link-static): Define in terms of
49506 $(+link-static-before-libc) and $(+link-static-after-libc).
49507 [build-shared] (link-libc-before-gnulib): New variable.
49508 [build-shared] (link-libc-tests): Likewise.
49509 [build-shared] (link-libc): Define in terms of
49510 $(link-libc-before-gnulib).
49511 [!build-shared] (link-libc-tests): New variable.
49512 (link-libc-static-tests): New variable.
49513 [!gnulib] (gnulib-arch): New variable.
49514 [!gnulib] (gnulib-tests): Likewise.
49515 [!gnulib] (static-gnulib-arch): Likewise.
49516 [!gnulib] (static-gnulib-tests): Likewise.
49517 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49518 Define with "=" instead of ":=".
49519 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49520 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49521 * Rules (binaries-all-notests): New variable.
49522 (binaries-all-tests): Likewise.
49523 (binaries-static-notests): Likewise.
49524 (binaries-static-tests): Likewise.
49525 (binaries-all): Define using $(binaries-all-notests) and
49526 $(binaries-all-tests).
49527 (binaries-static): Define using $(binaries-static-notests) and
49528 $(binaries-static-tests).
49529 (binaries-shared-tests): New variable.
49530 (binaries-shared-notests): Likewise.
49531 (binaries-shared): Remove variable.
49532 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49533 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49534 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49535 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49536 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49537 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49538 * elf/Makefile (sln-modules): New variable.
49539 (extra-objs): Add $(sln-modules:=.o).
49540 (ldconfig-modules): Add static-stubs.
49541 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49542 * elf/static-stubs.c: New file.
49543
49544 [BZ #14283]
49545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49546 by 7 not 8 to examine high bit of fractional part. Use volatile
49547 variables when splitting into final array of floats if
49548 __FLT_EVAL_METHOD__ != 0.
49549 * math/libm-test.inc (cos_test): Add another test.
49550 (sin_test): Likewise.
49551 * sysdeps/i386/fpu/libm-test-ulps: Update.
49552
49553 [BZ #14273]
49554 * math/libm-test.inc (cosh_test): Add more tests.
49555
49556 * version.h (RELEASE): Set to "development".
49557 (VERSION): Set to "2.16.90".
49558
49559 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49560
49561 * NEWS: Update copyright. Remove last-updated date.
49562 Mention math library bug fixes and timezone data changes.
49563 * README: Mention GNU/Hurd, x32, and HPPA support status.
49564
49565 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49566
49567 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49568
49569 2012-06-27 Andreas Jaeger <aj@suse.de>
49570
49571 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49572
49573 2012-06-25 Andreas Jaeger <aj@suse.de>
49574
49575 * sysdeps/s390/fpu/libm-test-ulps: Update.
49576
49577 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49578 Thomas Schwinge <thomas@codesourcery.com>
49579
49580 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49581 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49582 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49583 fanotify_mark.
49584
49585 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49586
49587 * sysdeps/mach/start.c: Remove file.
49588 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49589 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49590 * sysdeps/sh/init-first.c: Likewise.
49591
49592 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49593 registers for frame unwinding purposes, add CFI directives.
49594 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49595 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49596 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49597 Likewise.
49598
49599 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49600 __fortify_fail returning.
49601 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49602
49603 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49604 sysdeps/sh/____longjmp_chk.S.
49605 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49606 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49607 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49608 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49609
49610 * sysdeps/sh/abort-instr.h: New file.
49611 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49612 process in case exit returns.
49613
49614 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49615 initialize the GOT register before use.
49616
49617 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49618 calculation of ARGC > 4.
49619
49620 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49621 meaningful names to some local labels.
49622
49623 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49624 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49625
49626 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49627 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49628 (__arch_compare_and_exchange_val_16_acq): Likewise.
49629 (__arch_compare_and_exchange_val_32_acq): Likewise.
49630 (atomic_exchange_and_add): Fix gUSA sequence.
49631 (atomic_add): Likewise.
49632 (atomic_add_negative): Likewise.
49633 (atomic_add_zero): Likewise.
49634 (atomic_bit_test_set): Likewise.
49635
49636 2012-06-22 Andreas Schwab <schwab@redhat.com>
49637
49638 [BZ #13579]
49639 * include/link.h (struct link_map): Add l_free_initfini.
49640 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49641 l_initfini.
49642 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49643 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49644 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49645 set.
49646
49647 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49648
49649 * configure.in: Use AC_LANG_SOURCE.
49650 * configure: Regenerate.
49651
49652 2012-06-22 Roland McGrath <roland@hack.frob.com>
49653
49654 * configure.in (libc_cv_localstatedir): New substituted variable.
49655 * configure: Regenerated.
49656 * config.make.in (localstatedir): New variable, substituted from
49657 libc_cv_localstatedir.
49658 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49659 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49660 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49661 * sysdeps/gnu/configure: Regenerated.
49662
49663 2012-06-21 Jeff Law <law@redhat.com>
49664
49665 [BZ #14277]
49666 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49667 free. Simplify list management for _LIBC case.
49668
49669 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49670
49671 [BZ #14273]
49672 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49673 Clear sign bit of 64-bit integer value before comparing against
49674 overflow value.
49675
49676 * sysdeps/mach/configure: Regenerated.
49677
49678 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49679
49680 [BZ #14278]
49681 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49682
49683 2012-06-21 Jeff Law <law@redhat.com>
49684
49685 [BZ #13882]
49686 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49687 uint16_t for elements in the "seen" array to avoid char overflows.
49688 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49689 * elf/dl-open.c (dl_open_worker): Likewise.
49690
49691 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49692
49693 * scripts/list-sources.sh: Scan PORTS for translations.
49694 * po/libc.pot: Regenerated.
49695
49696 2012-06-21 Andreas Jaeger <aj@suse.de>
49697
49698 [BZ #12194]
49699 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49700 warning.
49701 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49702 * bits/byteswap-16.h (__bswap_16): Likewise.
49703 * bits/byteswap.h (__bswap_constant_16): Likewise.
49704
49705 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49706
49707 [BZ #14117]
49708 * sysdeps/i386/fpu_control.h: Removed.
49709 * sysdeps/x86_64/fpu_control.h: Moved to ...
49710 * sysdeps/x86/fpu_control.h: Here.
49711
49712 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49713 (_FPU_SETCW): Likewise.
49714
49715 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49716
49717 [BZ #14117]
49718 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49719 * sysdeps/x86/fpu/bits/mathinline.h: This.
49720 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49721
49722 [BZ #14050]
49723 [BZ #14117]
49724 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49725 functions if __x86_64__ is defined.
49726
49727 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49728
49729 * string/endian.h: Add !__ASSEMBLER__ condition for including
49730 conversion interfaces.
49731
49732 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49733
49734 [BZ #14241]
49735 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49736 of ABS(x) in calculating zero to negative powers other than odd
49737 integers.
49738 * math/libm-test.inc (pow_test): Add more tests.
49739
49740 2012-06-15 Andreas Jaeger <aj@suse.de>
49741
49742 * manual/contrib.texi (Contributors): Update entry of Liubov
49743 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49744 Machado Filho.
49745
49746 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49747
49748 * string/string.h: Add __wur to GNU version of strerror_r.
49749
49750 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49751
49752 [BZ #14229]
49753 * string/Makefile (tests): Add tst-strtok_r.
49754 * string/tst-strtok_r.c: New file.
49755 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49756 RAX_LP/RDX_LP on SAVE_PTR.
49757
49758 2012-06-14 Roland McGrath <roland@hack.frob.com>
49759
49760 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49761
49762 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49763
49764 * libm_test.inc (csqrt_test): Allow more spurious underflow
49765 exceptions.
49766 (j0_test): Likewise.
49767 (j1_test): Likewise.
49768 (y0_test): Likewise.
49769 (y1_test): Likewise.
49770
49771 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49772
49773 * po/Makefile (libc.pot): Use UTF-8 charset.
49774
49775 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49776
49777 [BZ #14210]
49778 Suppress sign-conversion warning from FD_SET.
49779 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49780 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49781 not unsigned long int.
49782 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49783
49784 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49785
49786 [BZ #14050]
49787 [BZ #14117]
49788 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49789 __extern_always_inline instead of __extern_inline.
49790 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49791 (__signbit): Likewise.
49792 (__signbitl): Support C++ namespace.
49793 (lrintf): New inline function.
49794 (lrint): Likewise.
49795 (llrintf): Likewise.
49796 (llrint): Likewise.
49797 (fmaxf): Likewise.
49798 (fmax): Likewise.
49799 (fminf): Likewise.
49800 (fmin): Likewise.
49801 (rint): Likewise.
49802 (rintf): Likewise.
49803 (ceil): Likewise.
49804 (ceilf): Likewise.
49805 (floor): Likewise.
49806 (floorf): Likewise.
49807 (nearbyint): Likewise.
49808 (nearbyintf): Likewise.
49809
49810 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49811
49812 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49813 non-default versions.
49814
49815 2012-06-11 Roland McGrath <roland@hack.frob.com>
49816
49817 [BZ #14218]
49818 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49819
49820 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49821
49822 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49823 (FE_UPWARD, FE_DOWNWARD): Don't define.
49824 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49825 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49826
49827 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49828 reading it.
49829 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49830 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49831
49832 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49833
49834 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49836 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49837 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49838
49839 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49840
49841 [BZ #14117]
49842 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49843 * sysdeps/i386/fpu/Implies: New file.
49844 * sysdeps/x86_64/fpu/Implies: Likewise.
49845 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49846 * sysdeps/x86/fpu/bits/fenv.h: This.
49847
49848 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49849 __SSE_MATH__.
49850
49851 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49852
49853 [BZ #14134]
49854 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49855 character 0xffff that matches the last element of the
49856 conversion table.
49857
49858 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49859
49860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49861 fmodl commit.
49862
49863 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49864
49865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49866 values higher than 25.6283.
49867
49868 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49869
49870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49871 subnormal exponent extraction and add some __builtin_expect.
49872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49873 Fix for subnormal mantissa calculation.
49874
49875 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49876
49877 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49878 cpu2 is -1 and errno is not ENOSYS.
49879
49880 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49881
49882 [BZ #14117]
49883 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49884 * sysdeps/x86/bits/string.h: This.
49885 * sysdeps/x86_64/bits/string.h: Removed.
49886
49887 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49888 if not compiling for x86-64, but compiling for >= i486.
49889
49890 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49891 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49892
49893 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49894 New macro from Linux kernel 3.4.0.
49895 (FP_XSTATE_MAGIC2): Likewise.
49896 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49897 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49898 (struct _fpx_sw_bytes): New struct.
49899 (struct _xsave_hdr): Likewise.
49900 (struct _ymmh_state): Likewise.
49901 (struct _xstate): Likewise.
49902
49903 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49904 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49905 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49906 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49907 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49908 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49909
49910 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49911 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49912 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49913 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49914 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49915 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49916
49917 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49918
49919 [BZ #13743]
49920 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49921 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49922 (sysdep_headers): Include sys/platform/ppc.h.
49923 * sysdeps/powerpc/test-gettimebase.c: Test for
49924 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49925 * manual/Makefile (appendices): Include platform.texi.
49926 * manual/contrib.texi (Contributors): Update @node pointers.
49927 * manual/maint.texi (Maintenance): Likewise.
49928 (Platform): New node.
49929 * manual/platform.texi: New file. Document the new features.
49930
49931 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49932 Jakub Jelinek <jakub@redhat.com>
49933
49934 [BZ #14188]
49935 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49936 where __builtin_expect is unavailable.
49937
49938 2012-06-03 David S. Miller <davem@davemloft.net>
49939
49940 * stdlib/longlong.h: Updated from GCC.
49941
49942 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49943
49944 [BZ #14042]
49945 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49946 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49947 __mcount_internal.
49948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49949 (GLIBC_2.16): Likewise.
49950
49951 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49952
49953 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49954
49955 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49956
49957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49958 (default-abi): New variable.
49959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49960 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49961 variable.
49962 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49963 Likewise.
49964 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49965 Likewise.
49966 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49967 Likewise.
49968
49969 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49970 definition. Document in comment.
49971
49972 2012-06-01 David S. Miller <davem@davemloft.net>
49973
49974 * stdlib/longlong.h: Updated from GCC.
49975
49976 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49977
49978 [BZ #14117]
49979 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49980 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49981 sys/debugreg.h sys/io.h here.
49982 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49983 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49984 sys/io.h.
49985 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49986 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49987 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49988 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49989 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49990 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49991
49992 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49993 Define only if __x86_64__ is defined.
49994
49995 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49996
49997 [BZ #14048]
49998 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49999 Use int64_t for variable i.
50000 * math/libm-test.inc (fmod_test): Add more tests.
50001
50002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50003 z computation is not scheduled after fetestexcept.
50004 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50005 Use math_force_eval instead of asm to ensure calculation scheduled
50006 before exception test.
50007 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50008 Ensure a1 + u.d computation is not scheduled after fetestexcept.
50009
50010 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
50011
50012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50013 computation is not scheduled after fetestexcept.
50014
50015 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50016
50017 [BZ #14117]
50018 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50019 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50020
50021 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50022
50023 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50024 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50025
50026 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50027
50028 [BZ #14117]
50029 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50030 <bits/wordsize.h>.
50031 (__WCHAR_MIN): Support __WORDSIZE == 64.
50032 (__WCHAR_MAX): Likewise.
50033
50034 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50035 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50036
50037 [BZ #14183]
50038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50039 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50040
50041 [BZ #14117]
50042 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50043 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50044
50045 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50046 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50047
50048 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50049 Defined to 1 if __x86_64__ isn't defined.
50050 (_STAT_VER_LINUX_OLD): New.
50051 (st_atime): Remove duplicate.
50052 (st_mtime): Likewise.
50053 (st_ctime): Likewise.
50054
50055 2012-05-31 David S. Miller <davem@davemloft.net>
50056
50057 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50058 entries.
50059
50060 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
50061
50062 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50063 gen-libm-test.pl.
50064
50065 [BZ #14132]
50066 * elf/dl-reloc.c: Include <_itoa.h>.
50067 (_dl_reloc_bad_type): Remove use of INTUSE.
50068 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50069 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50070 * stdio-common/psiginfo.c (psiginfo): Likewise.
50071 * stdio-common/psignal.c (psignal): Likewise.
50072 * string/strsignal.c (strsignal): Likewise.
50073 * include/signal.h (_sys_siglist): Declare hidden proto.
50074 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
50075 INTVARDEF with libc_hidden_data_def.
50076 * stdio-common/itoa-udigits.c: Likewise.
50077 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50078 (_itoa_lower_digits_internal): Remove declaration.
50079 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50080 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50081 (_sys_sigabbrev_internal): Remove aliases.
50082 (_sys_siglist): Define hidden alias.
50083
50084 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
50085
50086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50087 bits/sysctl.h.
50088
50089 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50090
50091 [BZ #14117]
50092 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50093 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50094
50095 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50096 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50097 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50098 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50099 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50100 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50101
50102 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50103 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50104 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50105
50106 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50107 with __addr.
50108 (insw): Likewise.
50109 (insl): Likewise.
50110 (outsb): Likewise.
50111 (outsw): Likewise.
50112 (outsl): Likewise.
50113
50114 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50115 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50116 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50117
50118 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50119 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50121 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50122 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50123 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50124
50125 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50126 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50127
50128 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50129 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50130
50131 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50133 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50134
50135 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50136 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50137 to ...
50138 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50139
50140 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50141 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50142 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50143
50144 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50145 for x86-64.
50146 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50147
50148 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50149
50150 * math/math.h (M_El): Use two more decimal places.
50151 (M_LOG2El): Likewise.
50152 (M_LOG10El): Likewise.
50153 (M_LN2l): Likewise.
50154 (M_LN10l): Likewise.
50155 (M_PIl): Likewise.
50156 (M_PI_2l): Likewise.
50157 (M_PI_4l): Likewise.
50158 (M_1_PIl): Likewise.
50159 (M_2_PIl): Likewise.
50160 (M_2_SQRTPIl): Likewise.
50161 (M_SQRT2l): Likewise.
50162 (M_SQRT1_2l): Likewise.
50163
50164 2012-05-31 David S. Miller <davem@davemloft.net>
50165
50166 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50167 values between float registers.
50168 * sysdeps/sparc/sparc64/memset.S: Likewise.
50169 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50170
50171 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50172
50173 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50174 -D_FORTIFY_SOURCE=1.
50175 (CPPFLAGS-tst-longjmp_chk.c): Define.
50176 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50177 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50178 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50179 CFLAGS-tst-wchar-h.c.
50180
50181 2012-05-31 Marek Polacek <polacek@redhat.com>
50182
50183 [BZ #14132]
50184 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50185 __endmntent_internal): Remove declaration.
50186 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50187 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50188 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50189
50190 2012-05-30 David S. Miller <davem@davemloft.net>
50191
50192 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50193 (___Q_simulate_exceptions): Use real FP ops rather than writing
50194 into the %fsr.
50195 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50196 Likewise.
50197
50198 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50199
50200 [BZ #14117]
50201 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50202 * sysdeps/x86/bits/xtitypes.h: This.
50203
50204 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50205 * sysdeps/x86/bits/wordsize.h: This.
50206
50207 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50208 * sysdeps/x86/bits/huge_vall.h: This.
50209
50210 * sysdeps/i386/bits/select.h: Removed.
50211 * sysdeps/x86_64/bits/select.h: Renamed to ...
50212 * sysdeps/x86/bits/select.h: This.
50213
50214 * sysdeps/i386/bits/setjmp.h: Removed.
50215 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50216 * sysdeps/x86/bits/setjmp.h: This.
50217
50218 * sysdeps/i386/bits/mathdef.h: Removed.
50219 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50220 * sysdeps/x86/bits/mathdef.h: This.
50221
50222 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50223
50224 [BZ #14132]
50225 * include/sys/socket.h (__connect_internal)
50226 (__libc_sa_len_internal): Remove declaration.
50227 (__connect, __libc_sa_len): Declare hidden_proto.
50228 (SA_LEN): Remove use of INTUSE.
50229 * socket/connect.c: Add libc_hidden_def.
50230 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50231 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50232 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50233 alias.
50234 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50235 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50236 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50237 of adding _internal alias.
50238
50239 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50240
50241 [BZ #14117]
50242 * sysdeps/i386/bits/link.h: Removed.
50243 * sysdeps/i386/bits/linkmap.h: Likewise.
50244 * sysdeps/x86_64/bits/link.h: Renamed to ...
50245 * sysdeps/x86/bits/link.h: This.
50246 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50247 * sysdeps/x86/bits/linkmap.h: This.
50248
50249 * sysdeps/i386/bits/endian.h: Removed.
50250 * sysdeps/x86_64/bits/endian.h: Renamed to ...
50251 * sysdeps/x86/bits/endian.h: This.
50252
50253 * sysdeps/i386/bits/byteswap.h: Removed.
50254 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50255 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50256 * sysdeps/x86/bits/byteswap.h: This.
50257 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50258 * sysdeps/x86/bits/byteswap-16.h: This.
50259 * sysdeps/i386/Implies: Add x86.
50260 * sysdeps/x86_64/Implies: Likewise.
50261
50262 2012-05-30 David S. Miller <davem@davemloft.net>
50263
50264 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50265 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50266 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50267 (FP_TRAPPING_EXCEPTIONS): Define.
50268 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50269 (FP_TRAPPING_EXCEPTIONS): Define.
50270 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50271 subnormals only when inexact has been signalled or underflow
50272 exceptions are enabled.
50273 (_FP_PACK_CANONICAL): Likewise.
50274
50275 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50276
50277 [BZ #14183]
50278 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50279 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50280
50281 2012-05-30 Richard Henderson <rth@twiddle.net>
50282
50283 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50284 with #ifndef NOT_IN_libc.
50285
50286 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50287 marked to avoid plt entry.
50288
50289 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50290
50291 [BZ #14112]
50292 * Makeconfig (default-abi): New macro.
50293 (abi-includes): Likewise.
50294 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50295 $(abi-$(default-abi)-lib-soname) for soname if defined.
50296 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50297 abi-variants.
50298 * Makefile (installed-stubs): Likewise.
50299 * include/stubs-biarch.h: Removed.
50300 * scripts/lib-names.awk: Only handle one library at a time.
50301 * scripts/soversions.awk: Remove WORDSIZE support.
50302 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50303 entries.
50304 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50305 Removed.
50306 (syscall-list-default-condition): Likewise.
50307 (syscall-list-default-condition): Likewise.
50308 (syscall-list-includes): Likewise.
50309 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50310 syscall-list-* with abi-*. Handle undefined abi-variants.
50311 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50312 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50313 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50314 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50315 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50316 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50317 Removed.
50318 (syscall-list-32-options): Likewise.
50319 (syscall-list-32-condition): Likewise.
50320 (syscall-list-64-options): Likewise.
50321 (syscall-list-64-condition): Likewise.
50322 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50323 macro.
50324 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50325 Renamed to ...
50326 (abi-*): This.
50327 (abi-64-ld-soname): New macro.
50328 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50329 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50330 Renamed to ...
50331 (abi-*): This.
50332 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50333 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50334
50335 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50336
50337 * sysdeps/unix/sysv/linux/kernel-features.h
50338 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50339 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50340 include <kernel-features.h>.
50341 [!__NR_ftruncate64]: Remove conditional code.
50342 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50343 [__NR_ftruncate64]: Make code unconditional.
50344 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50345 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50346 include <kernel-features.h>.
50347 [!__NR_ftruncate64]: Remove conditional code.
50348 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50349 [__NR_ftruncate64]: Make code unconditional.
50350 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50352 include <kernel-features.h>.
50353 [!__NR_ftruncate64]: Remove conditional code.
50354 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50355 [__NR_ftruncate64]: Make code unconditional.
50356 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50358 include <kernel-features.h>.
50359 [!__NR_ftruncate64]: Remove conditional code.
50360 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50361 [__NR_ftruncate64]: Make code unconditional.
50362 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50363
50364 * configure.in (libc_cv_fpie): Weaken to a compile test using
50365 LIBC_TRY_CC_OPTION.
50366 * configure: Regenerated.
50367
50368 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50369
50370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50374 Refreshed.
50375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50381 Refreshed.
50382
50383 2012-05-27 David S. Miller <davem@davemloft.net>
50384
50385 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50386 (___Q_zero): New.
50387 (__Q_simulate_exceptions): Return void. Change to simulate
50388 exceptions by writing into the %fsr.
50389 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50390 (__Qp_handle_exceptions): Likewise.
50391 (numbers): Delete.
50392 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50393 __Qp_handle_exceptions.
50394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50395 __Qp_handle_exceptions.
50396 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50397 as unused and give dummy FP_RND_NEAREST initializer.
50398 (FP_INHIBIT_RESULTS): Define.
50399 (___Q_simulate_exceptions): Update declaration.
50400 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50401 formatting.
50402 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50403 as unused and give dummy FP_RND_NEAREST initializer.
50404 (__Qp_handle_exceptions): Update declaration.
50405 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50406 formatting.
50407
50408 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50409
50410 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50411 the temporary FPU control word.
50412 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50413 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50414 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50415 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50416 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50417 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50418 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50419 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50420 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50421 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50422 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50423
50424 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50425
50426 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50427 fields.
50428
50429 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50430
50431 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50432 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50433 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50434 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50435 Likewise.
50436 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50437 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50438 Likewise.
50439
50440 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50441
50442 * po/h.po: Update from translation team.
50443
50444 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50445
50446 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50447
50448 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50449 handling of denormals.
50450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50451 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50452 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50453 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50454 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50457 Likewise.
50458
50459 2012-05-26 Marek Polacek <polacek@redhat.com>
50460
50461 [BZ #14152]
50462 * math/libm-test.inc (fma_test): Don't always expect underflow
50463 exception.
50464
50465 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50466
50467 [BZ #12416]
50468 * elf/tst-execstack.c: Include stackinfo.h.
50469 (do_test): Adjust test case to ensure that pthread_getattr_np
50470 behaviour remains the same after marking stack executable.
50471
50472 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50473
50474 * sysdeps/unix/sysv/linux/kernel-features.h
50475 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50476 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50477 kernel-features.h.
50478 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50479 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50480 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50481 kernel-features.h.
50482 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50483 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50484
50485 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50486
50487 * configure.in: Define the default includes to being none.
50488 * configure: Regenerated.
50489
50490 2012-05-25 Roland McGrath <roland@hack.frob.com>
50491
50492 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50493 * sysdeps/x86_64/setjmp.S: Likewise.
50494 * sysdeps/i386/bsd-setjmp.S: Likewise.
50495 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50496 * sysdeps/i386/setjmp.S: Likewise.
50497 * sysdeps/i386/__longjmp.S: Likewise.
50498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50499 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50500
50501 * include/stap-probe.h: New file.
50502 * configure.in: Handle --enable-systemtap.
50503 * configure: Regenerated.
50504 * config.h.in (USE_STAP_PROBE): New #undef.
50505 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50506 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50507 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50508
50509 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50510
50511 [BZ #13717]
50512 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50513 to 2.4.0 where earlier.
50514 * sysdeps/unix/sysv/linux/configure: Regenerated.
50515 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50516 <kernel-features.h>.
50517 [__ASSUME_32BITUIDS]: Make code unconditional.
50518 [!__ASSUME_32BITUIDS]: Remove conditional code.
50519 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50520 <kernel-features.h>.
50521 [__ASSUME_32BITUIDS]: Make code unconditional.
50522 [!__ASSUME_32BITUIDS]: Remove conditional code.
50523 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50524 [__ASSUME_32BITUIDS]: Make code unconditional.
50525 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50526 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50527 <kernel-features.h>.
50528 [__ASSUME_32BITUIDS]: Make code unconditional.
50529 [!__ASSUME_32BITUIDS]: Remove conditional code.
50530 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50531 <kernel-features.h>.
50532 [__ASSUME_32BITUIDS]: Make code unconditional.
50533 [!__ASSUME_32BITUIDS]: Remove conditional code.
50534 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50535 <kernel-features.h>.
50536 [__ASSUME_32BITUIDS]: Make code unconditional.
50537 [!__ASSUME_32BITUIDS]: Remove conditional code.
50538 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50539 <kernel-features.h>.
50540 [__ASSUME_32BITUIDS]: Make code unconditional.
50541 [!__ASSUME_32BITUIDS]: Remove conditional code.
50542 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50543 <kernel-features.h>.
50544 [__ASSUME_32BITUIDS]: Make code unconditional.
50545 [!__ASSUME_32BITUIDS]: Remove conditional code.
50546 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50547 <kernel-features.h>.
50548 [__ASSUME_32BITUIDS]: Make code unconditional.
50549 [!__ASSUME_32BITUIDS]: Remove conditional code.
50550 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50551 <kernel-features.h>.
50552 [__ASSUME_32BITUIDS]: Make code unconditional.
50553 [!__ASSUME_32BITUIDS]: Remove conditional code.
50554 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50555 <kernel-features.h>.
50556 [__ASSUME_32BITUIDS]: Make code unconditional.
50557 [!__ASSUME_32BITUIDS]: Remove conditional code.
50558 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50559 <kernel-features.h>.
50560 [__ASSUME_32BITUIDS]: Make code unconditional.
50561 [!__ASSUME_32BITUIDS]: Remove conditional code.
50562 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50563 <kernel-features.h>.
50564 [__ASSUME_32BITUIDS]: Make code unconditional.
50565 [!__ASSUME_32BITUIDS]: Remove conditional code.
50566 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50567 <kernel-features.h>.
50568 [__NR_setresgid] (__setresgid): Do not declare.
50569 [__ASSUME_32BITUIDS]: Make code unconditional.
50570 [!__ASSUME_32BITUIDS]: Remove conditional code.
50571 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50572 <kernel-features.h>.
50573 [__NR_setresuid] (__setresuid): Do not declare.
50574 [__ASSUME_32BITUIDS]: Make code unconditional.
50575 [!__ASSUME_32BITUIDS]: Remove conditional code.
50576 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50577 <kernel-features.h>.
50578 [__ASSUME_32BITUIDS]: Make code unconditional.
50579 [!__ASSUME_32BITUIDS]: Remove conditional code.
50580 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50581 <kernel-features.h>.
50582 [__ASSUME_32BITUIDS]: Make code unconditional.
50583 [!__ASSUME_32BITUIDS]: Remove conditional code.
50584 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50585 <kernel-features.h>.
50586 [__ASSUME_32BITUIDS]: Make code unconditional.
50587 [!__ASSUME_32BITUIDS]: Remove conditional code.
50588 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50589 <kernel-features.h>.
50590 [__ASSUME_32BITUIDS]: Make code unconditional.
50591 [!__ASSUME_32BITUIDS]: Remove conditional code.
50592 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50593 <kernel-features.h>.
50594 [__ASSUME_32BITUIDS]: Make code unconditional.
50595 [!__ASSUME_32BITUIDS]: Remove conditional code.
50596 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50597 <kernel-features.h>.
50598 [__ASSUME_32BITUIDS]: Make code unconditional.
50599 [!__ASSUME_32BITUIDS]: Remove conditional code.
50600 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50601 <kernel-features.h>.
50602 [__ASSUME_32BITUIDS]: Make code unconditional.
50603 [!__ASSUME_32BITUIDS]: Remove conditional code.
50604 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50605 <kernel-features.h>.
50606 [__ASSUME_32BITUIDS]: Make code unconditional.
50607 [!__ASSUME_32BITUIDS]: Remove conditional code.
50608 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50609 <kernel-features.h>.
50610 [__ASSUME_32BITUIDS]: Make code unconditional.
50611 [!__ASSUME_32BITUIDS]: Remove conditional code.
50612 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50613 <kernel-features.h>.
50614 [__ASSUME_32BITUIDS]: Make code unconditional.
50615 [!__ASSUME_32BITUIDS]: Remove conditional code.
50616 * sysdeps/unix/sysv/linux/kernel-features.h
50617 (__ASSUME_SETRESUID_SYSCALL): Remove.
50618 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50619 (__ASSUME_32BITUIDS): Likewise.
50620 (__ASSUME_LDT_WORKS): Likewise.
50621 (__ASSUME_O_DIRECTORY): Likewise.
50622 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50623 architecture but not kernel version.
50624 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50625 (__ASSUME_MMAP2_SYSCALL): Likewise.
50626 (__ASSUME_STAT64_SYSCALL): Likewise.
50627 (__ASSUME_IPC64): Likewise.
50628 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50629 <kernel-features.h>.
50630 [__ASSUME_32BITUIDS]: Make code unconditional.
50631 [!__ASSUME_32BITUIDS]: Remove conditional code.
50632 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50633 <kernel-features.h>.
50634 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50635 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50636 132096]: Remove conditional code.
50637 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50638 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50639 <kernel-features.h>.
50640 [__ASSUME_32BITUIDS]: Make code unconditional.
50641 [!__ASSUME_32BITUIDS]: Remove conditional code.
50642 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50643 <kernel-features.h>.
50644 [__ASSUME_32BITUIDS]: Make code unconditional.
50645 [!__ASSUME_32BITUIDS]: Remove conditional code.
50646 * sysdeps/unix/sysv/linux/setegid.c: Do not include
50647 <kernel-features.h>.
50648 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50649 unconditional.
50650 (__setresgid): Do not declare.
50651 [__ASSUME_32BITUIDS]: Make code unconditional.
50652 [!__ASSUME_32BITUIDS]: Remove conditional code.
50653 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50654 <kernel-features.h>.
50655 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50656 unconditional.
50657 (__setresuid): Do not declare.
50658 [__ASSUME_32BITUIDS]: Make code unconditional.
50659 [!__ASSUME_32BITUIDS]: Remove conditional code.
50660 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50661 <kernel-features.h>.
50662 [__ASSUME_32BITUIDS]: Make code unconditional.
50663 [!__ASSUME_32BITUIDS]: Remove conditional code.
50664 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50665 <kernel-features.h>.
50666 [__ASSUME_32BITUIDS]: Make code unconditional.
50667 [!__ASSUME_32BITUIDS]: Remove conditional code.
50668
50669 2012-05-25 Richard Henderson <rth@twiddle.net>
50670
50671 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50672 dl_hwcap to ifunc resolver.
50673 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50674 elf_ifunc_invoke.
50675 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50676 dl_hwcap to ifunc resolver.
50677 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50678
50679 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50680
50681 [BZ #14153]
50682 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50683 for |x| <= 2**-26, not 2**-57.
50684 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50685 exception.
50686
50687 2012-05-24 Jeff Law <law@redhat.com>
50688
50689 * stdio-common/Makefile (tests): Add bug25.
50690 * stdio-common/bug25.c: New test.
50691
50692 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50693
50694 [BZ #13576]
50695 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50696 multiple of MALLOC_ALIGNMENT in size.
50697 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50698
50699 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50700
50701 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50702 Require >= 256.
50703 (FILENAME_MAX): Use macro-int-constant.
50704 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50705 (_IOFBF): Use macro-int-constant.
50706 (_IOLBF): Likewise.
50707 (_IONBF): Likewise.
50708 (SEEK_CUR): Likewise.
50709 (SEEK_END): Likewise.
50710 (SEEK_SET): Likewise.
50711 (TMP_MAX): Likewise.
50712 (EOF): Use macro-int-constant. Require < 0.
50713 (NULL): Use macro-constant. Require == 0.
50714 (stdin): Require type to be FILE *.
50715 (stdout): Likewise.
50716 (stderr): Likewise.
50717 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50718 macro-int-constant.
50719 (EXIT_SUCCESS): Likewise.
50720 (NULL): Use macro-constant. Require == 0.
50721 (RAND_MAX): Use macro-int-constant.
50722 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50723 [C99-based standards] (strtof): Require function.
50724 [C99-based standards] (strtold): Likewise.
50725 [C99-based standards] (strtoll): Likewise.
50726 [C99-based standards] (strtoull): Likewise.
50727 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50728 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50729 [ISO || ISO99 || ISO11] (math.h): Likewise.
50730 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50731 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50733
50734 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50735
50736 [BZ #14132]
50737 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50738 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50739 * intl/dgettext.c (DCGETTEXT): Likewise.
50740 * intl/gettext.c (DCGETTEXT): Likewise.
50741 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50742 * posix/regex_internal.h (gettext): Likewise.
50743 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50744 Remove declaration.
50745 * include/argz.h (__argz_count_internal)
50746 (__argz_stringify_internal): Remove declaration.
50747 (__argz_count, __argz_stringify): Declare hidden proto.
50748 * intl/dcgettext.c: Remove use of INTDEF.
50749 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50750 * string/argz-stringify.c: Likewise.
50751 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50752 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50753 Declare hidden proto.
50754 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50755 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50756 Declare hidden proto.
50757 * include/stdio.h (__asprintf_internal): Don't declare.
50758 (__asprintf): Don't define as macro. Declare hidden proto.
50759 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50760 (__fsetlocking): Declare hidden proto.
50761 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50762 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50763 hidden proto.
50764 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50765 (_IO_setlinebuf): Remove use of INTUSE.
50766 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50767 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50768 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50769 Remove declaration.
50770 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50771 (_IO_do_flush): Remove use of INTUSE.
50772 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50773 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50774 (_IO_adjust_column, _IO_least_wmarker)
50775 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50776 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50777 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50778 (_IO_default_doallocate, _IO_wdefault_doallocate)
50779 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50780 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50781 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50782 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50783 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50784 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50785 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50786 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50787 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50788 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50789 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50790 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50791 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50792 proto.
50793 (_IO_flush_all_internal, _IO_adjust_column_internal)
50794 (_IO_default_uflow_internal, _IO_default_finish_internal)
50795 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50796 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50797 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50798 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50799 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50800 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50801 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50802 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50803 (_IO_file_close_internal, _IO_file_close_it_internal)
50804 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50805 (_IO_file_init_internal, _IO_file_attach_internal)
50806 (_IO_file_fopen_internal, _IO_file_read_internal)
50807 (_IO_file_sync_internal, _IO_file_seek_internal)
50808 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50809 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50810 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50811 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50812 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50813 (_IO_list_all_internal, _IO_link_in_internal)
50814 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50815 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50816 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50817 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50818 (_IO_do_write_internal, _IO_padn_internal)
50819 (_IO_getline_info_internal, _IO_getline_internal)
50820 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50821 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50822 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50823 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50824 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50825 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50826 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50827 with libc_hidden_ver, remove use of INTUSE.
50828 * libio/genops.c: Likewise.
50829 * libio/freopen.c: Likewise.
50830 * libio/freopen64.c: Likewise.
50831 * libio/iofclose.c: Likewise.
50832 * libio/iofdopen.c: Likewise.
50833 * libio/iofflush.c: Likewise.
50834 * libio/iofflush_u.c: Likewise.
50835 * libio/iofgets.c: Likewise.
50836 * libio/iofgets_u.c: Likewise.
50837 * libio/iofopen.c: Likewise.
50838 * libio/iofopncook.c: Likewise.
50839 * libio/iofread.c: Likewise.
50840 * libio/iofread_u.c: Likewise.
50841 * libio/ioftell.c: Likewise.
50842 * libio/iofwrite.c: Likewise.
50843 * libio/iogetline.c: Likewise.
50844 * libio/iogets.c: Likewise.
50845 * libio/iogetwline.c: Likewise.
50846 * libio/iopadn.c: Likewise.
50847 * libio/iopopen.c: Likewise.
50848 * libio/ioseekoff.c: Likewise.
50849 * libio/ioseekpos.c: Likewise.
50850 * libio/iosetbuffer.c: Likewise.
50851 * libio/iosetvbuf.c: Likewise.
50852 * libio/ioungetc.c: Likewise.
50853 * libio/ioungetwc.c: Likewise.
50854 * libio/iovdprintf.c: Likewise.
50855 * libio/iovsprintf.c: Likewise.
50856 * libio/iovsscanf.c: Likewise.
50857 * libio/memstream.c: Likewise.
50858 * libio/obprintf.c: Likewise.
50859 * libio/oldfileops.c: Likewise.
50860 * libio/oldiofclose.c: Likewise.
50861 * libio/oldiofdopen.c: Likewise.
50862 * libio/oldiofopen.c: Likewise.
50863 * libio/oldiopopen.c: Likewise.
50864 * libio/oldstdfiles.c: Likewise.
50865 * libio/putc.c: Likewise.
50866 * libio/setbuf.c: Likewise.
50867 * libio/setlinebuf.c: Likewise.
50868 * libio/stdfiles.c: Likewise.
50869 * libio/strops.c: Likewise.
50870 * libio/vasprintf.c: Likewise.
50871 * libio/vscanf.c: Likewise.
50872 * libio/vsnprintf.c: Likewise.
50873 * libio/vswprintf.c: Likewise.
50874 * libio/wfiledoalloc.c: Likewise.
50875 * libio/wfileops.c: Likewise.
50876 * libio/wgenops.c: Likewise.
50877 * libio/wmemstream.c: Likewise.
50878 * libio/wstrops.c: Likewise.
50879 * libio/__fpurge.c: Likewise.
50880 * libio/__fsetlocking.c: Likewise.
50881 * assert/assert.c: Likewise.
50882 * debug/fgets_chk.c: Likewise.
50883 * debug/fgets_u_chk.c: Likewise.
50884 * debug/fread_chk.c: Likewise.
50885 * debug/fread_u_chk.c: Likewise.
50886 * debug/gets_chk.c: Likewise.
50887 * debug/obprintf_chk.c: Likewise.
50888 * debug/vasprintf_chk.c: Likewise.
50889 * debug/vdprintf_chk.c: Likewise.
50890 * debug/vsnprintf_chk.c: Likewise.
50891 * debug/vsprintf_chk.c: Likewise.
50892 * malloc/mtrace.c: Likewise.
50893 * misc/error.c: Likewise.
50894 * misc/syslog.c: Likewise.
50895 * stdio-common/asprintf.c: Likewise.
50896 * stdio-common/fxprintf.c: Likewise.
50897 * stdio-common/getw.c: Likewise.
50898 * stdio-common/isoc99_fscanf.c: Likewise.
50899 * stdio-common/isoc99_scanf.c: Likewise.
50900 * stdio-common/isoc99_vfscanf.c: Likewise.
50901 * stdio-common/isoc99_vscanf.c: Likewise.
50902 * stdio-common/isoc99_vsscanf.c: Likewise.
50903 * stdio-common/printf-prs.c: Likewise.
50904 * stdio-common/printf_fp.c: Likewise.
50905 * stdio-common/printf_fphex.c: Likewise.
50906 * stdio-common/printf_size.c: Likewise.
50907 * stdio-common/putw.c: Likewise.
50908 * stdio-common/scanf.c: Likewise.
50909 * stdio-common/sprintf.c: Likewise.
50910 * stdio-common/tmpfile.c: Likewise.
50911 * stdio-common/vfprintf.c: Likewise.
50912 * stdio-common/vfscanf.c: Likewise.
50913 * stdlib/strfmon_l.c: Likewise.
50914 * sunrpc/openchild.c: Likewise.
50915 * sunrpc/xdr_stdio.c: Likewise.
50916 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50917 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50918
50919 2012-05-24 Roland McGrath <roland@hack.frob.com>
50920
50921 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50922
50923 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50924 in the third column, to generate for the shared library an IFUNC
50925 that uses _dl_vdso_vsym.
50926 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50927 * Makeconfig (object-suffixes-noshared): New variable.
50928
50929 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50930 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50931 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50932 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50933
50934 [BZ #14132]
50935 * include/sys/time.h (__gettimeofday): Remove macro.
50936 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50937 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50938 Remove INTDEF.
50939 (__gettimeofday): Add libc_hidden_def.
50940 (gettimeofday): Add libc_hidden_weak.
50941 * sysdeps/mach/gettimeofday.c: Likewise.
50942 * sysdeps/posix/gettimeofday.c: Likewise.
50943 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50944 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50945 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50946 (__gettimeofday_internal): Remove strong_alias.
50947 (__gettimeofday): Add libc_hidden_def.
50948 (gettimeofday): Add libc_hidden_weak.
50949 * sysdeps/unix/syscalls.list (gettimeofday):
50950 Remove __gettimeofday_internal alias.
50951
50952 2012-05-24 Daniel Jacobowitz <drow@false.org>
50953 H.J. Lu <hongjiu.lu@intel.com>
50954
50955 [BZ #12495]
50956 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50957 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50958 (largebin_index_32_big): New.
50959 (largebin_index): Use it for 16-byte alignment.
50960 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50961 correction with front_misalign.
50962
50963 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50964
50965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50967 Likewise.
50968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50969 Likewise.
50970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50971 Likewise.
50972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50973 Likewise.
50974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50975 Likewise.
50976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50977 Likewise.
50978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50979 Likewise.
50980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50981 Likewise.
50982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50983 Likewise.
50984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50985 Likewise.
50986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50987 Likewise.
50988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50989 Likewise.
50990
50991 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50992 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50993
50994 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50995
50996 [BZ #10846]
50997 [BZ #14036]
50998 * math/libm-test.inc (exp_test): Add test from bug 14036.
50999 (pow_test): Add test from bug 10846.
51000
51001 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51002 and other flags.
51003 (special_function): Do not include flags in test name.
51004 (parse_args): Likewise.
51005 * sysdeps/i386/fpu/libm-test-ulps: Update.
51006 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51007 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51008 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51010
51011 * math/gen-libm-test.pl (%beautify): Add entries for underflow
51012 exceptions.
51013 * math/libm-test.inc ("Philosophy"): Update comment about
51014 exception testing.
51015 (UNDERFLOW_EXCEPTION): New macro.
51016 (UNDERFLOW_EXCEPTION_OK): Likewise.
51017 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51018 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51019 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51020 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51021 (INVALID_EXCEPTION_OK): Update value.
51022 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51023 (OVERFLOW_EXCEPTION_OK): Likewise.
51024 (IGNORE_ZERO_INF_SIGN): Likewise.
51025 (test_exceptions): Handle underflow exceptions.
51026 (acos_test): Update for underflow exception expectations.
51027 (cexp_test): Likewise.
51028 (clog_test): Likewise.
51029 (clog10_test): Likewise.
51030 (csqrt_test): Likewise.
51031 (ctan_test): Likewise.
51032 (ctanh_test): Likewise.
51033 (exp_test): Likewise.
51034 (exp10_test): Likewise.
51035 (exp2_test): Likewise.
51036 (expm1_test): Likewise.
51037 (fma_test): Likewise.
51038 (j0_test): Likewise.
51039 (jn_test): Likewise.
51040 (nexttoward_test): Likewise.
51041 (pow_test): Likewise.
51042 (scalbn_test): Likewise.
51043 (scalbln_test): Likewise.
51044 (tan_test): Likewise.
51045 (y1_test): Likewise.
51046 * sysdeps/i386/fpu/libm-test-ulps: Update.
51047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51048
51049 2012-05-23 David S. Miller <davem@davemloft.net>
51050
51051 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51052 (__libc_sigaction): Remove unused local variables.
51053
51054 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51055
51056 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51057
51058 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
51059
51060 mktime: avoid signed integer overflow
51061 * time/mktime.c (__mktime_internal): Do not mishandle the case
51062 where diff == INT_MIN.
51063
51064 mktime: simplify computation of average
51065 * time/mktime.c (ranged_convert): Use new time_t_avg function
51066 instead of rolling our own (probably-slower) code.
51067
51068 mktime: do not assume signed right shift propagates sign bit
51069 * time/mktime.c (isdst_differ): New static function.
51070 (__mktime_internal): No need to normalize tm_isdst now.
51071 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51072 tm_isdst values.
51073
51074 mktime: merge another wrapv change from gnulib
51075 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51076 from some compilers.
51077
51078 mktime: remove incorrect attempt at unusual arithmetics
51079 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51080 The code didn't really work on such machines anyway.
51081 (TYPE_MINIMUM): Assume two's complement.
51082 (twos_complement_arithmetic): Verify that long_int and time_t
51083 are two's complement (or unsigned, in the latter case).
51084
51085 mktime: check signed shifts on long_int and time_t, too
51086 * time/mktime.c (SHR): Check that shifts work as desired
51087 on the types long_int and time_t too, as SHR is used on
51088 such types.
51089
51090 mktime: do not assume 'long' is wide enough
51091 * time/mktime.c (verify): Move decl up.
51092 (long_int): New type.
51093 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51094 to remove assumption in the code that 'long' is wide enough to
51095 store year values. This assumption is not true on x32 and on
51096 some non-glibc platforms.
51097
51098 mktime: merge wrapv change from gnulib
51099 * time/mktime.c (WRAPV): New macro.
51100 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51101 (guess_time_tm, __mktime_internal): Do not assume that signed
51102 integer overflow wraps around; modern compilers generate code
51103 where this assumption is no longer valid.
51104
51105 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51106
51107 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51108 Replace "jmp L(pseudo_end)" with "ret".
51109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51110 Likewise.
51111
51112 2012-05-23 Andreas Jaeger <aj@suse.de>
51113
51114 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51115 * sysdeps/unix/sysv/linux/poll.c: Remove file.
51116
51117 2012-05-23 Andreas Jaeger <aj@suse.de>
51118 Maximilian Attems <max@stro.at>
51119
51120 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51121 New macros.
51122
51123 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51124
51125 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51126 code so that pseudo_end is just ret and the stack pointer is
51127 correct also for static library in error case.
51128
51129 2012-05-23 Joseph Myers <joseph@codesourcery.com>
51130
51131 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51132 move to syscalls.list.
51133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51137
51138 * manual/install.texi (Running make install): Do not mention Linux
51139 kernel version for which pt_chown is not needed.
51140 (Linux): Do not mention problems with nscd with 2.0 kernels.
51141 * INSTALL: Regenerated.
51142
51143 2012-05-23 Andreas Jaeger <aj@suse.de>
51144
51145 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51146 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51147 macro.
51148 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51149 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51150 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51151 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51152 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51154 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51157 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51158 * sysdeps/unix/sysv/linux/bits/in.h
51159 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51160
51161 2012-05-22 Roland McGrath <roland@hack.frob.com>
51162
51163 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51164 (PREPARE_VERSION): Just use assert instead, it will be elided
51165 under [NDEBUG] anyway.
51166
51167 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51168
51169 * sysdeps/unix/sysv/linux/Makefile: Include
51170 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51171 (sysdep_routines): Remove sysctl.
51172 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51173 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51174 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51175 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51176 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51177
51178 2012-05-22 Andreas Jaeger <aj@suse.de>
51179
51180 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51181 that pseudo_end is just ret and the stack pointer is correct also
51182 for static library in error case.
51183
51184 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51185
51186 [BZ #14122]
51187 * nss/nsswitch.c (defconfig_entries): New variable.
51188 (__nss_database_lookup): Don't leak defconfig entries.
51189 (nss_parse_service_list): Don't leak on error paths.
51190 (free_database_entries): New function.
51191 (free_defconfig): New function.
51192 (free_mem): Move common code to free_database_entries.
51193
51194 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51195
51196 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51197 Add arch_prctl.
51198 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51199
51200 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51201 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51203 New macro.
51204 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51205 (INTERNAL_SYSCALL_TYPES): Likewise.
51206 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51207 (LOAD_REGS_TYPES_[1-6]): Likewise.
51208 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51209 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51210
51211 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51212
51213 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51214 copysignl for GLIBC_2_0.
51215 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51216 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51218 logbl for GLIBC_2_0.
51219 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51220 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51221
51222 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51223
51224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51225 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51226
51227 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51228 Use "neg %eax".
51229
51230 * time/mktime.c: Update copyright years.
51231
51232 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
51233
51234 mktime: merge comment-quoting-style change from gnulib
51235 * time/mktime.c: Quote 'like this' in comments.
51236 The GNU coding standards suggest that we no longer quote `like this',
51237 as "`" and "'" are typically rendered asymmetrically nowadays.
51238 The typical gnulib style is to quote 'like this' when quoting
51239 code, and "like this" when quoting English.
51240
51241 * time/mktime.c (compile-command): Add "-I.".
51242
51243 mktime: merge mktime-internal.h change from gnulib
51244 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51245
51246 mktime: merge time_r change from gnulib
51247 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51248
51249 mktime: merge DEBUG change from gnulib
51250 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51251 case system <time.h> has a #define.
51252
51253 mktime: merge <sys/types.h> change from gnulib
51254 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51255 since <time.t> is now guaranteed to define time_t.
51256
51257 mktime: merge HAVE_CONFIG_H change from gnulib
51258 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51259
51260 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51261
51262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51263 Use "neg %eax".
51264
51265 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51266 __rlim_t cast.
51267 (struct rusage): Use anonymous union to pad each field to
51268 __syscall_slong_t.
51269
51270 2012-05-21 David S. Miller <davem@davemloft.net>
51271
51272 * Makefules (o-iterator): Remove .s cases.
51273 (compile-command.s): Delete.
51274 (COMPILE.s): Delete.
51275 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51276
51277 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51278
51279 * configure.in (libc_cv_predef_stack_protector): Only consider
51280 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51281 * configure: Regenerated.
51282
51283 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51284
51285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51286 New macro. Use R*LP on int and pointer.
51287 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51288 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51289 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51290 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51291
51292 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51293 [__WORDSIZE_TIME64_COMPAT32] instead of
51294 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51295 (struct utmp): Likewise.
51296 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51297 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51298 Renamed to ...
51299 (__WORDSIZE_TIME64_COMPAT32): This.
51300 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51301 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51302 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51303 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51304 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51305 (__WORDSIZE_TIME64_COMPAT32): New macro.
51306
51307 2012-05-21 Andreas Jaeger <aj@suse.de>
51308
51309 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51310 only if [SHARED]. Add prototype for __wcschr_ia32.
51311
51312 2012-05-21 Roland McGrath <roland@hack.frob.com>
51313
51314 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51315 of %rbp unmolested in the jmp_buf while mangling the low bits.
51316 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51317 unmolested high bits of %rbp while demangling the low bits.
51318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51319
51320 2012-05-21 Andreas Jaeger <aj@suse.de>
51321
51322 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51323 * sunrpc/svc_simple.c: Use it for registerrpc.
51324 * sunrpc/xcrypt.c: Use it for passwd2des.
51325
51326 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51327
51328 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51329
51330 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51331 Don't define if [__SYSCALL_WORDSIZE != 32].
51332 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51333 New macro.
51334
51335 2012-05-21 Bruno Haible <bruno@clisp.org>
51336 Andreas Jaeger <aj@suse.de>
51337
51338 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51339 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51340 inptr and inend for must_buffer_ch.
51341 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51342 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51343 * stdio-common/Makefile (tests): Remove bug15.
51344 (bug15-ENV): Remove macro.
51345 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51346 anymore.
51347
51348 2012-05-19 Andreas Jaeger <aj@suse.de>
51349 Roland McGrath <roland@hack.frob.com>
51350
51351 * manual/contrib.texi: Completely rewritten. It contains now an
51352 alphabetical list of contributors and their contributions.
51353
51354 2012-05-21 Richard Henderson <rth@twiddle.net>
51355
51356 * misc/getauxval.c (__getauxval): Use unsigned long int.
51357 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51358 (getauxval): Use unsigned long int.
51359
51360 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51361
51362 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51363
51364 2012-05-21 Roland McGrath <roland@hack.frob.com>
51365
51366 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51367 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51368 __alignof__ (long double).
51369
51370 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51371
51372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51373
51374 2012-05-20 Richard Henderson <rth@twiddle.net>
51375
51376 * misc/getauxval.c: New file.
51377 * misc/sys/auxv.h: New file.
51378 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51379 (routines): Add getauxval.
51380 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51381 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51382 * elf/dl-sysdep.c (_dl_auxv): Remove.
51383 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51384 * elf/dl-support.c (_dl_auxv): New variable.
51385 (_dl_aux_init): Initialize it.
51386 * manual/startup.texi (Auxiliary Vector): New node.
51387 * sysdeps/generic/bits/hwcap.h: New file.
51388 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51389 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51390 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51391 * sysdeps/sparc/sysdep.h: ... here. Include it.
51392 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51393 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51395 Update.
51396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51399 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51404
51405 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51406
51407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51408
51409 2012-05-19 David S. Miller <davem@davemloft.net>
51410
51411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51412
51413 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51414
51415 [BZ #14123]
51416 * math/s_ccosh.c: Include <float.h>
51417 (__ccosh): Avoid internal overflow calculating sinh and cosh
51418 values before multiplying by sin and cos values.
51419 * math/s_ccoshf.c: Likewise.
51420 * math/s_ccoshl.c: Likewise.
51421 * math/s_csin.c: Likewise.
51422 * math/s_csinf.c: Likewise.
51423 * math/s_csinl.c: Likewise.
51424 * math/s_csinh.c: Likewise.
51425 * math/s_csinhf.c: Likewise.
51426 * math/s_csinhl.c: Likewise.
51427 * math/libm-test.inc (ccos_test): Add more tests.
51428 (ccosh_test): Likewise.
51429 (csin_test): Likewise.
51430 (csinh_test): Likewise.
51431 * sysdeps/i386/fpu/libm-test-ulps: Update.
51432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51433
51434 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51435
51436 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51437 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51438
51439 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51440
51441 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51442
51443 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51444 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51445 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51446 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51447 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51448 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51449 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51450 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51451 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51452 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51453 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51454 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51455 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51456 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51457 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51458 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51459 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51460 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51461 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51462 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51463 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51464 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51465 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51466 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51467 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51468 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51469 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51470 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51471 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51472 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51473 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51474
51475 2012-05-18 Andreas Jaeger <aj@suse.de>
51476
51477 * csu/.gitignore: Delete.
51478
51479 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51480
51481 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51482 (timex): Use __syscall_slong_t.
51483
51484 2012-05-18 Andreas Jaeger <aj@suse.de>
51485 Carlos O'Donell <carlos_odonell@mentor.com>
51486
51487 * manual/install.texi (Configuring and compiling): Update
51488 description about files modified in the source directory.
51489 * INSTALL: Regenerated.
51490
51491 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51492
51493 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51494 value. Use "or" to set return value to -1.
51495 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51496 negate return value.
51497
51498 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51499
51500 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51501 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51502 failure if the compiler has Graphite support disabled.
51503 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51504 Likewise.
51505 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51506 (CFLAGS-memmove.c): Likewise.
51507 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51508 Likewise.
51509
51510 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51511
51512 * sysdeps/x86_64/x32/_itoa.h: New file.
51513
51514 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51515 getdents system call only if kernel and user dirents have the
51516 same d_ino and d_off.
51517
51518 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51519 LLONG_MAX != LONG_MAX.
51520 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51521 (_fitoa_word): Likewise.
51522
51523 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51524 years.
51525 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51526 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51527 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51528
51529 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51530 include <bits/wordsize.h>. Check __x86_64__ instead of
51531 __WORDSIZE.
51532 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51533 if __x86_64__ is defined. Use anonymous union on fpstate.
51534
51535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51536 anonymous union.
51537
51538 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51539
51540 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51541 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51542 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51543 Refer to _rtld_local_ro instead of _rtld_global_ro.
51544 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51545 Likewise.
51546 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51547 Likewise.
51548 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51549 Likewise.
51550 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51551 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51552 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51553
51554 [BZ #10882]
51555 * sysdeps/powerpc/powerpc32/dl-machine.c
51556 (__elf_machine_runtime_setup) [PROF]: Don't reference
51557 _dl_prof_resolve.
51558
51559 2012-05-18 Andreas Jaeger <aj@suse.de>
51560
51561 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51562 function only available for GCCs before 3.4 since GCC 3.4
51563 introduced a builtin.
51564 (lrint): Likewise.
51565 (llrintf): Likewise.
51566 (llrint): Likewise.
51567 (fmaxf): Likewise.
51568 (fmax): Likewise.
51569 (fminf): Likewise.
51570 (fmin): Likewise.
51571 (rint): Likewise.
51572 (rintf): Likewise.
51573 (nearbyint): Likewise.
51574 (nearbyintf): Likewise.
51575 (ceil): Likewise.
51576 (ceilf): Likewise.
51577 (floor): Likewise.
51578 (floorf): Likewise.
51579
51580 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51581
51582 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51583 on both fields and cast pointer to __syscall_ulong_t.
51584
51585 * bits/types.h (__fsword_t): New type.
51586 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51587 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51589 (__FSWORD_T_TYPE): Likewise.
51590 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51591 (__FSWORD_T_TYPE): Likewise.
51592 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51593 (__FSWORD_T_TYPE): Likewise.
51594 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51595 (__FSWORD_T_TYPE): Likewise.
51596 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51597 __SWORD_TYPE with __fsword_t.
51598 (statfs64): Likewise.
51599
51600 2012-05-17 David S. Miller <davem@davemloft.net>
51601
51602 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51603
51604 2012-05-17 Andreas Jaeger <aj@suse.de>
51605
51606 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51607 warning.
51608
51609 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51610
51611 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51612
51613 2012-05-17 Andreas Jaeger <aj@suse.de>
51614
51615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51616 when it is used.
51617
51618 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51619
51620 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51621
51622 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51623
51624 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51625 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51626
51627 2012-05-17 Andreas Jaeger <aj@suse.de>
51628 Carlos O'Donell <carlos_odonell@mentor.com>
51629
51630 [BZ #14059]
51631 * sysdeps/x86_64/multiarch/init-arch.h
51632 (bit_YMM_Usable): Rename to...
51633 (bit_AVX_Usable): ... this.
51634 (bit_FMA4_Usable): New macro.
51635 (bit_XMM_state): New macro.
51636 (bit_YMM_state): New macro.
51637 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51638 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51639 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51640 (CPUID_OSXSAVE): New macro.
51641 (CPUID_AVX): New macro.
51642 (CPUID_FMA4): New macro.
51643 (index_YMM_Usable): Rename to...
51644 (index_AVX_Usable): ... this.
51645 (HAS_AVX): Use HAS_ARCH_FEATURE.
51646 (HAS_FMA4): Likewise.
51647 (HAS_YMM_USABLE): Remove.
51648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51649 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51650 are present.
51651 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51652 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51653 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51654 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51655 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51656
51657 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51658
51659 * math/libm-test.c: Support platforms without multiple rounding modes.
51660 * math/bug-nextafter.c: Support platforms without FP exceptions.
51661 * math/bug-nexttoward.c: Likewise.
51662 * math/test-fenv.c: Likewise.
51663 * math/test-misc.c: Likewise.
51664 * stdlib/bug-getcontext.c: Likewise.
51665
51666 2012-05-17 Andreas Jaeger <aj@suse.de>
51667
51668 * manual/examples/search.c (critter_cmp): Change signature to
51669 avoid warnings.
51670 * manual/string.texi (Collation Functions): Likewise.
51671
51672 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51673
51674 * bits/types.h: Fold copyright years.
51675 * bits/typesizes.h: Likewise.
51676 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51680 * time/time.h: Likewise.
51681
51682 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51683
51684 [BZ #208]
51685 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51686 in instead of returning them. Return void.
51687 (__libc_mallinfo): Accumulate over all arenas.
51688 (__malloc_stats): Adjust for change in int_mallinfo interface.
51689
51690 2012-05-16 Roland McGrath <roland@hack.frob.com>
51691
51692 [BZ #10375]
51693 * configure.in (NM): Add AC_CHECK_TOOL for it.
51694 (libc_extra_cflags): New substituted variable.
51695 Check for -fstack-protector being used implicitly.
51696 * configure: Regenerated.
51697 * config.make.in (config-extra-cflags): New variable,
51698 gets @libc_extra_cflags@.
51699 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51700
51701 [BZ #10375]
51702 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51703 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51704 * configure: Regenerated.
51705 * config.make.in (CPPUNDEFS): New substituted variable.
51706 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51707 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51708 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51709
51710 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51711
51712 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51713 (mq_attr): Use __syscall_slong_t.
51714
51715 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51716
51717 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51718 Check __x86_64__ instead of __WORDSIZE.
51719 (_STAT_VER_LINUX): Likewise.
51720 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51721 __syscall_ulong_t and __syscall_slong_t.
51722 (stat64): Likewise.
51723
51724 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51725
51726 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51727
51728 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51729
51730 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51731
51732 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51733
51734 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51735 __syscall_ulong_t.
51736
51737 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51738 include <bits/wordsize.h>. Check __x86_64__ instead of
51739 __WORDSIZE.
51740 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51741 defined.
51742 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51743
51744 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51745 include <bits/wordsize.h>. Check __x86_64__ instead of
51746 __WORDSIZE.
51747 (user_regs_struct): Use "__extension__ unsigned long long"
51748 instead of "unsigned long" if __x86_64__ is defined.
51749 (user): Likewise. Pad after pointer field if __ILP32__ is
51750 defined.
51751
51752 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51753
51754 * configure.in (makeinfo): Require version 4.5 or later. Allow
51755 versions 5 to 9.
51756 * configure: Regenerated.
51757 * manual/install.texi (texinfo): Increase version requirement to
51758 4.5 or later.
51759 * INSTALL: Regenerated.
51760
51761 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51762
51763 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51764
51765 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51766
51767 * sysdeps/x86_64/x32/ffs.c: New file.
51768
51769 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51770 __syscall_ulong_t.
51771 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51772 defined. Use __syscall_ulong_t.
51773 (shminfo): Use __syscall_ulong_t.
51774 (shm_info): Likewise.
51775
51776 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51777 __syscall_ulong_t.
51778
51779 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51780 <bits/wordsize.h>.
51781 (msgqnum_t): Use __syscall_ulong_t.
51782 (msglen_t): Likewise.
51783 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51784 __syscall_ulong_t.
51785
51786 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51787 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51788
51789 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51790
51791 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51792 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51793
51794 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51795 __syscall_slong_t.
51796
51797 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51798 include <bits/wordsize.h>. Check __x86_64__ instead of
51799 __WORDSIZE.
51800
51801 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51802 "unsigned long long int" if __x86_64__ is defined.
51803 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51804
51805 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51806 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51807 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51808
51809 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51810 <stdint.h>.
51811 (GET_PC): Cast to uintptr_t first.
51812 (GET_FRAME): Likewise.
51813 (GET_STACK): Likewise.
51814
51815 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51816 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51817 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51818 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51819 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51820 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51821 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51822 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51823 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51824 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51826 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51827 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51828 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51829 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51830 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51832 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51833 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51834 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51835 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51836 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51837 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51838 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51839 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51840 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51841 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51842 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51843 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51844
51845 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51846
51847 * Makerules (+depfiles): Also collect depfiles from .oS in
51848 $(extra-objs).
51849 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51850 .oS, $(libnldbl-routines)).
51851
51852 * Makerules (native-compile-mkdep-flags): Define.
51853 * sunrpc/Makefile (extra-objs): Add $(addprefix
51854 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51855 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51856 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51857 calling $(make-target-directory).
51858
51859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51860
51861 * bits/types.h (__snseconds_t): Removed.
51862 * time/time.h (struct timespec): Replace __snseconds_t with
51863 __syscall_slong_t.
51864 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51865 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51866 Likewise.
51867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51868 (__SNSECONDS_T_TYPE): Likewise.
51869 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51870 (__SNSECONDS_T_TYPE): Likewise.
51871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51872 (__SNSECONDS_T_TYPE): Likewise.
51873
51874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51875
51876 * sysdeps/mach/hurd/bits/typesizes.h
51877 (__SYSCALL_SLONG_TYPE): New macro.
51878 (__SYSCALL_ULONG_TYPE): Likewise.
51879
51880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51881
51882 * bits/types.h (__syscall_slong_t): New type.
51883 (__syscall_ulong_t): Likewise.
51884
51885 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51886 (__SYSCALL_ULONG_TYPE): Likewise.
51887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51888 (__SYSCALL_SLONG_TYPE): Likewise.
51889 (__SYSCALL_ULONG_TYPE): Likewise.
51890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51891 (__SYSCALL_SLONG_TYPE): Likewise.
51892 (__SYSCALL_ULONG_TYPE): Likewise.
51893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51894 (__SYSCALL_SLONG_TYPE): Likewise.
51895 (__SYSCALL_ULONG_TYPE): Likewise.
51896
51897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51898
51899 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51900 Add sigaltstack-offsets.sym.
51901 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51902 <sigaltstack-offsets.h>.
51903 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51904 longjmp_msg pointer.
51905 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51906 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51907 signal stack.
51908 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51909
51910 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51911
51912 * elf/stackguard-macros.h: Remove file.
51913 * sysdeps/generic/stackguard-macros.h: New file.
51914 * sysdeps/i386/stackguard-macros.h: Likewise.
51915 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51916 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51917 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51918 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51919 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51920 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51921 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51922 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51923 <elf/stackguard-macros.h>.
51924
51925 [BZ #14109]
51926 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51927 __aligned__ in attribute.
51928 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51929 (gregset_t): Likewise.
51930
51931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51932
51933 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51934 * sysdeps/x86_64/64/Implies-after: Here. New file.
51935 * sysdeps/x86_64/x32/Implies-after: New file.
51936
51937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51938
51939 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51940 and access return value for _dl_profile_fixup. Use R10_LP to
51941 load frame size.
51942
51943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51944
51945 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51946
51947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51948
51949 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51950 * sysdeps/x86_64/x32/sysdep.h: New file.
51951
51952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51953
51954 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51955 * sysdeps/x86_64/setjmp.S: Likewise.
51956
51957 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51958
51959 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51961 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51962 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51963 remove unused global constant.
51964
51965 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51966
51967 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51968 include of <not-cancel.h>.
51969
51970 2012-05-15 Roland McGrath <roland@hack.frob.com>
51971
51972 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51973
51974 2012-05-15 Jeff Law <law@redhat.com>
51975 Andreas Jaeger <aj@suse.de>
51976
51977 [BZ #13594]
51978 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51979 out from...
51980 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51981 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51982 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51983 code changing __hst_map_handle.map.
51984
51985 2012-05-15 Roland McGrath <roland@hack.frob.com>
51986
51987 * configure.in (sysnames): Look for Implies-before and Implies-after
51988 files.
51989 * configure: Regenerated.
51990
51991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51992
51993 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51994 8-byte data alignment with LP_SIZE alignment.
51995
51996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51997
51998 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51999 into R10_LP.
52000
52001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52002
52003 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52004
52005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52006
52007 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52008 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52009 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52010 Likewise.
52011 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52012
52013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52014
52015 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52016 (stackinfo_sub_sp): Likewise.
52017
52018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52019
52020 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52021 RAX_LP.
52022
52023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52024
52025 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52026 into R*_LP.
52027
52028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52029
52030 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52031 sizes into R*_LP.
52032
52033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52034
52035 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52036
52037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52038
52039 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52040 into R11_LP and load __x86_64_shared_cache_size_half into
52041 R8_LP.
52042
52043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52044
52045 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52046 R8_LP.
52047
52048 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52049
52050 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52051 logb for POWER7.
52052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52053 logbf for POWER7.
52054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52055 logbl for POWER7.
52056 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52057 powerpc32/power7/fpu/s_logb.c via #include.
52058 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52059 powerpc32/power7/fpu/s_logbf.c via #include.
52060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52061 powerpc32/power7/fpu/s_logbl.c via #include.
52062
52063 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52064
52065 * README.libm: Remove file.
52066
52067 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52068
52069 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52070 count for x32. Use R*_LP and omit operand-size suffix.
52071
52072 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52073
52074 * shlib-versions: Move x86_64-.*-linux.* entries to ...
52075 * sysdeps/x86_64/64/shlib-versions: Here. New file.
52076 * sysdeps/x86_64/x32/shlib-versions: New file.
52077
52078 2012-05-14 Roland McGrath <roland@hack.frob.com>
52079
52080 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52081 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52082 Use _dl_fatal_printf instead.
52083
52084 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52085
52086 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52087 set if not set by the user. Do not allow for being unset.
52088 * sysdeps/unix/sysv/linux/configure: Regenerated.
52089
52090 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52091
52092 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52093 the `q' suffix from lea and replace .quad with ASM_ADDR.
52094
52095 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52096
52097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52098 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
52099 instead of $17.
52100 (PTR_DEMANGLE): Likewise.
52101
52102 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52103
52104 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52105 (LP_OP): Likewise.
52106 (ASM_ADDR): Likewise.
52107 (RAX_LP): Likewise.
52108 (RBP_LP): Likewise.
52109 (RBX_LP): Likewise.
52110 (RCX_LP): Likewise.
52111 (RDI_LP): Likewise.
52112 (RSI_LP): Likewise.
52113 (RSP_LP): Likewise.
52114 (R8_LP): Likewise.
52115 (R9_LP): Likewise.
52116 (R10_LP): Likewise.
52117 (R10_LP): Likewise.
52118 (R11_LP): Likewise.
52119 (R12_LP): Likewise.
52120 (R13_LP): Likewise.
52121 (R14_LP): Likewise.
52122 (R15_LP): Likewise.
52123
52124 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52125
52126 * sysdeps/x86_64/x32/dl-machine.h: New file.
52127
52128 2012-05-14 Andreas Jaeger <aj@suse.de>
52129
52130 * manual/Makefile (subdir): Remove export of subdir.
52131 (all): Remove target.
52132 (.PHONY): Remove all from list.
52133 (mkinstalldirs): Remove.
52134 (.PHONY): Remove installdirs from list.
52135 ($(inst_infodir)/libc.info): Use make-target-directory.
52136 (installdirs): Remove.
52137 (subdir_%): Remove.
52138 (glibc-targets): Remove.
52139 (lib): Remove.
52140 (stubs): Remove.
52141 ($(objpfx)stubs ../po/manual.pot): Remove.
52142 ($(objpfx)stamp%): Remove.
52143 (make-target-directory): Remove.
52144 (subdir_install): Remove.
52145 (routines): Remove.
52146 (aux): Remove.
52147 (sources): Remove.
52148 (objects): Remove.
52149 (headers): Remove.
52150
52151 [BZ #13750]
52152 * manual/.gitignore: Remove, it's not needed anymore.
52153 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52154 all files in it.
52155 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52156 directory.
52157 (texis): Renamed to $(objpfx)texis.
52158 (texis-path): New, contains path to generated files.
52159 (chapters.%): Use texis-path for complete path, add extra argument
52160 libc-texinfo.sh.
52161 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52162 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52163 (summary,texi, stamp-summary): Use complete path of
52164 files. Generate files in build dir.
52165 (dir-add.texi): Build in build dir.
52166 (libm-err.texi,stamp-libm-err): Likewise.
52167 (version.texi, stamp-version): Likewise.
52168 (.%c.texi): Likewise.
52169 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52170 (mostlyclean): Remove target.
52171 (realclean): Remove target.
52172 (generated): Add new variable with contents from mostlyclean and
52173 realclean, remove entries duplicated in common-mostlyclean, add
52174 stamp-libm-err and stamp-version.
52175 (generated-dirs): Add libc directory.
52176 ($(inst_infodir)/libc.info): Install files from build dir.
52177
52178 * manual/install.texi (Configuring and compiling): Adjust since
52179 the info files are not part of the tar ball anymore.
52180
52181 2012-05-14 Andreas Jaeger <aj@suse.de>
52182
52183 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52184 variable.
52185
52186 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52187
52188 [BZ #13717]
52189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52190 to 2.2.0 where earlier.
52191 * sysdeps/unix/sysv/linux/configure: Regenerated.
52192 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52193 Remove conditional code.
52194 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52195 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52196 Remove conditional code.
52197 [!__NR_lchown]: Likewise.
52198 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52199 [__NR_lchown]: Likewise.
52200 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52201 comment referencing __ASSUME_LCHOWN_SYSCALL.
52202 * sysdeps/unix/sysv/linux/i386/sigaction.c
52203 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52204 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52205 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52206 Remove conditional code.
52207 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52208 (__protocol_available): Remove #if 0 code.
52209 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52210 conditional code.
52211 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52212 * sysdeps/unix/sysv/linux/kernel-features.h
52213 (__ASSUME_GETCWD_SYSCALL): Don't define.
52214 (__ASSUME_REALTIME_SIGNALS): Likewise.
52215 (__ASSUME_PREAD_SYSCALL): Likewise.
52216 (__ASSUME_PWRITE_SYSCALL): Likewise.
52217 (__ASSUME_POLL_SYSCALL): Likewise.
52218 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52219 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52220 non-SPARC.
52221 (__ASSUME_SIOCGIFNAME): Don't define.
52222 (__ASSUME_MSG_NOSIGNAL): Likewise.
52223 (__ASSUME_SENDFILE): Define unconditionally.
52224 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52225 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52226 conditional code.
52227 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52228 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52229 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52230 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52231 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52232 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52233 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52235 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52238 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52241 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52244 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52247 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52250 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52253 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52258 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52259 Remove conditional code.
52260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52261 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52262 Remove conditional code.
52263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52264 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52265 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52266 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52267 Remove conditional code.
52268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52269 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52270 Remove conditional code.
52271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52272 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52273 Remove conditional code.
52274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52275 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52276 Remove conditional code.
52277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52278 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52279 Remove conditional code.
52280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52281 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52284 * sysdeps/unix/sysv/linux/sigaction.c
52285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52287 * sysdeps/unix/sysv/linux/sigpending.c
52288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52290 * sysdeps/unix/sysv/linux/sigprocmask.c
52291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52293 * sysdeps/unix/sysv/linux/sigsuspend.c
52294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52296 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52297 (__libc_missing_rt_sigs): Remove.
52298 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52299 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52300 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52301 Remove conditional code.
52302 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52303 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52304 return 1.
52305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52306 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52308 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52309
52310 2012-05-14 Andreas Jaeger <aj@suse.de>
52311
52312 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52313 it's not used in glibc.
52314 (__coshm1): Likewise.
52315 (__acosh1p): Likewise.
52316 (__sgn): Likewise.
52317
52318 * manual/string.texi (Copying and Concatenation): Add missing
52319 variable in concat example.
52320 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52321
52322 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52323
52324 [BZ #14103]
52325 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52326 __builtin_clzl with __builtin_clzll.
52327
52328 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52329
52330 [BZ #14104]
52331 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52332 libc_freeres_ptr.
52333
52334 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52335
52336 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52337 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52338 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52339 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52340
52341 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52342
52343 * NEWS: Update ia64 info.
52344
52345 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52346
52347 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52348 used as bcopy.
52349
52350 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52351
52352 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52353 * sysdeps/unix/syscalls.list (dup3): Likewise.
52354 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52355 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52356
52357 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52358
52359 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52360 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52361
52362 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52363
52364 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52365 thread pointer.
52366 (TLS_IE): Use mov/add instead of movq/addq to load thread
52367 pointer.
52368 (TLS_GD_PREFIX): New.
52369 (TLS_GD): Use it.
52370
52371 2012-05-11 David S. Miller <davem@davemloft.net>
52372
52373 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52374 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52375 (_FPU_SETCW): Likewise.
52376
52377 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52378
52379 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52380 is 32-byte aligned.
52381
52382 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52383
52384 [BZ #11837]
52385 * iconvdata/gb18030.c: Update tables.
52386 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52387 characters specially.
52388 (BODY for TO_LOOP): Add encoding of missing ranges.
52389
52390 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52391
52392 [BZ #13673]
52393 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52394 * sysdeps/mach/hurd/dup3.c: Likewise.
52395 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52396 * sysdeps/powerpc/memmove.c:: Likewise.
52397
52398 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52399
52400 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52401 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52402
52403 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52404
52405 * elf/elf.h (R_X86_64_RELATIVE64): New.
52406 (R_X86_64_NUM): Updated.
52407 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52408 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52409 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52410 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52411 tst-quad1pie tst-quad2pie
52412 (modules-names): Add tst-quadmod1 tst-quadmod2.
52413 ($(objpfx)tst-quad1): New dependency.
52414 ($(objpfx)tst-quad2): Likewise.
52415 ($(objpfx)tst-quad1pie): Likewise.
52416 ($(objpfx)tst-quad2pie): Likewise.
52417 * sysdeps/x86_64/tst-quad1.c: New file.
52418 * sysdeps/x86_64/tst-quad1pie.c: New file.
52419 * sysdeps/x86_64/tst-quad2.c: Likewise.
52420 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52421 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52422 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52423 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52424 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52425
52426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52427
52428 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52429 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52430 * streams/stropts.h (t_scalar_t): Define type.
52431
52432 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52433 (_PATH_PRESERVE): Set to "/var/lib".
52434 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52435
52436 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52437 instead of int.
52438
52439 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52440 if __dir_mkfile succeeded.
52441
52442 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52443 checking for _hurd_dtablesize. Unlock it right after having
52444 finished _hurd_dtable allocation.
52445
52446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52447
52448 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52449 * sysdeps/mach/hurd/configure: Regenerated.
52450 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52451 special-casing to...
52452 * sysdeps/gnu/configure.in: ... this new file.
52453 * sysdeps/unix/sysv/linux/configure: Regenerated.
52454 * sysdeps/gnu/configure: New generated file.
52455
52456 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52457 for Linux: use nsec instead of usec, as well as:
52458 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52459 members of type struct timespec.
52460 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52461 New macros.
52462 (struct stat64): Likewise.
52463 (_STATBUF_ST_NSEC): New macro.
52464 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52465
52466 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52467 __strtoul_internal rather than strtoul.
52468
52469 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52470
52471 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52472 and reject them.
52473
52474 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52475
52476 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52477 which preserves existing values.
52478 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52479
52480 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52481
52482 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52483 TIMEOUT values. Return EINVAL for NFDS values either negative or
52484 greater than FD_SETSIZE.
52485
52486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52487
52488 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52489 allocated, call __vm_protect to finish enabling the existing space, and
52490 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52491 allocate the remainder.
52492
52493 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52494
52495 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52496 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52497
52498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52499
52500 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52501 sysdeps/mach/hurd/readlink.c.
52502
52503 * posix/tst-sysconf.c (posix_options): Only use
52504 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52505 _POSIX_SYNCHRONIZED_IO when they are defined
52506 * sysdeps/mach/hurd/bits/posix_opt.h:
52507 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52508 (_XOPEN_REALTIME): Undefine macro.
52509 (_XOPEN_REALTIME_THREADS): Undefine macro.
52510 (_XOPEN_SHM): Undefine macro.
52511 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52512 macro to -1.
52513 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52514 macro to -1.
52515 (_POSIX_ASYNC_IO): Undefine macro.
52516 (_POSIX_PRIORITIZED_IO): Undefine macro.
52517 (_POSIX_SPIN_LOCKS): Define macro to -1.
52518
52519 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52520 SA_NODEFER, SA_RESETHAND.
52521 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52522 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52523 F_DUPFD_CLOEXEC.
52524
52525 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52526
52527 * elf/Makefile (pldd-modules): Define unconditionally.
52528
52529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52530
52531 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52532
52533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52534
52535 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52536 Return ENOENT when name is empty.
52537 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52538
52539 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52540
52541 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52542
52543 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52544
52545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52546
52547 Fix mlock in all cases except non-readable pages.
52548 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52549 instead of VM_PROT_ALL as parameter to __vm_wire function.
52550
52551 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52552 (__mkdir): When path is `/', just fail with EEXIST.
52553 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52554
52555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52556
52557 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52558 <sys/uio.h> (for writev).
52559 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52560 and <sys/param.h> (for MIN).
52561
52562 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52563
52564 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52565 REQUESTED_TIME. Properly set the remaining time and return EINTR
52566 if interrupted.
52567
52568 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52569
52570 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52571 Depend on against $(link-rpcuserlibs).
52572
52573 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52574
52575 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52576 (__libc_stack_end): Do not use attribute_relro.
52577 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52578 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52579 to libthread-provided value.
52580 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52581 attribute_relro.
52582
52583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52584
52585 [BZ #3748]
52586 * bits/libc-lock.h (__libc_once_get): New macro.
52587 * sysdeps/mach/bits/libc-lock.h: Likewise.
52588 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52589 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52590 instead of using implementation details.
52591
52592 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52593 * libio/freopen.c: Likewise.
52594 * libio/freopen64.c: Likewise.
52595 * misc/syslog.c: Likewise.
52596 * nscd/connections.c: Likewise.
52597 * nscd/netgroupcache.c: Likewise.
52598 * sysdeps/posix/getcwd.c: Likewise.
52599
52600 2012-05-10 Roland McGrath <roland@hack.frob.com>
52601
52602 * math/w_ilogbf.c: Add #include <limits.h>.
52603
52604 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52605
52606 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52607 path instead of returning without unlocking.
52608
52609 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52610 immediate-write ioctls.
52611 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52612
52613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52614
52615 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52616 __builtin_frame_address instead of making assumptions about the
52617 location of the return address relative to DATA. Force early load of
52618 the return address.
52619 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52620 __builtin_frame_address.
52621
52622 dup3 for GNU Hurd.
52623 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52624 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52625 implement dup3 and do some further code clean-ups.
52626 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52627 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52628
52629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52630
52631 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52632
52633 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52634 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52635 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52636 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52637 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52638 d->port.lock.
52639
52640 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52641 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52642 when handler == SIG_ERR, not when handler != SIG_ERR.
52643
52644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52645
52646 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52647 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52648 definitions.
52649
52650 accept4 for GNU Hurd.
52651 * include/sys/socket.h (__libc_accept4): New prototype.
52652 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52653 to implement __libc_accept4.
52654 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52655 __libc_accept4.
52656 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52657
52658 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52659 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52660 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52661 signal-defines.sym.
52662
52663 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52664
52665 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52666
52667 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52668
52669 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52670 assertion on O_CLOEXEC flag.
52671 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52672 * hurd/intern-fd.c: Likewise.
52673 * hurd/port2fd.c: Likewise.
52674
52675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52676
52677 [BZ #3906]
52678 * bits/in.h (IPV6_PKTINFO): Define new macro.
52679 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52680
52681 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52682
52683 [BZ #13954]
52684 [BZ #13955]
52685 [BZ #13956]
52686 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52687 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52688 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52689 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52691 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52692 * math/libm-test.inc (logb_test) : Additional logb tests.
52693
52694 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52695 Andreas Jaeger <aj@suse.de>
52696
52697 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52698 * configure: Regenerated.
52699 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52700 * config.make.in (link-obsolete-rpc): New substituted variable.
52701 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52702 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52703 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52704 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52705 so that libc.a contains the symbols.
52706 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52707 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52708 * sunrpc/auth_none.c: Likewise.
52709 * sunrpc/auth_unix.c: Likewise.
52710 * sunrpc/authdes_prot.c: Likewise.
52711 * sunrpc/authuxprot.c: Likewise.
52712 * sunrpc/clnt_gen.c: Likewise.
52713 * sunrpc/clnt_perr.c: Likewise.
52714 * sunrpc/clnt_raw.c: Likewise.
52715 * sunrpc/clnt_simp.c: Likewise.
52716 * sunrpc/clnt_tcp.c: Likewise.
52717 * sunrpc/clnt_udp.c: Likewise.
52718 * sunrpc/clnt_unix.c: Likewise.
52719 * sunrpc/des_crypt.c: Likewise.
52720 * sunrpc/des_soft.c: Likewise.
52721 * sunrpc/get_myaddr.c: Likewise.
52722 * sunrpc/key_call.c: Likewise.
52723 * sunrpc/key_prot.c: Likewise.
52724 * sunrpc/netname.c: Likewise.
52725 * sunrpc/pm_getmaps.c: Likewise.
52726 * sunrpc/pm_getport.c: Likewise.
52727 * sunrpc/pmap_clnt.c: Likewise.
52728 * sunrpc/pmap_prot.c: Likewise.
52729 * sunrpc/pmap_prot2.c: Likewise.
52730 * sunrpc/pmap_rmt.c: Likewise.
52731 * sunrpc/publickey.c: Likewise.
52732 * sunrpc/rpc_cmsg.c: Likewise.
52733 * sunrpc/rpc_common.c: Likewise.
52734 * sunrpc/rpc_dtable.c: Likewise.
52735 * sunrpc/rpc_prot.c: Likewise.
52736 * sunrpc/rpc_thread.c: Likewise.
52737 * sunrpc/rtime.c: Likewise.
52738 * sunrpc/svc.c: Likewise.
52739 * sunrpc/svc_auth.c: Likewise.
52740 * sunrpc/svc_raw.c: Likewise.
52741 * sunrpc/svc_run.c: Likewise.
52742 * sunrpc/svc_tcp.c: Likewise.
52743 * sunrpc/svc_udp.c: Likewise.
52744 * sunrpc/svc_unix.c: Likewise.
52745 * sunrpc/svcauth_des.c: Likewise.
52746 * sunrpc/xcrypt.c: Likewise.
52747 * sunrpc/xdr.c: Likewise.
52748 * sunrpc/xdr_array.c: Likewise.
52749 * sunrpc/xdr_float.c: Likewise.
52750 * sunrpc/xdr_intXX_t.c: Likewise.
52751 * sunrpc/xdr_mem.c: Likewise.
52752 * sunrpc/xdr_rec.c: Likewise.
52753 * sunrpc/xdr_ref.c: Likewise.
52754 * sunrpc/xdr_sizeof.c: Likewise.
52755 * sunrpc/xdr_stdio.c: Likewise.
52756
52757 2012-05-10 Roland McGrath <roland@hack.frob.com>
52758
52759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52760 change. Update copyright years.
52761
52762 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52763
52764 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52765
52766 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52767 Joseph Myers <joseph@codesourcery.com>
52768 Paul Pluzhnikov <ppluzhnikov@google.com>
52769
52770 [BZ #14012]
52771 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52772 requiring rpcgen.
52773 [cross-compiling] (extra-libs): Likewise.
52774 [cross-compiling] (extra-libs-others): Likewise.
52775 [cross-compiling] (librpcsvc-routines): Likewise.
52776 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52777 [cross-compiling] (omit-deps): Likewise.
52778 (sunrpc-CPPFLAGS): New variable.
52779 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52780 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52781 (cross-rpcgen-objs): New variable.
52782 (extra-objs): Append $(cross-rpcgen-objs).
52783 ($(cross-rpcgen-objs)): New rule.
52784 ($(objpfx)cross-rpcgen): Likewise.
52785 (rpcgen-cmd): Define to use $(built-program-file). Expand
52786 comment.
52787 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52788 ($(objpfx)x%.stmp): Likewise.
52789 * sunrpc/proto.h [IS_IN_build] (_): Define.
52790 [IS_IN_build] (_libc_intl_domainname): Likewise.
52791
52792 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52793
52794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52795 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52796 and R_X86_64_TPOFF64.
52797
52798 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52799
52800 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52801 sysdeps/unix/sysv/syscalls.list.
52802 (stime): Likewise.
52803 (utime): Likewise.
52804 * sysdeps/unix/sysv/syscalls.list: Remove file.
52805
52806 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52807
52808 [BZ #3440]
52809 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52810 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52811 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52812 (__LC_IDENTIFICATION): Make these macros useful in #if
52813 expressions, as required by C99.
52814
52815 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52816
52817 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52818 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52819 after this.
52820
52821 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52822
52823 * stdlib/longlong.h: Updated from GCC.
52824
52825 2012-05-09 Andreas Jaeger <aj@suse.de>
52826
52827 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52828 default is first entry.
52829 (run_mode): Set type.
52830 (main): Remove informal message about syslog.
52831 (options): Fix typo.
52832
52833 [BZ #14053]
52834 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52835 to asm.
52836 (lrint): Likewise.
52837 (llrintf): Likewise.
52838 (llrint): Likewise.
52839 (rint): Likewise.
52840 (rintf): Likewise.
52841 (nearbyint): Likewise.
52842 (nearbyintf): Likewise.
52843
52844 2012-05-09 Andreas Jaeger <aj@suse.de>
52845 Pedro Alves <palves@redhat.com>
52846
52847 * nscd/nscd.c (run_mode): Use enum.
52848 (main): Cleanup coding style issue.
52849
52850 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52851 Andreas Jaeger <aj@suse.de>
52852
52853 * nscd/nscd.c (go_background): Replaced with...
52854 (run_mode): ... this.
52855 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52856 (options): Add -F --foreground.
52857 (main): Implement it.
52858 (parse_opt): Parse it.
52859
52860 2012-05-09 Andreas Jaeger <aj@suse.de>
52861
52862 [BZ #14083]
52863 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52864 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52865 -Wconversion warning.
52866 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52867 Likewise.
52868
52869 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52870
52871 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52872 == 0.
52873 (LC_ALL): Use macro-int-constant.
52874 (LC_COLLATE): Likewise.
52875 (LC_CTYPE): Likewise.
52876 (LC_MESSAGES): Likewise.
52877 (LC_MONETARY): Likewise.
52878 (LC_NUMERIC): Likewise.
52879 (LC_TIME): Likewise.
52880 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52881 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52883 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52884 Specify type.
52885 [C99-based standards] (float_t): Expect type.
52886 [C99-based standards] (double_t): Expect type.
52887 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52888 type.
52889 [C99-based standards] (HUGE_VALL): Likewise.
52890 [C99-based standards] (INFINITY): Likewise.
52891 [C99-based standards] (NAN): Likewise.
52892 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52893 [C99-based standards] (FP_NAN): Likewise.
52894 [C99-based standards] (FP_NORMAL): Likewise.
52895 [C99-based standards] (FP_SUBNORMAL): Likewise.
52896 [C99-based standards] (FP_ZERO): Likewise.
52897 [C99-based standards] (FP_FAST_FMA): Use
52898 optional-macro-int-constant. Specify type. Require == 1.
52899 [C99-based standards] (FP_FAST_FMAF): Likewise.
52900 [C99-based standards] (FP_FAST_FMAL): Likewise.
52901 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52902 [C99-based standards] (FP_ILOGBNAN): Likewise.
52903 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52904 Specify type.
52905 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52906 [C99-based standards] (math_errhandling): Specify type.
52907 [ISO99 || ISO11] (signgam): Do not allow.
52908 [non-C99-based standards] (copysignf): Do not allow.
52909 [non-C99-based standards] (exp2f): Likewise.
52910 [non-C99-based standards] (log2f): Likewise.
52911 [non-C99-based standards] (modff): Allow.
52912 [non-C99-based standards] (erff): Do not allow.
52913 [non-C99-based standards] (erfcf): Likewise.
52914 [non-C99-based standards] (gammaf): Likewise.
52915 [non-C99-based standards] (hypotf): Likewise.
52916 [non-C99-based standards] (j0f): Likewise.
52917 [non-C99-based standards] (j1f): Likewise.
52918 [non-C99-based standards] (jnf): Likewise.
52919 [non-C99-based standards] (lgammaf): Likewise.
52920 [non-C99-based standards] (tgammaf): Likewise.
52921 [non-C99-based standards] (y0f): Likewise.
52922 [non-C99-based standards] (y1f): Likewise.
52923 [non-C99-based standards] (ynf): Likewise.
52924 [non-C99-based standards] (isnanf): Likewise.
52925 [non-C99-based standards] (acoshf): Likewise.
52926 [non-C99-based standards] (asinhf): Likewise.
52927 [non-C99-based standards] (atanhf): Likewise.
52928 [non-C99-based standards] (cbrtf): Likewise.
52929 [non-C99-based standards] (expm1f): Likewise.
52930 [non-C99-based standards] (ilogbf): Likewise.
52931 [non-C99-based standards] (log1pf): Likewise.
52932 [non-C99-based standards] (logbf): Likewise.
52933 [non-C99-based standards] (nextafterf): Likewise.
52934 [non-C99-based standards] (remainderf): Likewise.
52935 [non-C99-based standards] (rintf): Likewise.
52936 [non-C99-based standards] (scalbf): Likewise.
52937 [non-C99-based standards] (copysignl): Likewise.
52938 [non-C99-based standards] (exp2l): Likewise.
52939 [non-C99-based standards] (log2l): Likewise.
52940 [non-C99-based standards] (modfl): Allow.
52941 [non-C99-based standards] (erfl): Do not allow.
52942 [non-C99-based standards] (erfcl): Likewise.
52943 [non-C99-based standards] (gammal): Likewise.
52944 [non-C99-based standards] (hypotl): Likewise.
52945 [non-C99-based standards] (j0l): Likewise.
52946 [non-C99-based standards] (j1l): Likewise.
52947 [non-C99-based standards] (jnl): Likewise.
52948 [non-C99-based standards] (lgammal): Likewise.
52949 [non-C99-based standards] (tgammal): Likewise.
52950 [non-C99-based standards] (y0l): Likewise.
52951 [non-C99-based standards] (y1l): Likewise.
52952 [non-C99-based standards] (ynl): Likewise.
52953 [non-C99-based standards] (isnanl): Likewise.
52954 [non-C99-based standards] (acoshl): Likewise.
52955 [non-C99-based standards] (asinhl): Likewise.
52956 [non-C99-based standards] (atanhl): Likewise.
52957 [non-C99-based standards] (cbrtl): Likewise.
52958 [non-C99-based standards] (expm1l): Likewise.
52959 [non-C99-based standards] (ilogbl): Likewise.
52960 [non-C99-based standards] (log1pl): Likewise.
52961 [non-C99-based standards] (logbl): Likewise.
52962 [non-C99-based standards] (nextafterl): Likewise.
52963 [non-C99-based standards] (remainderl): Likewise.
52964 [non-C99-based standards] (rintl): Likewise.
52965 [non-C99-based standards] (scalbl): Likewise.
52966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52967 [non-C99-based standards] (FP_*): Do not allow.
52968 [C99-based standards] (FP_*): Change to
52969 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52970 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52971 allow.
52972 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52973 (SIG_ERR): Likewise.
52974 [X/Open-based standards] (SIG_HOLD): Likewise.
52975 (SIG_IGN): Likewise.
52976 (SIGABRT): Use macro-int-constant. Specify type. Require
52977 positive value.
52978 (SIGFPE): Likewise.
52979 (SIGILL): Likewise.
52980 (SIGINT): Likewise.
52981 (SIGSEGV): Likewise.
52982 (SIGTER): Likewise.
52983 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52984 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52985 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52986 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52987 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52988 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52989 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52990 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52991 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52992 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52993 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52994 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52995 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52996 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52997 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52998 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52999 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53000 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53001 [X/Open-based standards] (SIGTRAP): Likewise.
53002 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53003 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53004 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53005 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53006 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53007 allow.
53008
53009 2012-05-08 Ian Wienand <ianw@vmware.com>
53010
53011 [BZ #14080]
53012 * time/tzset.c (__tzset_parse_tz): Update default rules for
53013 daylight time changes in the Energy Policy Act of 2005.
53014
53015 2012-05-09 Andreas Jaeger <aj@suse.de>
53016
53017 [BZ #13983]
53018 * elf/ldconfig.c (parse_conf): Change string to make clear that
53019 ldconfig only issued a warning if ld.so.conf does not exist.
53020
53021 2012-05-08 David S. Miller <davem@davemloft.net>
53022
53023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53024 movxtod instead of popping the value on the stack.
53025
53026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53027
53028 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
53029
53030 * config.h.in: Add HAVE_ARM_PCS_VFP.
53031
53032 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
53033
53034 [BZ #13979]
53035 * include/features.h: Warn if user requests __FORTIFY_SOURCE
53036 checking but the checks are disabled for any reason.
53037
53038 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
53039
53040 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53041 and ELF64_R_TYPE with ELFW(R_TYPE).
53042
53043 2012-05-08 Joseph Myers <joseph@codesourcery.com>
53044
53045 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53046 (ulimit): Likewise.
53047
53048 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53049 (settimeofday): Likewise.
53050
53051 2012-05-08 Mike Frysinger <vapier@gentoo.org>
53052
53053 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
53054 a struct th_u2 inside the union, and move tu_block/tu_code into
53055 a new th_u3 union of tu_block/tu_code inside of that. Move
53056 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
53057 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
53058 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53059 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53060 (th_stuff): Change to th_u1.tu_stuff.
53061 (th_data): Define.
53062 (th_msg): Change to th_u1.th_u2.tu_data.
53063
53064 2012-05-07 David S. Miller <davem@davemloft.net>
53065
53066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53067
53068 [BZ #14074]
53069 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53070 (SETUP_PIC_REG): Use it.
53071 (SETUP_PIC_REG_LEAF): Use it.
53072
53073 2012-05-07 Joseph Myers <joseph@codesourcery.com>
53074
53075 [BZ #13885]
53076 [BZ #13923]
53077 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53078 USE_AS_EXPM1L.
53079 (EXPL_FINITE): Likewise.
53080 (FLDLOG): Likewise.
53081 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53082 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53083 e_expl.S.
53084 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53085 USE_AS_EXPM1L.
53086 (EXPL_FINITE): Likewise.
53087 (FLDLOG): Likewise.
53088 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53089 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53090 e_expl.S.
53091 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
53092 test of -max_value argument for long double.
53093 * sysdeps/i386/fpu/libm-test-ulps: Update.
53094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53095
53096 2012-05-06 David S. Miller <davem@davemloft.net>
53097
53098 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53099 quad soft-float symbols whose references which are compiler
53100 generated.
53101 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53102
53103 2012-05-06 Joseph Myers <joseph@codesourcery.com>
53104
53105 [BZ #13884]
53106 [BZ #13914]
53107 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53108 USE_AS_EXP10L.
53109 (EXPL_FINITE): Likewise.
53110 (FLDLOG): Likewise.
53111 (c0): Likewise.
53112 (c1): Likewise.
53113 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53114 Adjust comments for base varying.
53115 (__expl_finite): Change alias to EXPL_FINITE.
53116 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53117 e_expl.S.
53118 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53119 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53120 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53121 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53123 USE_AS_EXP10L.
53124 (EXPL_FINITE): Likewise.
53125 (FLDLOG): Likewise.
53126 (c0): Likewise.
53127 (c1): Likewise.
53128 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53129 Adjust comments for base varying.
53130 (__expl_finite): Change alias to EXPL_FINITE.
53131 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
53132 tests for bugs.
53133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53134
53135 [BZ #14064]
53136 * math/libm-test.inc (check_float_internal): Correct ulp
53137 calculation for subnormal expected results.
53138
53139 2012-05-06 Andreas Jaeger <aj@suse.de>
53140
53141 * Makeconfig (+math-flags): New, set to -frounding-math.
53142 (+cflags): Add +math-flags so that all of glibc gets compiled with
53143 it.
53144
53145 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53146
53147 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53148
53149 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53150 Disable one test.
53151
53152 [BZ #13787]
53153 [BZ #13922]
53154 [BZ #14036]
53155 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53156 (__ieee754_expl): Allow for and saturate large arguments.
53157 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53158 (u_threshold): Likewise.
53159 (__exp): Call __ieee754_exp before checking for overflow and
53160 underflow.
53161 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53162 (u_threshold): Likewise.
53163 (__expf): Call __ieee754_expf before checking for overflow and
53164 underflow.
53165 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53166 (u_threshold): Likewise.
53167 (__expl): Call __ieee754_expl before checking for overflow and
53168 underflow.
53169 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53170 (__ieee754_expl): Allow for and saturate large arguments.
53171 * math/libm-test.inc (exp_test): Add another test. Do not allow
53172 missing overflow exception on overflow.
53173 (expm1_test): Do not allow missing overflow exception on overflow.
53174
53175 * sysdeps/i386/fpu/e_expl.c: Move to ...
53176 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53177 rather than using inline asm.
53178 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53179 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53180 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53181
53182 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53183 (nice): Likewise.
53184 (poll): Likewise.
53185 (signal): Likewise.
53186 (time): Likewise.
53187 (times): Likewise.
53188
53189 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53190
53191 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53192 sysdeps/unix/common/syscalls.list.
53193 (fchmod): Likewise.
53194 (fchown): Likewise.
53195 (ftruncate): Likewise.
53196 (getrusage): Likewise.
53197 (gettimeofday): Likewise.
53198 (setpgid): Likewise.
53199 (setregid): Likewise.
53200 (setreuid): Likewise.
53201 (sigaction): Likewise.
53202 (truncate): Likewise.
53203 (vhangup): Likewise.
53204 * sysdeps/unix/common/syscalls.list: Remove file.
53205 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53206 * sysdeps/unix/sysv/linux/Implies: Likewise.
53207
53208 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53209
53210 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53212 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53213 Moved to ...
53214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53215 Here.
53216 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53217 to ...
53218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53219 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53220 to ...
53221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53222 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53223 to ...
53224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53225 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53226 to ...
53227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53228 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53229 to ...
53230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53231 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53232 to ...
53233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53234 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53235 to ...
53236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53237 Here.
53238 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53239 to ...
53240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53241 Here.
53242 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53243 to ...
53244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53245 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53246 Moved to ...
53247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53248 Here.
53249 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53250 to ...
53251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53252
53253 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53254
53255 * sysdeps/unix/common/bits/dirent.h: Remove file.
53256 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53257
53258 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53259 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53260 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53261 * sysdeps/unix/bsd/isatty.c: Likewise.
53262 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53263 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53264 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53265
53266 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53267
53268 [BZ #13563]
53269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53270 long double comparison inaccuracies.
53271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53273
53274 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53275
53276 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53278
53279 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53280
53281 [BZ #14049]
53282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53283 nonzero digits before rounding a hex value.
53284 * stdlib/tst-strtod.c (tests): Add another test.
53285
53286 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53287
53288 * sysdeps/s390/fpu/libm-test-ulps: Update.
53289
53290 2012-05-03 Andreas Jaeger <aj@suse.de>
53291
53292 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53293 does not get optimized out.
53294 (malloc_opt_barrier): New.
53295
53296 2012-05-03 Andreas Jaeger <aj@suse.de>
53297 Roland McGrath <roland@hack.frob.com>
53298
53299 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53300 intermediate file deletion.
53301 (generated): Add .symlist files.
53302
53303 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53304
53305 [BZ #13775]
53306 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53307 Redirect under this condition.
53308 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53309 [__USE_GNU] (__dprintf_chk): Not under this condition.
53310 [__USE_GNU] (__vdprintf_chk): Likewise.
53311 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53312 under this condition.
53313 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53314 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53315 [__USE_XOPEN2K8] (vdprintf): Likewise.
53316 [__USE_GNU] (__dprintf_chk): Not under this condition.
53317 [__USE_GNU] (__vdprintf_chk): Likewise.
53318 [__USE_GNU] (dprintf): Likewise.
53319 [__USE_GNU] (vdprintf): Likewise.
53320
53321 2012-05-03 Roland McGrath <roland@hack.frob.com>
53322
53323 * elf/Makefile (common-generated): Set this instead of generated for
53324 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53325 $(all-built-dso)-derived lists.
53326
53327 2012-05-03 Andreas Jaeger <aj@suse.de>
53328
53329 * sysdeps/i386/fpu/libm-test-ulps: Update.
53330
53331 * FAQ: Removed.
53332 * FAQ.in: Likewise.
53333 * scripts/gen-FAQ.pl: Likewise.
53334 * manual/install.texi (Installation): Point to online location of
53335 FAQ.
53336 * Makefile (files-for-dist): Remove FAQ.
53337 (FAQ): Remove.
53338
53339 2012-05-02 Allan McRae <allan@archlinux.org>
53340
53341 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53342 (LDFLAGS-reldepmod5.so): Likewise.
53343 (LDFLAGS-reldep6mod1.so): Likewise.
53344 (LDFLAGS-reldep6mod4.so): Likewise.
53345 (LDFLAGS-reldep8mod3.so): Likewise.
53346 (LDFLAGS-unload4mod1.so): Likewise.
53347 (LDFLAGS-unload4mod2.so): Likewise.
53348 (LDFLAGS-tst-initorder): Likewise.
53349 (LDFLAGS-tst-initordera2.so): Likewise.
53350 (LDFLAGS-tst-initordera3.so): Likewise.
53351 (LDFLAGS-tst-initordera4.so): Likewise.
53352 (LDFLAGS-tst-initorderb2.so): Likewise.
53353 (LDFLAGS-noload): Likewise.
53354 (LDFLAGS-next): Likewise.
53355 (LDFLAGS-order2mod1.so): Likewise.
53356 (LDFLAGS-order2mod2.so): Likewise.
53357 (LDFLAGS-tst-initorder2): Likewise.
53358 (LDFLAGS-tst-initorder2a.so): Likewise.
53359 (LDFLAGS-tst-initorder2b.so): Likewise.
53360 (LDFLAGS-tst-initorder2c.so): Likewise.
53361 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53362
53363 2012-05-02 David S. Miller <davem@davemloft.net>
53364
53365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53366
53367 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53368
53369 [BZ #14055]
53370 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53371
53372 2012-05-02 Andreas Jaeger <aj@suse.de>
53373
53374 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53375 since we manipulate rounding mode.
53376 (CPPFLAGS-test-idouble.c): Likewise.
53377 (CPPFLAGS-test-ifloat.c): Likewise.
53378 (CFLAGS-test-ldouble.c): Likewise.
53379 (CFLAGS-test-double.c): Likewise.
53380 (CFLAGS-test-float.c): Likewise.
53381 (CFLAGS-test-misc.c): Likewise.
53382 (CFLAGS-test-test-fenv.c): Likewise.
53383
53384 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53385
53386 [BZ #2550]
53387 [BZ #2570]
53388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53389 comparisons to determine direction to adjust input.
53390
53391 2012-05-01 Roland McGrath <roland@hack.frob.com>
53392
53393 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53394 output to the target.
53395
53396 * scripts/localplt.awk: New file.
53397 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53398 (check-localplt-CFLAGS): Variable removed.
53399 ($(all-built-dso:=.jmprel)): New static pattern rule.
53400 (generated): Add those targets.
53401 (localplt-built-dso): New variable.
53402 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53403
53404 * elf/check-localplt.c: File removed.
53405
53406 * scripts/check-execstack.awk: New file.
53407 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53408 (check-execstack-CFLAGS): Variable removed.
53409 ($(objpfx)check-execstack.h): Target removed.
53410 ($(objpfx)execstack-default): New target.
53411 (generated): Add that instead of check-execstack.h.
53412 ($(all-built-dso:=.phdr)): New static pattern rule.
53413 (generated): Add those targets.
53414 * elf/check-execstack.c: File removed.
53415
53416 * scripts/check-textrel.awk: New file.
53417 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53418 (check-textrel-CFLAGS): Variable removed.
53419 (all-built-dso): Use := to define.o
53420 ($(all-built-dso:=.dyn)): New static pattern rule.
53421 (generated): Add those targets.
53422 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53423 * config.make.in (READELF): New substituted variable.
53424 * elf/check-textrel.c: File removed.
53425
53426 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53427
53428 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53429 allow.
53430 * conform/data/ctype.h-data [C99-based standards] (isblank):
53431 Expect function.
53432 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53433 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53435 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53436 Specify type. Require positive value.
53437 (EILSEQ): Likewise.
53438 (ERANGE): Likewise.
53439 [ISO || POSIX] (EILSEQ): Do not expect.
53440 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53441 Specify type. Require positive value.
53442 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53443 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53444 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53445 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53446 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53447 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53448 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53449 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53450 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53451 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53452 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53453 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53454 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53455 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53456 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53457 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53458 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53459 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53460 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53461 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53462 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53463 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53464 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53465 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53466 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53467 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53468 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53469 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53470 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53471 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53472 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53473 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53474 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53475 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53476 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53477 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53478 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53479 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53480 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53481 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53482 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53483 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53484 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53485 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53486 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53487 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53488 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53489 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53490 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53491 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53492 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53493 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53494 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53495 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53496 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53497 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53498 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53499 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53500 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53501 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53502 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53503 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53504 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53505 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53506 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53507 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53508 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53509 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53510 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53511 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53512 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53513 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53514 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53515 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53516 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53517 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53518 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53519 Require >= 2.
53520 (FLT_ROUNDS): Expect as macro, not constant.
53521 (FLT_MANT_DIG): Use macro-int-constant.
53522 (DBL_MANT_DIG): Likewise.
53523 (LDBL_MANT_DIG): Likewise.
53524 (FLT_DIG): Likewise.
53525 (DBL_DIG): Likewise.
53526 (LDBL_DIG): Likewise.
53527 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53528 (DBL_MIN_EXP): Likewise.
53529 (LDBL_MIN_EXP): Likewise.
53530 (FLT_MAX_EXP): Use macro-int-constant.
53531 (DBL_MAX_EXP): Likewise.
53532 (LDBL_MAX_EXP): Likewise.
53533 (FLT_MAX_10_EXP): Likewise.
53534 (DBL_MAX_10_EXP): Likewise.
53535 (LDBL_MAX_10_EXP): Likewise.
53536 (FLT_MAX): Use macro-constant.
53537 (DBL_MAX): Likewise.
53538 (LDBL_MAX): Likewise.
53539 (FLT_EPSILON): Use macro-constant. Give upper bound.
53540 (DBL_EPSILON): Likewise.
53541 (LDBL_EPSILON): Likewise.
53542 (FLT_MIN): Likewise.
53543 (DBL_MIN): Likewise.
53544 (LDBL_MIN): Likewise.
53545 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53546 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53547 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53548 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53549 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53550 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53551 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53552 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53553 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53554 [ISO11] (FLT_TRUE_MIN): Likewise.
53555 [ISO11] (LDBL_TRUE_MIN): Likewise.
53556 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53557 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53558 (SCHAR_MIN): Use macro-int-constant. Specify type.
53559 (SCHAR_MAX): Likewise.
53560 (UCHAR_MAX): Likewise.
53561 (CHAR_MIN): Likewise.
53562 (CHAR_MAX): Likewise.
53563 (MB_LEN_MAX): Use macro-int-constant.
53564 (SHRT_MIN): Use macro-int-constant. Specify type.
53565 (SHRT_MAX): Likewise.
53566 (USHRT_MAX): Likewise.
53567 (INT_MAX): Likewise.
53568 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53569 bound negative.
53570 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53571 bound with "U".
53572 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53573 bound with "L".
53574 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53575 bound negative. Suffix upper bound with "L".
53576 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53577 bound with "UL".
53578 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53579 Specify type.
53580 [C99-based standards] (LLONG_MAX): Likewise.
53581 [C99-based standards] (ULLONG_MAX): Likewise.
53582 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53583 == 0.
53584 [ISO11] (max_align_t): Require type.
53585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53586
53587 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53588 from $CFLAGS, without defining away __attribute__ calls.
53589 (checknamespace): Use $CFLAGS_namespace.
53590
53591 * conform/conformtest.pl (@keywords): Only include C99 keywords
53592 for standards based on C99 or C11.
53593
53594 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53595 Disable tests.
53596 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53597 UNIX98]: Likewise.
53598
53599 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53600 usability of symbols in #if.
53601
53602 * conform/conformtest.pl: If macro or constant types start
53603 "promoted:", expect the symbol to be of the following type
53604 promoted by the integer promotions.
53605
53606 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53607 in one place. Also handle "macro-constant".
53608
53609 * conform/conformtest.pl: Only accept expected macro values with
53610 "==". Parse all "macro" lines in one place.
53611 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53612
53613 * conform/conformtest.pl: Handle braced types on "constant" lines
53614 instead of handling "typed-constant".
53615 * conform/data/signal.h-data: Use "constant" instead of
53616 "typed-constant".
53617
53618 * conform/conformtest.pl: Handle "optional-" at start of lines in
53619 one place rather than duplicating several cases. Handle each
53620 format of "macro" line with initial "optional-".
53621
53622 * conform/conformtest.pl: Only accept expected constant or
53623 optional-constant values with "==". Parse all "constant" lines in
53624 one place. Parse all "optional-constant" lines in one place.
53625 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53626 * conform/data/fmtmsg.h-data: Likewise.
53627 * conform/data/netinet/in.h-data: Likewise.
53628 * conform/data/tar.h-data: Likewise.
53629 * conform/data/limits.h-data: Use "==" form on "constant" and
53630 "optional-constant" lines.
53631
53632 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53633 Use -std=c99 for XOPEN2K.
53634 (@knownproblems): Remove.
53635 (newtoken): Don't check %isknown.
53636
53637 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53638 Do not expect macro.
53639 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53640 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53641 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53642 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53643 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53644 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53645 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53646 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53647 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53648 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53649 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53650 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53651 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53652 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53653 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53654 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53655 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53656 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53657 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53658 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53659 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53660 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53661 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53662 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53663 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53664 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53665 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53666 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53667 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53668 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53669 [XPG3] (acosh): Likewise.
53670 [XPG3] (asinh): Likewise.
53671 [XPG3] (atanh): Likewise.
53672 [XPG3] (cbrt): Likewise.
53673 [XPG3] (expm1): Likewise.
53674 [XPG3] (ilogb): Likewise.
53675 [XPG3] (log1p): Likewise.
53676 [XPG3] (logb): Likewise.
53677 [XPG3] (nextafter): Likewise.
53678 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53679 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53680 [XPG3] (remainder): Likewise.
53681 [XPG3] (rint): Likewise.
53682 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53683 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53684 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53685 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53686 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53687 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53688 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53689 [UNIX98 || XOPEN2K] (scalb): Expect.
53690 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53691 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53692 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53693 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53694 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53695 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53696 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53697 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53698 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53699 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53700 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53701 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53702 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53703 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53704 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53705 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53706 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53707 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53708 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53709 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53710 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53711 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53712 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53713 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53714 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53715 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53716 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53717 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53718 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53719 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53720 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53721 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53722 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53723 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53724 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53725 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53726 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53727 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53728 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53729 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53730 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53731 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53732 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53733 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53734 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53735 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53736 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53737 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53738 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53739 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53740 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53741 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53742 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53743 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53744 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53745 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53746 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53747 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53748 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53749 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53750 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53751 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53752 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53753 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53754 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53755 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53756 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53757 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53758 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53759 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53760 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53761 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53762 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53763 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53764 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53765 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53766 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53767 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53768 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53769 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53770 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53771 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53772 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53773 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53774 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53775 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53776 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53777 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53778 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53779 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53780 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53781 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53782 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53783 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53784 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53785 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53786 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53787 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53788 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53789 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53790 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53791 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53792 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53793 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53794 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53795 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53796 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53797 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53798 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53799 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53800 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53801 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53802 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53803 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53804 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53805 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53806 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53807 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53808 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53809 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53810 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53811 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53812 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53813 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53814 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53815 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53816 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53817 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53818 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53819 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53820 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53821 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53822 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53823 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53824 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53825 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53826 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53827
53828 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53829 _XOPEN_SOURCE_EXTENDED for XPG4.
53830
53831 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53832
53833 * Makeconfig (localtime): Remove variable.
53834 (inst_localtime-file): Likewise.
53835
53836 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53837
53838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53839 Update.
53840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53841 Update.
53842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53843 Update.
53844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53845 Update.
53846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53847 Update.
53848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53849 Update.
53850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53851 Update.
53852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53853 Update.
53854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53855 Update.
53856
53857 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53858
53859 [BZ #2550]
53860 [BZ #2570]
53861 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53862 comparisons to determine direction to adjust input.
53863 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53864 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53865 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53866 Likewise.
53867 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53868 Likewise.
53869 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53870 Likewise.
53871 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53872 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53873 Likewise.
53874 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53875 Likewise.
53876 * math/libm-test.inc (nexttoward_test): Add more tests.
53877
53878 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53879
53880 [BZ #14040]
53881 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53882 in version GLIBC_2.1, not GLIBC_2.0.
53883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53884 Likewise.
53885
53886 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53887
53888 [BZ #13942]
53889 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53890 (1 - x) * (1 + x).
53891 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53892 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53893 * math/libm-test.inc (acos_test): Add more tests.
53894 (asin_test): Likewise.
53895 * sysdeps/i386/fpu/libm-test-ulps: Update.
53896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53897
53898 [BZ #14034]
53899 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53900 of square root.
53901 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53902 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53903 * math/libm-test.inc (acos_test_tonearest): New function.
53904 (acos_test_towardzero): Likewise.
53905 (acos_test_downward): Likewise.
53906 (acos_test_upward): Likewise.
53907 (asin_test_tonearest): Likewise.
53908 (asin_test_towardzero): Likewise.
53909 (asin_test_downward): Likewise.
53910 (asin_test_upward): Likewise.
53911 (main): Call the new functions.
53912 * sysdeps/i386/fpu/libm-test-ulps: Update.
53913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53914
53915 [BZ #13884]
53916 [BZ #13924]
53917 * math/e_exp10.c: Include <float.h>.
53918 (__ieee754_exp10): Handle underflow here rather than multiplying
53919 large negative argument by M_LN10.
53920 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53921 of __ieee754_expf.
53922 * math/e_exp10l.c: Include <float.h>.
53923 (__ieee754_exp10l): Handle underflow here rather than multiplying
53924 large negative argument by M_LN10l.
53925 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53926 spurious overflow exception on underflow.
53927
53928 2012-04-29 Marek Polacek <polacek@redhat.com>
53929
53930 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53931 (__fortify_function): New macro.
53932 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53933 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53934 __extern_always_inline.
53935 * libio/bits/stdio2.h: Likewise.
53936 * libio/bits/stdio.h: Likewise.
53937 * string/string.h: Likewise.
53938 * string/bits/string3.h: Likewise.
53939 * include/stdio.h: Likewise.
53940 * stdlib/bits/stdlib.h: Likewise.
53941 * stdlib/stdlib.h: Likewise.
53942 * rt/bits/mqueue2.h: Likewise.
53943 * rt/mqueue.h: Likewise.
53944 * posix/bits/unistd.h: Likewise.
53945 * posix/unistd.h: Likewise.
53946 * io/bits/poll2.h: Likewise.
53947 * io/bits/fcntl2.h: Likewise.
53948 * io/fcntl.h: Likewise.
53949 * io/sys/poll.h: Likewise.
53950 * misc/bits/syslog.h: Likewise.
53951 * misc/bits/syslog-ldbl.h: Likewise.
53952 * misc/sys/syslog.h: Likewise.
53953 * socket/bits/socket2.h: Likewise.
53954 * socket/sys/socket.h: Likewise.
53955 * debug/tst-chk1.c: Likewise.
53956 * wcsmbs/bits/wchar2.h: Likewise.
53957 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53958 * wcsmbs/wchar.h: Likewise.
53959
53960 2012-04-29 Andreas Jaeger <aj@suse.de>
53961
53962 * Makerules (tests): Remove enable-check-abi protection.
53963 (check-abi-warn): Remove.
53964 (check-abi-%): Remove check-abi-warn usage.
53965
53966 * configure.in: Remove check-abi configure option.
53967 * configure: Regenerated.
53968 * config.make.in (enable-check-abi): Remove.
53969
53970 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53971
53972 [BZ #14033]
53973 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53974 double functions to double *_finite functions.
53975
53976 [BZ #13941]
53977 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53978 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53979 LDBL_MIN_EXP.
53980 * stdio-common/Makefile (tests): Add tst-sprintf3.
53981 * stdio-common/tst-sprintf3.c: New file.
53982
53983 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53984 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53985
53986 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53987
53988 * conform/conformtest.pl: Remove duplicate typed-constant
53989 handling.
53990
53991 2012-04-28 David S. Miller <davem@davemloft.net>
53992
53993 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53994 (check-abi-%): Remove AWK script prerequisite and explicit
53995 abilist directory.
53996 (check-abi): Rewrite to just diff the symlist with the abilist.
53997 (config-tls, config-abi-config): Delete, no longer used.
53998 (update-abi-%): Remove AWK script and explicit abilist directory.
53999 (update-abi): Rewrite to simply compare and conditionally copy the
54000 symlist and the sysdep abilist file. Remove update-abi-config
54001 checks.
54002 * abilist/ld.abilist: Remove.
54003 * abilist/libBrokenLocale.abilist: Remove.
54004 * abilist/libanl.abilist: Remove.
54005 * abilist/libcrypt.abilist: Remove.
54006 * abilist/libdl.abilist: Remove.
54007 * abilist/librt.abilist: Remove.
54008 * abilist/libthread_db.abilist: Remove.
54009 * abilist/libutil.abilist: Remove.
54010 * scripts/extract-abilist.awk: Remove.
54011 * scripts/merge-abilist.awk: Remove.
54012 * sysdeps/generic/libcidn.abilist: New file.
54013 * sysdeps/generic/libnss_compat.abilist: New file.
54014 * sysdeps/generic/libnss_db.abilist: New file.
54015 * sysdeps/generic/libnss_dns.abilist: New file.
54016 * sysdeps/generic/libnss_files.abilist: New file.
54017 * sysdeps/generic/libnss_hesiod.abilist: New file.
54018 * sysdeps/generic/libnss_nis.abilist: New file.
54019 * sysdeps/generic/libnss_nisplus.abilist: New file.
54020 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54021 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54022 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54023 file.
54024 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54025 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54026 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54027 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54028 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54029 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54030 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54031 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54032 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54033 file.
54034 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54035 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54036 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54037 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54038 file.
54039 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54040 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54041 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54042 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54043 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54044 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54045 file.
54046 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54047 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54048 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54049 file.
54050 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54052 New file.
54053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54054 New file.
54055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54056 New file.
54057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54058 New file.
54059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54060 New file.
54061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54062 New file.
54063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54064 New file.
54065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54066 New file.
54067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54068 New file.
54069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54070 New file.
54071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54072 New file.
54073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54074 New file.
54075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54076 New file.
54077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54078 file.
54079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54080 New file.
54081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54082 New file.
54083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54084 file.
54085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54086 New file.
54087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54088 New file.
54089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54090 file.
54091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54092 New file.
54093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54094 New file.
54095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54096 New file.
54097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54098 New file.
54099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54100 New file.
54101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54102 New file.
54103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54105 file.
54106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54107 New file.
54108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54109 file.
54110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54111 file.
54112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54113 file.
54114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54115 file.
54116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54117 file.
54118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54119 New file.
54120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54121 file.
54122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54123 file.
54124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54125 New file.
54126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54127 file.
54128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54130 file.
54131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54132 New file.
54133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54134 file.
54135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54136 file.
54137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54138 file.
54139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54140 file.
54141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54142 file.
54143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54144 New file.
54145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54146 file.
54147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54148 file.
54149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54150 New file.
54151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54152 file.
54153 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54154 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54155 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54156 file.
54157 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54158 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54159 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54160 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54161 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54162 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54163 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54164 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54165 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54166 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54169 file.
54170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54171 New file.
54172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54173 file.
54174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54175 file.
54176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54177 file.
54178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54179 file.
54180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54181 file.
54182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54183 New file.
54184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54185 New file.
54186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54187 file.
54188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54189 New file.
54190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54191 file.
54192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54194 file.
54195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54196 New file.
54197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54198 file.
54199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54200 file.
54201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54202 file.
54203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54204 file.
54205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54206 file.
54207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54208 New file.
54209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54210 New file.
54211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54212 file.
54213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54214 New file.
54215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54216 file.
54217
54218 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54219
54220 * conform/conformtest.pl: Fix typo in handling typed-constant from
54221 allow-header.
54222
54223 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54224
54225 * README: Cut down references to pre-2.6 Linux kernels and
54226 Linuxthreads. Update lists of configurations in libc and ports
54227 and sort alphabetically. Say "or newer" with Linux kernel version
54228 requirements.
54229
54230 * config.h.in [IS_IN_build]: Allow compiling without optimization.
54231
54232 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54233
54234 [BZ #887]
54235 * math/libm-test.inc (logb_test_downward): New test to expose
54236 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54237 rounding mode.
54238
54239 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54240
54241 [BZ #14027]
54242 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54243 to be done.
54244 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54245 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54246
54247 2012-04-26 Joseph Myers <joseph@codesourcery.com>
54248
54249 * sysdeps/unix/i386/brk.S: Remove file.
54250 * sysdeps/unix/i386/dl-brk.S: Likewise.
54251 * sysdeps/unix/i386/pipe.S: Likewise.
54252 * sysdeps/unix/i386/sigreturn.S: Likewise.
54253 * sysdeps/unix/i386/syscall.S: Likewise.
54254 * sysdeps/unix/i386/vfork.S: Likewise.
54255 * sysdeps/unix/i386/wait.S: Likewise.
54256
54257 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54258 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54259
54260 * configure.in (arm*-none*): Do not allow without
54261 --enable-hacker-mode.
54262 (netbsd*): Remove case setting base_os.
54263 (386bsd*): Likewise.
54264 (freebsd*): Likewise.
54265 (bsdi*): Likewise.
54266 (osf*): Likewise.
54267 (sunos*): Likewise.
54268 (ultrix*): Likewise.
54269 (newsos*): Likewise.
54270 (dynix*): Likewise.
54271 (*bsd*): Likewise.
54272 (sysv*): Likewise.
54273 (isc*): Likewise.
54274 (esix*): Likewise.
54275 (sco*): Likewise.
54276 (minix*): Likewise.
54277 (irix4*): Likewise.
54278 (irix6*): Likewise.
54279 (solaris[2-9]*): Likewise.
54280 (none): Likewise.
54281 * configure: Regenerated.
54282
54283 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54284
54285 [BZ #11521]
54286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54287 overflow or cancellation in calculating denominator.
54288 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54289 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54290 down expression to avoid unexpected rounding in newer GCCs.
54291 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54292
54293 2012-04-26 David S. Miller <davem@davemloft.net>
54294
54295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54296 long-double compat symbols.
54297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54310
54311 2012-04-25 David S. Miller <davem@davemloft.net>
54312
54313 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54314 HWCAP_* values only after the memory barriers have been defined.
54315 (atomic_full_barrier): Define.
54316 (atomic_read_barrier): Define.
54317 (atomic_write_barrier): Define.
54318
54319 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54320
54321 * shlib-versions: Add libgcc_s version information.
54322 * sysdeps/generic/libgcc_s.h: Remove.
54323 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54324 libgcc_s.h.
54325 * sysdeps/gnu/unwind-resume.c: Likewise.
54326 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54327
54328 2012-04-25 David S. Miller <davem@davemloft.net>
54329
54330 * sysdeps/unix/sparc/brk.S: Delete.
54331 * sysdeps/unix/sparc/dl-brk.S: Delete.
54332 * sysdeps/unix/sparc/pipe.S: Delete.
54333 * sysdeps/unix/sparc/sysdep.S: Delete.
54334 * sysdeps/unix/sparc/sysdep.h: Delete.
54335 * sysdeps/unix/sparc/vfork.S: Delete.
54336 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54337 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54338 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54339 (ret_ERRVAL, r0, r1, MOVE): Define.
54340 (JUMPTARGET): Remove.
54341 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54342 sysdeps/unix/sparc/sysdep.h
54343 (ENTRY, END): Remove.
54344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54345
54346 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54347
54348 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54349 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54350 -DIS_IN_build.
54351
54352 * timezone/README: Update upstream location and email address for
54353 tzcode and tzdata.
54354 * timezone/zdump.c: Update from tzcode 2012b.
54355 * timezone/zic.c: Likewise.
54356
54357 * configure.in (libc_cv_as_needed): Remove test.
54358 * configure: Regenerated.
54359 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54360 conditional definition.
54361 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54362 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54363 * config.make.in (have-as-needed): Remove variable.
54364
54365 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54366 Paul Pluzhnikov <ppluzhnikov@google.com>
54367
54368 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54369 strings correctly.
54370
54371 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54372
54373 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54374 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54375 * sysdeps/sh/strlen.S: Likewise.
54376
54377 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54378
54379 * sysdeps/unix/fork.S: Remove file.
54380 * sysdeps/unix/i386/fork.S: Likewise.
54381 * sysdeps/unix/sparc/fork.S: Likewise.
54382
54383 * sysdeps/unix/system.c: Remove file.
54384 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54385
54386 * sysdeps/unix/getegid.S: Remove file.
54387 * sysdeps/unix/geteuid.S: Likewise.
54388
54389 2012-04-24 Roland McGrath <roland@hack.frob.com>
54390
54391 * scripts/check-localplt.awk: New file.
54392 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54393 of diff.
54394 * scripts/data/localplt-generic.data: Add a comment.
54395
54396 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54397 NODE when __dir_mkfile failed.
54398 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54399 Reported by Ludovic Courtès <ludo@gnu.org>.
54400
54401 2012-04-24 Andreas Jaeger <aj@suse.de>
54402
54403 * Makerules (common-clean): Also remove gen-as-const-headers
54404 files.
54405
54406 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54407
54408 * Makerules (native-compile): Do not change working directory for
54409 build. Use $(OUTPUT_OPTION) in command.
54410 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54411
54412 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54413
54414 [BZ #13886]
54415 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54416 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54417 * math/libm-test.inc (floor_test): Add more tests.
54418 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54419
54420 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54421
54422 * sysdeps/unix/getdents.c: Remove file.
54423 * sysdeps/unix/sysv/getdents.c: Likewise.
54424 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54425
54426 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54427 sysdeps/unix/mman/syscalls.list.
54428 (mmap): Likewise.
54429 (mprotect): Likewise.
54430 (msync): Likewise.
54431 (munmap): Likewise.
54432 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54433 * sysdeps/unix/mman/syscalls.list: Remove.
54434 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54435
54436 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54437 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54438 * configure: Regenerated.
54439 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54440 $(libgcc_s_suffix).
54441 * config.make.in (libgcc_s_suffix): Remove variable.
54442
54443 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54444
54445 * sysdeps/unix/sysv/gethostname.c: Move to ...
54446 * sysdeps/posix/gethostname.c: ... here.
54447
54448 * sysdeps/unix/execve.S: Remove file.
54449
54450 * sysdeps/unix/_exit.S: Remove file.
54451
54452 2012-04-23 Andreas Jaeger <aj@suse.de>
54453
54454 [BZ #13739]
54455 * manual/Makefile: Remove make dist support, there's no
54456 need for a stand-alone documentation tar ball.
54457 (TEXI2DVI): Define always, it's not in Makeconfig.
54458 (dist): Removed.
54459 (tar-it): Removed.
54460 (edition): Removed.
54461 (glibc-doc-$(edition).tar): Removed
54462 (%.Z): Removed.
54463 (%.gz): Removed.
54464 (%.uu): Removed.
54465 (ETAGS): Remove, it's in Makeconfig.
54466 (move-if-change): Remove, it's in Makeconfig.
54467
54468 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54469
54470 [BZ #13970]
54471 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54472 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54473 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54474 (strtod_l, strtof_l, strtold_l): Remove __wur.
54475 It is not necessarily an error to ignore strtol's return value.
54476 One can reliably look at the stored endptr to decide whether
54477 the number had valid syntax.
54478
54479 2012-04-21 Andreas Jaeger <aj@suse.de>
54480
54481 [BZ #13739]
54482 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54483
54484 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54485
54486 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54487 * sysdeps/unix/sysv/Versions: Remove file.
54488
54489 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54490
54491 [BZ #13927]
54492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54493
54494 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54495
54496 [BZ #7064]
54497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54498 version from __vm86.
54499
54500 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54501
54502 * sysdeps/unix/common/lxstat.c: Remove file.
54503 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54504
54505 * sysdeps/unix/sysv/Makefile: Remove file.
54506
54507 * sysdeps/unix/sysv/direct.h: Remove file.
54508
54509 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54510 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54511 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54512 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54513 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54514 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54515 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54516
54517 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54518
54519 * sysdeps/unix/xmknod.c: Remove file.
54520 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54521
54522 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54523
54524 * sysdeps/unix/sysv/i386/time.S: Remove file.
54525
54526 * sysdeps/unix/fxstat.c: Remove file.
54527 * sysdeps/unix/xstat.c: Likewise.
54528 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54529
54530 * sysdeps/unix/sysv/sigaction.c: Remove file.
54531
54532 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54533 (sysdep_headers): Remove variable.
54534 [termio.h not in sysdep_headers] (generated): Likewise.
54535 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54536 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54537 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54538 * sysdeps/unix/sysv/tcflow.c: Likewise.
54539 * sysdeps/unix/sysv/tcflush.c: Likewise.
54540 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54541 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54542 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54543 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54544 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54545
54546 * sysdeps/unix/siglist.c: Remove file.
54547
54548 * sysdeps/unix/getppid.S: Remove file.
54549
54550 * sysdeps/unix/mkdir.c: Remove file.
54551 * sysdeps/unix/rmdir.c: Likewise.
54552
54553 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54554
54555 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54556 ERR_MAX value.
54557 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54558 errlist-compat value.
54559
54560 2012-04-18 David S. Miller <davem@davemloft.net>
54561
54562 * sysdeps/generic/memcopy.h (reg_char): Delete.
54563 * debug/strcat_chk.c: Use char, not reg_char.
54564 * debug/strcpy_chk.c: Likewise.
54565 * debug/strncat_chk.c: Likewise.
54566 * debug/strncpy_chk.c: Likewise.
54567 * string/memchr.c: Likewise.
54568 * string/memrchr.c: Likewise.
54569 * string/rawmemchr.c: Likewise.
54570 * string/strcat.c: Likewise.
54571 * string/strchr.c: Likewise.
54572 * string/strchrnul.c: Likewise.
54573 * string/strcmp.c: Likewise.
54574 * string/strcpy.c: Likewise.
54575 * string/strncat.c: Likewise.
54576 * string/strncmp.c: Likewise.
54577 * string/strncpy.c: Likewise.
54578
54579 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54580
54581 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54582 __builtin_memcopy is called when src and dest ranges are known to not
54583 overlap.
54584
54585 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54586
54587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54588 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54589 fwd_align_merge macro call.
54590 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54591 bwd_align_merge macro call.
54592 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54593
54594 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54595
54596 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54597 bwd_align_merge macros.
54598 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54599 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54600 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54601
54602 2012-04-18 David S. Miller <davem@davemloft.net>
54603
54604 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54605
54606 2012-04-18 Andreas Jaeger <aj@suse.de>
54607
54608 [BZ# 6794]
54609 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54610 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54611 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54612
54613 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54614 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54615 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54616
54617 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54618 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54619 Adjust for changed ldbl-128 files.
54620
54621 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54622 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54623 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54624
54625 2012-04-17 David S. Miller <davem@davemloft.net>
54626
54627 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54628
54629 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54630
54631 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54632 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54633 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54634 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54635 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54636 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54637
54638 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54639
54640 [BZ #6794]
54641 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54642 * math/libm-test.inc: Add ilogb errno and exception tests.
54643 * math/w_ilogb.c: New file: ilogb wrapper.
54644 * math/w_ilogbf.c: New file: ilogbf wrapper.
54645 * math/w_ilogbl.c: New file: ilogbl wrapper.
54646 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54647 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54648 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54649 exception being thrown with 0.0 as argument.
54650 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54651 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54652 exception being thrown with 0.0 as argument.
54653 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54654 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54655 exception being thrown with 0.0 as argument.
54656 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54657 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54658 exception being thrown with 0.0 as argument.
54659 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54660 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54661 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54662 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54663 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54664 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54665 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54666 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54667 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54668
54669 2012-04-17 Petr Baudis <pasky@ucw.cz>
54670
54671 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54672 with altivec.
54673
54674 2012-04-16 Marek Polacek <polacek@redhat.com>
54675
54676 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54677
54678 2012-04-16 Marek Polacek <polacek@redhat.com>
54679
54680 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54681 operands of fdivp instruction.
54682
54683 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54684
54685 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54686 * elf/tst-auditmod3b.c: Likewise.
54687 * elf/tst-auditmod4b.c: Likewise.
54688 * elf/tst-auditmod5b.c: Likewise.
54689 * elf/tst-auditmod6b.c: Likewise.
54690 * elf/tst-auditmod6c.c: Likewise.
54691 * elf/tst-auditmod7b.c: Likewise.
54692 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54693 * sysdeps/x86_64/preconfigure.in: Likewise.
54694 * sysdeps/x86_64/preconfigure: Regenerated.
54695
54696 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54697
54698 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54699 __ILP32__.
54700
54701 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54702
54703 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54704 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54705
54706 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54707
54708 [BZ #13973]
54709 * locale/iso-639.def: Fix gl language name. Spotted by
54710 Yaron Shahrabani.
54711
54712 2012-04-12 Roland McGrath <roland@hack.frob.com>
54713
54714 [BZ #2074]
54715 * libio/libio.h (__io_write_fn): Update comment.
54716
54717 2012-04-12 Petr Baudis <pasky@ucw.cz>
54718
54719 [BZ #2074]
54720 * stdio.texi (Hook Functions): The user provided writer function
54721 is not allowed to return -1.
54722
54723 2012-04-11 David S. Miller <davem@davemloft.net>
54724
54725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54726
54727 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54728
54729 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54730 Add a leading slash to rtkaio.
54731
54732 2012-04-11 Jim Meyering <meyering@redhat.com>
54733
54734 [BZ #11959]
54735 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54736 It is not necessarily an error to ignore fwrite's return
54737 value. One can reliably use ferror to test for errors after
54738 the fact.
54739
54740 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54741
54742 * bits/types.h (__snseconds_t): New type.
54743 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54744
54745 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54747 (__SNSECONDS_T_TYPE): Likewise.
54748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54749 (__SNSECONDS_T_TYPE): Likewise.
54750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54751 (__SNSECONDS_T_TYPE): Likewise.
54752
54753 2012-04-10 Andreas Jaeger <aj@suse.de>
54754
54755 [BZ #2636]
54756 * manual/time.texi (Processor Time): Return type of times is
54757 elapsed real time since an arbitrary point in the past.
54758 (CPU Time): Move CLK_TCK from here...
54759 (Processor Time): ...to here. Correct description.
54760 * manual/conf.texi (Constants for Sysconf): Correct description of
54761 _SC_CLK_TCK.
54762
54763 2012-04-10 David S. Miller <davem@davemloft.net>
54764
54765 [BZ #13967]
54766 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54767 where the is a gap between DT_REL(A) and DT_JMPREL.
54768
54769 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54770
54771 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54772 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54773 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54774
54775 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54776
54777 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54778 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54779 (dl_main): Handle --inhibit-cache.
54780 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54781 _dl_inhibit_cache.
54782 * elf/dl-load.c (_dl_map_object): Use it.
54783 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54784
54785 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54786
54787 [BZ #13872]
54788 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54789 (__ieee754_powl): Saturate large exponents rather than testing for
54790 overflow of y*log2(x).
54791 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54792 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54793 exceptions.
54794
54795 [BZ #11521]
54796 * math/s_ctan.c: Include <float.h>.
54797 (__ctan): Avoid internal overflow or cancellation in calculating
54798 denominator.
54799 * math/s_ctanf.c: Likewise.
54800 * math/s_ctanl.c: Likewise.
54801 * math/s_ctanh.c: Likewise.
54802 * math/s_ctanhf.c: Likewise.
54803 * math/s_ctanhl.c: Likewise.
54804 * math/libm-test.inc (ctan_test): Add more tests.
54805 (ctanh_test): Likewise.
54806 * sysdeps/i386/fpu/libm-test-ulps: Update.
54807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54808
54809 2012-04-09 Andreas Jaeger <aj@suse.de>
54810
54811 [BZ #6894]
54812 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54813 is an optional BSD extension.
54814
54815 [BZ #10254]
54816 * manual/stdio.texi (Opening Streams): Document additional fopen
54817 parameters.
54818
54819 2012-04-09 Roland McGrath <roland@hack.frob.com>
54820
54821 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54822 %eax without telling the compiler.
54823
54824 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54825
54826 [BZ # 13963]
54827 * manual/install.texi: Use sourceware.org.
54828
54829 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54830
54831 [BZ #13873]
54832 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54833 (__ieee754_pow): Generate overflow and underflow using huge*huge
54834 and tiny*tiny rather than just returning constant infinity or zero
54835 for large exponents.
54836 * math/libm-test.inc (pow_test): Require overflow exceptions for
54837 applicable cases of large exponents.
54838
54839 [BZ #706]
54840 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54841 (__ieee754_pow): Use iterative multiplication algorithm only for
54842 integer exponents with absolute value below 1024. Check for odd
54843 integer exponents when using algorithm for real exponents.
54844 * math/libm-test.inc (pow_test): Add more tests.
54845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54846
54847 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54848
54849 [BZ #13705]
54850 * math/libm-test.inc (exp_test): Do not allow overflow exception
54851 on underflow test.
54852
54853 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54854
54855 [BZ #13705]
54856 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54857 instead of __kernel_standard_f.
54858
54859 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54860
54861 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54862 * sysdeps/x86_64/memset_chk.S: Likewise.
54863
54864 2012-04-08 Andreas Jaeger <aj@suse.de>
54865
54866 [BZ #10153]
54867 * manual/startup.texi (Environment Access): Describe return value
54868 for putenv and setenv.
54869
54870 [BZ #6895]
54871 * manual/filesys.texi (Directory Entries): Add description for
54872 DT_LNK.
54873
54874 [BZ #6890]
54875 * manual/filesys.texi (Directory Entries): Clarify that it's file
54876 system not operating system in the description of DT_UNKNOWN.
54877
54878 [BZ #6578]
54879 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54880
54881 2012-04-08 Stephen Compall <s11@member.fsf.org>
54882
54883 [BZ #6649]
54884 * manual/llio.texi (Opening and Closing Files): Add cross
54885 reference to explain mode argument.
54886
54887 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54888
54889 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54890 * sysdeps/x86_64/memset_chk.S: Likewise.
54891
54892 2012-04-07 David S. Miller <davem@davemloft.net>
54893
54894 * elf/elf.h (R_SPARC_WDISP10): Define.
54895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54896 R_SPARC_SIZE32.
54897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54898 R_SPARC_SIZE64 and R_SPARC_H34.
54899
54900 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54901
54902 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54903 conditions and remove no longer applicable assertion.
54904
54905 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54906
54907 * bits/byteswap.h: Include <features.h>.
54908 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54909 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54910
54911 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54912
54913 * bits/byteswap.h (__bswap_16): Removed.
54914 Include <bits/byteswap-16.h> to get __bswap_16.
54915 * sysdeps/i386/bits/byteswap.h: Likewise.
54916 * sysdeps/s390/bits/byteswap.h: Likewise.
54917 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54918 * bits/byteswap-16.h: New file.
54919 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54920 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54921 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54922 * string/Makefile (headers): Add bits/byteswap-16.h.
54923
54924 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54925
54926 [BZ #13895]
54927 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54928 extra indirection.
54929 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54930 * nss/tst-nss-static.c: New.
54931
54932 2012-04-06 Robert Millan <rmh@gnu.org>
54933
54934 [BZ #6486]
54935 * manual/llio.texi (File Position Primitive): lseek
54936 refers to WHENCE when it really means OFFSET.
54937
54938 2012-04-06 Andreas Jaeger <aj@suse.de>
54939
54940 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54941 strncmp declarations.
54942
54943 * abilist/libc.abilist: Add __poll and __ppoll.
54944
54945 2012-04-05 David S. Miller <davem@davemloft.net>
54946
54947 * scripts/check-local-headers.sh: Accept a host triplet in the
54948 path matched by the exclude regexp.
54949
54950 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54951 definition.
54952 * sysdeps/powerpc/powerpc32/dl-machine.h
54953 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54954 * sysdeps/s390/s390-32/dl-machine.h
54955 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54956 * sysdeps/sparc/sparc32/dl-machine.h
54957 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54958 * sysdeps/sparc/sparc64/dl-machine.h
54959 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54960
54961 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54962 lazy binding.
54963 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54964 undefined symbol errors.
54965
54966 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54967 DT_NEEDED entries.
54968
54969 2012-04-05 Michael Matz <matz@suse.de>
54970
54971 [BZ #13592]
54972 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54973
54974 2012-04-05 Andreas Jaeger <aj@suse.de>
54975
54976 [BZ #13908]
54977 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54978 comment.
54979
54980 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54981
54982 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54983 which ROUND is no valid rounding mode.
54984
54985 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54986
54987 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54988 read again.
54989 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54990
54991 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54992
54993 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54994 an exception using FPU order intentionally.
54995
54996 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54997
54998 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54999 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55000 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55001 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55002
55003 2012-04-05 Simon Josefsson <simon@josefsson.org>
55004
55005 [BZ #12340]
55006 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55007 EINVAL when BUFLEN is too smal.
55008
55009 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
55010
55011 [BZ #13553]
55012 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55013 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55014
55015 2012-04-03 Andreas Jaeger <aj@suse.de>
55016
55017 [BZ #13938]
55018 * manual/setjmp.texi (System V contexts): Fix sentence.
55019
55020 [BZ #13926]
55021 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55022 New macro for this case.
55023 [!__GNUC__] (__bswap_64): New inline function for this case.
55024 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55025 * bits/byteswap.h: Likewise.
55026 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55027 ull, guard with __GLIBC_HAVE_LONG_LONG.
55028
55029 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55030 __GLIBC_HAVE_LONG_LONG.
55031
55032 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55033 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55034
55035 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55036
55037 [BZ #13691]
55038 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55039 inptr and inend, rather than using last_ch.
55040
55041 2012-04-02 David S. Miller <davem@davemloft.net>
55042
55043 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55044 * stdio-common/printf-parse.h (read_int): Change return type to
55045 'int', return -1 on INT_MAX overflow.
55046 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55047 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
55048 overflows INT_MAX. Check for overflow of in-format-string precision
55049 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
55050 SIZE_MAX not INT_MAX for integer overflow test.
55051 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55052 skip the construct in the format string but do not record anything.
55053 * stdio-common/bug22.c: Adjust to test both width/prevision
55054 INT_MAX overflow as well as total length INT_MAX overflow. Check
55055 explicitly for proper errno values.
55056
55057 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
55058
55059 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55060 CHAR_MAX.
55061 * string/test-strcmp.c [! WIDE]: Likewise.
55062 * time/tst-mktime2.c: Likewise for INT_MAX.
55063 * string/test-string.h: #include <sys/param.h> for MIN.
55064
55065 * csu/init-first.c (__libc_init_first): Call __ctype_init.
55066 * sysdeps/i386/init-first.c (init): Likewise.
55067 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55068 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55069 * sysdeps/sh/init-first.c (init): Likewise.
55070
55071 2012-04-01 Ulrich Drepper <drepper@gmail.com>
55072
55073 * po/ru.po: Update from translation team.
55074 * po/vi.po: Likewise.
55075
55076 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55077
55078 * resolv/nss_dns/dns-host.c: Merge copyright years.
55079
55080 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55081
55082 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55083 Optimize memcpy with prefetch if
55084 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
55085 src, dst pointers have unequal 16 byte alignments.
55086
55087 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55088
55089 [BZ #13928]
55090 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55091 from a CNAME entry and return the minimum ttl for the query.
55092 (gaih_getanswer_slice): Likewise.
55093
55094 2012-03-30 Jeff Law <law@redhat.com>
55095
55096 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55097 due to long keys.
55098 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55099 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55100
55101 * resolv/nss_dns/dns-host.c: Update copyright year.
55102
55103 2012-03-30 Ulrich Drepper <drepper@gmail.com>
55104
55105 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55106 requests to save a system call. Fix check that all bytes are sent.
55107
55108 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55109 comments for sendmmsg.
55110
55111 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55112
55113 [BZ #13691]
55114 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55115 with only 1 character between 0x0041 and 0x01b0.
55116 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55117 * wcsmbs/tst-mbsnrtowcs.c: New file.
55118
55119 2012-03-29 David S. Miller <davem@davemloft.net>
55120
55121 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55122 small copies by hand.
55123
55124 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55125
55126 [BZ #13761]
55127 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55128 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55129 group memberships.
55130
55131 2012-03-28 David S. Miller <davem@davemloft.net>
55132
55133 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55134 that branches into memcpy.
55135 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55136 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55138 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55140 bits.
55141 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55142 implementation too.
55143 * sysdeps/sparc/mempcpy.S: New file.
55144
55145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55146 the IFUNC routine in the libc case.
55147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55148
55149 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55150 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55151 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55152 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55153 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55154 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55155 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55156 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55157
55158 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55159 loop to 256 bytes instead of 64 bytes and fix test signedness.
55160
55161 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55162 * sysdeps/sparc/sparc32/Makefile: rather than here...
55163 * sysdeps/sparc/sparc64/Makefile: and here.
55164
55165 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55166
55167 * malloc/mallocbug.c: Avoid warnings about unused variables.
55168
55169 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55170
55171 [BZ #13760]
55172 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55173 in the right place. Discard and retry query if response is
55174 larger than input buffer size.
55175
55176 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55177
55178 [BZ #369]
55179 [BZ #2678]
55180 [BZ #3866]
55181 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55182 x for large integer exponent.
55183 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55184 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55185 sign of result as needed afterwards.
55186 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55187 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55188 result for underflowing pow the same as for overflow.
55189 (__kernel_standard_l): Handle powl overflow and underflow here
55190 rather than calling __kernel_standard.
55191 * math/libm-test.inc (pow_test): Add more tests.
55192
55193 [BZ #3868]
55194 [BZ #13879]
55195 [BZ #13910]
55196 [BZ #13911]
55197 [BZ #13912]
55198 [BZ #13913]
55199 [BZ #13915]
55200 [BZ #13916]
55201 [BZ #13917]
55202 [BZ #13918]
55203 [BZ #13919]
55204 [BZ #13920]
55205 [BZ #13921]
55206 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55207 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55208 (__kernel_standard_l): New function.
55209 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55210 __kernel_standard.
55211 * math/w_acosl.c (__acosl): Likewise.
55212 * math/w_asinl.c (__asinl): Likewise.
55213 * math/w_atan2l.c (__atan2l): Likewise.
55214 * math/w_atanhl.c (__atanhl): Likewise.
55215 * math/w_coshl.c (__coshl): Likewise.
55216 * math/w_exp10l.c (__exp10l): Likewise.
55217 * math/w_exp2l.c (__exp2l): Likewise.
55218 * math/w_fmodl.c (__fmodl): Likewise.
55219 * math/w_hypotl.c (__hypotl): Likewise.
55220 * math/w_j0l.c (__j0l, __y0l): Likewise.
55221 * math/w_j1l.c (__j1l, __y1l): Likewise.
55222 * math/w_jnl.c (__jnl, __ynl): Likewise.
55223 * math/w_lgammal.c (__lgammal): Likewise.
55224 * math/w_log10l.c (__log10l): Likewise.
55225 * math/w_log2l.c (__log2l): Likewise.
55226 * math/w_logl.c (__logl): Likewise.
55227 * math/w_powl.c (__powl): Likewise.
55228 * math/w_remainderl.c (__remainderl): Likewise.
55229 * math/w_scalbl.c (sysv_scalbl): Likewise.
55230 * math/w_sinhl.c (__sinhl): Likewise.
55231 * math/w_sqrtl.c (__sqrtl): Likewise.
55232 * math/w_tgammal.c (__tgammal): Likewise.
55233 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55234 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55235 * math/libm-test.inc (acos_test): Add more tests.
55236 (acosh_test): Likewise.
55237 (asin_test): Likewise.
55238 (atanh_test): Likewise.
55239 (exp_test): Likewise.
55240 (exp10_test): Likewise.
55241 (exp2_test): Likewise.
55242 (expm1_test): Likewise.
55243 (lgamma_test): Likewise.
55244 (log_test): Likewise.
55245 (log10_test): Likewise.
55246 (log1p_test): Likewise.
55247 (log2_test): Likewise.
55248 (pow_test): Do not allow some spurious overflow exceptions.
55249 (sqrt_test): Add more tests.
55250 (tgamma_test): Likewise.
55251 (y0_test): Likewise.
55252 (y1_test): Likewise.
55253 (yn_test): Likewise.
55254
55255 2012-03-27 Anton Blanchard <anton@samba.org>
55256
55257 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55258 MAP_HUGETLB.
55259 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55260 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55261 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55262
55263 2012-03-27 David S. Miller <davem@davemloft.net>
55264
55265 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55266
55267 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55268 have-as-vis3 check.
55269
55270 2012-03-27 Andreas Jaeger <aj@suse.de>
55271
55272 * sysdeps/x86_64/elf/configure.in: Moved to ...
55273 * sysdeps/x86_64/configure.in: ... here.
55274 * sysdeps/x86_64/elf/start.S: Moved to ...
55275 * sysdeps/x86_64/start.S: ... here.
55276 * sysdeps/x86_64/elf/configure: Delete.
55277
55278 * sysdeps/x86_64/configure.in: Merge contents from
55279 sysdeps/i386/configure.in (without i686 check).
55280
55281 * sysdeps/i386/elf/Versions: Merge into ...
55282 * sysdeps/i386/Versions: ... this.
55283 * sysdeps/i386/elf/Versions: Delete file.
55284 * sysdeps/i386/elf/start.S: Moved to ...
55285 * sysdeps/i386/start.S: ...here.
55286 * sysdeps/i386/elf/configure.in: Merge into...
55287 * sysdeps/i386/configure.in: ...here.
55288 * sysdeps/i386/elf/configure.in: Delete file.
55289 * sysdeps/i386/elf/configure: Delete file.
55290
55291 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55292 * debug/backtracesyms.c: ... here.
55293 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55294 * debug/backtracesymsfd.c: ... here.
55295 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55296 * sysdeps/generic/ifunc-sel.h: ... here.
55297
55298 * sysdeps/unix/i386/start.c: Delete file.
55299 * sysdeps/unix/sparc/start.c: Delete file.
55300 * sysdeps/unix/start.c: Delete file.
55301
55302 * sysdeps/sh/elf/configure.in: Moved to ...
55303 * sysdeps/sh/configure.in: ... here.
55304 * sysdeps/sh/elf/start.S: Moved to ...
55305 * sysdeps/sh/start.S: ... here.
55306 * sysdeps/sh/elf/configure: Delete file.
55307
55308 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55309 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55310 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55311 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55312 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55313 * sysdeps/powerpc/powerpc64/start.S: here.
55314 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55315 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55316 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55317 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55318 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55319
55320 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55321 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55322 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55323 * sysdeps/powerpc/powerpc32/start.S: ... here.
55324 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55325 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55326 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55327
55328 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55329 * sysdeps/powerpc/ifunc-sel.h: ... here.
55330 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55331 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55332
55333 * sysdeps/sparc/elf/configure.in: Moved to ...
55334 * sysdeps/sparc/configure.in: ... here.
55335 * sysdeps/sparc/elf/configure: Delete file.
55336 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55337 * sysdeps/sparc/sparc32/start.S: ... here.
55338 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55339 * sysdeps/sparc/sparc64/start.S: ... here.
55340 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55341 * sysdeps/sparc/sparc32/Makefile: ... this.
55342 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55343 * sysdeps/sparc/sparc64/Makefile: ... this.
55344
55345 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55346 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55347 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55348 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55349 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55350 * sysdeps/s390/s390-32/setjmp.S: ... here.
55351 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55352 * sysdeps/s390/s390-32/configure.in: ... here.
55353 * sysdeps/s390/s390-32/elf/configure: Delete file.
55354 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55355 * sysdeps/s390/s390-32/start.S: ... here.
55356
55357 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55358 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55359 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55360 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55361 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55362 * sysdeps/s390/s390-64/setjmp.S: ... here.
55363 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55364 * sysdeps/s390/s390-64/configure.in: ... here
55365 * sysdeps/s390/s390-64/elf/configure: Delete file.
55366 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55367 * sysdeps/s390/s390-64/start.S: ... here.
55368 * sysdeps/s390/s390-64/elf/configure: Delete.
55369
55370 * configure.in: Remove support for elf directories in sysdeps.
55371
55372 * configure: Regenerated.
55373 * sysdeps/i386/configure: Regenerated.
55374 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55375 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55376 * sysdeps/s390/s390-32/configure: Regenerated.
55377 * sysdeps/s390/s390-64/configure: Regenerated.
55378 * sysdeps/sh/configure: Regenerated.
55379 * sysdeps/sparc/configure: Regenerated.
55380 * sysdeps/x86_64/configure: Regenerated.
55381
55382 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55383
55384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55385
55386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55387 denormal result into account.
55388
55389 2012-03-25 Roland McGrath <roland@hack.frob.com>
55390
55391 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55392 Reported by Allan McRae <allan@archlinux.org>.
55393
55394 2012-03-23 Jeff Law <law@redhat.com>
55395
55396 * nss/getnssent.c (__nss_getent): Fix typo.
55397
55398 2012-03-23 David S. Miller <davem@davemloft.net>
55399
55400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55401
55402 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55403
55404 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55405 to pad to uint64_t for each field.
55406 (dl_tls_index): Replace unsigned long with uint64_t.
55407
55408 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55409 Paul Pluzhnikov <ppluzhnikov@google.com>
55410
55411 [BZ #6528]
55412 * grp/Makefile (otherlibs): Don't set it.
55413 * inet/Makefile (otherlibs): Likewise.
55414 * login/Makefile (otherlibs): Likewise.
55415 * nscd/Makefile (otherlibs): Likewise.
55416 * posix/Makefile (otherlibs): Likewise.
55417 * pwd/Makefile (otherlibs): Likewise.
55418 * rt/Makefile (otherlibs): Likewise.
55419 * sunrpc/Makefile (otherlibs): Likewise.
55420 * nss/Makefile (otherlibs): Likewise.
55421 Add libnss_files to routines and static-only-routines.
55422 ($(objpfx)getent): Remove rule.
55423 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55424 static-only-routines.
55425
55426 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55427
55428 [BZ #13892]
55429 * math/s_cexp.c: Include <float.h>.
55430 (__cexp): Handle exp result overflowing not necessarily
55431 overflowing both real and imaginary parts of result.
55432 * math/s_cexpf.c: Likewise.
55433 * math/s_cexpl.c: Likewise.
55434 * math/libm-test.inc (cexp_test): Add more tests.
55435 * sysdeps/i386/fpu/libm-test-ulps: Update.
55436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55437
55438 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55439
55440 * include/link.h (ELFW): New macro.
55441 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55442 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55443
55444 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55445
55446 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55447 with uint64_t.
55448
55449 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55450
55451 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55452 declaration.
55453 (struct La_x32_retval): Likewise.
55454
55455 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55456
55457 * sysdeps/x86_64/preconfigure.in: New file.
55458 * sysdeps/x86_64/preconfigure: New generated file.
55459
55460 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55461
55462 [BZ #13824]
55463 * math/e_exp2l.c: Include <float.h>.
55464 (__ieee754_exp2l): Handle overflow and underflow cases
55465 separately. Only pass fractional part of argument to
55466 __ieee754_expl.
55467 * math/libm-test.inc (exp2_test): Add more tests.
55468
55469 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55470 negating x to take absolute value.
55471 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55472 Likewise.
55473 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55474 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55475 Likewise.
55476 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55477 computing low part if x was negated.
55478 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55479
55480 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55481
55482 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55483 la_x32_gnu_pltexit.
55484 (pltexit): Cast int_retval to ptrdiff_t.
55485 * elf/tst-auditmod3b.c: Likewise.
55486 * elf/tst-auditmod4b.c: Likewise.
55487 * elf/tst-auditmod5b.c: Likewise.
55488 * elf/tst-auditmod6b.c: Likewise.
55489 * elf/tst-auditmod6c.c: Likewise.
55490 * elf/tst-auditmod7b.c: Likewise.
55491
55492 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55493 and x32_gnu_pltexit.
55494
55495 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55496 __ELF_NATIVE_CLASS.
55497 (La_x32_regs): New macro.
55498 (La_x32_retval): Likewise.
55499 (la_x32_gnu_pltenter): New function prototype.
55500 (la_x32_gnu_pltexit): Likewise.
55501
55502 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55503
55504 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55505 exponent.
55506
55507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55508
55509 * configure.in (libc_cv_cc_nofma): Check for option to disable
55510 generation of FMA instructions.
55511 * configure: Regenerate.
55512 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55513 * sysdeps/ieee754/dbl-64/Makefile: New file.
55514 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55515 Remove brandred-fma4.
55516 (CFLAGS-brandred-fma4.c): Remove.
55517 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55519 define.
55520 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55521 define.
55522
55523 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55524
55525 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55526 LLONG_MAX != LONG_MAX.
55527 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55528 (_fitoa_word): Likewise.
55529 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55530 LLONG_MAX != LONG_MAX.
55531 * stdio-common/_itowa.h: Include <_itoa.h>.
55532 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55533 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55534 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55535 only if not defined.
55536 (_ITOA_WORD_TYPE): Likewise.
55537 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55538 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55539
55540 2012-03-21 David S. Miller <davem@davemloft.net>
55541
55542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55543
55544 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55545
55546 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55547 of x86_64 when setting libc_cv_slibdir, libdir and
55548 libc_cv_localedir.
55549 * sysdeps/unix/sysv/linux/configure: Regenerated.
55550
55551 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55552
55553 * manual/lang.texi (Old Varargs): Remove section.
55554 (How Variadic): Update menu.
55555 (va_start): Do not mention varargs.h.
55556
55557 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55558 Joseph Myers <joseph@codesourcery.com>
55559
55560 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55561 link test.
55562 * configure: Regenerated.
55563
55564 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55565
55566 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55567 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55568 conformtest.pl
55569
55570 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55571
55572 * NOTES: Remove.
55573 * Makefile (files-for-dist): Remove NOTES.
55574 (NOTES): Remove rule.
55575 * README: Don't refer to NOTES.
55576 * manual/creature.texi: Don't include macros.texi.
55577 * manual/intro.texi (creature.texi): Remove comment referring to
55578 NOTES.
55579
55580 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55581 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55582 * configure: Regenerated.
55583 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55584 LIBC_TRY_CC_OPTION.
55585 (libc_cv_as_i686): Likewise.
55586 (libc_cv_cc_avx): Likewise.
55587 (libc_cv_cc_sse2avx): Likewise.
55588 (libc_cv_cc_fma4): Likewise.
55589 (libc_cv_cc_novzeroupper): Likewise.
55590 * sysdeps/i386/configure: Regenerated.
55591
55592 [BZ #13883]
55593 * sysdeps/i386/fpu/s_cexp.S: Remove.
55594 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55595 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55596 * math/libm-test.inc (cexp_test): Add more tests.
55597 * sysdeps/i386/fpu/libm-test-ulps: Update.
55598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55599
55600 2012-03-21 Allan McRae <allan@archlinux.org>
55601
55602 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55603
55604 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55605
55606 [BZ #13871]
55607 * math/w_exp2.c: Do not include <float.h>.
55608 (o_threshold, u_threshold): Remove.
55609 (__exp2): Calculate result before checking finiteness and calling
55610 __kernel_standard.
55611 * math/w_exp2f.c: Likewise.
55612 * math/w_exp2l.c: Likewise.
55613 * math/libm-test.inc (exp2_test): Require overflow exception for
55614 1e6 input.
55615
55616 [BZ #3866]
55617 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55618 range of signed 64-bit integers before using fistpll. Remove
55619 checks for whether integers fit in mantissa bits.
55620 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55621 the range of signed 32-bit integers before using fistpl. Remove
55622 checks for whether integers fit in mantissa bits.
55623 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55624 (__ieee754_powl): Test for y outside the range of signed 64-bit
55625 integers before using fistpll. Reduce 64-bit values to 63-bit
55626 ones as needed.
55627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55628 divide-by-zero is raised for zero to large negative powers.
55629 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55630 (__ieee754_powl): Test for y outside the range of signed 64-bit
55631 integers before using fistpll. Reduce 64-bit values to 63-bit
55632 ones as needed.
55633 * math/libm-test.inc (pow_test): Add more tests.
55634
55635 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55636
55637 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55638 <stdio-common/_itoa.h>.
55639 * debug/segfault.c: Likewise.
55640 * elf/dl-cache.c: Likewise.
55641 * elf/dl-minimal.c: Likewise.
55642 * elf/dl-misc.c: Likewise.
55643 * elf/dl-sysdep.c: Likewise.
55644 * elf/dl-version.c: Likewise.
55645 * elf/rtld.c: Likewise.
55646 * hurd/hurdsock.c: Likewise.
55647 * hurd/lookup-retry.c: Likewise.
55648 * malloc/malloc.c: Likewise.
55649 * malloc/mtrace.c: Likewise.
55650 * nscd/nscd_getgr_r.c: Likewise.
55651 * nscd/nscd_getpw_r.c: Likewise.
55652 * nscd/nscd_getserv_r.c: Likewise.
55653 * posix/getopt_init.c: Likewise.
55654 * posix/wordexp.c: Likewise.
55655 * stdio-common/_itoa.c: Likewise.
55656 * stdio-common/printf_fphex.c: Likewise.
55657 * stdio-common/vfprintf.c: Likewise.
55658 * string/_strerror.c: Likewise.
55659 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55660 * sysdeps/i386/i686/hp-timing.h: Likewise.
55661 * sysdeps/mach/_strerror.c: Likewise.
55662 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55663 * sysdeps/mach/hurd/sethostid.c: Likewise.
55664 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55665 * sysdeps/mach/xpg-strerror.c: Likewise.
55666 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55668 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55669 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55670 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55671 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55672 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55673 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55674 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55675 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55676 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55677 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55678 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55679 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55680 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55681 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55682 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55683 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55684 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55685 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55686 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55687
55688 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55689
55690 * stdio-common/_itoa.h: Moved to ...
55691 * sysdeps/generic/_itoa.h: Here.
55692
55693 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55694
55695 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55696 instead of "_itoa.h" and "_itowa.h".
55697 * stdio-common/vfprintf.: Likewise.
55698
55699 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55700
55701 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55702 <bits/wordsize.h>.
55703 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55704 (__signbit): Likwise.
55705 (llrintf): Likwise.
55706 (llrint): Likwise.
55707
55708 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55709
55710 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55711 __WORDSIZE != 64.
55712
55713 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55714
55715 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55716 OVERFLOW_EXCEPTION_OK.
55717 * math/libm-test.inc ("Philosophy"): Update comment about
55718 exception testing.
55719 (OVERFLOW_EXCEPTION): Define.
55720 (OVERFLOW_EXCEPTION_OK): Likewise.
55721 (INVALID_EXCEPTION_OK): Renumber.
55722 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55723 (IGNORE_ZERO_INF_SIGN): Likewise.
55724 (test_exceptions): Handle FE_OVERFLOW.
55725 (exp10_test): Expect overflow exceptions.
55726 (exp2_test): Likewise.
55727 (expm1_test): Likewise.
55728 (nextafter_test): Likewise.
55729 (pow_test): Likewise.
55730 (scalbn_test): Likewise.
55731 (scalbln_test): Likewise.
55732
55733 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55734
55735 * sysdeps/x86_64/bits/atomic.h
55736 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55737 64bit integer.
55738 (atomic_exchange_acq): Likewise.
55739 (__arch_exchange_and_add_body): Likewise.
55740 (__arch_add_body): Likewise.
55741 (atomic_add_negative): Likewise.
55742 (atomic_add_zero): Likewise.
55743
55744 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55745
55746 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55747 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55748
55749 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55750
55751 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55752 Check __x86_64__ instead of __WORDSIZE.
55753
55754 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55755
55756 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55757
55758 2012-03-19 David S. Miller <davem@davemloft.net>
55759
55760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55761
55762 * sysdeps/sparc/fpu/fenv_private.h: New file.
55763 * sysdeps/sparc/fpu/math_private.h: Use it.
55764 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55765 Remove.
55766 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55767 (libc_feholdexcept_setroundl): Remove.
55768 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55769 Remove.
55770 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55771 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55772
55773 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55774
55775 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55776 int64_t instead of long int.
55777 (INSERT_WORDS64): Likwise.
55778
55779 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55780
55781 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55782 _Unwind_GetCFA return to _Unwind_Ptr first.
55783
55784 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55785
55786 [BZ #13629]
55787 * math/s_clog.c: Include <float.h>.
55788 (__clog): Scale large or subnormal inputs.
55789 * math/s_clogf.c: Likewise.
55790 * math/s_clogl.c: Likewise.
55791 * math/s_clog10.c: Include <float.h>.
55792 (M_LOG10_2): Define.
55793 (__clog10): Scale large or subnormal inputs.
55794 * math/s_clog10f.c: Likewise.
55795 * math/s_clog10l.c: Likewise.
55796 * math/libm-test.inc (clog_test): Add more tests.
55797 (clog10_test): Likewise.
55798 * sysdeps/i386/fpu/libm-test-ulps: Update.
55799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55800
55801 [BZ #11451]
55802 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55803 x and y.
55804 * math/libm-test.inc (atan2_test): Add another test.
55805
55806 * Makerules (common-objdir-compile): Remove.
55807 * sysdeps/unix/Makefile (config-generated): Do not add
55808 $(unix-generated) to variable.
55809 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55810 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55811 Remove rule.
55812 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55813 Likewise.
55814 [generic bits/local_lim.h] (before-compile): Do not append to
55815 variable.
55816 [generic bits/local_lim.h] (common-generated): Likewise.
55817 [generic sys/param.h] (before-compile): Do not append to variable.
55818 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55819 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55820 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55821 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55822 include.
55823 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55824 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55825 [generic sys/param.h] ($(addprefix
55826 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55827 [generic sys/param.h] (common-generated): Do not append to
55828 variable.
55829 [generic sys/param.h] (sysdep_headers): Likewise.
55830 [generic bits/errno.h] (before-compile): Do not append to
55831 variable.
55832 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55833 rule.
55834 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55835 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55836 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55837 [generic bits/errno.h] (common-generated): Do not append to
55838 variable.
55839 [generic bits/ioctls.h] (before-compile): Do not append to
55840 variable.
55841 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55842 rule.
55843 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55844 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55845 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55846 rule.
55847 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55848 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55849 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55850 [generic bits/ioctls.h] (common-generated): Do not append to
55851 variable.
55852 [generic sys/syscall.h] (syscall.h): Remove variable.
55853 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55854 rule.
55855 [generic sys/syscall.h] (before-compile): Do not append to
55856 variable.
55857 [generic sys/syscall.h] (common-generated): Likewise.
55858 * sysdeps/unix/errnos-tmpl.c: Remove file.
55859 * sysdeps/unix/errnos.awk: Likewise.
55860 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55861 * sysdeps/unix/ioctls.awk: Likewise.
55862 * sysdeps/unix/mk-local_lim.c: Likewise.
55863 * sysdeps/unix/snarf-ioctls: Likewise.
55864
55865 2012-03-19 Richard Henderson <rth@twiddle.net>
55866
55867 * sysdeps/i386/fpu/fenv_private.h: New file.
55868 * sysdeps/i386/fpu/math_private.h: Use it.
55869 (math_opt_barrier, math_force_eval): Remove.
55870 (libc_feholdexcept_setround_53bit): Remove.
55871 (libc_feupdateenv_53bit): Remove.
55872 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55873 (math_opt_barrier, math_force_eval): Remove.
55874 (libc_feholdexcept): Remove.
55875 (libc_feholdexcept_setround): Remove.
55876 (libc_fetestexcept, libc_fesetenv): Remove.
55877 (libc_feupdateenv_test): Remove.
55878 (libc_feupdateenv, libc_feholdsetround): Remove.
55879 (libc_feresetround): Remove.
55880
55881 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55882 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55883
55884 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55885 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55886 (libc_feupdateenv_testl): New.
55887 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55888 (libc_feupdateenv_testf): New.
55889 (libc_feupdateenv): Use libc_feupdateenv_test.
55890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55891 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55892
55893 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55894 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55895 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55896 (libc_feresetround_noex): New.
55897 (libc_feresetround_noexf): New.
55898 (libc_feresetround_noexl): New.
55899 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55900 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55901 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55902 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55903 SET_RESTORE_ROUND.
55904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55906 (__cos): Likewise.
55907 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55908 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55909 SET_RESTORE_ROUND_NOEX.
55910 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55911 SET_RESTORE_ROUND_NOEXF.
55912 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55913 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55914 (libc_feholdsetroundf): New.
55915 (libc_feresetround, libc_feresetroundf): New.
55916
55917 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55918 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55919 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55920
55921 * sysdeps/generic/math_private.h: Include <fenv.h>.
55922 (default_libc_feholdexcept): New.
55923 (default_libc_feholdexcept_setround): New.
55924 (default_libc_fesetenv, default_libc_feupdateenv): New.
55925 (libc_feholdexcept): Only define if undefined.
55926 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55927 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55928 (libc_feholdexcept_setroundl): Likewise.
55929 (libc_feholdexcept_setround_53bit): Likewise.
55930 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55931 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55932 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55933 (libc_feupdateenv_53bit): Likewise.
55934 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55935 (libc_feholdexcept): Convert from macro to inline function.
55936 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55937 (libc_fesetenv, libc_feupdateenv): Likewise.
55938
55939 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55940 not previously defined.
55941 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55942 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55943 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55944 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55945 * sysdeps/ieee754/flt-32/math_private.h: New file.
55946 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55947 math_private.h below SET_FLOAT_WORD.
55948 (__isnan, __isinf_ns, __finite): Remove.
55949 (__isnanf, __isinf_nsf, __finitef): Remove.
55950
55951 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55952
55953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55954
55955 2012-03-17 David S. Miller <davem@davemloft.net>
55956
55957 [BZ #6471]
55958 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55959 for 2.16.
55960
55961 2012-03-16 David S. Miller <davem@davemloft.net>
55962
55963 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55964 warnings.
55965
55966 [BZ #6471]
55967 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55968 properly.
55969 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55970 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55971 sysdep_routines when subdir is sysvipc.
55972 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55973 __getshmlba helper.
55974
55975 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55976
55977 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55978
55979 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55980 [__LP64__].
55981
55982 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55983
55984 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55985 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55986 (__lround): Renamed to ...
55987 (__llround): This. Replace long int with long long int.
55988 Define lround functions as aliases of llround functions.
55989 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55990
55991 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55992
55993 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55994 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55995 adresses to uintptr_t. Replace "long int" and "unsigned long
55996 int" with "greg_t" on va_arg.
55997
55998 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55999
56000 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56001 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56002
56003 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56004 Move e_machine check before EI_CLASS check. Handle x32
56005 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56006 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56007 SKIP_EM_IA_64 and include
56008 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56009
56010 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56011 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56012 (add_system_dir): New macro.
56013
56014 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56015 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56016
56017 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56018
56019 [BZ #2551]
56020 [BZ #2552]
56021 [BZ #2553]
56022 [BZ #2554]
56023 [BZ #2562]
56024 [BZ #2563]
56025 [BZ #2565]
56026 [BZ #2566]
56027 [BZ #2576]
56028 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56029 (y0): Likewise.
56030 * math/w_j0f.c (j0f): Likewise.
56031 (y0f): Likewise.
56032 * math/w_j0l.c (__j0l): Likewise.
56033 (__y0l): Likewise.
56034 * math/w_j1.c (j1): Likewise.
56035 (y1): Likewise.
56036 * math/w_j1f.c (j1f): Likewise.
56037 (y1f): Likewise.
56038 * math/w_j1l.c (__j1l): Likewise.
56039 (__y1l): Likewise.
56040 * math/w_jn.c (jn): Likewise.
56041 (yn): Likewise.
56042 * math/w_jnf.c (jnf): Likewise.
56043 (ynf): Likewise.
56044 * math/w_jnl.c (__jnl): Likewise.
56045 (__ynl): Likewise.
56046 * math/libm-test.inc (j0_test): Add more tests.
56047 (j1_test): Likewise.
56048 (jn_test): Likewise. Add trailing semicolon to existing test.
56049 (y0_test): Likewise.
56050 (y1_test): Likewise.
56051 * sysdeps/i386/fpu/libm-test-ulps: Update.
56052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56053
56054 [BZ #13851]
56055 [BZ #13854]
56056 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56057 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56058 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56059 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56060 (__tanl): Set errno for infinite argument.
56061 * sysdeps/i386/fpu/mptan.c: Remove.
56062 * sysdeps/i386/fpu/s_tan.S: Likewise.
56063 * sysdeps/i386/fpu/s_tanl.S: Likewise.
56064 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56065 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56066 * math/libm-test.inc (tan_test): Add more tests and enable more
56067 tests for double and long double.
56068 * sysdeps/i386/fpu/libm-test-ulps: Update.
56069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56070
56071 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
56072
56073 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56074 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56075
56076 2012-03-16 Roland McGrath <roland@hack.frob.com>
56077
56078 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56079 * configure.in: Use it for both main tree and add-ons.
56080 * configure: Regenerated.
56081
56082 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56083
56084 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56085
56086 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56087
56088 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56089 in comment.
56090
56091 [BZ #13851]
56092 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56093 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56094 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56095 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56096 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56097 infinite argument.
56098 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56099 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56100 != 0 for prec == 2.
56101 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56102 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56103 * sysdeps/i386/fpu/s_cosl.S: Likewise.
56104 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56105 * sysdeps/i386/fpu/s_sinl.S: Likewise.
56106 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56107 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56108 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56109 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56110 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56111 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56112 * math/libm-test.inc (cos_test): Add more tests and enable more
56113 tests for long double.
56114 (sin_test): Likewise.
56115 (sincos_test): Likewise.
56116 * sysdeps/i386/fpu/libm-test-ulps: Update.
56117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56118
56119 2012-03-16 David S. Miller <davem@davemloft.net>
56120
56121 * sysdeps/sparc/fpu/math_private.h: New file.
56122
56123 2012-03-15 David S. Miller <davem@davemloft.net>
56124
56125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56126 file.
56127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56129 file.
56130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56136 sysdep routines.
56137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56138
56139 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56140 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56141
56142 * sysdeps/sparc/sparc-ifunc.h: New file.
56143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56144 sparc-ifunc.h
56145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56147 Likewise.
56148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56149 Likewise.
56150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56154 Likewise.
56155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56160 Likewise.
56161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56162 Likewise.
56163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56182 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56187
56188 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56189
56190 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56191 scaling.
56192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56193
56194 2012-03-15 Andreas Jaeger <aj@suse.de>
56195
56196 [BZ #13852]
56197 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56198 ieee754/flt-32 implementation for sin, cos and sincos.
56199 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56200 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56201 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56202 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56203 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56204 ieee754/flt-32 implementation for tan.
56205
56206 * math/libm-test.inc (cos_test): Enable some large input tests for
56207 float as well
56208 (sin_test): Likewise.
56209 (sincos_test): Likewise.
56210 (tan_test): Add tests for large input.
56211
56212 * sysdeps/i386/fpu/libm-test-ulps: Update.
56213
56214 2012-03-15 Andreas Jaeger <aj@suse.de>
56215
56216 [BZ #13658]
56217 * math/libm-test.inc (cos_test): Add more test cases.
56218 (sin_test): Likewise.
56219 (sincos_test): Likewise.
56220
56221 2012-03-15 Andreas Jaeger <aj@suse.de>
56222
56223 [BZ #13837]
56224 * math/libm-test.inc (cos_test): Add a test case for large input
56225 value.
56226 (sin_test): Likewise.
56227 (sincos_test): Likewise.
56228
56229 2012-03-15 Andreas Jaeger <aj@suse.de>
56230 Joseph Myers <joseph@codesourcery.com>
56231
56232 [BZ #13658]
56233 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56234 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56235 * sysdeps/i386/fpu/branred.c: Likewise.
56236 * sysdeps/i386/fpu/dosincos.c: Likewise.
56237 * sysdeps/i386/fpu/mpa.c: Likewise.
56238 * sysdeps/i386/fpu/s_cos.S: Likewise.
56239 * sysdeps/i386/fpu/s_sin.S: Likewise.
56240 * sysdeps/i386/fpu/s_sincos.S: Likewise.
56241 * sysdeps/i386/fpu/sincos32.c: Likewise.
56242
56243 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56244 Define.
56245 (libc_feupdateenv_53bit): Define.
56246 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56247 Define.
56248 (libc_feupdateenv_53bit): Define.
56249
56250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56251 53 bit (without extend i386 double precision).
56252
56253 * math/libm-test.inc (sincos_test): Add tests for large input.
56254 (sin): Likewise.
56255 (cos): Likewise.
56256
56257 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56258
56259 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56260
56261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56262
56263 2012-03-15 David S. Miller <davem@davemloft.net>
56264
56265 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56266 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56267 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56268 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56281 file.
56282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56284 file.
56285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56287 file.
56288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56290 file.
56291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56292 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56293 fmin/fmax sysdep routines.
56294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56295
56296 2012-03-14 David S. Miller <davem@davemloft.net>
56297
56298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56303 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56304 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56319 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56320 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56327 routines.
56328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56329 file.
56330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56332 file.
56333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56335 file.
56336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56338 file.
56339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56341 file.
56342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56344 file.
56345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56346 file.
56347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56348 file.
56349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56350 file.
56351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56352 New file.
56353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56354 file.
56355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56356 file.
56357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56359 file.
56360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56362 file.
56363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56365 file.
56366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56368 VIS3 routines.
56369
56370 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56371 New file.
56372
56373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56374
56375 * sysdeps/sparc/configure.in: New file.
56376 * sysdeps/sparc/configure: Generate.
56377 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56378 * configure: Regenerate.
56379 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56380 * config.make.in (have-as-vis3): New.
56381 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56382 available use -Av9d instead of -Av9a.
56383 * sysdeps/sparc/sparc64/Makefile: Likewise.
56384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56386 New file.
56387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56388 file.
56389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56390 New file.
56391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56392 file.
56393 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56395 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56398
56399 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56400 fzeros/fnegs to load 0x80000000 into a float register instead of
56401 using the stack.
56402 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56403
56404 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56405
56406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56407 bits/syscall.h.
56408 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56409 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56410 ($(inst_includedir)/bits/syscall.h): Remove rule.
56411 ($(objpfx)bits/syscall.d): Include instead of
56412 $(objpfx)syscall-list.d.
56413 (generated): Change syscall-list.h and syscall-list.d to
56414 bits/syscall.h and bits/syscall.d.
56415
56416 2012-03-14 Roland McGrath <roland@hack.frob.com>
56417
56418 [BZ #13846]
56419 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56420
56421 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56422
56423 [BZ #13841]
56424 * math/s_csqrt.c: Include <float.h>.
56425 (__csqrt): Scale large or subnormal inputs.
56426 * math/s_csqrtf.c: Likewise.
56427 * math/s_csqrtl.c: Likewise.
56428 * math/libm-test.inc (csqrt_test): Add more tests.
56429 * sysdeps/i386/fpu/libm-test-ulps: Update.
56430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56431
56432 [BZ #13840]
56433 * math/libm-test.inc (hypot_test): Add more tests.
56434
56435 2012-03-13 David S. Miller <davem@davemloft.net>
56436
56437 [BZ #13840]
56438 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56439 double-precision for the calculation instead of scaling.
56440
56441 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56442
56443 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56444 manipulate bits before adding and subtracting TWO52[sx].
56445 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56446 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56447 Likewise.
56448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56449
56450 2012-03-13 David S. Miller <davem@davemloft.net>
56451
56452 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56453 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56455 rtld-global-offsets.h
56456 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56457
56458 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56459 large parameters.
56460
56461 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56462
56463 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56464 'err' in the ifdef scope in which it is actually used.
56465
56466 * nss/nss_db/db-init.c: Include string.h
56467
56468 2012-03-12 David S. Miller <davem@davemloft.net>
56469
56470 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56471 masking out of the most significant byte of random value used.
56472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56473 Fix coding style in previous change.
56474
56475 * sysdeps/unix/sysv/linux/kernel-features.h
56476 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56477 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56478 expression.
56479 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56480 later.
56481
56482 2012-03-11 David S. Miller <davem@davemloft.net>
56483
56484 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56485 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56486 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56487 for 'resultvar' otherwise things get truncated on 64-bit.
56488
56489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56490 Fix masking out of the most significant byte of random value used.
56491
56492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56493
56494 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56495
56496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56497
56498 2012-03-09 David S. Miller <davem@davemloft.net>
56499
56500 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56501 variables with appropriate CPP guards.
56502 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56503 from the frame pointer, not the stack pointer. Correct layout
56504 comments. Fix test on resulting framesize and the management of
56505 the outregs buffer for pltexit. Preserve floating point return
56506 values across _dl_call_pltexit call.
56507 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56508 framesize and the management of the outregs buffer for pltexit.
56509 Preserve floating point return values across _dl_call_pltexit
56510 call.
56511 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56512 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56513 (la_sparc64_gnu_pltexit): New functions.
56514 (print_exit): Fix format string for return register value.
56515
56516 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56517
56518 * sunrpc/Makefile (others): Add rpcgen.
56519 ($(objpfx)rpcgen): Remove special build rule and dependency on
56520 libc.
56521 * sunrpc/rpcgen.c: New file.
56522
56523 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56524
56525 [BZ #13673]
56526 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56527 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56528 * sysdeps/i386/crti.S: Likewise.
56529 * sysdeps/i386/crtn.S: Likewise.
56530 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56531 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56532 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56533 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56534 * sysdeps/sh/crti.S: Likewise.
56535 * sysdeps/sh/crtn.S: Likewise.
56536 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56537
56538 [BZ #13673]
56539 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56540 with URL.
56541 * locale/programs/locfile-kw.gperf: Likewise.
56542 * locale/programs/charmap-kw.h: Regenerated.
56543 * locale/programs/locfile-kw.h: Likewise.
56544
56545 [BZ #13673]
56546 * intl/plural.y: Replace FSF snail mail address with URL.
56547 * intl/plural.c: Regenerated.
56548
56549 2012-03-09 Richard Henderson <rth@twiddle.net>
56550
56551 * include/math_private.h: Remove file.
56552 * math/math_private.h: Move file ...
56553 * sysdeps/generic/math_private.h: ... here.
56554
56555 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56556 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56557 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56558
56559 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56560 and <math_private.h>.
56561 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56562 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56563 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56564 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56565 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56566 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56567 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56569 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56572 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56573 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56574 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56575 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56576 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56577 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56578 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56579 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56580 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56581 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56582 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56583 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56585 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56586 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56587 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56588 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56589 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56591 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56593 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56594 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56595 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56596 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56597 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56598 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56599 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56600 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56601 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56602 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56603 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56604 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56605 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56606 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56607 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56608 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56609 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56610 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56611 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56612 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56613 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56614 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56615 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56616 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56617 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56618 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56619 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56620 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56621 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56622 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56624 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56625 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56626 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56627 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56628 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56629 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56630 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56631 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56632 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56633 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56635 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56639 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56640 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56641 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56642 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56643 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56644 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56645 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56646 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56648 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56649 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56652 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56653 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56654 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56655 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56656 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56657 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56658 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56660 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56661 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56662 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56663 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56664 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56665 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56666 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56667 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56668 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56669 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56670 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56671 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56672 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56673 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56674 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56675 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56676 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56677 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56678 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56679 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56680 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56681 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56682 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56683 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56684 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56685 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56686 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56687 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56688 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56689 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56690 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56691 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56692 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56693 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56694 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56695 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56696 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56697 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56698 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56699 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56700 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56701 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56702 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56703 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56704 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56705 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56706 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56707 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56708 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56709 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56710 * sysdeps/ieee754/k_standard.c: Likewise.
56711 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56712 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56713 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56714 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56715 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56716 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56717 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56718 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56719 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56720 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56721 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56722 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56723 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56724 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56725 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56726 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56727 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56728 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56729 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56730 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56731 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56732 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56733 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56734 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56735 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56736 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56737 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56738 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56739 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56740 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56741 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56742 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56743 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56744 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56745 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56746 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56747 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56748 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56749 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56750 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56751 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56752 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56753 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56754 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56755 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56756 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56757 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56758 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56759 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56761 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56762 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56763 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56764 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56765 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56766 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56767 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56768 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56769 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56770 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56771 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56772 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56773 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56774 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56777 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56778 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56779 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56781 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56783 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56784 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56785 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56786 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56787 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56788 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56789 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56790 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56791 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56792 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56793 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56794 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56795 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56796 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56797 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56798 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56799 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56800 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56801 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56802 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56803 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56804 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56805 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56806 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56807 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56808 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56809 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56810 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56811 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56812 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56813 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56814 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56815 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56816 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56817 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56818 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56819 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56820 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56821 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56822 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56823 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56824 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56825 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56826 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56827 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56828 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56829 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56830 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56831 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56832 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56833 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56834 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56835 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56836 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56837 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56838 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56839 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56840 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56841 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56842 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56843 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56844 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56845 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56846 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56847 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56848 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56849 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56850 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56851 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56852 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56853 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56854 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56855 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56856 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56857 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56858 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56859 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56860 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56861 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56862 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56863 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56864 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56865 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56866 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56867 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56868 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56869 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56870 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56871 * sysdeps/ieee754/s_lib_version.c: Likewise.
56872 * sysdeps/ieee754/s_matherr.c: Likewise.
56873 * sysdeps/ieee754/s_signgam.c: Likewise.
56874 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56875 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56876 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56877 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56878 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56879 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56880 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56881 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56882 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56883 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56884 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56885 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56886 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56887 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56888 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56889 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56890 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56891 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56892 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56893 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56895
56896 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56897
56898 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56899 * sunrpc/rpc_main.c: Likewise.
56900 * sunrpc/rpc_svcout.c: Likewise.
56901
56902 2012-03-09 David S. Miller <davem@davemloft.net>
56903
56904 * include/math_private.h: New file.
56905
56906 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56907
56908 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56909 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56910 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56911 from <bits/socket_type.h>.
56912 (enum __socket_type): Don't define here.
56913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56915 bits/socket_type.h.
56916
56917 [BZ #13566]
56918 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56919 checking __USE_GNU.
56920
56921 * Makerules ($(inst_includedir)/%.h): New rule.
56922 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56923 (install-others): Remove variable setting.
56924 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56925
56926 2012-03-08 Richard Henderson <rth@twiddle.net>
56927
56928 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56929 from macro to inline function; merge with the
56930 !__LIBC_INTERNAL_MATH_INLINES version.
56931 (__ieee754_sqrtf): Likewise.
56932
56933 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56934 to inline function.
56935 (__rintf, __floor, __floorf): Likewise.
56936
56937 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56938 macro to inline function.
56939 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56940
56941 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56942 not <math/math_private.h>.
56943
56944 2012-03-08 David S. Miller <davem@davemloft.net>
56945
56946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56947 copyright year.
56948 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56949
56950 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56951
56952 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56953 normalization.
56954 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56955 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56956
56957 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56958
56959 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56960 be defined individually, they must be defined as a block. Define
56961 S for printing a string instead of hidint the different by using a
56962 macro for adding the 'l'.
56963 * stdio-common/tst-fphex-wide.c: Adjust.
56964
56965 2012-03-07 Marek Polacek <polacek@redhat.com>
56966
56967 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56968
56969 2012-03-08 Marek Polacek <polacek@redhat.com>
56970
56971 [BZ #13806]
56972 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56973 * stdio-common/tst-fphex.c: Define a few macros to make the
56974 test reusable. Use them.
56975 * stdio-common/tst-fphex-wide.c: New file.
56976
56977 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56978
56979 [BZ #6911]
56980 * manual/macros.texi (gnusystems): New macro.
56981 (nongnusystems): Likewise.
56982 (gnulinuxhurdsystems): Likewise.
56983 (gnuhurdsystems): Likewise..
56984 (gnulinuxsystems): Likewise.
56985 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56986 variants of the GNU system, not "GNU system".
56987 * manual/conf.texi: Likewise.
56988 * manual/errno.texi: Likewise. Update example of errno macro
56989 expansion.
56990 * manual/filesys.texi: Likewise.
56991 (getumask): Document as specific to GNU/Hurd.
56992 * manual/install.texi: Likewise. Reword some references to
56993 GNU/Linux.
56994 * manual/intro.texi: Likewise.
56995 * manual/io.texi: Likewise.
56996 (File Name Portability): Detail which constraints are inapplicable
56997 to all GNU systems and which are only inapplicable to GNU/Hurd.
56998 * manual/job.texi: Likewise.
56999 * manual/llio.texi: Likewise.
57000 (O_NOCTTY): Document as present on GNU/Linux.
57001 * manual/maint.texi: Likewise.
57002 * manual/memory.texi: Likewise.
57003 * manual/pattern.texi: Likewise.
57004 * manual/pipe.texi: Likewise.
57005 * manual/process.texi: Likewise.
57006 * manual/resource.texi: Likewise.
57007 (RUSAGE_CHILDREN): Remove statement about specifying a particular
57008 child on GNU/Hurd.
57009 * manual/setjmp.texi: Likewise.
57010 * manual/signal.texi: Likewise.
57011 * manual/startup.texi: Likewise.
57012 * manual/stdio.texi: Likewise.
57013 * manual/terminal.texi: Likewise.
57014 (ONLCR): Document as POSIX.
57015 (OXTABS): Document availability on GNU/Linux as XTABS.
57016 (ONOEOT): Document availability separately from other bits.
57017 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57018 * manual/time.texi: Likewise.
57019 * manual/users.texi: Likewise.
57020 * INSTALL: Regenerated.
57021 * sysdeps/gnu/errlist.c: Regenerated.
57022
57023 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57024 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57025 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
57026 puts.
57027 * configure: Regenerated.
57028
57029 2012-03-07 Joseph Myers <joseph@codesourcery.com>
57030
57031 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57032 default includes instead of AC_HEADER_CHECK.
57033 * sysdeps/i386/configure: Regenerated.
57034
57035 [BZ #10716]
57036 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57037 * math/s_cacoshf.c (__cacoshf): Likewise.
57038 * math/s_cacoshl.c (__cacoshl): Likewise.
57039 * math/s_casinh.c (__casinh): Set signs of result from argument.
57040 * math/s_casinhf.c (__casinhf): Likewise.
57041 * math/s_casinhl.c (__casinhl): Likewise.
57042 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57043 (casinh_test): Add more tests.
57044 * sysdeps/i386/fpu/libm-test-ulps: Update.
57045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57046
57047 2012-03-07 Ulrich Drepper <drepper@gmail.com>
57048
57049 * po/zh_TW.po: Update from translation team.
57050
57051 * login/Makefile (distribute): Remove variable.
57052 * catgets/Makefile: Likewise.
57053 * mach/Makefile: Likewise.
57054 * malloc/Makefile: Likewise.
57055 * misc/Makefile: Likewise.
57056 * iconv/Makefile: Likewise.
57057 * nscd/Makefile: Likewise.
57058 * hurd/Makefile: Likewise.
57059 * manual/Makefile: Likewise.
57060 * locale/Makefile: Likewise.
57061 * intl/Makefile: Likewise.
57062 * conform/Makefile: Likewise.
57063 * nss/Makefile: Likewise.
57064 * time/Makefile: Likewise.
57065 * soft-fp/Makefile: Likewise.
57066 * dirent/Makefile: Likewise.
57067 * gmon/Makefile: Likewise.
57068 * po/Makefile: Likewise.
57069 * rt/Makefile: Likewise.
57070 * socket/Makefile: Likewise.
57071 * math/Makefile: Likewise.
57072 * signal/Makefile: Likewise.
57073 * debug/Makefile: Likewise.
57074 * elf/Makefile: Likewise.
57075 * timezone/Makefile: Likewise.
57076 * stdlib/Makefile: Likewise.
57077 * iconvdata/Makefile: Likewise.
57078 * sunrpc/Makefile: Likewise.
57079 * io/Makefile: Likewise.
57080 * argp/Makefile: Likewise.
57081 * inet/Makefile: Likewise.
57082 * hesiod/Makefile: Likewise.
57083 * grp/Makefile: Likewise.
57084 * csu/Makefile: Likewise.
57085 * wctype/Makefile: Likewise.
57086 * crypt/Makefile: Likewise.
57087 * libio/Makefile: Likewise.
57088 * string/Makefile: Likewise.
57089 * nis/Makefile: Likewise.
57090 * resolv/Makefile: Likewise.
57091 * stdio-common/Makefile: Likewise.
57092 * wcsmbs/Makefile: Likewise.
57093 * dlfcn/Makefile: Likewise.
57094 * posix/Makefile: Likewise.
57095
57096 [BZ #6959]
57097 * timezone/Makefile: Don't install timezone files, just the programs
57098 and scripts.
57099
57100 2012-03-06 Ulrich Drepper <drepper@gmail.com>
57101
57102 * nss/databases.def: Add missing gshadow entry.
57103
57104 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
57105
57106 2012-03-06 Marek Polacek <polacek@redhat.com>
57107
57108 [BZ #13726]
57109 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57110 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57111 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57112 * stdio-common/tst-long-dbl-fphex.c: New file.
57113
57114 2012-03-06 David S. Miller <davem@davemloft.net>
57115
57116 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57117 (set_obp_int): New function.
57118 (get_obp_int): New function.
57119 (__get_clockfreq_via_dev_openprom): Likewise.
57120 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57121 Avoid unused variable warnings on 'val' and use builtin_expect.
57122 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57123 __builtin_expect.
57124 (INLINE_CLONE_SYSCALL): Likewise.
57125
57126 2012-03-05 David S. Miller <davem@davemloft.net>
57127
57128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57129
57130 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
57131
57132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57133
57134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57135 only for |x| >= 40.
57136 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57137
57138 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57139
57140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57141 Replace gettimeofday with __vdso_gettimeofday.
57142
57143 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57144 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57145 __vdso_clock_gettime and __vdso_getcpu.
57146
57147 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57148 time with __vdso_time.
57149
57150 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57151
57152 * manual/lang.texi (size_t): Note types to which size_t may be
57153 equivalent with the GNU C Library, but do not describe when
57154 differences between them are significant.
57155
57156 2012-03-05 Andreas Jaeger <aj@suse.de>
57157
57158 * sysdeps/i386/fpu/libm-test-ulps: Update.
57159
57160 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57161
57162 [BZ #3976]
57163 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57164 (__ieee754_pow): Save and restore rounding mode and use
57165 round-to-nearest for main computations.
57166 * math/libm-test.inc (pow_test_tonearest): New function.
57167 (pow_test_towardzero): Likewise.
57168 (pow_test_downward): Likewise.
57169 (pow_test_upward): Likewise.
57170 (main): Call the new functions.
57171 * sysdeps/i386/fpu/libm-test-ulps: Update.
57172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57173
57174 [BZ #3976]
57175 * math/libm-test.inc (cosh_test_tonearest): New function.
57176 (cosh_test_towardzero): Likewise.
57177 (cosh_test_downward): Likewise.
57178 (cosh_test_upward): Likewise.
57179 (sinh_test_tonearest): Likewise.
57180 (sinh_test_towardzero): Likewise.
57181 (sinh_test_downward): Likewise.
57182 (sinh_test_upward): Likewise.
57183 (main): Call the new functions.
57184 * sysdeps/i386/fpu/libm-test-ulps: Update.
57185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57186
57187 2012-03-05 Tom de Vries <tom@codesourcery.com>
57188
57189 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57190 default stack guard is set in last bytes.
57191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57192
57193 2012-03-05 Kees Cook <keescook@chromium.org>
57194
57195 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57196
57197 [BZ #13656]
57198 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57199 possibly allocate from heap instead of stack.
57200 * stdio-common/bug-vfprintf-nargs.c: New file.
57201 * stdio-common/Makefile (tests): Add nargs overflow test.
57202
57203 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57204
57205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57206
57207 2012-03-03 Marek Polacek <polacek@redhat.com>
57208
57209 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57210 * math/math_private.h: Likewise.
57211 * stdlib/tst-strtod.c: Likewise.
57212 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57213 * sysdeps/x86_64/bits/atomic.h: Likewise.
57214
57215 2012-03-02 David S. Miller <davem@davemloft.net>
57216
57217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57221 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57222 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57223 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57224 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57225
57226 2012-03-02 Roland McGrath <roland@hack.frob.com>
57227
57228 [BZ #13792]
57229 * manual/examples/README: New file, says the example source files
57230 can be used under GPL>=2.
57231 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57232 line containing just "*/".
57233 * manual/examples/add.c: Add copyright header (GPL>=2).
57234 * manual/examples/argp-ex1.c: Likewise.
57235 * manual/examples/argp-ex2.c: Likewise.
57236 * manual/examples/argp-ex3.c: Likewise.
57237 * manual/examples/argp-ex4.c: Likewise.
57238 * manual/examples/atexit.c: Likewise.
57239 * manual/examples/db.c: Likewise.
57240 * manual/examples/dir.c: Likewise.
57241 * manual/examples/dir2.c: Likewise.
57242 * manual/examples/execinfo.c: Likewise.
57243 * manual/examples/filecli.c: Likewise.
57244 * manual/examples/filesrv.c: Likewise.
57245 * manual/examples/fmtmsgexpl.c: Likewise.
57246 * manual/examples/genpass.c: Likewise.
57247 * manual/examples/inetcli.c: Likewise.
57248 * manual/examples/inetsrv.c: Likewise.
57249 * manual/examples/isockad.c: Likewise.
57250 * manual/examples/longopt.c: Likewise.
57251 * manual/examples/memopen.c: Likewise.
57252 * manual/examples/memstrm.c: Likewise.
57253 * manual/examples/mkfsock.c: Likewise.
57254 * manual/examples/mkisock.c: Likewise.
57255 * manual/examples/mygetpass.c: Likewise.
57256 * manual/examples/pipe.c: Likewise.
57257 * manual/examples/popen.c: Likewise.
57258 * manual/examples/rprintf.c: Likewise.
57259 * manual/examples/search.c: Likewise.
57260 * manual/examples/select.c: Likewise.
57261 * manual/examples/setjmp.c: Likewise.
57262 * manual/examples/sigh1.c: Likewise.
57263 * manual/examples/sigusr.c: Likewise.
57264 * manual/examples/stpcpy.c: Likewise.
57265 * manual/examples/strdupa.c: Likewise.
57266 * manual/examples/strftim.c: Likewise.
57267 * manual/examples/strncat.c: Likewise.
57268 * manual/examples/subopt.c: Likewise.
57269 * manual/examples/swapcontext.c: Likewise.
57270 * manual/examples/termios.c: Likewise.
57271 * manual/examples/testopt.c: Likewise.
57272 * manual/examples/testpass.c: Likewise.
57273 * manual/examples/timeval_subtract.c: Likewise.
57274
57275 [BZ #13792]
57276 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57277 function to ...
57278 * manual/timeval_subtract.c.texi: ... here, new file.
57279
57280 2012-03-02 David S. Miller <davem@davemloft.net>
57281
57282 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57283
57284 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57285
57286 [BZ #3976]
57287 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57288 (__sin): Save and restore rounding mode and use round-to-nearest
57289 for all computations.
57290 (__cos): Save and restore rounding mode and use round-to-nearest
57291 for all computations.
57292 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57293 <fenv.h>.
57294 (tan): Save and restore rounding mode and use round-to-nearest for
57295 all computations.
57296 * math/libm-test.inc (cos_test_tonearest): New function.
57297 (cos_test_towardzero): Likewise.
57298 (cos_test_downward): Likewise.
57299 (cos_test_upward): Likewise.
57300 (sin_test_tonearest): Likewise.
57301 (sin_test_towardzero): Likewise.
57302 (sin_test_downward): Likewise.
57303 (sin_test_upward): Likewise.
57304 (tan_test_tonearest): Likewise.
57305 (tan_test_towardzero): Likewise.
57306 (tan_test_downward): Likewise.
57307 (tan_test_upward): Likewise.
57308 (main): Call the new functions.
57309 * sysdeps/i386/fpu/libm-test-ulps: Update.
57310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57311
57312 [BZ #10135]
57313 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57314 small n, then large n, before computing and testing k+n.
57315 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57317 Likewise.
57318 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57319 Likewise.
57320 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57321 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57322 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57323 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57326 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57327 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57328 * math/libm-test.inc (scalbn_test): Add more tests.
57329 (scalbln_test): Likewise.
57330
57331 * manual/filesys.texi (mode_t): Describe constraints on size and
57332 signedness, not exact equivalence to a particular type.
57333 (ino_t): Likewise.
57334 (ino64_t): Likewise.
57335 (dev_t): Likewise.
57336 (nlink_t): Likewise.
57337 (blkcnt_t): Likewise.
57338 (blkcnt64_t): Likewise.
57339 * manual/llio.texi (off_t): Likewise.
57340
57341 [BZ #3976]
57342 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57343 (__ieee754_exp): Save and restore rounding mode and use
57344 round-to-nearest for all computations.
57345 * math/libm-test.inc (exp_test_tonearest): New function.
57346 (exp_test_towardzero): Likewise.
57347 (exp_test_downward): Likewise.
57348 (exp_test_upward): Likewise.
57349 (main): Call the new functions.
57350 * sysdeps/i386/fpu/libm-test-ulps: Update.
57351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57352
57353 2012-03-01 Chris Demetriou <cgd@google.com>
57354
57355 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57356 have predictable order.
57357
57358 2012-03-01 David S. Miller <davem@davemloft.net>
57359
57360 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57361
57362 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57363 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57364 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57365 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57366
57367 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57368 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57369 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57371 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57372 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57373 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57374 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57375 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57376
57377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57378
57379 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57380 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57381 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57382
57383 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57384 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57385 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57386 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57387 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57388 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57390 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57391 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57392 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57393 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57394 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57396 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57397 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57399 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57400 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57401 * sysdeps/sparc/elf/configure: Regenerated.
57402
57403 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57404
57405 * configure.in (AS, LD): Require binutils 2.20 or later.
57406 * configure: Regenerated.
57407 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57408 as required minimum version.
57409 * INSTALL: Regenerated.
57410
57411 [BZ #2541]
57412 [BZ #4108]
57413 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57414 before squaring exponent.
57415 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57416 bottom long double and 27 bits of top long double before squaring
57417 exponent.
57418 * math/libm-test.inc (erfc_test): Add more tests.
57419 * sysdeps/i386/fpu/libm-test-ulps: Update.
57420 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57422
57423 2012-03-01 Kai Tietz <ktietz@redhat.com>
57424
57425 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57426 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57427 containing bit-fields.
57428 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57429 * soft-fp/single.h (_FP_UNION_S): Likewise.
57430 * soft-fp/double.h (_FP_UNION_D): Likewise.
57431
57432 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57433
57434 [BZ #13786]
57435 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57436 not include ../strcmp.S.
57437 [USE_AS_STRNCASECMP_L]: Likewise.
57438 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57439 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57440 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57441 (__strncasecmp_l_ia32): Define as alias to
57442 __strncasecmp_l_nonascii.
57443
57444 [BZ #5794]
57445 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57446 * sysdeps/i386/fpu/libm-test-ulps: Update.
57447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57448
57449 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57451
57452 2012-02-29 Jeff Law <law@redhat.com>
57453
57454 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57455 out of bounds read.
57456
57457 2012-02-29 Marek Polacek <polacek@redhat.com>
57458
57459 [BZ #13706]
57460 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57461 * elf/Makefile: Add rules to run tst-unused-dep.out.
57462
57463 2012-02-28 David S. Miller <davem@davemloft.net>
57464
57465 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57466 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57467 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57469 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57470 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57471
57472 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57473
57474 * math/libm-test.inc (llround_test): Move one test from
57475 lround_test. Use TEST_f_L in moved test.
57476 (lround_test): Move misplaced test to llround_test. Add testcase
57477 from bug 2561.
57478
57479 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57480
57481 * sysdeps/x86_64/fpu/e_expf.S: New file.
57482 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57483
57484 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57485
57486 [BZ #13637]
57487 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57488 of remain_len that may cause incomplete multi-byte character and
57489 false match.
57490 * posix/bug-regex33.c: New file.
57491 * posix/Makefile (tests): Add bug-regex33.
57492
57493 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57494
57495 * manual/macros.texi: New file.
57496 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57497 * manual/libc.texinfo: Include macros.texi.
57498 * manual/creatute.texi: Likewise.
57499 * manual/install.texi: Likewise.
57500 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57501 @glibcadj{} in references to the GNU C Library.
57502 * manual/charset.texi: Likewise.
57503 * manual/conf.texi: Likewise.
57504 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57505 when not using those macros.
57506 * manual/creature.texi: Likewise.
57507 * manual/crypt.texi: Likewise.
57508 * manual/errno.texi: Likewise.
57509 * manual/filesys.texi: Likewise.
57510 * manual/header.texi: Likewise.
57511 * manual/install.texi: Likewise.
57512 * manual/intro.texi: Likewise.
57513 * manual/io.texi: Likewise.
57514 * manual/job.texi: Likewise.
57515 * manual/lang.texi: Likewise.
57516 * manual/libc.texiinfo: Likewise.
57517 * manual/llio.texi: Likewise.
57518 * manual/locale.texi: Likewise.
57519 * manual/maint.texi: Likewise.
57520 * manual/math.texi: Likewise.
57521 * manual/memory.texi: Likewise.
57522 * manual/message.texi: Likewise.
57523 * manual/nss.texi: Likewise.
57524 * manual/pattern.texi: Likewise.
57525 * manual/process.texi: Likewise.
57526 * manual/resource.texi: Likewise.
57527 * manual/search.texi: Likewise.
57528 * manual/setjmp.texi: Likewise.
57529 * manual/signal.texi: Likewise.
57530 * manual/socket.texi: Likewise.
57531 * manual/startup.texi: Likewise.
57532 * manual/stdio.texi: Likewise.
57533 * manual/string.texi: Likewise.
57534 * manual/sysinfo.texi: Likewise.
57535 * manual/syslog.texi: Likewise.
57536 * manual/terminal.texi: Likewise.
57537 * manual/time.texi: Likewise.
57538 * manual/users.texi: Likewise.
57539 * INSTALL: Regenerated.
57540 * NOTES: Regenerated.
57541 * sysdeps/gnu/errlist.c: Regenerated.
57542
57543 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57544
57545 * include/dirent.h: Include <dirstream.h> before
57546 <dirent/dirent.h>.
57547
57548 2012-02-28 David S. Miller <davem@davemloft.net>
57549
57550 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57551 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57552 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57553 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57554
57555 2012-02-27 David S. Miller <davem@davemloft.net>
57556
57557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57559 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57560 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57561
57562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57563 frame pointer instead of stack pointer relative arg slot.
57564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57565 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57566 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57567
57568 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57569
57570 [BZ #3992]
57571 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57572
57573 2012-02-27 David S. Miller <davem@davemloft.net>
57574
57575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57579 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57580 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57581 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57582 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57583
57584 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57585
57586 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57587 later. Allow versions 5-9.
57588 * configure: Regenerated.
57589 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57590 required minimum version and 4.6 as recommended version. Do not
57591 mention bugs in GCC 2.7 and 2.8.
57592 * INSTALL: Regenerated.
57593
57594 2012-02-27 David S. Miller <davem@davemloft.net>
57595
57596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57600 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57601 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57602 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57603 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57604
57605 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57606 manipulate bits before adding and subtracting TWO112[sx].
57607 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57608
57609 2012-02-27 Roland McGrath <roland@hack.frob.com>
57610
57611 [BZ #13775]
57612 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57613 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57614 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57615 being in POSIX, because they are in 1003.1-2008.
57616
57617 * rt/tst-aio.c: Include <fcntl.h>.
57618 * rt/tst-aio7.c: Likewise.
57619 * rt/tst-aio64.c: Likewise.
57620
57621 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57622
57623 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57624
57625 * manual/install.texi (--with-headers): Describe headers as
57626 interface headers, not private headers.
57627 (Specific advice for GNU/Linux systems): Describe use of headers
57628 from "make headers_install", not private headers from older
57629 kernels.
57630 * INSTALL: Regenerated.
57631 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57632 Change to 2.6.19.
57633 * sysdeps/unix/sysv/linux/configure: Regenerated.
57634
57635 * manual/llio.texi (fclean): Remove documentation.
57636
57637 * manual/Makefile (libc-texi-generated): New variable. Include
57638 version.texi.
57639 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57640 $(libc-texi-generated), not duplicated list of files.
57641 (version.texi, stamp-version): New rules.
57642 (realclean): Remove $(libc-texi-generated), not individual files
57643 from that list. Do not remove dir-add.texinfo.
57644 * manual/libc.texinfo: Comment out uses of edition numbers and
57645 references to printed manual. Remove last-updated dates.
57646 (EDITION): Comment out.
57647 (ISBN): Likewise.
57648 (VERSION, UPDATED): Remove.
57649 (version.texi): Include.
57650
57651 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57652
57653 * sysdeps/posix/spawni.c: Include <signal.h>.
57654 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57655 * sysdeps/pthread/aio_fsync.c: Likewise.
57656
57657 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57658
57659 * conform/Makefile (tests): Run only when not cross-compiling and
57660 when fast-check is not defined.
57661
57662 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57663 * conform/data/limits.h-data: Fixes for POSIX2008.
57664 * conform/run-conformtest.sh: Run all tests.
57665 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57666 headers.
57667 * include/bits/dlfcn.h: Likewise.
57668 * include/langinfo.h: Likewise.
57669 * include/monetary.h: Likewise.
57670 * include/sys/poll.h: Likewise.
57671
57672 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57673 for __USE_GNU.
57674 * posix/spawn.h: Define __need_sigset_t.
57675 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57676 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57677 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57678 to get sigevent_t only.
57679 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57680 only for __USE_GNU.
57681 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57682 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57683 process_vm_writev only for __USE_GNU.
57684 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57685
57686 * conform/Makefile: For now ignore errors from run-conformtest.
57687 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57688 POSIX to avoid namespace pollution. Don't prepend headers.
57689 * conform/data/aio.h-data: Fixes for POSIX testing.
57690 * conform/data/fcntl.h-data: Likewise.
57691 * conform/data/glob.h-data: Likewise.
57692 * conform/data/grp.h-data: Likewise.
57693 * conform/data/pthread.h-data: Likewise.
57694 * conform/data/pwd.h-data: Likewise.
57695 * conform/data/signal.h-data: Likewise.
57696 * conform/data/spawn.h-data: Likewise.
57697 * conform/data/stdio.h-data: Likewise.
57698 * conform/data/stdlib.h-data: Likewise.
57699 * conform/data/stropts.h-data: Likewise.
57700 * conform/data/sys/mman.h-data: Likewise.
57701 * conform/data/sys/stat.h-data: Likewise.
57702 * conform/data/sys/types.h-data: Likewise.
57703 * conform/data/sys/wait.h-data: Likewise.
57704 * conform/data/time.h-data: Likewise.
57705 * conform/data/unistd.h-data: Likewise.
57706 * conform/data/utime.h-data: Likewise.
57707
57708 * io/sys/stat.h: fchmod was always in POSIX.
57709 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57710 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57711 * rt/aio.h: Define __need_timespec before including <time.h>.
57712 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57713 struct. Add forward declaration of pthread_attr_t and use it in
57714 sigevent.
57715 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57716 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57717 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57718 always remove CLK_TCK definition.
57719
57720 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57721
57722 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57723
57724 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57725
57726 * conform/run-conformtest.sh: New file.
57727 * conform/Makefile: Run run-conformtest for tests.
57728 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57729 support.
57730
57731 * conform/data/uchar.h-data: New file.
57732 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57733 * conform/data/arpa/inet.h-data: Likewise.
57734 * conform/data/assert.h-data: Likewise.
57735 * conform/data/complex.h-data: Likewise.
57736 * conform/data/cpio.h-data: Likewise.
57737 * conform/data/ctype.h-data: Likewise.
57738 * conform/data/dirent.h-data: Likewise.
57739 * conform/data/dlfcn.h-data: Likewise.
57740 * conform/data/errno.h-data: Likewise.
57741 * conform/data/fcntl.h-data: Likewise.
57742 * conform/data/float.h-data: Likewise.
57743 * conform/data/fmtmsg.h-data: Likewise.
57744 * conform/data/fnmatch.h-data: Likewise.
57745 * conform/data/ftw.h-data: Likewise.
57746 * conform/data/glob.h-data: Likewise.
57747 * conform/data/grp.h-data: Likewise.
57748 * conform/data/iconv.h-data: Likewise.
57749 * conform/data/inttypes.h-data: Likewise.
57750 * conform/data/langinfo.h-data: Likewise.
57751 * conform/data/libgen.h-data: Likewise.
57752 * conform/data/limits.h-data: Likewise.
57753 * conform/data/locale.h-data: Likewise.
57754 * conform/data/math.h-data: Likewise.
57755 * conform/data/monetary.h-data: Likewise.
57756 * conform/data/mqueue.h-data: Likewise.
57757 * conform/data/ndbm.h-data: Likewise.
57758 * conform/data/net/if.h-data: Likewise.
57759 * conform/data/netdb.h-data: Likewise.
57760 * conform/data/netinet/in.h-data: Likewise.
57761 * conform/data/nl_types.h-data: Likewise.
57762 * conform/data/poll.h-data: Likewise.
57763 * conform/data/pthread.h-data: Likewise.
57764 * conform/data/pwd.h-data: Likewise.
57765 * conform/data/regex.h-data: Likewise.
57766 * conform/data/sched.h-data: Likewise.
57767 * conform/data/search.h-data: Likewise.
57768 * conform/data/semaphore.h-data: Likewise.
57769 * conform/data/setjmp.h-data: Likewise.
57770 * conform/data/signal.h-data: Likewise.
57771 * conform/data/spawn.h-data: Likewise.
57772 * conform/data/stdarg.h-data: Likewise.
57773 * conform/data/stdio.h-data: Likewise.
57774 * conform/data/stdlib.h-data: Likewise.
57775 * conform/data/string.h-data: Likewise.
57776 * conform/data/strings.h-data: Likewise.
57777 * conform/data/stropts.h-data: Likewise.
57778 * conform/data/sys/ipc.h-data: Likewise.
57779 * conform/data/sys/mman.h-data: Likewise.
57780 * conform/data/sys/msg.h-data: Likewise.
57781 * conform/data/sys/resource.h-data: Likewise.
57782 * conform/data/sys/select.h-data: Likewise.
57783 * conform/data/sys/sem.h-data: Likewise.
57784 * conform/data/sys/shm.h-data: Likewise.
57785 * conform/data/sys/socket.h-data: Likewise.
57786 * conform/data/sys/stat.h-data: Likewise.
57787 * conform/data/sys/statvfs.h-data: Likewise.
57788 * conform/data/sys/time.h-data: Likewise.
57789 * conform/data/sys/timeb.h-data: Likewise.
57790 * conform/data/sys/times.h-data: Likewise.
57791 * conform/data/sys/types.h-data: Likewise.
57792 * conform/data/sys/uio.h-data: Likewise.
57793 * conform/data/sys/un.h-data: Likewise.
57794 * conform/data/sys/utsname.h-data: Likewise.
57795 * conform/data/sys/wait.h-data: Likewise.
57796 * conform/data/syslog.h-data: Likewise.
57797 * conform/data/tar.h-data: Likewise.
57798 * conform/data/termios.h-data: Likewise.
57799 * conform/data/utime.h-data: Likewise.
57800 * conform/data/utmpx.h-data: Likewise.
57801 * conform/data/varargs.h-data: Likewise.
57802 * conform/data/wchar.h-data: Likewise.
57803 * conform/data/wctype.h-data: Likewise.
57804 * conform/data/wordexp.h-data: Likewise.
57805
57806 * include/stropts.h: New file.
57807 * include/uchar.h: New file.
57808 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57809 * include/assert.h: Likewise.
57810 * include/ctype.h: Likewise.
57811 * include/dirent.h: Likewise.
57812 * include/dlfcn.h: Likewise.
57813 * include/fcntl.h: Likewise.
57814 * include/fnmatch.h: Likewise.
57815 * include/glob.h: Likewise.
57816 * include/grp.h: Likewise.
57817 * include/libio.h: Likewise.
57818 * include/locale.h: Likewise.
57819 * include/math.h: Likewise.
57820 * include/net/if.h: Likewise.
57821 * include/netdb.h: Likewise.
57822 * include/netinet/in.h: Likewise.
57823 * include/pthread.h: Likewise.
57824 * include/pwd.h: Likewise.
57825 * include/regex.h: Likewise.
57826 * include/sched.h: Likewise.
57827 * include/search.h: Likewise.
57828 * include/setjmp.h: Likewise.
57829 * include/signal.h: Likewise.
57830 * include/stdio.h: Likewise.
57831 * include/stdlib.h: Likewise.
57832 * include/string.h: Likewise.
57833 * include/sys/cdefs.h: Likewise.
57834 * include/sys/mman.h: Likewise.
57835 * include/sys/msg.h: Likewise.
57836 * include/sys/resource.h: Likewise.
57837 * include/sys/select.h: Likewise.
57838 * include/sys/socket.h: Likewise.
57839 * include/sys/stat.h: Likewise.
57840 * include/sys/statvfs.h: Likewise.
57841 * include/sys/time.h: Likewise.
57842 * include/sys/times.h: Likewise.
57843 * include/sys/uio.h: Likewise.
57844 * include/sys/utsname.h: Likewise.
57845 * include/sys/wait.h: Likewise.
57846 * include/termios.h: Likewise.
57847 * include/time.h: Likewise.
57848 * include/ulimit.h: Likewise.
57849 * include/unistd.h: Likewise.
57850 * include/utime.h: Likewise.
57851 * include/wchar.h: Likewise.
57852 * include/wctype.h: Likewise.
57853 * include/wordexp.h: Likewise.
57854
57855 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57856
57857 * time/time.h: TIME_UTC must be a macro.
57858 Make timespec_get available for ISO C11 only as well.
57859
57860 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57861
57862 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57863 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57864
57865 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57866
57867 * configure.in: Use -o not -a in test for unsupported multi-arch.
57868
57869 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57870
57871 * manual/texinfo.tex: Update to version 2012-01-19.16.
57872
57873 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57874
57875 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57876
57877 2012-02-24 Roland McGrath <roland@hack.frob.com>
57878
57879 [BZ #13738]
57880 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57881 * manual/fdl-1.3.texi: New file.
57882 * manual/fdl-1.1.texi: File removed.
57883
57884 [BZ #13738]
57885 * manual/libc.texinfo (FDL_VERSION): New @set.
57886 Use it for mention of FDL in cover text.
57887 (Documentation License): Use it in @include file name.
57888
57889 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57890 Roland McGrath <roland@hack.frob.com>
57891
57892 [BZ #5461]
57893 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57894 (not LONG_LONG_MAX and LONG_LONG_MIN.
57895 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57896 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57897 name.
57898 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57899
57900 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57901
57902 [BZ #2547]
57903 [BZ #11365]
57904 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57905 manipulate bits before adding and subtracting TWO23[sx].
57906 * math/libm-test.inc (nearbyint_test): Add more tests.
57907
57908 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57909
57910 [BZ #2548]
57911 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57912 bits before adding and subtracting TWO23[sx].
57913 * math/libm-test.inc (rint_test): Add more tests.
57914 (rint_test_tonearest): Likewise.
57915 (rint_test_towardzero): Likewise.
57916 (rint_test_downward): Likewise.
57917 (rint_test_upward: Likewise.
57918
57919 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57920
57921 [BZ #10110]
57922 * include/stdc-predef.h: New file. Extracted from features.h.
57923 * include/features.h: Include stdc-predef.h.
57924 * Makefile (headers): Add stdc-predef.h.
57925 * CONFORMANCE (Compiler limitations): Update.
57926
57927 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57928
57929 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57930
57931 2012-02-21 David S. Miller <davem@davemloft.net>
57932
57933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57934 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57935
57936 2012-02-20 David S. Miller <davem@davemloft.net>
57937
57938 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57939 using a normal save/restore sequence, rather than allocating a
57940 dummy stack frame just to store a frame pointer and restore.
57941 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57942
57943 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57944
57945 * manual/install.texi: Fix stray word in line-wrapped comment.
57946
57947 2012-02-20 David S. Miller <davem@davemloft.net>
57948
57949 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57950 both binutils and gcc support GOTDATA.
57951
57952 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57953 "rd %pc" in the PIC register setup sequences.
57954
57955 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57956 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57957 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57958 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57959 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57961 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57962 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57964 (SYSCALL_ERROR_HANDLER): Likewise.
57965 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57966 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57968 (SYSCALL_ERROR_HANDLER): Likewise.
57969
57970 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57971 (HAVE_GCC_GOTDATA): New.
57972 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57973 relocation support in both binutils and gcc.
57974 * sysdeps/sparc/elf/configure: Regenerate.
57975
57976 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57977 * sysdeps/sparc/sparc32/elf/configure: Delete.
57978 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57979 * sysdeps/sparc/sparc64/elf/configure: Delete.
57980 * sysdeps/sparc/elf/configure.in: New file.
57981 * sysdeps/sparc/elf/configure: Generate.
57982
57983 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57984 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57985 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57986 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57987 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57988
57989 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57990
57991 * manual/install.texi: Do not mention specific glibc version
57992 numbers.
57993 * manual/libc.texinfo (VERSION, UPDATED): Update.
57994 (@copying): Use @copyright{} and range of years.
57995
57996 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57997
57998 [BZ #13695]
57999 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58000 [crti.S not in sysdirs] (generated): Do not append.
58001 [crti.S not in sysdirs] (omit-deps): Likewise.
58002 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58003 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58004 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58005 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58006 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58007 Likewise.
58008 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58009 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58010 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58011 * csu/defs.awk: Remove file.
58012 * sysdeps/generic/initfini.c: Likewise.
58013 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58014 variable.
58015 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58016 Likewise.
58017
58018 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58019
58020 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58021 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58022 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58023 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58024 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58025 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58026 <bits/epoll.h>.
58027 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58028 (__EPOLL_PACKED): Define to empty if not defined by
58029 <bits/epoll.h>.
58030 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58032 bits/epoll.h.
58033
58034 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58035
58036 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58037 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58038 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58039 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58040 <bits/timerfd.h>.
58041 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58043 bits/timerfd.h.
58044
58045 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58046
58047 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58048 in C locale.
58049 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58050 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58051 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58053
58054 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
58055
58056 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58057 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58058
58059 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
58060
58061 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58062 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58063 defined.
58064 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58065 Likewise.
58066 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58067 entry for 2.16.
58068
58069 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
58070
58071 * math/w_acos.c: Use non-signaling floating-point comparisons.
58072 * math/w_acosf.c: Likewise.
58073 * math/w_acosh.c: Likewise.
58074 * math/w_acoshf.c: Likewise.
58075 * math/w_acoshl.c: Likewise.
58076 * math/w_acosl.c: Likewise.
58077 * math/w_asin.c: Likewise.
58078 * math/w_asinf.c: Likewise.
58079 * math/w_asinl.c: Likewise.
58080 * math/w_atanh.c: Likewise.
58081 * math/w_atanhf.c: Likewise.
58082 * math/w_atanhl.c: Likewise.
58083 * math/w_exp2.c: Likewise.
58084 * math/w_exp2f.c: Likewise.
58085 * math/w_exp2l.c: Likewise.
58086 * math/w_j0.c: Likewise.
58087 * math/w_j0f.c: Likewise.
58088 * math/w_j0l.c: Likewise.
58089 * math/w_j1.c: Likewise.
58090 * math/w_j1f.c: Likewise.
58091 * math/w_j1l.c: Likewise.
58092 * math/w_jn.c: Likewise.
58093 * math/w_jnf.c: Likewise.
58094 * math/w_log.c: Likewise.
58095 * math/w_log10.c: Likewise.
58096 * math/w_log10f.c: Likewise.
58097 * math/w_log10l.c: Likewise.
58098 * math/w_log2.c: Likewise.
58099 * math/w_log2f.c: Likewise.
58100 * math/w_log2l.c: Likewise.
58101 * math/w_logf.c: Likewise.
58102 * math/w_logl.c: Likewise.
58103 * math/w_sqrt.c: Likewise.
58104 * math/w_sqrtf.c: Likewise.
58105 * math/w_sqrtl.c: Likewise.
58106 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58107 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58108 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58109 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58110 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58111
58112 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58113
58114 [BZ #9739]
58115 * manual/string.texi (strnlen): Use correct parameter name in
58116 equivalent expression.
58117
58118 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58119
58120 [BZ #11174]
58121 * manual/users.texi (seteuid): Consistently use neweuid for
58122 argument name.
58123
58124 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58125
58126 [BZ #13704]
58127 * manual/nss.texi (Services in the NSS configuration): Correct
58128 list of services in example configuration file.
58129
58130 2012-02-19 Nick Bowler <nbowler@draconx.ca>
58131
58132 [BZ #11322]
58133 * manual/arith.texi: Remove statements about negative zero
58134 behaving identically to zero.
58135
58136 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58137
58138 [BZ #5993]
58139 * manual/install.texi: Do not document upgrading from libc5.
58140
58141 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58142
58143 [BZ #4596]
58144 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58145
58146 2012-02-18 David S. Miller <davem@davemloft.net>
58147
58148 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58149 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58150 %o7 across the call.
58151 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58152 instead.
58153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58154 SETUP_PIC_REG_LEAF.
58155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58156 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58157 * sysdeps/sparc/crtn.S: Likewise.
58158
58159 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58160
58161 * aout/Makefile: Remove.
58162
58163 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58164
58165 [BZ #13058]
58166 * manual/examples/argp-ex1.c (main): Format definition in GNU
58167 style.
58168 * manual/examples/argp-ex2.c (main): Likewise.
58169 * manual/examples/argp-ex3.c (main): Likewise.
58170 * manual/examples/argp-ex4.c (main): Likewise.
58171 * manual/examples/longopt.c (main): Use new-style prototype
58172 definition.
58173 * manual/examples/strncat.c (main): Specify return type and use
58174 (void) for arguments.
58175 * manual/examples/subopt.c (main): Use char **argv argument.
58176
58177 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58178
58179 [BZ #5077]
58180 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58181 rounding modes.
58182
58183 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58184
58185 [BZ #6907]
58186 * manual/string.texi (strchr): Change when strchrnul is
58187 recommended.
58188
58189 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58190
58191 [BZ #174]
58192 * manual/locale.texi (setlocale): Document LOCPATH.
58193
58194 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58195
58196 [BZ #10210]
58197 * manual/process.texi (execle): Move @dots{} before last argument.
58198
58199 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58200
58201 [BZ #12047]
58202 * manual/charset.texi (Generic Charset Conversion): Fix typo
58203 (LC_TYPE -> LC_CTYPE).
58204
58205 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58206
58207 [BZ #5805]
58208 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58209 (scalbnf): Likewise.
58210 (scalbnl): Likewise.
58211 (scalbln): Likewise.
58212 (scalblnf): Likewise.
58213 (scalblnl): Likewise.
58214 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58215 (vwarnx): Likewise.
58216 (verr): Likewise.
58217 (verrx): Likewise.
58218 * manual/filesys.texi (telldir): Use braces around return type.
58219 * manual/llio.texi (mmap): Add space after comma.
58220 (mmap64): Likewise.
58221 * manual/math.texi (jn): Use @var{} on parameter names.
58222 (jnf): Likewise.
58223 (jnl): Likewise.
58224 (yn): Likewise.
58225 (ynf): Likewise.
58226 (ynl): Likewise.
58227 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58228 line.
58229 * manual/resource.texi (ulimit): Use @dots{} instead of literal
58230 "...".
58231 (sched_get_priority_min): Remove semicolon on @deftypefun line.
58232 (sched_get_priority_max): Likewise.
58233 * manual/signal.texi (sigvec): Add space after comma.
58234 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58235 names.
58236 (if_indextoname): Likewise.
58237 (if_freenameindex): Likewise.
58238 (sendto): Use ',' instead of '.' in prototype.
58239 * manual/startup.texi (syscall): Use @dots{} instead of literal
58240 "...".
58241 * manual/stdio.texi (__fpending): Separate initial words of
58242 paragraph from @deftypefun line.
58243 * manual/syslog.texi (syslog): Use @dots{} instead of literal
58244 "...".
58245 (vsyslog): Use @var{} on parameter names.
58246 * manual/terminal.texi (stty): Use @var{} on parameter names.
58247 * manual/users.texi (getutmp): Use @var{} on parameter names.
58248 (getutmpx): Likewise.
58249
58250 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58251
58252 [BZ #6884]
58253 * manual/stdio.texi (fopen): Fix typos in description of
58254 ",ccs=STRING".
58255
58256 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58257
58258 [BZ #4026]
58259 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58260 get clock_id definition.
58261
58262 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58263
58264 [BZ #4822]
58265 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58266 (madvise): Cast every argument to void on its own.
58267
58268 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58269
58270 [BZ #9902]
58271 * manual/startup.texi (Exit Status): Fix typo.
58272
58273 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58274
58275 [BZ #10140]
58276 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58277 * manual/examples/argp-ex2.c: Likewise.
58278 * manual/examples/argp-ex3.c: Likewise.
58279
58280 2012-02-16 Richard Henderson <rth@redhat.com>
58281
58282 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58283 * sysdeps/s390/s390-32/initfini.c: Remove.
58284 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58285 * sysdeps/s390/s390-64/initfini.c: Remove.
58286
58287 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58288
58289 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58290 compiler output for sysdeps/generic/initfini.c.
58291 * sysdeps/sh/elf/initfini.c: Remove file.
58292
58293 2012-02-16 David S. Miller <davem@davemloft.net>
58294
58295 [BZ #11494]
58296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58297
58298 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58299 * sysdeps/sparc/crti.S: New file.
58300 * sysdeps/sparc/crtn.S: New file.
58301 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58302 * sysdeps/sparc/sparc64/Makefile: Likewise.
58303
58304 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58305
58306 [BZ #3335]
58307 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58308
58309 2012-02-15 Roland McGrath <roland@hack.frob.com>
58310
58311 [BZ #4822]
58312 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58313
58314 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58315 (write, read, close): Likewise.
58316 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58317
58318 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58319
58320 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58321 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58322 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58323 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58324 <bits/signalfd.h>.
58325 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58327 bits/signalfd.h.
58328
58329 2012-02-14 Marek Polacek <polacek@redhat.com>
58330
58331 * sysdeps/x86_64/crti.S: New file.
58332 * sysdeps/x86_64/crtn.S: New file.
58333 * sysdeps/x86_64/elf/initfini.c: Remove file.
58334
58335 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58336
58337 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58338 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58339 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58340 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58341 <bits/inotify.h>.
58342 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58344 bits/inotify.h.
58345
58346 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58347
58348 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58349 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58350 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58351 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58352 <bits/eventfd.h>.
58353 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58355 bits/eventfd.h.
58356
58357 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58358
58359 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58360 __feraiseexcept instead of feraiseexcept.
58361
58362 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58363 nanosleep invocations.
58364 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58365 strings, and add error checking for a nanosleep invocations.
58366
58367 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58368
58369 Replace FSF snail mail address with URLs, as per GNU coding standards.
58370 Most of the snail mail addresses were wrong anyway, and omitting
58371 them makes the source code easier to maintain. Almost all of the
58372 changes are to license notices and to locale LC_IDENTIFICATION
58373 addresses, except for this one:
58374 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58375 not its snail mail address.
58376
58377 2012-02-09 Richard Henderson <rth@twiddle.net>
58378
58379 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58380 of kernel-features.h.
58381
58382 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58383
58384 2012-02-08 Marek Polacek <polacek@redhat.com>
58385
58386 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58387 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58388 * sysdeps/gnu/_G_config.h: Likewise.
58389 * sysdeps/generic/_G_config.h: Likewise.
58390
58391 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58392
58393 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58394 tests.
58395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58396
58397 * sysdeps/powerpc/powerpc32/crti.S: New file.
58398 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58399 * sysdeps/powerpc/powerpc64/crti.S: New file.
58400 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58401
58402 * Makeconfig (have-initfini): Don't set.
58403 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58404 * configure.in (nopic_initfini): Don't substitute.
58405 * config.h.in (HAVE_INITFINI): Don't #undef.
58406 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58407 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58408
58409 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58410
58411 Support crti.S and crtn.S provided directly by architectures.
58412 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58413 [crti.S in sysdirs] (omit-deps): Likewise.
58414 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58415 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58416 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58417 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58418 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58419 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58420 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58421 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58422 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58423 compiler output for sysdeps/generic/initfini.c.
58424 * sysdeps/i386/elf/Makefile: Remove file.
58425 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58426
58427 2012-02-07 Marek Polacek <polacek@redhat.com>
58428
58429 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58430 * sysdeps/gnu/_G_config.h: Likewise.
58431 * sysdeps/mach/hurd/_G_config.h: Likewise.
58432
58433 2012-02-07 Marek Polacek <polacek@redhat.com>
58434
58435 * math/Makefile (tests): Add tst-CMPLX2.
58436 * math/tst-CMPLX2.c: New file.
58437
58438 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58439
58440 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58441
58442 * math/libm-test.inc (jn_test): Add missing L suffix.
58443
58444 2012-02-06 Marek Polacek <polacek@redhat.com>
58445
58446 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58447 * sysdeps/i386/fpu/e_powf.S: Likewise.
58448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58449 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58450 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58451 * sysdeps/i386/fpu/e_pow.S: Likewise.
58452 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58453 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58454 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58455 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58456 * sysdeps/i386/fpu/e_log2.S: Likewise.
58457 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58458 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58459 * sysdeps/i386/fpu/e_powl.S: Likewise.
58460 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58461 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58462 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58463 * sysdeps/i386/fpu/e_logl.S: Likewise.
58464 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58465 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58466 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58467 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58468 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58469 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58470 * sysdeps/i386/fpu/e_log.S: Likewise.
58471 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58472 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58473 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58474 * sysdeps/i386/fpu/e_logf.S: Likewise.
58475 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58476 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58477 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58478 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58479 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58480 * sysdeps/i386/fpu/e_log10.S: Likewise.
58481 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58482 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58483 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58484 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58485 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58486 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58487 * sysdeps/i386/asm-syntax.h: Likewise.
58488 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58489 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58490 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58491 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58492 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58493 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58494 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58495 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58496 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58497 * sysdeps/powerpc/sysdep.h: Likewise.
58498 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58499 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58500
58501 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58502
58503 [BZ #411]
58504 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58505
58506 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58507
58508 * sysdeps/i386/sysdep.h: Include <features.h>.
58509 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58510 version.
58511
58512 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58513
58514 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58515 Define.
58516 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58517 LOAD_PIC_REG_STR.
58518
58519 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58520
58521 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58522 (SETUP_PIC_REG): Use GET_PC_THUNK.
58523 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58524 macro.
58525
58526 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58527
58528 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58529 for non-PIC compilation.
58530 (SETUP_PIC_REG): Add .p2align directive.
58531 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58532 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58533 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58534 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58535 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58536 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58537 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58539 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58540 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58541 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58542 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58543 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58544 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58545 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58546 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58547 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58548 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58549 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58550 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58551 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58552 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58553 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58554 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58555 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58557 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58558 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58559 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58560 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58561 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58562 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58563 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58564 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58565 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58566 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58567 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58568 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58569 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58570 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58571 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58572
58573 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58574
58575 * math/tst-CMPLX.c: Include <stdio.h>.
58576
58577 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58578
58579 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58580 float.
58581 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58582 * sysdeps/sparc/bits/mathdef.h: Likewise.
58583
58584 2012-01-31 Marek Polacek <polacek@redhat.com>
58585
58586 * libio/libio.h: Don't define _PARAMS.
58587 * locale/programs/config.h: Don't define PARAMS.
58588 * stdlib/strtol_l.c: Likewise.
58589 (__strtol_l): Remove PARAMS from the prototype.
58590
58591 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58592
58593 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58594 names. Just use the correct names. Remove unnecessary wrapper
58595 functions.
58596 * malloc/arena.c: Likewise.
58597 * malloc/hooks.c: Likewise.
58598
58599 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58600 ARENA_TEST says not to. Simplify test for creation of a new arena.
58601 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58602
58603 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58604
58605 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58606 into tail calls.
58607 (update_get_addr): New function.
58608 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58609 GET_ADDR_MODULE parameter.
58610
58611 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58612
58613 * crypt/cert.c: Remove __STDC__ conditionals.
58614 * crypt/crypt-entry.c: Likewise.
58615 * crypt/crypt_util.c: Likewise.
58616 * libio/filedoalloc.c: Likewise.
58617 * libio/fileops.c: Likewise.
58618 * libio/genops.c: Likewise.
58619 * libio/iofclose.c: Likewise.
58620 * libio/iofdopen.c: Likewise.
58621 * libio/iofopen.c: Likewise.
58622 * libio/iofopen64.c: Likewise.
58623 * libio/iogetdelim.c: Likewise.
58624 * libio/iopopen.c: Likewise.
58625 * libio/obprintf.c: Likewise.
58626 * libio/oldfileops.c: Likewise.
58627 * libio/oldiofclose.c: Likewise.
58628 * libio/oldiofdopen.c: Likewise.
58629 * libio/oldiofopen.c: Likewise.
58630 * libio/oldiopopen.c: Likewise.
58631 * libio/wfiledoalloc.c: Likewise.
58632 * libio/wgenops.c: Likewise.
58633 * locale/programs/xmalloc.c: Likewise.
58634 * misc/syslog.c: Likewise.
58635 * stdio-common/xbug.c: Likewise.
58636 * string/memchr.c: Likewise.
58637 * string/memcmp.c: Likewise.
58638 * string/memrchr.c: Likewise.
58639 * string/rawmemchr.c: Likewise.
58640 * sysdeps/posix/getcwd.c: Likewise.
58641 * time/strftime_l.c: Likewise.
58642
58643 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58644
58645 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58646 * config.make.in (config-cflags-sse2avx): Define.
58647 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58648 Fix typo.
58649
58650 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58651
58652 * scripts/config.guess: Update from upstream config git repository.
58653 * scripts/config.sub: Likewise.
58654
58655 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58656
58657 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58658 (EM_NUM): Update.
58659 (R_TILEPRO_*, R_TILEGX_*): New macros.
58660
58661 * scripts/firstversions.awk: Fix bug in version range handling.
58662
58663 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58664
58665 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58666
58667 * include/sys/epoll.h: New file.
58668 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58669 libc_hidden_def.
58670
58671 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58672
58673 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58674 Avoid unnecessary __WORDSIZE == 64 test.
58675 (fmaxf): Use VEX format if possible.
58676 (fmax): Likewise.
58677 (fminf): Likewise.
58678 (fmin): Likewise.
58679
58680 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58681 * math/math_private.h: Remove libc_fegetround* and
58682 libc_fesetround*.
58683 * sysdeps/i386/configure.in: Check for -msse2avx.
58684 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58685 also if SSE2AVX is defined.
58686 Remove libc_fegetround* and libc_fesetround*.
58687 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58688 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58689 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58690 of HAS_YMM_USABLE.
58691 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58692 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58693 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58694 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58695 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58696
58697 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58698
58699 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58700
58701 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58702 size is not set.
58703 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58704
58705 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58706
58707 [BZ #13618]
58708 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58709 relocation.
58710 * Makeconfig (libm): Define.
58711 * elf/Makefile: Add rules to build and run tst-relsort1.
58712 * elf/tst-relsort1.c: New file.
58713 * elf/tst-relsort1mod1.c: New file.
58714 * elf/tst-relsort1mod2.c: New file.
58715
58716 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58717
58718 * math/s_ldexp.c: Remove __STDC__ conditionals.
58719 * math/s_ldexpf.c: Likewise.
58720 * math/s_ldexpl.c: Likewise.
58721 * math/s_nextafter.c: Likewise.
58722 * math/s_nexttowardf.c: Likewise.
58723 * math/s_significand.c: Likewise.
58724 * math/s_significandf.c: Likewise.
58725 * math/s_significandl.c: Likewise.
58726 * math/w_jnl.c: Likewise.
58727 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58728 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58729 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58730 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58731 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58732 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58733 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58734 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58735 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58736 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58737 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58739 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58740 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58741 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58742 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58743 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58744 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58746 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58747 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58748 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58749 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58750 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58751 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58752 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58753 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58754 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58755 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58756 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58757 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58758 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58759 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58760 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58761 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58762 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58763 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58764 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58765 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58766 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58767 * sysdeps/ieee754/k_standard.c: Likewise.
58768 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58769 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58770 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58771 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58772 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58773 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58774 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58775 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58776 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58777 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58778 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58779 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58780 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58781 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58782 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58783 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58784 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58785 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58786 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58787 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58788 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58789 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58790 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58791 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58792 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58793 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58796 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58797 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58798 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58799 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58800 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58801 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58803 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58804 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58805 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58806 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58807 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58808 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58810 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58811 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58812 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58813 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58814 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58816 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58817 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58818 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58819 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58820 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58821 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58822 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58823 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58824 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58825 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58827 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58828 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58829 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58830 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58831 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58832 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58833 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58834 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58835 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58836 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58837 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58838 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58839 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58840 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58841 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58842 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58843 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58844 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58845 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58846 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58847 * sysdeps/ieee754/s_matherr.c: Likewise.
58848 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58849 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58850 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58852
58853 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58854
58855 * crypt/md5.h: Remove __STDC__ conditionals.
58856 * libio/libioP.h: Likewise.
58857 * locale/programs/config.h: Likewise.
58858 * sysdeps/generic/sysdep.h: Likewise.
58859 * sysdeps/i386/asm-syntax.h: Likewise.
58860 * sysdeps/s390/asm-syntax.h: Likewise.
58861 * sysdeps/unix/sysdep.h: Likewise.
58862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58864
58865 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58866
58867 * libio/libio.h: Remove __STDC__ conditionals.
58868 * malloc/obstack.h: Likewise.
58869 * math/complex.h: Likewise.
58870 * math/math.h: Likewise.
58871 * sysdeps/generic/_G_config.h: Likewise.
58872 * sysdeps/gnu/_G_config.h: Likewise.
58873 * sysdeps/mach/hurd/_G_config.h: Likewise.
58874 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58875 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58876 * sysdeps/sparc/bits/mathdef.h: Likewise.
58877
58878 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58879
58880 [BZ #13583]
58881 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58882 Clean up HAS_* macros.
58883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58884 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58885 possible.
58886 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58887 HAS_AVX.
58888 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58889 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58890 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58891 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58892 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58893
58894 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58895
58896 * elf/tst-unique3.cc (gets): Remove declaration.
58897 * elf/tst-unique3lib.cc (gets): Likewise.
58898 * elf/tst-unique3lib2.cc (gets): Likewise.
58899 * elf/tst-unique4.cc (gets): Likewise.
58900
58901 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58902
58903 * include/stdio.h: Add C++ protection. Add gets declarations and
58904 definitions.
58905 * debug/tst-chk1.c: Don't declare gets here.
58906 * stdio-common/tst-gets.c: Likewise.
58907
58908 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58909
58910 * posix/glob: Remove directory.
58911
58912 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58913
58914 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58915
58916 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58917
58918 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58919 of the non-standard EPFNOSUPPORT.
58920
58921 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58922
58923 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58924 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58925 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58926
58927 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58928
58929 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58930
58931 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58932
58933 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58934 transient errors.
58935 * nscd/grpcache.c (cache_addgr): Likewise.
58936 * nscd/hstcache.c (cache_addhst): Likewise.
58937 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58938 * nscd/pwdcache.c (cache_addpw): Likewise.
58939 * nscd/servicescache.c (cache_addserv): Likewise.
58940
58941 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58942
58943 * malloc/malloc.c: Various cleanups.
58944 * malloc/hooks.c: Likewise.
58945
58946 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58947 * stdlib/bug-fmtmsg1.c: New file.
58948
58949 * stdlib/fmtmsg.c (init): Add missing unlock.
58950 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58951
58952 2012-01-12 Marek Polacek <polacek@redhat.com>
58953
58954 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58955 and _GNU_SOURCE.
58956
58957 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58958
58959 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58960 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58961 macro to ensure uniqueness of label name.
58962 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58963 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58964
58965 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58966
58967 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58968
58969 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58970 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58971 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58973
58974 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58975
58976 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58977
58978 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58979 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58980 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58981
58982 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58983
58984 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58985 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58986 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58988
58989 * math/bits/math-finite.h: Add ldexp support.
58990
58991 2012-01-10 Marek Polacek <polacek@redhat.com>
58992
58993 * locale/programs/localedef.h (show_archive_content): Add noreturn
58994 attribute.
58995
58996 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58997
58998 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58999
59000 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59001
59002 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59003
59004 * io/Makefile (headers): Add bits/poll2.h.
59005
59006 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
59007
59008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59009 typo #include statement.
59010
59011 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59012
59013 * include/sys/cdefs.h: Define __attribute_alloc_size.
59014 * catgets/gencat.c: Add alloc_size attribute and apply consistently
59015 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59016 * elf/pldd.c: Likewise.
59017 * iconv/iconv_charmap.c: Likewise.
59018 * iconv/iconvconfig.c: Likewise.
59019 * iconv/strtab.c: Likewise.
59020 * locale/programs/locale.c: Likewise.
59021 * locale/programs/localedef.h: Likewise.
59022 * locale/programs/simple-hash.c: Likewise.
59023 * nscd/nscd.h: Likewise.
59024 * nss/makedb.c: Likewise.
59025 * sysdeps/generic/ldconfig.h: Likewise.
59026 * locale/programs/localedef.c: Remove xmalloc prototype.
59027 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59028
59029 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59030
59031 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59032 appropriate.
59033
59034 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59035
59036 * math/Makefile (tests): Add tst-CMPLX.
59037 * math/tst-CMPLX.c: New file.
59038
59039 * math/complex.h (CMPLXL): Fix typo.
59040
59041 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59042 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59043 GLIBC_2.16.
59044 * debug/tst-chk1.c: Add poll and ppoll tests.
59045 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59046 * include/sys/poll.h: Add hidden proto for ppoll.
59047 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59048 * sysdeps/mach/hurd/ppoll.c: Likewise.
59049 * io/ppoll.c: Likewise.
59050 * debug/poll_chk.c: New file.
59051 * debug/ppoll_chk.c: New file.
59052 * include/bits/poll2.h: New file.
59053 * io/bits/poll2.h: New file.
59054
59055 [BZ #1350]
59056 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59057
59058 * configure.in: static is always set to yes. Remove.
59059 * config.make.in: Don't set build-static.
59060 * Makeconfig: Remove use of build-static.
59061 * dlfcn/Makefile: Likewise.
59062 * elf/Makefile: Likewise.
59063 * math/Makefile: Likewise.
59064 * misc/Makefile: Likewise.
59065 * nptl/Makefile: Likewise.
59066 * sysdeps/mach/hurd/Makefile: Likewise.
59067
59068 * configure.in: PWD_P is not used anymore.
59069 * config.make.in: Remove PWD_P entry.
59070
59071 * configure.in: Remove last remnants of RANLIB.
59072 No need to check for signed size_t anymore.
59073 Don't set libc_commonpagesize and libc_relro_required here for Alpha
59074 and IA-64.
59075 Remove __builtin_expect test because we require at least gcc 3.4.
59076 * aclocal.m4: Likewise.
59077
59078 * wcsmbs/mbrtoc16.c: Implement using towc function.
59079 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59080 * wcsmbs/wcsmbsload.c: Likewise.
59081 * iconv/gconv_simple.c: Likewise.
59082 * iconv/gconv_int.h: Likewise.
59083 * iconv/gconv_builtin.h: Likewise.
59084 * iconv/iconv_prog.c: Remove CHAR16 handling.
59085
59086 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59087
59088 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59089
59090 * configure.in: Remove --with-elf and --enable-bounded options.
59091 Dont set base_machine for ia64. More non-ELF conditions removed.
59092 Remove testing and setting of leading underscore information.
59093 * config.make.in (build-bounded): Set to no.
59094 * config.h.in: Remove NO_UNDERSCORES entry.
59095 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
59096 them.
59097 * csu/start.c: Remove !NO_UNDERSCORE code.
59098 * locale/localeinfo.h: Likewise.
59099 * sysdeps/generic/machine-gmon.h: Likewise.
59100 * sysdeps/generic/sysdep.h: Likewise.
59101 * sysdeps/i386/sysdep.h: Likewise.
59102 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59103 * sysdeps/mach/sysdep.h: Likewise.
59104 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59105 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59106 * sysdeps/sh/sysdep.h: Likewise.
59107 * sysdeps/sparc/sparc32/alloca.S: Likewise.
59108 * sysdeps/unix/i386/sysdep.S: Likewise.
59109 * sysdeps/unix/sparc/start.c: Likewise.
59110 * sysdeps/unix/sparc/sysdep.S: Likewise.
59111 * sysdeps/unix/sparc/sysdep.h: Likewise.
59112 * sysdeps/unix/start.c: Likewise.
59113 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59114 * sysdeps/x86_64/sysdep.h: Likewise.
59115
59116 2012-01-07 Ulrich Drepper <drepper@gmail.com>
59117
59118 [BZ #13553]
59119 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59120 for non-gcc.
59121 * argp/argp-fmtstream.h: Use const instead __const.
59122 * argp/argp.h: Likewise.
59123 * assert/assert.h: Likewise.
59124 * bits/fenv.h: Likewise.
59125 * bits/sched.h: Likewise.
59126 * bits/sigset.h: Likewise.
59127 * bits/sigthread.h: Likewise.
59128 * catgets/nl_types.h: Likewise.
59129 * conform/data/pthread.h-data: Likewise.
59130 * crypt/crypt-private.h: Likewise.
59131 * crypt/crypt.h: Likewise.
59132 * crypt/crypt_util.c: Likewise.
59133 * ctype/ctype.h: Likewise.
59134 * debug/execinfo.h: Likewise.
59135 * debug/mbsnrtowcs_chk.c: Likewise.
59136 * debug/mbsrtowcs_chk.c: Likewise.
59137 * debug/wcsnrtombs_chk.c: Likewise.
59138 * debug/wcsrtombs_chk.c: Likewise.
59139 * debug/wcstombs_chk.c: Likewise.
59140 * dirent/dirent.h: Likewise.
59141 * dlfcn/dlfcn.h: Likewise.
59142 * elf/neededtest4.c: Likewise.
59143 * grp/grp.h: Likewise.
59144 * gshadow/gshadow.h: Likewise.
59145 * iconv/gconv.h: Likewise.
59146 * iconv/gconv_int.h: Likewise.
59147 * iconv/gconv_simple.c: Likewise.
59148 * iconv/iconv.h: Likewise.
59149 * iconv/loop.c: Likewise.
59150 * iconv/skeleton.c: Likewise.
59151 * include/aio.h: Likewise.
59152 * include/aliases.h: Likewise.
59153 * include/argz.h: Likewise.
59154 * include/arpa/inet.h: Likewise.
59155 * include/assert.h: Likewise.
59156 * include/dirent.h: Likewise.
59157 * include/dlfcn.h: Likewise.
59158 * include/execinfo.h: Likewise.
59159 * include/fcntl.h: Likewise.
59160 * include/fenv.h: Likewise.
59161 * include/glob.h: Likewise.
59162 * include/grp.h: Likewise.
59163 * include/libintl.h: Likewise.
59164 * include/mntent.h: Likewise.
59165 * include/netdb.h: Likewise.
59166 * include/pwd.h: Likewise.
59167 * include/rpc/netdb.h: Likewise.
59168 * include/sched.h: Likewise.
59169 * include/search.h: Likewise.
59170 * include/shadow.h: Likewise.
59171 * include/signal.h: Likewise.
59172 * include/stdio.h: Likewise.
59173 * include/stdlib.h: Likewise.
59174 * include/string.h: Likewise.
59175 * include/sys/socket.h: Likewise.
59176 * include/sys/stat.h: Likewise.
59177 * include/sys/statfs.h: Likewise.
59178 * include/sys/statvfs.h: Likewise.
59179 * include/sys/syslog.h: Likewise.
59180 * include/sys/time.h: Likewise.
59181 * include/sys/uio.h: Likewise.
59182 * include/time.h: Likewise.
59183 * include/unistd.h: Likewise.
59184 * include/utmp.h: Likewise.
59185 * include/wchar.h: Likewise.
59186 * include/wctype.h: Likewise.
59187 * inet/aliases.h: Likewise.
59188 * inet/arpa/inet.h: Likewise.
59189 * inet/netinet/ether.h: Likewise.
59190 * inet/netinet/in.h: Likewise.
59191 * intl/libintl.h: Likewise.
59192 * io/bits/fcntl2.h: Likewise.
59193 * io/fcntl.h: Likewise.
59194 * io/ftw.h: Likewise.
59195 * io/sys/poll.h: Likewise.
59196 * io/sys/stat.h: Likewise.
59197 * io/sys/statfs.h: Likewise.
59198 * io/sys/statvfs.h: Likewise.
59199 * io/utime.h: Likewise.
59200 * libio/bits/stdio.h: Likewise.
59201 * libio/bits/stdio2.h: Likewise.
59202 * libio/libio.h: Likewise.
59203 * libio/libioP.h: Likewise.
59204 * libio/stdio.h: Likewise.
59205 * locale/lc-ctype.c: Likewise.
59206 * locale/locale.h: Likewise.
59207 * login/utmp.h: Likewise.
59208 * malloc/arena.c: Likewise.
59209 * malloc/malloc.c: Likewise.
59210 * malloc/malloc.h: Likewise.
59211 * malloc/mcheck.c: Likewise.
59212 * malloc/mtrace.c: Likewise.
59213 * math/bits/mathcalls.h: Likewise.
59214 * math/fenv.h: Likewise.
59215 * math/math_private.h: Likewise.
59216 * misc/bits/error.h: Likewise.
59217 * misc/bits/syslog.h: Likewise.
59218 * misc/err.h: Likewise.
59219 * misc/error.h: Likewise.
59220 * misc/fstab.h: Likewise.
59221 * misc/mntent.h: Likewise.
59222 * misc/regexp.h: Likewise.
59223 * misc/search.h: Likewise.
59224 * misc/sgtty.h: Likewise.
59225 * misc/sys/mman.h: Likewise.
59226 * misc/sys/syslog.h: Likewise.
59227 * misc/sys/uio.h: Likewise.
59228 * misc/sys/xattr.h: Likewise.
59229 * misc/ttyent.h: Likewise.
59230 * nis/rpcsvc/ypclnt.h: Likewise.
59231 * nss/nss.h: Likewise.
59232 * posix/bits/unistd.h: Likewise.
59233 * posix/fnmatch.h: Likewise.
59234 * posix/glob.h: Likewise.
59235 * posix/sched.h: Likewise.
59236 * posix/spawn.h: Likewise.
59237 * posix/sys/wait.h: Likewise.
59238 * posix/unistd.h: Likewise.
59239 * posix/wordexp.h: Likewise.
59240 * pwd/pwd.h: Likewise.
59241 * resolv/netdb.h: Likewise.
59242 * resource/sys/resource.h: Likewise.
59243 * rt/aio.h: Likewise.
59244 * rt/bits/mqueue2.h: Likewise.
59245 * rt/mqueue.h: Likewise.
59246 * shadow/shadow.h: Likewise.
59247 * signal/signal.h: Likewise.
59248 * socket/send.c: Likewise.
59249 * socket/sendto.c: Likewise.
59250 * socket/sys/socket.h: Likewise.
59251 * stdio-common/printf.h: Likewise.
59252 * stdlib/bits/stdlib.h: Likewise.
59253 * stdlib/fmtmsg.h: Likewise.
59254 * stdlib/monetary.h: Likewise.
59255 * stdlib/stdlib.h: Likewise.
59256 * stdlib/ucontext.h: Likewise.
59257 * streams/stropts.h: Likewise.
59258 * string/argz.h: Likewise.
59259 * string/bits/string2.h: Likewise.
59260 * string/string.h: Likewise.
59261 * string/strings.h: Likewise.
59262 * sunrpc/rpc/auth.h: Likewise.
59263 * sunrpc/rpc/auth_des.h: Likewise.
59264 * sunrpc/rpc/clnt.h: Likewise.
59265 * sunrpc/rpc/netdb.h: Likewise.
59266 * sunrpc/rpc/pmap_clnt.h: Likewise.
59267 * sunrpc/rpc/xdr.h: Likewise.
59268 * sysdeps/generic/inttypes.h: Likewise.
59269 * sysdeps/generic/net/if.h: Likewise.
59270 * sysdeps/generic/sys/swap.h: Likewise.
59271 * sysdeps/gnu/net/if.h: Likewise.
59272 * sysdeps/gnu/utmpx.h: Likewise.
59273 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59274 * sysdeps/i386/i486/bits/string.h: Likewise.
59275 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59276 * sysdeps/s390/bits/string.h: Likewise.
59277 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59278 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59279 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59280 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59281 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59282 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59283 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59284 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59285 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59286 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59287 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59288 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59289 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59290 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59291 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59292 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59293 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59295 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59296 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59298 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59299 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59300 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59301 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59302 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59303 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59304 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59305 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59306 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59307 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59308 * sysvipc/sys/ipc.h: Likewise.
59309 * sysvipc/sys/msg.h: Likewise.
59310 * sysvipc/sys/sem.h: Likewise.
59311 * sysvipc/sys/shm.h: Likewise.
59312 * termios/termios.h: Likewise.
59313 * time/sys/time.h: Likewise.
59314 * time/time.h: Likewise.
59315 * wcsmbs/bits/wchar2.h: Likewise.
59316 * wcsmbs/uchar.h: Likewise.
59317 * wcsmbs/wchar.h: Likewise.
59318 * wctype/wctype.h: Likewise.
59319
59320 [BZ #13551]
59321 * Makeconfig: Remove all but ELF support including AIX support.
59322 * Makerules: Likewise.
59323 * config.h.in: Likewise.
59324 * config.make.in: Likewise.
59325 * configure: Likewise.
59326 * configure.in: Likewise.
59327 * csu/Makefile: Likewise.
59328 * csu/version.c: Likewise.
59329 * debug/Makefile: Likewise.
59330 * dlfcn/Makefile: Likewise.
59331 * elf/Makefile: Likewise.
59332 * extra-lib.mk: Likewise.
59333 * iconv/Makefile: Likewise.
59334 * include/libc-symbols.h: Likewise.
59335 * include/shlib-compat.h: Likewise.
59336 * resolv/Makefile: Likewise.
59337 * resolv/res_libc.c: Likewise.
59338 * rt/Makefile: Likewise.
59339 * sysdeps/i386/asm-syntax.h: Likewise.
59340 * sysdeps/i386/sysdep.h: Likewise.
59341 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59342 * sysdeps/mach/sysdep.h: Likewise.
59343 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59344 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59345 * sysdeps/s390/asm-syntax.h: Likewise.
59346 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59347 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59348 * sysdeps/sh/sysdep.h: Likewise.
59349 * sysdeps/unix/sparc/sysdep.h: Likewise.
59350 * sysdeps/wordsize-32/divdi3.c: Likewise.
59351 * sysdeps/x86_64/sysdep.h: Likewise.
59352
59353 * argp/Versions: Remove _argp_unlock_xxx.
59354
59355 [BZ #13559]
59356 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59357 * abilist/libBrokenLocale.abilist: Likewise.
59358 * abilist/libanl.abilist: Likewise.
59359 * abilist/libc.abilist: Likewise.
59360 * abilist/libcrypt.abilist: Likewise.
59361 * abilist/libdl.abilist: Likewise.
59362 * abilist/libm.abilist: Likewise.
59363 * abilist/libnsl.abilist: Likewise.
59364 * abilist/libpthread.abilist: Likewise.
59365 * abilist/libresolv.abilist: Likewise.
59366 * abilist/librt.abilist: Likewise.
59367 * abilist/libthread_db.abilist: Likewise.
59368 * abilist/libutil.abilist: Likewise.
59369 * abilist/libnss_db.abilist: New file.
59370
59371 * scripts/abilist.awk: Add support for indirect functions.
59372
59373 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59374
59375 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59376
59377 * shlib-versions: Remove entries for ports architectures.
59378
59379 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59380 files in ports.
59381 * elf/stackguard-macros.h: Remove support for IA-64.
59382 * elf/tst-auditmod1.c: Likewise.
59383 * sysdeps/generic/ldsodefs.h: Likewise.
59384
59385 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59386 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59387 configure files.
59388
59389 [BZ #13552]
59390 * configure.in: Remove --enable-omitfp support.
59391 * FAQ.in: Adjust.
59392 * config.make.in: Likewise.
59393 * Makeconfig: Likewise.
59394 * manual/install.texi: Likewise.
59395
59396 In case anyone cares, the IA-64 architecture could move to ports.
59397 * sysdeps/ia64/*: Removed.
59398 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59399 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59400
59401 [BZ #13555]
59402 * configure.in: Remove entries for unsupported architectures.
59403
59404 [BZ #13533]
59405 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59406 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59407 routines.
59408 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59409 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59410 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59411 fall back to using wcrtomb.
59412 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59413 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59414 renaming.
59415 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59416 * wcsmbs/tst-c16c32-1.c: New file.
59417
59418 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59419 local variable.
59420
59421 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59422
59423 * elf/tst-unique3.cc: Add explicit declaration of gets.
59424 * elf/tst-unique3lib.cc: Likewise.
59425 * elf/tst-unique3lib2.cc: Likewise.
59426 * elf/tst-unique4.cc: Likewise.
59427
59428 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59429
59430 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59431
59432 [BZ #13566]
59433 * assert/assert.h (static_assert): Don't define for C++.
59434 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59435 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59436
59437 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59438
59439 * iconv/loop.c (single loop): Fix assertion in storing of
59440 remaining bytes.
59441
59442 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59443
59444 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59445
59446 * posix/getconf.c: Update copyright year.
59447 * nss/getent.c: Likewise.
59448 * nss/makedb.c: Likewise.
59449 * iconv/iconvconfig.c: Likewise.
59450 * iconv/iconv_prog.c: Likewise.
59451 * elf/ldconfig.c: Likewise.
59452 * elf/pldd.c: Likewise.
59453 * elf/sotruss.ksh: Likewise.
59454 * catgets/gencat.c: Likewise.
59455 * csu/version.c: Likewise.
59456 * elf/ldd.bash.in: Likewise.
59457 * elf/sprof.c (print_version): Likewise.
59458 * locale/programs/locale.c: Likewise.
59459 * locale/programs/localedef.c: Likewise.
59460 * login/programs/pt_chown.c: Likewise.
59461 * nscd/nscd.c (print_version): Likewise.
59462 * debug/xtrace.sh: Likewise.
59463 * malloc/memusage.sh: Likewise.
59464 * malloc/mtrace.pl: Likewise.
59465 * debug/catchsegv.sh: Likewise.
59466
59467 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59468
59469 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59470 pure attribute.
59471
59472 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59473
59474 [BZ #13533]
59475 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59476 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59477 transformations.
59478 * iconv/gconv_int.h: Likewise.
59479 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59480 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59481 from libc for GLIBC_2.16.
59482 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59483 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59484 * wcsmbs/uchar.h: Really define mbstate_t.
59485 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59486 * wcsmbs/c16rtomb.c: New file.
59487 * wcsmbs/mbrtoc16.c: New file.
59488 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59489 for C/POSIX locale.
59490 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59491 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59492
59493 * wcsmbs/wchar.h: Add missing __restrict.
59494
59495 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59496
59497 [BZ #13532]
59498 * time/Makefile (routines): Add timespec_get.
59499 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59500 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59501 timespec for ISO C11.
59502 * time/timespec_get.c: New file.
59503 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59504 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59505
59506 [BZ #13531]
59507 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59508 * stdlib/stdlib.h: Declare aligned_alloc.
59509 * Versions.def: Add GLIBC_2.16 for libc.
59510 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59511
59512 [BZ 13527]
59513 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59514 ISO C11.
59515
59516 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59517 code.
59518
59519 [BZ #13528]
59520 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59521
59522 [BZ #13529]
59523 * assert/assert.h (static_assert): Define.
59524
59525 * version.h: Update for 2.16 development version.
59526
59527 [BZ #13526]
59528 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59529 _ISOC11_SOURCE.
59530
59531 * version.h (RELEASE): Bump for 2.15 release.
59532 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59533
59534 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59535 Patch by Marek Polacek <mpolacek@redhat.com>.
59536
59537 * bits/byteswap.h: Protect long long constants with __extension__.
59538 * sysdeps/i386/bits/byteswap.h: Likewise.
59539 * sysdeps/ia64/bits/byteswap.h: Likewise.
59540 * sysdeps/s390/bits/byteswap.h: Likewise.
59541 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59542
59543 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59544
59545 [BZ #13540]
59546 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59547 destination buffer.
59548 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59549
59550 2011-12-23 Marek Polacek <polacek@redhat.com>
59551
59552 * elf/dl-addr.c (determine_info): Add inline keyword.
59553 * elf/tst-auditmod4b.c (check_avx): Likewise.
59554 * elf/tst-auditmod6b.c (check_avx): Likewise.
59555 * elf/tst-auditmod6c.c (check_avx): Likewise.
59556 * elf/tst-auditmod7b.c (check_avx): Likewise.
59557
59558 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59559
59560 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59561 !__SSE_MATH__.
59562
59563 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59564
59565 [BZ #13540]
59566 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59567 processing for last bytes.
59568
59569 2011-08-06 Bruno Haible <bruno@clisp.org>
59570
59571 [BZ #13061]
59572 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59573 U+0385, not to U+1FEE.
59574
59575 [BZ #13062]
59576 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59577 entry for U+00A5 U+0301.
59578
59579 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59580
59581 [BZ #13166]
59582 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59583 buffer for the output is too small.
59584
59585 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59586 optimization.
59587
59588 [BZ #13185]
59589 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59590 SSE flags if possible.
59591
59592 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59593
59594 [BZ #13540]
59595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59596 processing for last bytes.
59597
59598 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59599
59600 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59601 (syscall-list-default-options, syscall-list-default-condition)
59602 (syscall-list-includes): Define.
59603 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59604 list of ABIs and options and #if conditions for each ABI. Do not
59605 handle common syscalls between ABIs specially.
59606 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59607 Remove.
59608 (syscall-list-variants, syscall-list-32bit-options)
59609 (syscall-list-32bit-condition, syscall-list-64bit-options)
59610 (syscall-list-64bit-condition): Define.
59611 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59621 Remove.
59622 (syscall-list-variants, syscall-list-32bit-options)
59623 (syscall-list-32bit-condition, syscall-list-64bit-options)
59624 (syscall-list-64bit-condition): Define.
59625
59626 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59627
59628 * locale/iso-639.def: Add brx entry.
59629
59630 [BZ #13328]
59631 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59632 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59633
59634 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59635 __feraiseexcept_renamed.
59636
59637 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59638
59639 [BZ #13538]
59640 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59641 EPOLLET with unsigned values.
59642 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59643 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59644
59645 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59646 to large cancellation.
59647 * math/s_cacoshf.c: Likewise.
59648 * math/s_cacoshl.c: Likewise.
59649
59650 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59651
59652 [BZ #13305]
59653 [BZ #12786]
59654 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59655 * math/s_cacoshf.c: Likewise.
59656 * math/s_cacoshl.c: Likewise.
59657
59658 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59659
59660 [BZ #13439]
59661 * iconv/gconv.h: Define __GCONV_SWAP.
59662 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59663 * iconvdata/utf-16.c: Likewise.
59664 * iconvdata/utf-32.c: Likewise.
59665
59666 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59667
59668 [BZ #13524]
59669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59670 numerator after shifting it by one limb.
59671
59672 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59673
59674 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59675 under [__USE_EXTERN_INLINES].
59676
59677 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59678
59679 [BZ #13446]
59680 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59681
59682 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59683
59684 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59685 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59686 optimized code.
59687 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59688 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59689 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59690 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59691 for strncasecmp/strncasecmp_l compilation.
59692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59693 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59694
59695 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59696
59697 [BZ #13484]
59698 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59699 of __asm__.
59700
59701 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59702
59703 [BZ #13506]
59704 * time/tzfile.c (__tzfile_read): Check values from file header.
59705
59706 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59707
59708 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59709 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59710 * powerpc/powerpc32/dl-start.S: Likewise.
59711 * powerpc/powerpc32/elf/start.S: Likewise.
59712 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59713 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59714 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59715 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59716 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59717 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59718 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59719 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59720 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59721 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59722 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59723 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59724 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59725 * powerpc/powerpc32/memset.S: Likewise.
59726 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59727 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59728 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59729 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59730 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59731 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59732 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59733 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59734 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59735 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59736 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59737 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59738 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59739
59740 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59741
59742 * math/libm-test.inc: Added more nearbyint tests.
59743 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59745 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59747
59748 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59749
59750 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59751 FD_CLOEXEC.
59752
59753 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59754
59755 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59756 Add wcscpy-ssse3 wcscpy-c.
59757 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59758 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59759 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59760 * sysdeps/x86_64/wcschr.S: New file.
59761 * sysdeps/x86_64/wcsrchr.S: New file.
59762 * string/test-strcmp.c: Remove checking of wcscmp function for
59763 wrong alignments.
59764 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59765 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59766 wcsrchr-sse2 wcsrchr-c.
59767 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59768 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59769 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59770 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59771 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59772 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59773 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59774 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59775 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59776 * wcsmbc/wcschr.c (WCSCHR): New macro.
59777
59778 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59779
59780 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59781 * wcsmbs/test-wcsrchr.c: New file.
59782 * string/test-strrchr.c: Add wcsrchr support.
59783 (WIDE): New macro.
59784 * wcsmbs/test-wcscpy.c: New file.
59785 * string/test-strcpy.c: Add wcscpy support.
59786 (WIDE): New macro.
59787
59788 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59789
59790 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59791 the inner loop.
59792
59793 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59794
59795 [BZ #13472]
59796 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59797
59798 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59799
59800 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59801 Minor optimizations.
59802
59803 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59804 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59805 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59806
59807 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59808
59809 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59810 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59811 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59812 for gcc to avoid warnings.
59813 * inet/Makefile (tests): Add tst-checks.
59814 * inet/tst-checks.c: New file.
59815
59816 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59817 warning.
59818
59819 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59820 __wmemcmp_sse2.
59821
59822 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59823 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59824
59825 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59826
59827 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59828
59829 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59830 problem.
59831
59832 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59833
59834 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59835
59836 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59837 conditional on GCC version.
59838 (__arch_compare_and_exchange_val_8_acq)
59839 (__arch_compare_and_exchange_val_16_acq)
59840 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59841 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59842 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59843
59844 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59845
59846 * sysdeps/sh/backtrace.c: New file.
59847
59848 2011-12-02 Andreas Schwab <schwab@redhat.com>
59849
59850 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59851 parenthesis.
59852
59853 2011-12-01 Andreas Schwab <schwab@redhat.com>
59854
59855 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59856 falling back to utime.
59857
59858 2011-11-30 Andreas Schwab <schwab@redhat.com>
59859
59860 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59861 expectations for float.
59862
59863 2011-11-29 Andreas Schwab <schwab@redhat.com>
59864
59865 * locale/weight.h (findidx): Add parameter len.
59866 * locale/weightwc.h (findidx): Likewise.
59867 * posix/fnmatch_loop.c (FCT): Adjust caller.
59868 * posix/regcomp.c (build_equiv_class): Likewise.
59869 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59870 * posix/regexec.c (check_node_accept_bytes): Likewise.
59871 * string/strcoll_l.c (STRCOLL): Likewise.
59872 * string/strxfrm_l.c (STRXFRM): Likewise.
59873
59874 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59875
59876 * Makefile.in: Remove CVSOPT handling.
59877 * configure.in: Remove use of AC_REVISION.
59878 * iconvdata/Makefile (distribute): No need to filter out CVS.
59879 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59880 handling.
59881
59882 2011-11-16 Andreas Schwab <schwab@redhat.com>
59883
59884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59885 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59886 [USE_AS_STRNCASECMP_L]: Likewise.
59887 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59888 NO_TLS_DIRECT_SEG_REFS.
59889 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59890 Fix argument offsets for non-PIC.
59891 [USE_AS_STRNCASECMP_L]: Likewise.
59892 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59893 NO_TLS_DIRECT_SEG_REFS.
59894
59895 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59896
59897 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59898 O_CLOEXEC.
59899 * locale/loadlocale.c (_nl_load_locale): Likewise.
59900
59901 2011-11-15 Andreas Schwab <schwab@redhat.com>
59902
59903 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59904 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59905 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59906 (SYSCALL_GETTIME): Set errno on error.
59907
59908 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59909 count references to noai6ai_cached.
59910
59911 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59912
59913 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59914
59915 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59916 FD_CLOEXEC for /proc/self/maps.
59917
59918 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59919 FD_CLOEXEC for /proc/meminfo.
59920
59921 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59922 gai.conf.
59923
59924 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59925 FD_CLOEXEC for given file.
59926
59927 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59928
59929 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59930 FD_CLOEXEC for /etc/hosts.
59931 (_gethtent): Likewise.
59932
59933 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59934
59935 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59936 cancellation and set FD_CLOEXEC for /etc/netgroup.
59937
59938 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59939 reading /etc/publickey.
59940
59941 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59942 allow cancellation when reading /etc/group.
59943
59944 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59945 cancellation.
59946 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59947
59948 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59949 when using data file.
59950
59951 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59952
59953 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59954 (write_nis_obj): Use "c" and "e" in fopen.
59955
59956 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59957
59958 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59959
59960 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59961
59962 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59963
59964 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59965 locale.alias.
59966
59967 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59968
59969 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59970
59971 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59972
59973 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59974 file parsing and set FD_CLOEXEC.
59975
59976 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59977
59978 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59979
59980 2011-11-14 Andreas Schwab <schwab@redhat.com>
59981
59982 * malloc/arena.c (arena_get2): Don't call reused_arena when
59983 _int_new_arena failed.
59984
59985 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59986
59987 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59988 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59990 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59991 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59992 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59993 to compile strcasecmp and strncasecmp.
59994 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59995 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59996
59997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59998
59999 2011-11-13 Ulrich Drepper <drepper@gmail.com>
60000
60001 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60002 locale-defines.sym to gen-as-const-headers.
60003 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60004 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60006 to compile strcasecmp and strncasecmp.
60007 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60008 strcasecmp_l and strncasecmp_l.
60009 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60010 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60011 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60012 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60013 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60014 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60015 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60016 * sysdeps/i386/i686/multiarch/strncase.S: New file.
60017 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60018 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60019 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60020
60021 2011-11-12 Ulrich Drepper <drepper@gmail.com>
60022
60023 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60024 result of SYSDEP_GETTIME_CPU to retval.
60025 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60026 parameter list to macro. Remove trailing semicolon. Adjust users.
60027
60028 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60029 variable.
60030
60031 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60032 mantissa words.
60033 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60034
60035 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60036 from unused variable.
60037
60038 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60039 DWARF definitions.
60040 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60041 for assembling.
60042
60043 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60044 over namespaces.
60045
60046 * sunrpc/rpc_prot.c (rejected): Fix case value.
60047
60048 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60049 unsigned long long int to avoid warnings in shift.
60050
60051 * posix/regex_internal.c (re_string_reconstruct): Actually use result
60052 of use of trans.
60053 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60054 variable tmp.
60055
60056 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60057 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60058 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60059
60060 * nis/nis_table.c (nis_list): Use variable of correct type for
60061 result of __follow_path call.
60062
60063 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60064
60065 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60066 of math functions ceil, trunc, floor, round, and sqrt, when
60067 avaliable on the platform.
60068 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60069 name clash.
60070 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60071 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60072 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60073
60074 2011-10-30 Marek Polacek <mpolacek@redhat.com>
60075
60076 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60077 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60078
60079 2011-11-11 Roland McGrath <roland@hack.frob.com>
60080
60081 * include/unistd.h: Fix __readlink return type.
60082 Reported by Chris Metcalf <cmetcalf@tilera.com>.
60083
60084 2011-11-11 Ulrich Drepper <drepper@gmail.com>
60085
60086 * stdlib/ucontext.h: Undo last change for makecontext.
60087
60088 2011-11-11 Andreas Schwab <schwab@redhat.com>
60089
60090 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60091
60092 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60093 * setjmp/setjmp.h: Mark functions as non-leaf.
60094 * setjmp/bits/setjmp2.h: Likewise.
60095 * stdlib/ucontext.h: Likewise.
60096
60097 2011-11-10 Andreas Schwab <schwab@redhat.com>
60098
60099 * malloc/arena.c (_int_new_arena): Don't increment narenas.
60100 (reused_arena): Don't check arena limit.
60101 (arena_get2): Atomically check arena limit.
60102
60103 2011-11-08 Ulrich Drepper <drepper@gmail.com>
60104
60105 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60106 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60107
60108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60109 instructions.
60110
60111 2011-11-07 Andreas Schwab <schwab@redhat.com>
60112
60113 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60114 handler when locking.
60115
60116 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60117 Fix size of allocated buffer.
60118
60119 2011-11-04 Andreas Schwab <schwab@redhat.com>
60120
60121 [BZ #10103]
60122 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60123 declarations for long double functions.
60124 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60125
60126 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60127
60128 2011-11-03 Andreas Schwab <schwab@redhat.com>
60129
60130 * nscd/nscd.c (main): Don't start AVC thread until credentials are
60131 installed.
60132
60133 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60134 is disabled.
60135
60136 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
60137
60138 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60139
60140 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60141
60142 * include/alloca.h (stackinfo_alloca_round): Define.
60143 (extend_alloca): Use it.
60144 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60145 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60146 here.
60147
60148 * scripts/check-local-headers.sh: Ignore libaudit.h.
60149
60150 * nscd/Makefile (extra-objs): Make recursively expanded.
60151
60152 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60153
60154 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60156
60157 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60158 * posix/tst-rfc3484-2.c: Likewise.
60159 * posix/tst-rfc3484-3.c: Likewise.
60160
60161 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60162 process_vm_writev.
60163 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60164 process_vm_writev.
60165 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60166 process_vm_writev from libc using GLIBC_2.15 version.
60167
60168 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60169
60170 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60171
60172 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60173 stack usage.
60174
60175 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60176
60177 [BZ #13367]
60178 * nss/getent.c (initgroups_keys): Show error message in case no group
60179 names are given.
60180
60181 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60182 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60183 __bump_nl_timestamp.
60184 * nscd/connections (nscd_init): When host database is served open
60185 netlink socket and request notification about configuration changes.
60186 (main_loop_poll): Track netlink file descriptor and bump timestamp
60187 in case data becomes available.
60188 (main_loop_epoll): Likewise.
60189 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60190 (database_pers_head): Add extra_data fileds.
60191 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60192 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60193 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60194 Adjust caller.
60195 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60196 in6ai data, call __free_in6ai.
60197 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60198 Add -DHAVE_NETLINK.
60199 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60200 interface information. Reuse previous data if netlink timestamp
60201 is not changed.
60202 (__bump_nl_timestamp): New function.
60203 (__free_in6ai): New function.
60204
60205 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60206
60207 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60208 close_not_cancel_no_status here.
60209 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60210
60211 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60212
60213 [BZ #13276]
60214 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60215 return value.
60216
60217 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60218 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60219 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60220
60221 2011-07-03 Andreas Jaeger <aj@suse.de>
60222
60223 [BZ #10709]
60224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60225 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60226 * math/libm-test.inc (sin_test): Add test case.
60227
60228 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60229
60230 [BZ #13337]
60231 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60232 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60233
60234 * elf/chroot_canon.c (chroot_canon): Cleanups.
60235
60236 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60237
60238 [BZ #13335]
60239 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60240 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60241
60242 * string/test-strchr.c: Make usable for strchrnul testing.
60243 * string/test-strchrnul.c: New file.
60244 * string/Makefile (strop-tests): Add strchrnul.
60245
60246 * po/it.po: Update from translation team.
60247 * po/es.po: Likewise.
60248
60249 2011-10-28 Ulrich Drepper <drepper@gmail.com>
60250
60251 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60252 the three constants needed as parameters. Drop the others.
60253 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60254 __m128i_strloadu_tolower.
60255 Create and initialize variable zero and use it in all the places
60256 where _mm_setzero_si128 was used.
60257
60258 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60259 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60260 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60261 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60262 anymore.
60263 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60264 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60265 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60266 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60267 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60268 __mpranred, __mptan.
60269 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60270 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60271 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60272 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60273 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60274 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60275 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60276 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60277 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60278
60279 2011-10-28 Andreas Schwab <schwab@redhat.com>
60280
60281 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60282 redefine if SHARED.
60283 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60284
60285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60286 wide char related routines to wcsmbs subdir.
60287
60288 2011-10-27 Andreas Schwab <schwab@redhat.com>
60289
60290 [BZ #13344]
60291 * misc/sys/cdefs.h (__THROWNL): Define.
60292 * posix/unistd.h: Use __THREADNL instead of __THREAD
60293 for memory synchronization functions.
60294
60295 2011-10-26 Roland McGrath <roland@hack.frob.com>
60296
60297 [BZ #13349]
60298 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60299 doesn't exist.
60300 * manual/stdio.texi (Obstack Streams): Node removed.
60301
60302 2011-10-26 Andreas Schwab <schwab@redhat.com>
60303
60304 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60305 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60306 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60307
60308 * math/math_private.h (math_force_eval): Allow non-addressable
60309 arguments.
60310 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60311
60312 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60313
60314 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60315 file is not needed.
60316
60317 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60318 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60319 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60320 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60321 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60322 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60323 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60324 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60325 Add AVX variants.
60326 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60327 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60328 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60329 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60330 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60331 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60332 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60333 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60334 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60335 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60336 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60337 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60338 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60339 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60340 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60341 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60342 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60343 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60344 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60345
60346 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60347 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60348
60349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60350 place. Use VEX encoding when compiling for AVX.
60351
60352 2011-10-25 Andreas Schwab <schwab@redhat.com>
60353
60354 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60355 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60356
60357 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60358
60359 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60360
60361 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60362 useless if() expression.
60363 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60364 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60365 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60367 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60368 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60369 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60371 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60372 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60373 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60374 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60375 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60376 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60377 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60378 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60379 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60380 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60381 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60382
60383 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60384
60385 2011-10-25 Andreas Schwab <schwab@redhat.com>
60386
60387 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60388 condition.
60389 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60390
60391 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60392
60393 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60394 .text section. Avoid duplicate constants.
60395 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60397 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60399 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60403 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60404 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60405 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60406 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60407 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60408 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60409 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60410 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60411 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60412 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60413 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60415 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60416 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60417 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60418 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60419 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60420 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60421 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60422 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60423 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60424 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60425 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60426 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60427 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60428 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60429 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60430 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60431 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60432 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60433 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60434 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60435 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60436 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60437 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60438 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60439 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60440
60441 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60442
60443 * sysdeps/x86_64/dla.h: Move to ...
60444 * sysdeps/x86_64/fpu/dla.h: ...here.
60445 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60446 situations. Use __builtin_fma only for gcc 4.6 and up.
60447
60448 * config.make.in: Add have-mfma4 entry.
60449 * configure.in: Substitute libc_cv_cc_fma4.
60450 * math/Makefile (dbl-only-routines): Add sincostab.
60451 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60452 Use __sincostab not sincos.
60453 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60454 name is a macro.
60455 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60459 using __copysign.
60460 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60461 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60462 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60463 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60464 and __inv.
60465 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60466 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60467 __copysign.
60468 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60469 define aliases when function name is a macro.
60470 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60471 sysdeps/ieee754/dbl-64/sincos.tbl.
60472 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60473 fma4-enabled routines.
60474 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60475 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60476 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60477 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60478 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60479 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60480 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60481 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60482 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60483 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60484 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60485 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60486 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60487 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60488 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60489 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60490 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60491 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60492 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60493 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60494 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60495 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60496 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60497 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60498 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60499 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60500 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60501 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60502 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60503 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60504
60505 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60506 rename.
60507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60510 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60512 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60514 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60515
60516 2011-10-24 Andreas Schwab <schwab@redhat.com>
60517
60518 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60519
60520 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60521
60522 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60523
60524 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60525 prediction.
60526 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60527
60528 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60529 Remove unused variable magic_bits.
60530 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60531
60532 * string/strnlen.c: Define and use STRNLEN macro.
60533 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60534 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60535 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60536 * wcsmbs/wcslen.c: Define and use WCSLEN.
60537 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60538 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60539 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60540 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60541 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60542 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60543 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60544
60545 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60546
60547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60548 strnlen-sse2-no-bsf.
60549 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60550 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60551 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60552 Add strnlen support.
60553 (USE_AS_STRNLEN): New macro.
60554 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60555 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60556 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60557 * sysdeps/x86_64/wcslen.S: New file.
60558
60559 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60560
60561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60562 XMM-moves are used for copying on small sizes.
60563
60564 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60565
60566 * wcsmbs/Makefile (strop-tests): Add wcschr.
60567 * wcsmbs/test-wcschr.c: New file.
60568 * string/test-strchr.c: Update.
60569 Add wcschr support.
60570 (WIDE): New macro.
60571
60572 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60573
60574 * wcsmbs/Makefile (strop-tests): Add wcslen.
60575 * wcsmbs/test-wcslen.c: New file.
60576 * string/test-strlen.c: Update.
60577 Add wcslen support.
60578 (WIDE): New macro.
60579
60580 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60581
60582 * po/it.po: Update from translation team.
60583
60584 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60585
60586 * sysdeps/x86_64/wcscmp.S: Update.
60587 Fix wrong comparison semantics.
60588 wcscmp shall use signed comparison not unsigned.
60589 Don't use substraction to avoid overflow bug.
60590 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60591 * wcsmbc/wcscmp.c: Likewise.
60592 * string/test-strcmp.c: Likewise.
60593 Add new tests to check cases with negative values.
60594
60595 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60596
60597 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60598 * sysdeps/x86_64/dla.h: ...here. New file.
60599 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60604 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60607 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60608
60609 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60610
60611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60612 __ynl_finite aliases.
60613
60614 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60615
60616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60617
60618 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60619 define DLA_FMA.
60620 [DLA_FMA] (EMULV): Use DLA_FMA.
60621 [DLA_FMA] (MUL12): Use EMULV.
60622 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60623 that are not needed.
60624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60629 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60630 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60631
60632 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60633
60634 * math/s_nan.c: Undef __nan.
60635 * math/s_nanf.c: Undef __nanf.
60636 * math/s_nanl.c: Undef __nanl.
60637 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60638 "math_private.h".
60639
60640 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60641
60642 * math/s_catan.c: Add branch predictions.
60643 * math/s_catanf.c: Likewise.
60644 * math/s_catanh.c: Likewise.
60645 * math/s_catanhf.c: Likewise.
60646 * math/s_catanhl.c: Likewise.
60647 * math/s_catanl.c: Likewise.
60648 * math/s_cexp.c: Likewise.
60649 * math/s_cexpf.c: Likewise.
60650 * math/s_cexpl.c: Likewise.
60651 * math/s_clog.c: Likewise.
60652 * math/s_clog10.c: Likewise.
60653 * math/s_clog10f.c: Likewise.
60654 * math/s_clog10l.c: Likewise.
60655 * math/s_clogf.c: Likewise.
60656 * math/s_clogl.c: Likewise.
60657 * math/s_csqrt.c: Likewise.
60658 * math/s_csqrtf.c: Likewise.
60659 * math/s_csqrtl.c: Likewise.
60660 * math/s_ctanf.c: Likewise.
60661 * math/s_ctanh.c: Likewise.
60662 * math/s_ctanhf.c: Likewise.
60663 * math/s_ctanhl.c: Likewise.
60664 * math/s_ctanl.c: Likewise.
60665
60666 * math/math_private.h: Define __nan, __nanf, __nanl.
60667 * math/s_cacosh.c: Include <math_private.h>.
60668 * math/s_cacoshl.c: Likewise.
60669 * math/s_casinh.c: Likewise.
60670 * math/s_casinhf.c: Likewise.
60671 * math/s_casinhl.c: Likewise.
60672 * math/s_ccos.c: Rely entire on ccosh.
60673 * math/s_ccosf.c: Rely entire on ccoshf.
60674 * math/s_ccosl.c: Rely entirely on ccoshl.
60675 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60676 Remove tests for FE_INVALID.
60677 * math/s_ccoshf.c: Likewise.
60678 * math/s_ccoshl.c: Likewise.
60679 * math/s_csin.c: Likewise.
60680 * math/s_csinf.c: Likewise.
60681 * math/s_csinh.c Likewise.
60682 * math/s_csinhf.c: Likewise.
60683 * math/s_csinhl.c: Likewise.
60684 * math/s_csinl.c: Likewise.
60685 * math/s_ctan.c: Likewise.
60686 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60687 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60688 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60689
60690 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60691
60692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60693 compilation problems.
60694
60695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60696 __builtin_expect.
60697
60698 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60699
60700 * sysdeps/i386/configure.in: Test for -mfma4 option.
60701 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60702 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60703 COMMON_CPUID_INDEX_80000001.
60704 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60705 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60706 use it if FMA3 is not supported.
60707 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60708
60709 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60710 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60711
60712 2011-10-20 Andreas Schwab <schwab@redhat.com>
60713
60714 [BZ #12892]
60715 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60716 it would create a cycle with a link time dependency.
60717
60718 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60719
60720 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60721 instruction.
60722 * string/Makefile (strop-tests): Add rawmemchr.
60723 * string/test-rawmemchr.c: New file.
60724
60725 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60726 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60727 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60728 when compiling str{,n}casecmp and when AVX is available. Hook up
60729 new optimized code in initializers.
60730
60731 2011-10-19 Andreas Schwab <schwab@redhat.com>
60732
60733 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60734 __feraiseexcept instead of feraiseexcept.
60735
60736 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60737
60738 * math/math_private.h: Define defaults for libc_fetestexcept and
60739 libc_feupdateenv.
60740 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60741 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60742 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60743 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60744 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60745 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60746 libc_fetestexcept and libc_feupdateenv.
60747
60748 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60749 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60750 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60751 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60752 libc_feholdexcept_setround.
60753
60754 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60755 Add s_nearbyint-c and s_nearbyintf-c.
60756 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60757 nearbyintf inlines.
60758 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60759 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60760 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60761 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60762
60763 * math/math_private.h: Define defaults for libc_fegetround,
60764 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60765 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60766 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60767 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60768 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60769 standard functions.
60770 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60771 Remove comments and hacks for old compiler versions.
60772 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60773 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60774 libc_feholdexceptl.
60775
60776 2011-10-18 Andreas Schwab <schwab@redhat.com>
60777
60778 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60779 (__feraiseexcept_renamed): Add __NTH.
60780 (feraiseexcept): Add __NTH. Rename local variables to fix
60781 namespace violations.
60782
60783 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60784
60785 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60786
60787 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60788
60789 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60790 recently added interfaces.
60791 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60792
60793 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60794 about macro parameter expansion.
60795
60796 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60797 __NO_MATH_INLINES is defined. Cleanups.
60798
60799 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60800 and __floorf is target has SSE4.1.
60801 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60802 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60803 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60804 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60805
60806 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60807 name.
60808 (floorf): Likewise.
60809
60810 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60811
60812 2011-10-17 Andreas Schwab <schwab@redhat.com>
60813
60814 * misc/sys/cdefs.h: Fix last change.
60815
60816 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60817 database lookup.
60818
60819 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60820
60821 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60822
60823 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60824 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60825 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60826 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60827 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60828 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60829 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60831 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60832 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60833 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60834 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60835 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60836 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60837 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60838 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60839 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60840 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60841 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60842 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60843 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60844 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60845
60846 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60847 ceil, ceilf, floor, floorf.
60848
60849 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60850 Perform IRELATIVE relocations last.
60851
60852 * elf/do-rel.h: Add another parameter nrelative, replacing the
60853 local variable with the same name. Change name of the function
60854 to end in Rel or Rela (uppercase).
60855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60856 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60857 elf_dynamic_do_##reloc function.
60858
60859 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60860
60861 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60862 is sufficient, at least on modern CPUs.
60863
60864 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60865
60866 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60867 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60868
60869 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60870 __expl_finite.
60871 * math/bits/math-finite.h: Add entries for exp.
60872 * math/e_expl.c: Add __*_finite alias.
60873 * sysdeps/i386/fpu/e_exp.S: Likewise.
60874 * sysdeps/i386/fpu/e_expf.S: Likewise.
60875 * sysdeps/i386/fpu/e_expl.c: Likewise.
60876 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60877 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60878 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60879 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60880 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60881 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60882 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60883
60884 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60885 is sufficient, at least on modern CPUs.
60886
60887 * ctype/ctype-info.c (__ctype_init): Define.
60888 * include/ctype.h (__ctype_init): Declare.
60889 (__ctype_b_loc): The variable is always initialized.
60890 (__ctype_toupper_loc): Likewise.
60891 (__ctype_tolower_loc): Likewise.
60892 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60893 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60894
60895 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60896
60897 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60898
60899 * configure.in: Also look in $cxxmachine/include for C++ system
60900 headers.
60901
60902 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60903
60904 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60905 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60906 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60907 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60908 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60909 (USE_AS_WMEMCMP): New macro.
60910 Fixing indents.
60911 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60912 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60913 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60914 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60916 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60917 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60918 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60919 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60920 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60921 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60922 (USE_AS_WMEMCMP): New macro.
60923 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60924 * sysdeps/string/test-memcmp.c: Update.
60925 Fix simple_wmemcmp.
60926 Add new tests.
60927 * wcsmbs/wmemcmp.c: Update.
60928 (WMEMCMP): New macro.
60929 Fix overflow bug.
60930
60931 2011-10-12 Andreas Jaeger <aj@suse.de>
60932
60933 [BZ #13268]
60934 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60935
60936 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60937
60938 * libio/iofwide.c (do_length): Avoid warning.
60939
60940 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60941
60942 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60943
60944 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60945
60946 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60947 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60948 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60949 * sysdeps/i386/i686/fpu/e_log.S: New file.
60950 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60951 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60952
60953 * ctype/ctype.h: Add support for inlined isXXX functions when
60954 compiling C++ code.
60955
60956 2011-10-14 Andreas Schwab <schwab@redhat.com>
60957
60958 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60959
60960 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60961
60962 2011-10-13 Roland McGrath <roland@hack.frob.com>
60963
60964 [BZ #13291]
60965 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60966
60967 2011-10-13 Andreas Schwab <schwab@redhat.com>
60968
60969 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60970 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60971 feraiseexcept.
60972
60973 * sysdeps/x86_64/memrchr.S: Check for zero size.
60974
60975 * string/stratcliff.c: Add memrchr tests.
60976
60977 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60978
60979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60980 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60981 rawmemchr-sse2 rawmemchr-sse2-bsf.
60982 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60983 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60984 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60985 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60986 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60987 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60988 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60989 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60990 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60991 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60992 * string/memrchr.c (MEMRCHR): New macro.
60993
60994 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60995
60996 Add integration with gcc's -ffinite-math-only and optimize wrapper
60997 functions in libm.
60998 * Versions.def: Define GLIBC_2.15 version for libm.
60999 * math/Makefile (headers): Add bits/math-finite.h.
61000 * math/bits/math-finite.h: New file.
61001 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61002 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61003 * math/e_acoshl.c: Add __*_finite alias.
61004 * math/e_acosl.c: Likewise.
61005 * math/e_asinl.c: Likewise.
61006 * math/e_atan2l.c: Likewise.
61007 * math/e_atanhl.c: Likewise.
61008 * math/e_coshl.c: Likewise.
61009 * math/e_exp10.c: Likewise.
61010 * math/e_exp10f.c: Likewise.
61011 * math/e_exp10l.c: Likewise.
61012 * math/e_exp2l.c: Likewise.
61013 * math/e_fmodl.c: Likewise.
61014 * math/e_gammal_r.c: Likewise.
61015 * math/e_hypotl.c: Likewise.
61016 * math/e_j0l.c: Likewise.
61017 * math/e_j1l.c: Likewise.
61018 * math/e_jnl.c: Likewise.
61019 * math/e_lgammal_r.c: Likewise.
61020 * math/e_log10l.c: Likewise.
61021 * math/e_log2l.c: Likewise.
61022 * math/e_logl.c: Likewise.
61023 * math/e_powl.c: Likewise.
61024 * math/e_sinhl.c: Likewise.
61025 * math/e_sqrtl.c: Likewise.
61026 * math/e_scalb.c: Completely rewritten and optimized.
61027 * math/e_scalbf.c: Likewise.
61028 * math/e_scalbl.c: Likewise.
61029 * math/w_acos.c: Likewise.
61030 * math/w_acosf.c: Likewise.
61031 * math/w_acosl.c: Likewise.
61032 * math/w_acosh.c: Likewise.
61033 * math/w_acoshf.c: Likewise.
61034 * math/w_acoshl.c: Likewise.
61035 * math/w_asin.c: Likewise.
61036 * math/w_asinf.c: Likewise.
61037 * math/w_asinl.c: Likewise.
61038 * math/w_atan2.c: Likewise.
61039 * math/w_atan2f.c: Likewise.
61040 * math/w_atan2l.c: Likewise.
61041 * math/w_atanh.c: Likewise.
61042 * math/w_atanhf.c: Likewise.
61043 * math/w_atanhl.c: Likewise.
61044 * math/w_exp10.c: Likewise.
61045 * math/w_exp10f.c: Likewise.
61046 * math/w_exp10l.c: Likewise.
61047 * math/w_fmod.c: Likewise.
61048 * math/w_fmodf.c: Likewise.
61049 * math/w_fmodl.c: Likewise.
61050 * math/w_j0.c: Likewise.
61051 * math/w_j0f.c: Likewise.
61052 * math/w_j0l.c: Likewise.
61053 * math/w_j1.c: Likewise.
61054 * math/w_j1f.c: Likewise.
61055 * math/w_j1l.c: Likewise.
61056 * math/w_jn.c: Likewise.
61057 * math/w_jnf.c: Likewise.
61058 * math/w_log.c: Likewise.
61059 * math/w_logf.c: Likewise.
61060 * math/w_logl.c: Likewise.
61061 * math/w_log10.c: Likewise.
61062 * math/w_log10f.c: Likewise.
61063 * math/w_log10l.c: Likewise.
61064 * math/w_log2.c: Likewise.
61065 * math/w_log2f.c: Likewise.
61066 * math/w_log2l.c: Likewise.
61067 * math/w_pow.c: Likewise.
61068 * math/w_powf.c: Likewise.
61069 * math/w_powl.c: Likewise.
61070 * math/w_remainder.c: Likewise.
61071 * math/w_remainderf.c: Likewise.
61072 * math/w_remainderl.c: Likewise.
61073 * math/w_scalb.c: Likewise.
61074 * math/w_scalbf.c: Likewise.
61075 * math/w_scalbl.c: Likewise.
61076 * math/w_sqrt.c: Likewise.
61077 * math/w_sqrtf.c: Likewise.
61078 * math/w_sqrtl.c: Likewise.
61079 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61080 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
61081 used.
61082 * math/math_private.h: Declare __kernel_standard_f.
61083 * math/w_cosh.c: Remove cruft and optimize a bit.
61084 * math/w_coshf.c: Likewise.
61085 * math/w_coshl.c: Likewise.
61086 * math/w_exp2.c: Likewise.
61087 * math/w_exp2f.c: Likewise.
61088 * math/w_exp2l.c: Likewise.
61089 * math/w_hypot.c: Likewise.
61090 * math/w_hypotf.c: Likewise.
61091 * math/w_hypotl.c: Likewise.
61092 * math/w_lgamma.c: Likewise.
61093 * math/w_lgamma_r.c: Likewise.
61094 * math/w_lgammaf.c: Likewise.
61095 * math/w_lgammaf_r.c: Likewise.
61096 * math/w_lgammal.c: Likewise.
61097 * math/w_lgammal_r.c: Likewise.
61098 * math/w_sinh.c: Likewise.
61099 * math/w_sinhf.c: Likewise.
61100 * math/w_sinhl.c: Likewise.
61101 * math/w_tgamma.c: Likewise.
61102 * math/w_tgammaf.c: Likewise.
61103 * math/w_tgammal.c: Likewise.
61104 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61105 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61106 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61107 Minor optimizations. Pretty printing. Remove cruft.
61108 * sysdeps/i386/fpu/e_acosf.S: Likewise.
61109 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61110 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61111 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61112 * sysdeps/i386/fpu/e_acosl.c: Likewise.
61113 * sysdeps/i386/fpu/e_asin.S: Likewise.
61114 * sysdeps/i386/fpu/e_asinf.S: Likewise.
61115 * sysdeps/i386/fpu/e_atan2.S: Likewise.
61116 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61117 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61118 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61119 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61120 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61121 * sysdeps/i386/fpu/e_exp10.S: Likewise.
61122 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61123 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61124 * sysdeps/i386/fpu/e_exp2.S: Likewise.
61125 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61126 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61127 * sysdeps/i386/fpu/e_fmod.S: Likewise.
61128 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61129 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61130 * sysdeps/i386/fpu/e_hypot.S: Likewise.
61131 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61132 * sysdeps/i386/fpu/e_log.S: Likewise.
61133 * sysdeps/i386/fpu/e_log10.S: Likewise.
61134 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61135 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61136 * sysdeps/i386/fpu/e_log2.S: Likewise.
61137 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61138 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61139 * sysdeps/i386/fpu/e_logf.S: Likewise.
61140 * sysdeps/i386/fpu/e_logl.S: Likewise.
61141 * sysdeps/i386/fpu/e_pow.S: Likewise.
61142 * sysdeps/i386/fpu/e_powf.S: Likewise.
61143 * sysdeps/i386/fpu/e_powl.S: Likewise.
61144 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61145 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61146 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61147 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61148 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61149 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61150 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61151 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61152 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61153 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61154 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61156 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61157 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61158 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61159 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61160 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61161 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61162 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61163 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61164 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61166 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61167 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61168 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61169 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61170 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61171 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61173 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61174 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61175 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61176 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61177 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61178 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61179 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61180 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61181 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61182 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61183 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61184 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61185 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61186 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61187 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61188 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61189 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61190 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61191 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61192 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61193 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61194 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61195 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61196 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61197 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61198 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61199 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61200 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61201 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61202 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61203 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61205 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61206 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61207 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61208 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61209 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61210 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61211 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61212 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61213 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61215 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61217 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61218 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61219 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61220 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61221 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61222 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61223 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61224 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61227 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61228 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61229 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61230 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61231 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61232 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61233 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61234 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61235 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61236 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61237 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61238 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61239 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61240 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61241 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61242 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61243 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61244 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61245 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61246 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61247 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61248 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61249 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61250 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61251 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61252 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61253 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61254 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61255 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61256 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61257 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61258 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61259 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61260 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61261 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61262 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61263 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61264 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61265 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61266 (__isnanf): Likewise.
61267 (__isinf_ns): Likewise.
61268 (__isinf_nsf): Likewise.
61269 (__finite): Likewise.
61270 (__finitef): Likewise.
61271 (__ieee754_sqrt): Define as macro.
61272 (__ieee754_sqrtf): Define as macro.
61273 (__ieee754_sqrtl): Define as macro.
61274 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61275 inlined copy.
61276 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61277 __FINITE_MATH_ONLY__ consistent.
61278 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61279
61280 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61281
61282 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61283 of rawmemchr.
61284
61285 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61286
61287 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61288
61289 * po/ja.po: Update from translation team.
61290
61291 2011-10-08 Roland McGrath <roland@hack.frob.com>
61292
61293 * locale/programs/locarchive.c (prepare_address_space): New function.
61294 (create_archive, enlarge_archive, open_archive): Use it.
61295
61296 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61297 inside [SHARED], where it is used.
61298
61299 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61300
61301 * nss/getent.c (netgroup_keys): Remove unused variable.
61302 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61303
61304 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61305
61306 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61307 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61309 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61310 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61311 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61312 * math/Makefile (libm-calls): Add s_isinf_ns.
61313 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61314 * math/multc3.c: Likewise.
61315 * math/s_casin.c: Likewise.
61316 * math/s_casinf.c: Likewise.
61317 * math/s_casinl.c: Likewise.
61318 * math/s_ccos.c: Likewise.
61319 * math/s_ccosf.c: Likewise.
61320 * math/s_ccosl.c: Likewise.
61321 * math/s_ctan.c: Likewise.
61322 * math/s_ctanf.c: Likewise.
61323 * math/s_ctanh.c: Likewise.
61324 * math/s_ctanhf.c: Likewise.
61325 * math/s_ctanhl.c: Likewise.
61326 * math/s_ctanl.c: Likewise.
61327 * math/w_fmod.c: Likewise.
61328 * math/w_fmodf.c: Likewise.
61329 * math/w_fmodl.c: Likewise.
61330 * math/w_remainder.c: Likewise.
61331 * math/w_remainderf.c: Likewise.
61332 * math/w_remainderl.c: Likewise.
61333 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61334 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61335 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61336 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61337 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61338 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61339 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61340 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61341
61342 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61343 of the number.
61344 * stdio-common/printf_fphex.c: Likewise.
61345 * stdio-common/printf_size.c: Likewise.
61346
61347 * math/e_exp10.c: Include math_private.h using <...> not "...".
61348 * math/e_exp10f.c: Likewise.
61349 * math/e_exp10l.c: Likewise.
61350 * math/e_exp2l.c: Likewise.
61351 * math/e_j0l.c: Likewise.
61352 * math/e_j1l.c: Likewise.
61353 * math/e_jnl.c: Likewise.
61354 * math/e_lgammal_r.c: Likewise.
61355 * math/e_rem_pio2l.c: Likewise.
61356 * math/e_scalb.c: Likewise.
61357 * math/e_scalbf.c: Likewise.
61358 * math/e_scalbl.c: Likewise.
61359 * math/k_cosl.c: Likewise.
61360 * math/k_sinl.c: Likewise.
61361 * math/k_tanl.c: Likewise.
61362 * math/s_cacoshf.c: Likewise.
61363 * math/s_catan.c: Likewise.
61364 * math/s_catanf.c: Likewise.
61365 * math/s_catanh.c: Likewise.
61366 * math/s_catanhf.c: Likewise.
61367 * math/s_catanhl.c: Likewise.
61368 * math/s_catanl.c: Likewise.
61369 * math/s_ccosh.c: Likewise.
61370 * math/s_ccoshf.c: Likewise.
61371 * math/s_ccoshl.c: Likewise.
61372 * math/s_cexp.c: Likewise.
61373 * math/s_cexpf.c: Likewise.
61374 * math/s_cexpl.c: Likewise.
61375 * math/s_clog.c: Likewise.
61376 * math/s_clog10.c: Likewise.
61377 * math/s_clog10f.c: Likewise.
61378 * math/s_clog10l.c: Likewise.
61379 * math/s_clogf.c: Likewise.
61380 * math/s_clogl.c: Likewise.
61381 * math/s_csin.c: Likewise.
61382 * math/s_csinf.c: Likewise.
61383 * math/s_csinh.c: Likewise.
61384 * math/s_csinhf.c: Likewise.
61385 * math/s_csinhl.c: Likewise.
61386 * math/s_csinl.c: Likewise.
61387 * math/s_csqrt.c: Likewise.
61388 * math/s_csqrtf.c: Likewise.
61389 * math/s_csqrtl.c: Likewise.
61390 * math/s_ctan.c: Likewise.
61391 * math/s_ctanf.c: Likewise.
61392 * math/s_ctanh.c: Likewise.
61393 * math/s_ctanhf.c: Likewise.
61394 * math/s_ctanhl.c: Likewise.
61395 * math/s_ctanl.c: Likewise.
61396 * math/s_ldexp.c: Likewise.
61397 * math/s_ldexpf.c: Likewise.
61398 * math/s_ldexpl.c: Likewise.
61399 * math/s_significand.c: Likewise.
61400 * math/s_significandf.c: Likewise.
61401 * math/s_significandl.c: Likewise.
61402 * math/w_acos.c: Likewise.
61403 * math/w_acosf.c: Likewise.
61404 * math/w_acosh.c: Likewise.
61405 * math/w_acoshf.c: Likewise.
61406 * math/w_acoshl.c: Likewise.
61407 * math/w_acosl.c: Likewise.
61408 * math/w_asin.c: Likewise.
61409 * math/w_asinf.c: Likewise.
61410 * math/w_asinl.c: Likewise.
61411 * math/w_atan2.c: Likewise.
61412 * math/w_atan2f.c: Likewise.
61413 * math/w_atan2l.c: Likewise.
61414 * math/w_atanh.c: Likewise.
61415 * math/w_atanhf.c: Likewise.
61416 * math/w_atanhl.c: Likewise.
61417 * math/w_cosh.c: Likewise.
61418 * math/w_coshf.c: Likewise.
61419 * math/w_coshl.c: Likewise.
61420 * math/w_dremf.c: Likewise.
61421 * math/w_exp10.c: Likewise.
61422 * math/w_exp10f.c: Likewise.
61423 * math/w_exp10l.c: Likewise.
61424 * math/w_exp2.c: Likewise.
61425 * math/w_exp2f.c: Likewise.
61426 * math/w_fmod.c: Likewise.
61427 * math/w_fmodf.c: Likewise.
61428 * math/w_fmodl.c: Likewise.
61429 * math/w_hypot.c: Likewise.
61430 * math/w_hypotf.c: Likewise.
61431 * math/w_hypotl.c: Likewise.
61432 * math/w_j0.c: Likewise.
61433 * math/w_j0f.c: Likewise.
61434 * math/w_j0l.c: Likewise.
61435 * math/w_j1.c: Likewise.
61436 * math/w_j1f.c: Likewise.
61437 * math/w_j1l.c: Likewise.
61438 * math/w_jn.c: Likewise.
61439 * math/w_jnf.c: Likewise.
61440 * math/w_jnl.c: Likewise.
61441 * math/w_lgamma.c: Likewise.
61442 * math/w_lgamma_r.c: Likewise.
61443 * math/w_lgammaf.c: Likewise.
61444 * math/w_lgammaf_r.c: Likewise.
61445 * math/w_lgammal.c: Likewise.
61446 * math/w_lgammal_r.c: Likewise.
61447 * math/w_log.c: Likewise.
61448 * math/w_log10.c: Likewise.
61449 * math/w_log10f.c: Likewise.
61450 * math/w_log10l.c: Likewise.
61451 * math/w_log2.c: Likewise.
61452 * math/w_log2f.c: Likewise.
61453 * math/w_log2l.c: Likewise.
61454 * math/w_logf.c: Likewise.
61455 * math/w_logl.c: Likewise.
61456 * math/w_pow.c: Likewise.
61457 * math/w_powf.c: Likewise.
61458 * math/w_powl.c: Likewise.
61459 * math/w_remainder.c: Likewise.
61460 * math/w_remainderf.c: Likewise.
61461 * math/w_remainderl.c: Likewise.
61462 * math/w_scalb.c: Likewise.
61463 * math/w_scalbf.c: Likewise.
61464 * math/w_scalbl.c: Likewise.
61465 * math/w_sinh.c: Likewise.
61466 * math/w_sinhf.c: Likewise.
61467 * math/w_sinhl.c: Likewise.
61468 * math/w_sqrt.c: Likewise.
61469 * math/w_sqrtf.c: Likewise.
61470 * math/w_sqrtl.c: Likewise.
61471 * math/w_tgamma.c: Likewise.
61472 * math/w_tgammaf.c: Likewise.
61473 * math/w_tgammal.c: Likewise.
61474
61475 * po/ja.po: Update from translation team.
61476
61477 2011-09-29 Andreas Jaeger <aj@suse.de>
61478
61479 [BZ #13179]
61480 * sunrpc/netname.c (netname2host): Fix logic.
61481
61482 [BZ #6779]
61483 [BZ #6783]
61484 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61485 correctly.
61486 * math/w_remainder.c (__remainder): Likewise.
61487 * math/w_remainderf.c (__remainderf): Likewise.
61488 * math/libm-test.inc (remainder_test): Add test cases.
61489
61490 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61491
61492 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61493 sdiv_qrnnd.
61494
61495 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61496
61497 * string/test-memcmp.c: Avoid unncessary #defines.
61498 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61499
61500 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61501
61502 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61503 Use new sse2 version for core i3 - i7 as it's faster
61504 than sse42 version.
61505 (bit_Prefer_PMINUB_for_stringop): New.
61506 * sysdeps/x86_64/rawmemchr.S: Update.
61507 Replace with faster SSE2 version.
61508 * sysdeps/x86_64/memrchr.S: New file.
61509 * sysdeps/x86_64/memchr.S: Update.
61510 Replace with faster SSE2 version.
61511
61512 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61513
61514 * elf/dl-load.c (lose): Add cast to avoid warning.
61515
61516 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61517
61518 * po/ca.po: Update from translation team.
61519
61520 * inet/getnetgrent_r.c: Hook up nscd.
61521 * nscd/Makefile (routines): Add nscd_netgroup.
61522 (nscd-modules): Add netgroupcache.
61523 (CFLAGS-netgroupcache.c): Define.
61524 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61525 (cache_search): Add const to second parameter.
61526 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61527 INNETGR.
61528 (dbs): Add netgrdb entry.
61529 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61530 (verify_persistent_db): Handle netgrdb.
61531 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61532 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61533 GETFDNETGR.
61534 (netgroup_response_header): Define.
61535 (innetgroup_response_header): Define.
61536 (datahead): Add netgroup_response_header and innetgroup_response_header
61537 elements.
61538 * nscd/nscd.conf: Add entries for netgroup cache.
61539 * nscd/nscd.h (dbtype): Add netgrdb.
61540 (_PATH_NSCD_NETGROUP_DB): Define.
61541 (netgroup_iov_disabled): Declare.
61542 (xmalloc, xcalloc, xrealloc): Move declarations here.
61543 (cache_search): Adjust prototype.
61544 Add netgroup-related prototypes.
61545 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61546 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61547 (__nscd_innetgr): Declare.
61548 * nscd/selinux.c (perms): Use access_vector_t as element type and
61549 add netgroup-related initializers.
61550 * nscd/netgroupcache.c: New file.
61551 * nscd/nscd_netgroup.c: New file.
61552 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61553 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61554 For four parameters use innetgr.
61555 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61556 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61557 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61558 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61559
61560 * nscd/connections.c (register_traced_file): Don't register file
61561 for disabled databases.
61562
61563 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61564
61565 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61566
61567 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61568 from tree and freeing node.
61569
61570 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61571
61572 * nss/nsswitch.c (__nss_database_lookup): Handle
61573 nss_parse_service_list out of memory case.
61574
61575 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61576
61577 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61578 out of memory case.
61579
61580 2011-10-04 Andreas Schwab <schwab@redhat.com>
61581
61582 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61583 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61584 pass it down.
61585 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61586 elf_machine_rela, elf_machine_lazy_rel.
61587 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61588 (ELF_DYNAMIC_DO_REL): Likewise.
61589 (ELF_DYNAMIC_DO_RELA): Likewise.
61590 (ELF_DYNAMIC_RELOCATE): Likewise.
61591 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61592 to ELF_DYNAMIC_DO_REL.
61593 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61594 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61595 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61596 elf_machine_rela.
61597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61598 skip_ifunc, don't call ifunc function if non-zero.
61599 (elf_machine_rela): Likewise.
61600 (elf_machine_lazy_rel): Likewise.
61601 (elf_machine_lazy_rela): Likewise.
61602 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61603 (elf_machine_lazy_rel): Likewise.
61604 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61605 Likewise.
61606 (elf_machine_lazy_rel): Likewise.
61607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61608 Likewise.
61609 (elf_machine_lazy_rel): Likewise.
61610 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61611 (elf_machine_lazy_rel): Likewise.
61612 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61613 (elf_machine_lazy_rel): Likewise.
61614 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61615 (elf_machine_lazy_rel): Likewise.
61616 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61617 (elf_machine_lazy_rel): Likewise.
61618 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61619 (elf_machine_lazy_rel): Likewise.
61620 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61621 (elf_machine_lazy_rel): Likewise.
61622
61623 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61624
61625 * nss/nss_files/files-init.c (_nss_files_init): Use static
61626 initialization for all the *_traced_file variables.
61627
61628 2011-09-28 Andreas Schwab <schwab@redhat.com>
61629
61630 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61631
61632 2011-09-27 Roland McGrath <roland@hack.frob.com>
61633
61634 [BZ #13226]
61635 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61636
61637 2011-09-27 Andreas Schwab <schwab@redhat.com>
61638
61639 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61640 Reread the line before reparsing it.
61641
61642 2011-09-26 Andreas Schwab <schwab@redhat.com>
61643
61644 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61645
61646 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61647 Maxim Kuvyrkov <maxim@codesourcery.com>
61648 Joseph Myers <joseph@codesourcery.com>
61649
61650 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61651 if needed for __stack_chk_guard.
61652
61653 2011-09-19 Roland McGrath <roland@hack.frob.com>
61654
61655 * sysdeps/posix/spawni.c (script_execute): Always define it.
61656 It will be optimized away if unused.
61657 (maybe_script_execute): New function.
61658 (__spawni): Call it.
61659
61660 * Makerules: Don't include tls.make.
61661 (config-tls): Always set to thread.
61662 * tls.make.c: File removed.
61663
61664 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61665
61666 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61667 * config.make.in (CPPFLAGS-config): New substituted variable.
61668
61669 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61670
61671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61672
61673 [BZ #13192]
61674 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61675 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61676
61677 2011-09-15 Roland McGrath <roland@hack.frob.com>
61678
61679 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61680 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61682 (CALL_FAIL): Likewise.
61683 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61684 (CALL_FAIL): Macro removed.
61685 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61686
61687 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61688
61689 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61690 for __FINITE_MATH_ONLY__ == 1.
61691
61692 2011-09-15 Andreas Schwab <schwab@redhat.com>
61693
61694 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61695 __ieee754_sqrt instead of sqrt.
61696 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61697 __ieee754_sqrtf instead of sqrtf.
61698 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61699 __floorf instead of floorf.
61700 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61701 __floorf, __truncf instead of floorf, truncf.
61702
61703 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61704
61705 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61706
61707 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61708 __extern_always_inline.
61709 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61710 32-bit.
61711
61712 2011-09-14 Andreas Schwab <schwab@redhat.com>
61713
61714 * elf/rtld.c (dl_main): Also relocate in dependency order when
61715 doing symbol dependency testing.
61716
61717 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61718
61719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61720 Always define `refsym'.
61721
61722 2011-09-13 Andreas Schwab <schwab@redhat.com>
61723
61724 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61725 (__FD_ELT): Renamed from __FDELT.
61726 * misc/bits/select2.h (__FD_ELT): Likewise.
61727 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61728 __FD_MASK instead of __FDELT, __FDMASK.
61729 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61730 Likewise.
61731 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61732 Likewise.
61733
61734 * elf/Makefile (gen-ldd): Fix pattern.
61735
61736 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61737 (init_tls): Likewise.
61738
61739 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61740
61741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61742
61743 2011-09-12 Andreas Schwab <schwab@redhat.com>
61744
61745 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61746 `struct cmsghdr *' instead of `void *'.
61747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61748 Likewise.
61749
61750 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61751
61752 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61753 if non-absolute.
61754 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61755 ldd_rewrite_script.
61756
61757 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61758
61759 * configure.in: Remove --with-tls option.
61760 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61761 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61762 out in case it is missing.
61763 * sysdeps/ia64/elf/configure.in: Likewise.
61764 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61765 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61766 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61767 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61768 * sysdeps/sh/elf/configure.in: Likewise.
61769 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61770 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61771 * sysdeps/x86_64/elf/configure.in: Likewise.
61772 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61773 * sysdeps/mach/hurd/tls.h: Likewise.
61774
61775 [BZ #13067]
61776 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61777
61778 [BZ #13090]
61779 * configure.in: Fix use of AC_INIT.
61780
61781 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61782
61783 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61784
61785 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61786 __set_errno.
61787 * malloc/hooks.c: Likewise.
61788
61789 [BZ #11929]
61790 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61791 variables statically.
61792 (narenas): Initialize.
61793 (list_lock): Initialize.
61794 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61795 initializtion of main_arena and list_lock. Small cleanups.
61796 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61797 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61798 Add initializers to main_arena and mp_.
61799 (malloc_state): Remove pagesize member. Change all users to use
61800 GLRO(dl_pagesize).
61801
61802 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61803 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61804 is always initialized.
61805
61806 * malloc/malloc.c: Removed unused configurations and dead code.
61807 * malloc/arena.c: Likewise.
61808 * malloc/hooks.c: Likewise.
61809 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61810
61811 * include/tls.h: Removed. USE___THREAD must always be defined.
61812 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61813 * elf/dl-libc.c: Likewise.
61814 * elf/dl-tsd.c: Likewise.
61815 * include/errno.h: Likewise.
61816 * include/netdb.h: Likewise.
61817 * include/resolv.h: Likewise.
61818 * inet/herrno-loc.c: Likewise.
61819 * inet/herrno.c: Likewise.
61820 * malloc/arena.c: Likewise.
61821 * malloc/hooks.c: Likewise.
61822 * malloc/malloc.c: Likewise.
61823 * resolv/res-state.c: Likewise.
61824 * resolv/res_libc.c: Likewise.
61825 * sysdeps/i386/dl-machine.h: Likewise.
61826 * sysdeps/ia64/dl-machine.h: Likewise.
61827 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61828 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61829 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61830 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61831 * sysdeps/sh/dl-machine.h: Likewise.
61832 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61833 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61834 * sysdeps/unix/i386/sysdep.S: Likewise.
61835 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61836 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61837 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61839 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61841 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61845 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61846 * sysdeps/x86_64/dl-machine.h: Likewise.
61847 * tls.make.c: Likewise.
61848
61849 * configure.in: Remove --with-__thread option. Make tests for
61850 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61851 tls_model attribute fail if no support is available. Remove
61852 USE_IN_LIBIO.
61853 * Makeconfig: Adjust for dropped configure option. All features are
61854 now mandatory.
61855 * Makerules: Likewise.
61856 * Versions.def: Likewise.
61857 * argp/argp-fmtstream.c: Likewise.
61858 * argp/argp-fmtstream.h: Likewise.
61859 * argp/argp-help.c: Likewise.
61860 * assert/assert.c: Likewise.
61861 * config.h.in: Likewise.
61862 * config.make.in: Likewise.
61863 * configure: Likewise.
61864 * configure.in: Likewise.
61865 * csu/Versions: Likewise.
61866 * csu/init.c: Likewise.
61867 * elf/tst-audit2.c: Likewise.
61868 * elf/tst-tls10.c: Likewise.
61869 * elf/tst-tls10.h: Likewise.
61870 * elf/tst-tls11.c: Likewise.
61871 * elf/tst-tls12.c: Likewise.
61872 * elf/tst-tls14.c: Likewise.
61873 * elf/tst-tlsmod11.c: Likewise.
61874 * elf/tst-tlsmod12.c: Likewise.
61875 * elf/tst-tlsmod13.c: Likewise.
61876 * elf/tst-tlsmod13a.c: Likewise.
61877 * elf/tst-tlsmod14a.c: Likewise.
61878 * elf/tst-tlsmod15b.c: Likewise.
61879 * elf/tst-tlsmod16a.c: Likewise.
61880 * elf/tst-tlsmod16b.c: Likewise.
61881 * elf/tst-tlsmod7.c: Likewise.
61882 * elf/tst-tlsmod8.c: Likewise.
61883 * elf/tst-tlsmod9.c: Likewise.
61884 * gmon/gmon.c: Likewise.
61885 * grp/fgetgrent_r.c: Likewise.
61886 * grp/putgrent.c: Likewise.
61887 * hurd/fopenport.c: Likewise.
61888 * include/libc-symbols.h: Likewise.
61889 * include/tls.h: Likewise.
61890 * intl/gettextP.h: Likewise.
61891 * intl/loadinfo.h: Likewise.
61892 * locale/global-locale.c: Likewise.
61893 * locale/localeinfo.h: Likewise.
61894 * mach/devstream.c: Likewise.
61895 * malloc/arena.c: Likewise.
61896 * malloc/set-freeres.c: Likewise.
61897 * misc/err.c: Likewise.
61898 * misc/getttyent.c: Likewise.
61899 * misc/mntent_r.c: Likewise.
61900 * posix/getopt.c: Likewise.
61901 * posix/wordexp.c: Likewise.
61902 * pwd/fgetpwent_r.c: Likewise.
61903 * resolv/Versions: Likewise.
61904 * resolv/res_hconf.c: Likewise.
61905 * shadow/fgetspent_r.c: Likewise.
61906 * shadow/putspent.c: Likewise.
61907 * stdio-common/printf_fphex.c: Likewise.
61908 * stdio-common/tmpfile.c: Likewise.
61909 * stdlib/abort.c: Likewise.
61910 * stdlib/fmtmsg.c: Likewise.
61911 * sunrpc/auth_unix.c: Likewise.
61912 * sunrpc/clnt_perr.c: Likewise.
61913 * sunrpc/clnt_tcp.c: Likewise.
61914 * sunrpc/clnt_udp.c: Likewise.
61915 * sunrpc/clnt_unix.c: Likewise.
61916 * sunrpc/openchild.c: Likewise.
61917 * sunrpc/svc_simple.c: Likewise.
61918 * sunrpc/svc_tcp.c: Likewise.
61919 * sunrpc/svc_udp.c: Likewise.
61920 * sunrpc/svc_unix.c: Likewise.
61921 * sunrpc/xdr.c: Likewise.
61922 * sunrpc/xdr_array.c: Likewise.
61923 * sunrpc/xdr_rec.c: Likewise.
61924 * sunrpc/xdr_ref.c: Likewise.
61925 * sunrpc/xdr_stdio.c: Likewise.
61926
61927 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61928
61929 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61930
61931 2011-07-03 Andreas Jaeger <aj@suse.de>
61932
61933 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61934 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61935 regenerate with gen-libm-tests.pl.
61936
61937 2010-05-12 Petr Baudis <pasky@suse.cz>
61938
61939 [BZ #11589]
61940 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61941 around j0() zero points by switching to j1().
61942 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61943 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61944 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61945 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61946
61947 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61948
61949 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61950 instead of 0.
61951 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61952 instead of 0.
61953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61954 Patch in part by Pavel Roskin <proski@gnu.org>.
61955
61956 [BZ #13138]
61957 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61958 realloc.
61959 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61960 Free memory block if necessary.
61961
61962 [BZ #12847]
61963 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61964 be NULL. Don't lock in this case.
61965
61966 2011-09-09 Roland McGrath <roland@hack.frob.com>
61967
61968 * elf/elf.h (ELFOSABI_GNU): New macro.
61969 (ELFOSABI_LINUX): Define to that.
61970
61971 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61972
61973 * string/strncat.c (strncat): Undef the symbol in case it has been
61974 defined in bits/string.h.
61975
61976 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61977
61978 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61979
61980 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61981 link map.
61982
61983 2011-08-17 Andreas Jaeger <aj@suse.de>
61984
61985 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61986
61987 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61988 Ian Lance Taylor <iant@google.com>
61989
61990 * math/libm-test.inc (lround_test): New testcase.
61991 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61992
61993 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61994
61995 * Makefile: Remove support for automatic cvs check-ins.
61996 * Makerules: Likewise.
61997 * config.make.in: Likewise.
61998 * configure.in: Likewise.
61999 * intl/Makefile: Likewise.
62000 * locale/Makefile: Likewise.
62001 * po/Makefile: Likewise.
62002 * posix/Makefile: Likewise.
62003 * sysdeps/gnu/Makefile: Likewise.
62004 * sysdeps/mach/hurd/Makefile: Likewise.
62005 * sysdeps/sparc/sparc32/Makefile: Likewise.
62006
62007 [BZ #13118]
62008 * posix/Makefile (bug-regex32-ENV): Define.
62009 Patch by John Stanley <jpsinthemix@verizon.net>.
62010
62011 * misc/Makefile (headers): Add bits/select2.h.
62012 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62013 * misc/bits/select2.h: New file.
62014 * include/bits/select2.h: New file.
62015 * debug/Makefile (routines): Add fdelt_chk.
62016 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62017 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62018 FD_ISSET.
62019 * debug/fdelt_chk.c: New file.
62020
62021 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
62022 * wcsmbs/test-wmemcmp.c: Likewise.
62023 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62024 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62025
62026 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62027
62028 * string/Makefile (strop-tests): Add memcmp.
62029 * string/test-wmemcmp.c: New file.
62030 * string/test-memcmp.c: Add wmemcmp support.
62031
62032 2011-09-08 Roland McGrath <roland@hack.frob.com>
62033
62034 [BZ #13153]
62035 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62036 2011-07-19 change.
62037
62038 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62039 garbage value in a __mach_port_mod_refs call in the cases of the
62040 task-self and thread-self ports.
62041
62042 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62043
62044 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62045
62046 2011-09-08 Andreas Schwab <schwab@redhat.com>
62047
62048 * elf/dl-load.c (lose): Check for non-null L.
62049
62050 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62051
62052 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62053
62054 * elf/dl-libc.c (dlerror_run): Pass back error code from
62055 dl_catch_error.
62056
62057 [BZ #13123]
62058 * elf/dl-load.c (lose): Free l_origin if it is valid.
62059
62060 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62061 names.
62062 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62063 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62064 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62065 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62066 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62067 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62068
62069 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62070
62071 * sysdeps/powerpc/fpu/e_hypot.c: New file.
62072 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62073 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62074 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62075 * sysdeps/powerpc/fpu/k_cosf.c: New file.
62076 * sysdeps/powerpc/fpu/k_sinf.c: New file.
62077 * sysdeps/powerpc/fpu/s_cosf.c: New file.
62078 * sysdeps/powerpc/fpu/s_sinf.c: New file.
62079 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62080 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62081
62082 2011-08-15 Alan Modra <amodra@gmail.com>
62083
62084 [BZ #13092]
62085 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62086 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62087 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
62088 ppc_mcount to static-only-routines.
62089 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62090 __mcount_internal.
62091 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62092 __mcount_internal with usual JUMPTARGET. Remove useless nop.
62093
62094 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
62095
62096 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62097 for finite and infinity parameters.
62098
62099 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
62100
62101 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62102 and add nop instructions for throughput optimization.
62103 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62104
62105 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
62106
62107 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62108 aligned copy for power7 with vector-scalar instructions.
62109 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62110
62111 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
62112
62113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62114 AVX check.
62115
62116 2011-09-07 Andreas Schwab <schwab@redhat.com>
62117
62118 [BZ #13144]
62119 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62120 last change.
62121
62122 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62123
62124 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62125 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62126 syscall wrapper around clock_gettime in __vdso_clock_gettime.
62127 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62128 clock_gettime.
62129
62130 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62131
62132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62133 Forgot to demangle the pointer.
62134
62135 * sysdeps/i386/sysdep.h: Define atom_text_section.
62136 * sysdeps/x86_64/sysdep.h: Likewise.
62137 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62138 section with atom_text_section.
62139 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62140 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62141 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62142 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62143 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62144
62145 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62146 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62147 already be defined. Change to take two parameters and don't assign
62148 result to variable. Adjust all users.
62149 Define INTERNAL_GETTIME if not already defined.
62150 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62151 call.
62152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62153 HAVE_CLOCK_GETTIME_VSYSCALL.
62154 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62155
62156 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62157 gettimeofday vsyscall, just use time.
62158
62159 2011-09-06 Andreas Schwab <schwab@redhat.com>
62160
62161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62162 <errno.h>.
62163
62164 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62165
62166 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62167 syscall on x86-64.
62168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62169 syscall.
62170 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62171 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62172 syscall if possible.
62173
62174 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62175
62176 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62177 e_ident. Don't pass to find_mapsXX.
62178 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62179
62180 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62181
62182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62183 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62184 * sysdeps/x86_64/multiarch/strchr.S: Update.
62185 Check bit_slow_BSF bit.
62186 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62187 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62188 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62189
62190 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62191
62192 [BZ #13134]
62193 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62194 before glibc 2.15.
62195 (tryshell): Define.
62196 (__spawni): Change last parameter to be flag. Test
62197 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62198 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62199 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62200 * posix/spawni.c: Likewise.
62201 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62202 * posix/spawnp.c: Likewise. Change normal version to use
62203 SPAWN_XFLAGS_USE_PATH.
62204 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62205 SPAWN_XFLAGS_TRY_SHELL.
62206
62207 [BZ #13150]
62208 * posix/glob.h: Remove gcc 1.x support.
62209
62210 [BZ #13068]
62211 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62212
62213 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62214
62215 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62216 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62217 strrchr-sse2-bsf
62218 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62219 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62220 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62221 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62222 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62223 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62224
62225 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62226
62227 * sysdeps/x86_64/wcscmp.S: New file.
62228
62229 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62230 wcscmp-c wcscmp-sse2
62231 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62232 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62233 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62234 * wcsmbs/wcscmp.c: Allow renaming.
62235
62236 2011-09-05 David S. Miller <davem@davemloft.net>
62237
62238 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62239 stack slot, rather than the struct return pointer slot.
62240 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62241 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62243 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62244
62245 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62246
62247 * po/ja.po: Update from translation team.
62248
62249 [BZ #13144]
62250 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62251 kernel in 64-bit binaries.
62252
62253 2011-09-01 David S. Miller <davem@davemloft.net>
62254
62255 * elf/elf.h (HWCAP_SPARC_*): Move to..
62256 * sysdeps/sparc/sysdep.h: this new file and add new values.
62257 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62258 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62259 _DL_HWCAP_COUNT to 24.
62260 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62261 entries.
62262 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62263 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62264 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62266 instead of magic constants.
62267 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62268
62269 2011-08-31 David S. Miller <davem@davemloft.net>
62270
62271 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62273 Reimplement to do errno handling inline.
62274 (SYSCALL_ERROR_HANDLER): New macro.
62275 (__SYSCALL_STRING): Do not do errno handling in asm.
62276 (__CLONE_SYSCALL_STRING): Delete.
62277 (__INTERNAL_SYSCALL_STRING): Delete.
62278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62279 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62280 (PSEUDO): Reimplement to do errno handling inline.
62281 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62282 (SYSCALL_ERROR_HANDLER): New macro.
62283 (__SYSCALL_STRING): Do not do errno handling in asm.
62284 (__CLONE_SYSCALL_STRING): Delete.
62285 (__INTERNAL_SYSCALL_STRING): Delete.
62286 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62287 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62288 i386.
62289 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62290 (inline_syscall*): Add 'err' argument.
62291 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62292 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62293 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62294 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62295
62296 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62297 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62298
62299 2011-08-30 Andreas Schwab <schwab@redhat.com>
62300
62301 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62302
62303 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62304
62305 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62306 directive.
62307
62308 2011-08-24 David S. Miller <davem@davemloft.net>
62309
62310 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62311
62312 2011-08-24 Andreas Schwab <schwab@redhat.com>
62313
62314 * elf/Makefile: Add rules to build and run unload8 test.
62315 * elf/unload8.c: New file.
62316 * elf/unload8mod1.c: New file.
62317 * elf/unload8mod1x.c: New file.
62318 * elf/unload8mod2.c: New file.
62319 * elf/unload8mod3.c: New file.
62320
62321 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62322 it wasn't used.
62323
62324 2011-08-23 David S. Miller <davem@davemloft.net>
62325
62326 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62327 subtract stack bias.
62328 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62329 %sp not %fp in calculations.
62330 (_JMPBUF_UNWINDS_ADJ): Likewise.
62331
62332 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62333 (aio_suspend): Call it to force an exception region around the
62334 AIO_MISC_WAIT() invocation.
62335
62336 2011-08-23 Andreas Schwab <schwab@redhat.com>
62337
62338 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62339 backslash.
62340
62341 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62342
62343 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62344 protection macro.
62345 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62346 and <dl-machine.h>.
62347 (Elf64_FuncDesc): Remove.
62348
62349 2011-08-22 David S. Miller <davem@davemloft.net>
62350
62351 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62352 sigaltstack check, add missing cfi directives.
62353 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62354 missing cfi directives, and sigaltstack handling.
62355
62356 2011-08-16 Andreas Schwab <schwab@redhat.com>
62357
62358 [BZ #11724]
62359 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62360 object is seen twice.
62361 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62362
62363 * elf/Makefile (distribute): Add tst-initorder2.c.
62364 (tests): Add tst-initorder2.
62365 (modules-names): Add tst-initorder2a tst-initorder2b
62366 tst-initorder2c tst-initorder2d. Add rules to build them.
62367 ($(objpfx)tst-initorder2.out): New rule.
62368 * elf/tst-initorder2.c: New file.
62369 * elf/tst-initorder2.exp: New file.
62370
62371 2011-08-22 Andreas Schwab <schwab@redhat.com>
62372
62373 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62374
62375 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62376 dependencies back to end of function.
62377
62378 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62379 $(elfobjdir)/ld.so.
62380
62381 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62382
62383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62384 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62386 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62387 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62388 of __vdso_gettimeofday.
62389 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62390 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62391 attribute_hidden.
62392 (_libc_vdso_platform_setup): Remove initialization of
62393 __vdso_gettimeofday and __vdso_time.
62394
62395 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62396
62397 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62398 and fgetc_unlocked.
62399 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62400 getc_unlocked.
62401
62402 * elf/dl-open.c (add_to_global): Report additions to the global scope
62403 for LD_DEBUG=scopes.
62404 (dl_open_worker): Also print scope of newly loaded dependencies.
62405 (_dl_show_scope): Indicate if there is no scope.
62406
62407 [BZ #13114]
62408 * stdio-common/Makefile (tests): Add bug24.
62409 * stdio-common/bug24.c: New file.
62410
62411 2011-08-19 Andreas Jaeger <aj@suse.de>
62412
62413 [BZ #13114]
62414 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62415 non-existant file when using close-on-exec mode.
62416
62417 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62418
62419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62420 the very first instruction.
62421
62422 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62423 the CFI state in the end.
62424 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62425 inclusion of dl-trampoline.h.
62426 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62427
62428 2011-08-19 Andreas Schwab <schwab@redhat.com>
62429
62430 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62431 expectations for long double.
62432
62433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62434 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62435
62436 2011-08-14 David S. Miller <davem@davemloft.net>
62437
62438 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62439 artificual limit depends upon the system page size.
62440
62441 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62442
62443 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62444 * resolv/Makefile: Define CFLAGS-libresolv.
62445
62446 2011-08-17 Andreas Schwab <schwab@redhat.com>
62447
62448 * nss/makedb.c (compute_tables): Make variables used in nested
62449 function static.
62450
62451 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62452
62453 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62454 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62455 if buffer was too small.
62456
62457 * elf/pldd.c (main): Attach to all threads in the process.
62458 Rewrite /proc handling to use *at functions.
62459
62460 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62461
62462 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62463 specifies first scope to show.
62464 (dl_open_worker): Update callers. Move printing scope of new
62465 object to before the relocation.
62466 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62467 * sysdeps/generic/ldsodefs.h: Update declaration.
62468
62469 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62470 string for the scope number.
62471
62472 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62473
62474 * nscd/servicescache.c (cache_addserv): Make sure written is always
62475 initialized.
62476
62477 2011-08-14 Roland McGrath <roland@hack.frob.com>
62478
62479 * sysdeps/i386/i486/bits/atomic.h
62480 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62481 statement expression, so as to suppress "set but not used" warning.
62482 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62483
62484 * string/strncat.c (STRNCAT): Use prototype definition.
62485
62486 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62487 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62488 -Iprograms here.
62489 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62490 (localedef-modules): Add localedef.
62491 (locale-modules): Add locale.
62492
62493 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62494 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62495 to avoid a warning.
62496
62497 2011-08-14 David S. Miller <davem@davemloft.net>
62498
62499 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62500 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62501
62502 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62503
62504 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62505 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62506 * elf/rtld.c (dl_main): Set l_name of vDSO.
62507 Call _dl_show_scope when DL_DEBUG_SCOPES.
62508 (process_dl_debug): Recognize scopes flag and also set it for all.
62509 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62510 Declare _dl_show_scope.
62511
62512 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62513 (do_dlopen): Pass caller_dlopen to dl_open.
62514 (__libc_dlopen_mode): Initialize caller_dlopen.
62515
62516 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62517 of libc. Make tolower call locale-independent. Optimize a bit by
62518 using isdigit instead of isalnum.
62519 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62520
62521 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62522
62523 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62524 was a dependency or dynamically loaded.
62525
62526 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62527
62528 * intl/l10nflist.c: Allow architecture-specific pop function.
62529 * sysdeps/x86_64/l10nflist.c: New file.
62530
62531 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62532 classification.
62533
62534 2011-08-10 Andreas Schwab <schwab@redhat.com>
62535
62536 * include/dirent.h: Add libc_hidden_proto for scandirat and
62537 scandirat64. Don't declare __scandirat64.
62538 * dirent/scandirat.c: Add libc_hidden_def.
62539 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62540 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62541
62542 2011-08-10 David S. Miller <davem@davemloft.net>
62543
62544 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62545 enum.
62546 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62547 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62548 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62549
62550 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62551
62552 * Versions.def [libc]: Add GLIBC_2.15.
62553 * dirent/Makefile (routines): Add scandirat and scandirat64.
62554 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62555 GLIBC_2.15.
62556 * dirent/dirent.h: Declare scandirat and scandirat64.
62557 * dirent/scandirat.c: New file.
62558 * dirent/scandirat64.c: New file.
62559 * sysdeps/wordsize-64/scandirat.c: New file.
62560 * sysdeps/wordsize-64/scandirat64.c: New file.
62561 * dirent/opendir.c: Define opendirat.
62562 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62563 using scandirat.
62564 * dirent/scandir64.c: Adjust for scandir.c change.
62565 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62566 __scandirat64, and __scandir_cancel_handler.
62567 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62568 additional parameter and use openat instead of open (outside of ld.so).
62569 Add new __opendir as wrapper around __opendirat.
62570 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62571 here without requiring old scandirat implementation.
62572
62573 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62574
62575 * dirent/scandir.c (cancel_handler): Renamed to
62576 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62577 defined. Adjust users.
62578 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62579 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62580
62581 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62582
62583 * string/test-string.h (IMPL): Use __STRING to expand name and then
62584 stringify it.
62585
62586 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62587 of cleanups.
62588
62589 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62590
62591 * string/Makefile: Update.
62592 (strop-tests): Append strncat.
62593 * string/test-wcscmp.c: New file.
62594 New comprehensive test for wcscmp.
62595 * string/test-strcmp.c: Update.
62596 (WIDE): New define.
62597
62598 2011-07-22 Andreas Schwab <schwab@redhat.com>
62599
62600 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62601 line.
62602
62603 2011-07-26 Andreas Schwab <schwab@redhat.com>
62604
62605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62606 encoding to ACE if AI_IDN.
62607
62608 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62609
62610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62611 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62612
62613 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62614
62615 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62616 Fix overflow bug in strncat.
62617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62618
62619 * string/test-strncat.c: Update.
62620 Add new tests for checking overflow bugs.
62621
62622 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62623
62624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62625 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62626 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62627 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62628 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62629 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62630 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62631 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62632 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62633
62634 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62635 (USE_AS_STRCAT): Define.
62636 Add strcat and strncat support.
62637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62638
62639 2011-07-25 Andreas Schwab <schwab@redhat.com>
62640
62641 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62642 __n bigger than INT_MAX+1.
62643 (__strncmp_g): Likewise.
62644
62645 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62646
62647 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62648 * libio/stido.h: Likewise.
62649
62650 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62651 (AF_NFC): Define.
62652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62653 (AF_NFC): Define.
62654
62655 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62656 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62657 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62658 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62660
62661 [BZ #13021]
62662 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62663 installed.
62664
62665 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62666 typo.
62667 (_dl_x86_64_save_sse): Likewise.
62668
62669 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62670
62671 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62672 OSXSAVE.
62673 (_dl_x86_64_save_sse): Likewise.
62674
62675 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62676
62677 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62678
62679 2011-07-21 Andreas Schwab <schwab@redhat.com>
62680
62681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62682 change.
62683 (_dl_x86_64_save_sse): Use correct AVX check.
62684
62685 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62686
62687 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62688 bug in strncpy/strncat.
62689 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62690
62691 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62692
62693 * string/tester.c (test_strcat): Add tests for different alignments
62694 of source and destination.
62695 (test_strncat): Likewise.
62696
62697 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62698
62699 [BZ #12852]
62700 * posix/glob.c (glob): Check passed in values before using them in
62701 expressions to avoid some overflows.
62702 (glob_in_dir): Likewise.
62703
62704 [BZ #13007]
62705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62706 check for AVX enablement so that we don't crash with old kernels and
62707 new hardware.
62708 * elf/tst-audit4.c: Add same checks here.
62709 * elf/tst-audit6.c: Likewise.
62710
62711 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62712
62713 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62714
62715 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62716
62717 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62718
62719 * po/cs.po: Update from translation team.
62720 * po/bg.po: Likewise.
62721
62722 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62723
62724 * misc/sys/cdefs.h: Add support for const attribute.
62725 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62726 to gnu_dev_{major,minor,makedev} functions.
62727
62728 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62729
62730 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62731
62732 2011-07-20 Andreas Schwab <schwab@redhat.com>
62733
62734 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62735 strlen results.
62736
62737 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62738
62739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62740 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62741 register in order to avoid conflicts with the soft frame pointer
62742 being held in r11 when necessary.
62743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62744 (INTERNAL_VSYSCALL_NCS): Likewise.
62745
62746 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62747
62748 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62749 * elf/dl-fini.c (_dl_fini): Adjust caller.
62750 * elf/dl-close.c (_dl_close_worker): Likewise.
62751 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62752
62753 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62754
62755 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62756 "aux_cache->nlibs < 0".
62757
62758 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62759 in the reload-count case.
62760
62761 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62762
62763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62764 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62765 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62766 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62767 * sysdeps/x86_64/multiarch/strcat.S: New file.
62768 * sysdeps/x86_64/multiarch/strncat.S: New file.
62769 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62770 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62771 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62772 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62774 (USE_AS_STRCAT): Define.
62775 Add strcat and strncat support.
62776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62778 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62779 * string/strncat.c: Update.
62780 (USE_AS_STRNCAT): Define.
62781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62782 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62783 and i7.
62784 * sysdeps/x86_64/multiarch/init-arch.h
62785 (bit_Prefer_PMINUB_for_stringop): New.
62786 (index_Prefer_PMINUB_for_stringop): Likewise.
62787 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62788 bit_Prefer_PMINUB_for_stringop.
62789
62790 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62791
62792 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62793 buffer64.
62794 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62795 of casting of buffer.
62796 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62797 buffer32 and buffer64.
62798 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62799 writes instead of casting of buffer.
62800 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62801 buffer32.
62802 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62803 casting of buffer.
62804
62805 2011-07-19 Andreas Schwab <schwab@redhat.com>
62806
62807 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62808
62809 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62810
62811 * nscd/nscd.c (termination_handler): Don't do anything for a database
62812 if it has not yet been initialized.
62813
62814 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62815
62816 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62817
62818 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62819
62820 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62821
62822 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62823
62824 * po/nl.po: Update from translation team.
62825 * po/sv.po: Likewise.
62826
62827 2011-07-16 Roland McGrath <roland@hack.frob.com>
62828
62829 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62830 now disallowed by GCC.
62831
62832 * configure.in (use-default-link): Default to yes if a test -shared
62833 link meets our qualifications.
62834 * configure: Regenerated.
62835
62836 * config.make.in (output-format): New variable.
62837 * configure.in: Check for ld --print-output-format support.
62838 * configure: Regenerated.
62839 * Makerules ($(common-objpfx)format.lds)
62840 [$(output-format) != unknown]: Just use $(output-format),
62841 instead of the linker-script munging.
62842
62843 2011-07-14 Roland McGrath <roland@hack.frob.com>
62844
62845 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62846 of $(common-objpfx)shlib.lds.
62847 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62848
62849 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62850 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62851
62852 * configure.in (-z relro check): Adjust test code to add a large
62853 writable data section after it.
62854 * configure: Regenerated.
62855
62856 2011-07-11 Roland McGrath <roland@hack.frob.com>
62857
62858 * configure.in (-z relro check): Fix test code to make the variable
62859 truly const.
62860 * configure: Regenerated.
62861
62862 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62863
62864 * nscd/nscd.h (struct traced_file): Define.
62865 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62866 elements. Add traced_files.
62867 (inotify_fd): Declare.
62868 (register_traced_file): Declare.
62869 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62870 (inotify_fd): Export.
62871 (resolv_conf_descr): Remove.
62872 (nscd_init): Move inotify descriptor creation to main.
62873 Don't register files for notification here.
62874 (register_traced_file): New function.
62875 (invalidate_cache): Don't use reset_res to determine whether to call
62876 res_init, go through the list of registered files.
62877 (main_loop_poll): The inotify descriptors are now stored in the
62878 structures for the traced files.
62879 (main_loop_epoll): Likewise
62880 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62881 to __nss_disable_nscd.
62882 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62883 for a database anymore. Check the records for all the registered
62884 files instead.
62885 * nss/Makefile (libnss_files-routines): Add files-init.
62886 (libnss_db-routines): Add db-init.
62887 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62888 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62889 * nss/nss_db/db-init.c: New file.
62890 * nss/nss_files/files-init.c: New file.
62891 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62892 __nss_lookup_function.
62893 (__nss_lookup_function): Call nss_load_library.
62894 (nss_load_all_libraries): New function.
62895 (__nss_disable_nscd): Take parameter with callback function for files
62896 to register. Set is_nscd. Load all the DSOs for the NSS modules
62897 used for the cached services.
62898 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62899 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62900 options for features to all the files in nscd.
62901
62902 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62903
62904 2011-07-10 Roland McGrath <roland@hack.frob.com>
62905
62906 * csu/elf-init.c (__libc_csu_init): Comment typo.
62907
62908 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62909
62910 * po/pl.po: Update from translation team.
62911 * po/ja.po: Likewise.
62912 * po/ru.po: Likewise.
62913 * po/ko.po: Likewise.
62914 * po/fr.po: Likewise.
62915
62916 2011-07-09 Roland McGrath <roland@hack.frob.com>
62917
62918 * configure.in (.ctors/.dtors header and trailer check):
62919 Use an empirical test on a built program.
62920 * configure: Regenerated.
62921
62922 * configure.in (-z relro check): Use an empirical test on a built DSO.
62923 Detect, but do not require, on ia64.
62924 * configure: Regenerated.
62925
62926 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62927 Update tests that use readelf to use $READELF instead.
62928 * configure: Regenerated.
62929
62930 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62931
62932 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62933 if the result is not used.
62934
62935 2011-07-05 Andreas Jaeger <aj@suse.de>
62936
62937 [BZ#9696]
62938 * stdlib/tst-strtod.c: Add testcase.
62939
62940 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62941
62942 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62943 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62944 The latter has a higher limit. Take additional parameter to pass to
62945 the new function.
62946 (__pathconf): Pass file to __statfs_link_max.
62947 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62948 __statfs_link_max.
62949 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62950 __statfs_link_max.
62951
62952 [BZ #12868]
62953 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62954 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62955 Handle Lustre.
62956 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62957 (__statfs_filesize_max): Likewise.
62958 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62959
62960 2011-07-05 Andreas Jaeger <aj@suse.de>
62961
62962 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62963
62964 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62965
62966 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62967 `status' variable.
62968 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62969 Likewise.
62970
62971 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62972
62973 * Makefile (strop-tests): Add strncat.
62974 * string/test-strncat.c: New file.
62975
62976 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62977
62978 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62979
62980 2011-06-21 Andreas Jaeger <aj@suse.de>
62981
62982 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62983 Copy rule from iconvdata/Makefile.
62984
62985 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62986
62987 [BZ #12922]
62988 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62989 but no long options are defined, just return 'W'.
62990
62991 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62992
62993 [BZ #9696]
62994 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62995
62996 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62997
62998 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62999 netgroups to read.
63000 (innetgr): Likewise.
63001
63002 2011-07-05 Roland McGrath <roland@hack.frob.com>
63003
63004 * config.make.in (install_root): Default to $(DESTDIR).
63005
63006 2011-07-05 Ulrich Drepper <drepper@gmail.com>
63007
63008 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63009
63010 2011-07-02 Roland McGrath <roland@hack.frob.com>
63011
63012 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63013
63014 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63015 containing directory rather than embedding absolute directory names.
63016
63017 * scripts/check-local-headers.sh: Rewritten using awk.
63018 Match by word, not by line. Print error messages for matches.
63019 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63020
63021 * Makerules [shlib-lds-flags empty]:
63022 ($(common-objpfx)libc_pic.opts): New target.
63023 ($(common-objpfx)libc_pic.os.clean): New target.
63024 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63025
63026 * config.make.in (OBJCOPY): New variable.
63027 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63028 * configure: Regenerated.
63029
63030 * config.make.in (use-default-link): New variable.
63031 * configure.in (use_default_link): Grok --with-default-link to set it.
63032 * configure: Regenerated.
63033 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63034 (shlib-lds, shlib-lds-flags): Define to empty.
63035
63036 * Makerules (shlib-lds): New variable.
63037 (shlib-lds-flags): New variable.
63038 (build-shlib, build-moduile, build-module-asneeded): Use it.
63039 ($(common-objpfx)libc.so): Use $(shlib-lds).
63040 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63041 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63042
63043 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63044 DT_FLAGS/DT_FLAGS_1 with zero flags.
63045
63046 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63047 linker script munging.
63048
63049 2011-07-02 Ulrich Drepper <drepper@gmail.com>
63050
63051 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63052 as 128-bit value.
63053 * crypt/sha512.c (sha512_process_block): Perform total addition using
63054 128-bit if possible.
63055 (__sha512_finish_ctx): Likewise.
63056 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63057 as 64-bit value.
63058 * crypt/sha256.c (SWAP64): Define.
63059 (sha256_process_block): Perform total addition using 64-bit if
63060 possible.
63061 (__sha256_finish_ctx): Likewise.
63062
63063 2011-07-01 Ulrich Drepper <drepper@gmail.com>
63064
63065 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
63066 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63067 * nscd/hstcache.c (cache_addhst): Likewise.
63068 * nscd/grpcache.c (cache_addgr): Likewise.
63069 * nscd/aicache.c (addhstaiX): Likewise
63070 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63071
63072 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
63073
63074 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63076 * nscd/hstcache.c (cache_addhst): Likewise.
63077 * nscd/grpcache.c (cache_addgr): Likewise.
63078 * nscd/aicache.c (addhstaiX): Likewise
63079
63080 2011-07-01 Andreas Schwab <schwab@redhat.com>
63081
63082 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63083 domain only when needed.
63084
63085 2011-06-30 Andreas Schwab <schwab@redhat.com>
63086
63087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63088 is always restored.
63089
63090 2011-06-29 Ulrich Drepper <drepper@gmail.com>
63091
63092 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63093 are re-adding the entry.
63094 * nscd/servicescache.c (cache_addserv): Likewise.
63095
63096 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
63097
63098 * sysdeps/generic/dl-irel.h: fix protection against multiple
63099 inclusions.
63100 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63101
63102 2011-06-28 Ulrich Drepper <drepper@gmail.com>
63103
63104 [BZ #12935]
63105 * malloc/memusage.sh: Fix quoting in message.
63106 * debug/xtrace.sh: Likewise.
63107
63108 * configure.in: Remove support for --experimental-malloc option, make
63109 it the default.
63110 * config.make.in: Likewise.
63111 * malloc/Makefile: Likewise.
63112
63113 2011-06-27 Andreas Schwab <schwab@redhat.com>
63114
63115 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63116 two-byte characters.
63117
63118 2011-06-27 Roland McGrath <roland@hack.frob.com>
63119
63120 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63121 AC_CACHE_CHECK invocation.
63122 * configure: Regenerated.
63123
63124 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63125
63126 2011-06-27 Ulrich Drepper <drepper@gmail.com>
63127
63128 [BZ #12350]
63129 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
63130 bit from old_res_options.
63131
63132 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63133
63134 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63135 value type for setfct.
63136
63137 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63138
63139 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63140 __gettimeofday instead of gettimeofday.
63141
63142 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63143
63144 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63145
63146 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63147
63148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63149
63150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63151 info.
63152
63153 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63154
63155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63156 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63157 strcpy-sse2-unaligned strncpy-sse2-unaligned
63158 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63159 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63160 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63161 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63162 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63165 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63166 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63167 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63168 (STRCPY): Support SSE2 and SSSE3 versions.
63169
63170 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63171
63172 [BZ #12874]
63173 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63174 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63175 kernels which artificially limit size of requests.
63176
63177 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63178
63179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63180 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63181 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63182 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63183 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63184 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63185 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63186 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63187 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63189 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63190 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63191 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63192 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63193 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63195 Enable unaligned load optimization for Intel Core i3, i5 and i7
63196 processors.
63197 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63198 Define.
63199 (index_Fast_Unaligned_Load): Define.
63200 (HAS_FAST_UNALIGNED_LOAD): Define.
63201
63202 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63203
63204 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63205
63206 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63207
63208 [BZ #12907]
63209 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63210 until it is clear that the information is realy needed.
63211 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63212
63213 2011-06-22 Andreas Schwab <schwab@redhat.com>
63214
63215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63216
63217 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63218
63219 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63220 /sys/devices/system/cpu/online if it is usable.
63221
63222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63223 reading the information from the /proc filesystem to once a second.
63224
63225 2011-06-21 Andreas Jaeger <aj@suse.de>
63226
63227 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63228 NULL after inclusion of kernel headers.
63229
63230 2011-06-21 Ulrich Drepper <drepper@gmail.com>
63231
63232 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63233 calls to internal_setent.
63234
63235 [BZ #12885]
63236 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63237 addresses using gethostbyname4_r ignore IPv4 addresses.
63238
63239 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63240 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
63241
63242 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63243
63244 2011-06-20 David S. Miller <davem@davemloft.net>
63245
63246 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63247 inclusions.
63248 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63249
63250 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63251 (elf_irel): Use it.
63252 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63253 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63254 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63255 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63256 * sysdeps/x86_64/dl-irel.h: Likewise.
63257
63258 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63259 * elf/dl-sym.c: Likewise.
63260
63261 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63262
63263 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63264 need to dereference resplen2.
63265
63266 2011-06-14 Andreas Schwab <schwab@redhat.com>
63267
63268 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63269
63270 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63271
63272 * Makeconfig: Define vardbdir and inst_vardbdir.
63273 * nss/Makefile: Add rules to install db-Makefile.
63274
63275 * nss/nss_db/db-XXX.c: Cleanup.
63276
63277 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63278 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63279 GLIBC_PRIVATE.
63280 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63281 * nss/makedb.c: Implement -g option to specify that value strings
63282 are generated and should not be added to table iterated over for
63283 get*ent calls.
63284 * nss/nss_db/db-initgroups.c: New file.
63285
63286 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63287 interface.
63288
63289 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63290 (internal_getgrouplist): Adjust to name change.
63291 Update use_initgroups_entry if this is not the first call.
63292 * nss/databases.def: Add initgroups entry.
63293
63294 * nss/makedb.c (compute_tables): Check result of multiple hash table
63295 sizes to minimize maximum chain length.
63296
63297 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63298
63299 * Versions.def: Add entry for libnss_db.
63300 * shlib-versions: Likewise.
63301 * nss/Makefile: Add rules to build libnss_db.
63302 * nss/Versions: Add libnss_db information. Organize libnss_files
63303 entries better.
63304 * nss/db-Makefile: Add gshadow support. Change rules for the new
63305 makedb progra. Some minor improvements to generate smaller files.
63306 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63307 here from...
63308 * nss/makedb.c: ...here.
63309 Improve database format to be smaller and require less memory at
63310 runtime.
63311 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63312 db anymore.
63313 * nss/nss_db/db-netgrp.c: Likewise.
63314 * nss/nss_db/db-open.c: Likewise.
63315 * nss/nss_files/flies-XXX.x: Adjust comments.
63316 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63317 * nss/nss_files/files-grp.c: Likewise.
63318 * nss/nss_files/files-hosts.c: Likewise.
63319 * nss/nss_files/files-network.c: Likewise.
63320 * nss/nss_files/files-proto.c: Likewise.
63321 * nss/nss_files/files-pwd.c: Likewise.
63322 * nss/nss_files/files-rpc.c: Likewise.
63323 * nss/nss_files/files-service.c: Likewise.
63324 * nss/nss_files/files-sgrp.c: Likewise.
63325 * nss/nss_files/files-spwd.c: Likewise.
63326 * nss/nss_db/db-alias.c: Removed.
63327 * nss/nss_db/dummy-db.h: Removed.
63328
63329 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63330
63331 * nss/makedb.c: Rewritten to not use database library.
63332 * nss/Makefile: Update to build new makedb program.
63333
63334 2011-06-14 Andreas Jaeger <aj@suse.de>
63335
63336 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63337 memset declaration.
63338
63339 2011-06-10 Andreas Schwab <schwab@redhat.com>
63340
63341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63342 tmpbuf.
63343
63344 2011-06-10 Roland McGrath <roland@hack.frob.com>
63345
63346 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63347 * elf/Makefile ($(objpfx)ld.so): Likewise.
63348
63349 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63350 Don't list ld.so twice in dependencies.
63351
63352 * posix/bug-regex31.c: Include <stdlib.h>.
63353
63354 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63355
63356 * nis/nss_compat/compat-spwd.c
63357 (getspent_next_nss_netgr): Remove unused variable.
63358 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63359
63360 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63361 nonmembers" output to use the right array.
63362
63363 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63364
63365 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63366
63367 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63368 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63369 * catgets/gencat.c (read_input_file): Likewise.
63370 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63371
63372 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63373 variable definition inside #if's controlling its use.
63374
63375 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63376
63377 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63378
63379 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63380
63381 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63382 unreachable code.
63383
63384 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63385
63386 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63387 * configure: Regenerated.
63388
63389 * Makerules: Revert last change.
63390 * elf/Makefile: Likewise.
63391
63392 2011-06-09 Roland McGrath <roland@hack.frob.com>
63393
63394 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63395 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63396 (reloc-link): Likewise.
63397
63398 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63399
63400 * elf/Makefile: Add rules to build pldd.
63401 * elf/pldd.c: New file.
63402 * elf/pldd-xx.c: New file.
63403
63404 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63405
63406 * version.h: Update for 2.15 development version.
63407
63408 2011-06-07 David S. Miller <davem@davemloft.net>
63409
63410 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63411 ifuncs.
63412 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63413 elf_machine_lazy_rel): Likewise.
63414 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63415 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63416 elf_machine_lazy_rel): Likewise.
63417 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63418 dl_hwcap via passed in argument.
63419 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63420 Likewise.
63421
63422 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63423
63424 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63425
63426 2011-06-06 Roland McGrath <roland@hack.frob.com>
63427
63428 [BZ #12849]
63429 * manual/fdl-1.1.texi: New file, verbatim from:
63430 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63431 * manual/lgpl-2.1.texi: New file, verbatim from:
63432 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63433 * manual/Makefile (licenses): New variable, list those new file names.
63434 (texis): Use it.
63435 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63436
63437 * manual/fdl.texi: File removed.
63438 * manual/lesser.texi: File removed.
63439 * manual/libc.texinfo (Copying, Documentation License):
63440 Use new @include file names, put @appendix directive before @include.
63441
63442 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63443
63444 [BZ #12841]
63445 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63446 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63447 (mq_open): Add __NTH.
63448
63449 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63450
63451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63452 Assume Intel Core i3/i5/i7 processor if AVX is available.
63453
63454 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63455
63456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63457 typo.
63458
63459 2011-05-31 Andreas Schwab <schwab@redhat.com>
63460
63461 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63462 memory. Use alloca_account. Fix memory leak when retrying.
63463
63464 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63465
63466 * version.h (RELEASE): Bump for 2.14 release.
63467 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63468
63469 * config.make.in (RANLIB): Remove entry.
63470
63471 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63472
63473 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63474 (libc.pot): Work around missing support for .ksh extension in xgettext.
63475
63476 [BZ #12684]
63477 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63478 if both request failed.
63479 (send_dg): In case of server errors clear resplen or *resplen2.
63480
63481 [BZ #12454]
63482 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63483 when there are multiple maps.
63484 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63485 (_dl_fini): Remove test here.
63486
63487 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63488
63489 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63490
63491 [BZ #12350]
63492 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63493 bit from old_res_options.
63494 (gaih_inet): Likewise.
63495
63496 [BZ #11099]
63497 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63498 as signed.
63499
63500 * resolv/res_init.c (res_setoptions): Make the code more compact.
63501
63502 [BZ #11558]
63503 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63504 set RES_USEVC.
63505
63506 [BZ #11634]
63507 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63508
63509 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63510
63511 [BZ #11781]
63512 * malloc/malloc.h: Declare malloc hook variables as volatile.
63513
63514 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63515 in last patch.
63516
63517 [BZ #11799]
63518 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63519 raise in the comment.
63520 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63521 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63522 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63523
63524 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63525
63526 [BZ #12811]
63527 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63528 grow the buffers more if it already has to be sufficient.
63529 (build_wcs_upper_buffer): Likewise.
63530 * posix/regexec.c (check_matching): Likewise.
63531 (clean_state_log_if_needed): Likewise.
63532 (extend_buffers): Don't enlarge buffers beyond size of the input
63533 buffer.
63534 Patches mostly by Emil Wojak <emil@wojak.eu>.
63535 * posix/bug-regex32.c: New file.
63536 * posix/Makefile (tests): Add bug-regex32.
63537
63538 * locale/findlocale.c (_nl_find_locale): Return right away if
63539 _nl_explode_name failed.
63540 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63541
63542 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63543
63544 * debug/xtrace.sh: Unify messages.
63545 * malloc/memusage.sh: Likewise.
63546
63547 [BZ #12813]
63548 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63549 time symbol from vDSO. Substitute with vsyscall if not available.
63550 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63551 __vdso_time.
63552
63553 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63554 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63555 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63556 Add sendmmsg and internal_sendmmsg.
63557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63558 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63559 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63560
63561 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63562 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63563 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63564
63565 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63566
63567 [BZ #12813]
63568 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63569 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63570 available.
63571 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63572 __vdso_getcpu.
63573
63574 [BZ #12814]
63575 * iconvdata/Makefile (tests): Add bug-iconv9.
63576 * iconvdata/bug-iconv9.c: New file.
63577
63578 2011-05-27 Andreas Schwab <schwab@redhat.com>
63579
63580 [BZ #12814]
63581 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63582
63583 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63584
63585 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63586 (struct user_regs_struct): Change intcs field back to cs.
63587
63588 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63589
63590 * po/ja.po: Update from translation team.
63591
63592 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63593
63594 [BZ #12795]
63595 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63596 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63597
63598 2011-05-20 Andreas Schwab <schwab@redhat.com>
63599
63600 * stdlib/longlong.h: Update from GCC.
63601
63602 2011-05-23 Andreas Schwab <schwab@redhat.com>
63603
63604 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63605 parameter name.
63606 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63607 Add parameter name.
63608 (__sysconf): Pass it down.
63609
63610 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63611
63612 [BZ #12671]
63613 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63614 some situations.
63615 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63616 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63617 add in in __libc_use_alloca calls. Adjust callers.
63618 (glob): Use malloc in some situations.
63619
63620 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63621 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63622 pltexit.
63623
63624 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63625
63626 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63627 and CLOCK_BOOTTIME_ALARM.
63628
63629 [BZ #12782]
63630 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63631 is returned.
63632
63633 * string/_strerror.c (__strerror_r): Print negative errors as signed
63634 numbers.
63635
63636 [BZ #12777]
63637 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63638 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63639 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63640
63641 * configure.in: Fix typo in redirection and correct removal of test
63642 files in two cases.
63643
63644 [BZ #12788]
63645 * locale/setlocale.c (new_composite_name): Fix test to check for
63646 identical name of all categories.
63647
63648 [BZ #12792]
63649 * libio/filedoalloc.c (local_isatty): New function.
63650 (_IO_file_doallocate): Use local_isatty.
63651 * stdio-common/perror.c (perror): In case a new stream is used
63652 forward the stream error.
63653 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63654 error flag.
63655
63656 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63657
63658 [BZ #11869]
63659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63660 alloca.
63661 * include/alloca.h (extend_alloca_account): Define.
63662
63663 [BZ #11857]
63664 * posix/regex.h: Fix comments with documentation of user-accessible
63665 fields after compilation and describe correct free'ing of pattern
63666 after re_compile_pattern.
63667 Patch by Reuben Thomas <rrt@sc3d.org>.
63668
63669 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63670
63671 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63672 and -mno-altivec to prevent the compiler from using Altivec and/or
63673 VSX instructions when the corresponding registers are not available.
63674
63675 2011-05-19 Andreas Schwab <schwab@redhat.com>
63676
63677 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63678
63679 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63680
63681 * libio/freopen.c (freopen): Use __dup2, not dup2.
63682 * libio/freopen64.c (freopen64): Likewise.
63683
63684 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63685
63686 [BZ #12775]
63687 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63688 * math/Makefile (tests): Add test-powl.
63689 (CFLAGS-test-powl.c): Define.
63690 * math/test-powl.c: New file.
63691
63692 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63693
63694 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63695
63696 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63697
63698 [BZ #11837]
63699 * iconvdata/gb18030.c: Update to GB18020-2005.
63700
63701 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63702
63703 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63704 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63705 Patch by Aharon Robbins <arnold@skeeve.com>.
63706
63707 [BZ #11892]
63708 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63709 on the stack.
63710
63711 [BZ #11895]
63712 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63713 through underflows.
63714
63715 [BZ #12766]
63716 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63717 point to strings before performing equality test for error_one_per_line
63718 mode.
63719
63720 [BZ #11697]
63721 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63722
63723 [BZ #11820]
63724 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63725 (struct user_fpregs_struct): Avoid __uint*_t types.
63726
63727 [BZ #6420]
63728 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63729 symbol info. Use it instead of calling _dl_addr locally.
63730 (lock_and_info): New function.
63731 (tr_freehook): Call lock_and_info and pass symbol info as additional
63732 parameter to tr_where.
63733 (tr_mallochook): Likewise.
63734 (tr_reallochook): Likewise.
63735 (tr_memalignhook): Likewise.
63736
63737 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63738 used and couldn't be at all thread-safe.
63739
63740 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63741
63742 * libio/freopen.c (freopen): Don't close old file descriptor
63743 before the new one is opened. Instead dup the new file descriptor
63744 to the old one after the new stream is created.
63745 * libio/freopen64.c (freopen64): Likewise.
63746 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63747 * libio/fileops.c (_IO_new_file_close_it): Handle new
63748 _IO_FLAGS2_NOCLOSE flag.
63749 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63750 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63751 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63752 _IO_FLAGS2_NOCLOSE flag.
63753 * include/unistd.h: Add hidden_proto for dup3.
63754 Define __have_dup3.
63755 * io/dup3.c: Define hidden symbol.
63756 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63757
63758 [BZ #7101]
63759 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63760 when an incomplete long option is used.
63761 * posix/tst-getopt_long1.c: New file.
63762 * posix/Makefile (tests): Add tst-getopt_long1.
63763
63764 [BZ #10138]
63765 * scripts/config.guess: Update from autoconf-2.68.
63766 * scripts/config.sub: Likewise.
63767
63768 [BZ #10157]
63769 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63770 tests into ...
63771 (has_cpuclock): ...this. New function.
63772 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63773 macro here based on has_cpuclock code.
63774
63775 [BZ #10149]
63776 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63777 First byte (not low byte) is now always NUL.
63778 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63779
63780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63781 Use non-cancelable interfaces.
63782
63783 [BZ #9809]
63784 * locale/iso-639.def: Add entry for Sorani.
63785
63786 [BZ #11901]
63787 * include/stdlib.h: Move include protection to the right place.
63788 Define abort_msg_s. Declare __abort_msg with it.
63789 * stdlib/abort.c (__abort_msg): Adjust type.
63790 * assert/assert.c (__assert_fail_base): New function. Majority
63791 of code from __assert_fail. Allocate memory for __abort_msg with
63792 mmap.
63793 (__assert_fail): Now call __assert_fail_base.
63794 * assert/assert-perr.c: Remove bulk of implementation. Use
63795 __assert_fail_base.
63796 * include/assert.hL Declare __assert_fail_base.
63797 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63798 mmap.
63799 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63800
63801 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63802
63803 [BZ #11952]
63804 [BZ #12453]
63805 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63806 until all modules are registered in the DTV.
63807 * elf/Makefile: Add rules to build and run tst-tls19.
63808 * elf/tst-tls19.c: New file.
63809 * elf/tst-tls19mod1.c: New file.
63810 * elf/tst-tls19mod2.c: New file.
63811 * elf/tst-tls19mod3.c: New file.
63812 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63813
63814 [BZ #12083]
63815 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63816 correctly.
63817
63818 [BZ #12601]
63819 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63820 two-byte sequence errors.
63821 * iconvdata/Makefile (tests): Add bug-iconv8.
63822 * iconvdata/bug-iconv8.c: New file.
63823
63824 [BZ #12626]
63825 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63826 buf2 definition.
63827
63828 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63829
63830 [BZ #12432]
63831 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63832 (dummy_getcfa): New function.
63833 (init): Get _Unwind_GetCFA address, use dummy if not found.
63834 (backtrace_helper): In recursion check, also check whether CFA changes.
63835 (__backtrace): Completely initialize arg.
63836
63837 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63838 storing incomplete byte sequence in state object. Avoid testing for
63839 guaranteed too small input if we know there is enough data available.
63840
63841 2011-05-11 Andreas Schwab <schwab@redhat.com>
63842
63843 * Makeconfig (+link-pie): Indent.
63844 * Rules (binaries-pie): Define if $(have-fpie) and
63845 $(build-shared).
63846 (binaries-shared): Also filter out $(binaries-pie).
63847 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63848 * nscd/Makefile (others-pie): Add nscd.
63849 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63850 ($(objpfx)nscd): Remove command override.
63851 * login/Makefile (others-pie): Add pt_chown.
63852 ($(objpfx)pt_chown): Remove command override.
63853 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63854 remove command overrides.
63855
63856 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63857
63858 * libio/tst_putwc.c: Fix error messages.
63859
63860 [BZ #12724]
63861 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63862 currently writing and seek to current position when not.
63863 * libio/Makefile (tests): Add bug-fclose1.
63864 * libio/bug-fclose1.c: New file.
63865
63866 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63867
63868 [BZ #12511]
63869 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63870 don't set DF_1_NODELETE here.
63871 (do_lookup_x): When entering new entry test for copy relocation
63872 and if necessary set DF_1_NODELETE flag.
63873 * elf/tst-unique4.cc: New file.
63874 * elf/tst-unique4.h: New file.
63875 * elf/tst-unique4lib.cc: New file.
63876 * elf/Makefile: Add rules to build and run tst-unique4.
63877 Patch by Piotr Bury <pbury@goahead.com>.
63878
63879 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63880
63881 [BZ #12052]
63882 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63883
63884 [BZ #12625]
63885 * misc/mntent_r.c (addmntent): Flush the stream after the output
63886
63887 [BZ #12393]
63888 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63889 (is_trusted_path_normalize): Skip initial colon. Append slash
63890 to empty buffer. Duplicate is_trusted_path code but allow
63891 constructed patch to be prefix.
63892 (is_dst): Allow $ORIGIN followed by /.
63893 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63894 Correct testing of result of is_trusted_path_normalize
63895 (decompose_rpath): Fix warning.
63896
63897 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63898
63899 [BZ #11257]
63900 * grp/initgroups.c (internal_getgrouplist): When we found the service
63901 list through the initgroups entry in nsswitch.conf do not always
63902 continue on a successful lookup. Don't always use the
63903 __nss_group_database value if it is set.
63904 * nss/nsswitch.conf (initgroups): Change action for successful db
63905 lookup to continue for compatibility.
63906
63907 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63908
63909 [BZ #11532]
63910 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63911 and CP774 modules.
63912 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63913 and CP774 modules.
63914 * iconvdata/tst-tables.sh: Likewise.
63915 * iconvdata/cp770.c: New file.
63916 * iconvdata/cp771.c: New file.
63917 * iconvdata/cp772.c: New file.
63918 * iconvdata/cp773.c: New file.
63919 * iconvdata/cp774.c: New file.
63920 * iconvdata/testdata/CP770: New file.
63921 * iconvdata/testdata/CP770..UTF8: New file.
63922 * iconvdata/testdata/CP771: New file.
63923 * iconvdata/testdata/CP771..UTF8: New file.
63924 * iconvdata/testdata/CP772: New file.
63925 * iconvdata/testdata/CP772..UTF8: New file.
63926 * iconvdata/testdata/CP773: New file.
63927 * iconvdata/testdata/CP773..UTF8: New file.
63928 * iconvdata/testdata/CP774: New file.
63929 * iconvdata/testdata/CP774..UTF8: New file.
63930
63931 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63932 END CHARMAP line.
63933 * iconvdata/gen-8bit-gap.sh: Likewise.
63934 * iconvdata/gen-8bit.sh: Likewise.
63935
63936 * locale/iso-639.def: Add ary entry.
63937
63938 [BZ #11258]
63939 * locale/C-translit.h.in: Add U20A1 transliteration.
63940
63941 [BZ #12178]
63942 * locale/iso-639.def: Add wae entry.
63943 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63944
63945 [BZ #12545]
63946 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63947 for n.
63948
63949 [BZ #12711]
63950 * locale/C-translit.h.in: Add entry for U20B9.
63951 Patch by pravin.d.s@gmail.com.
63952
63953 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63954
63955 [BZ #12713]
63956 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63957 ENAMETOOLONG use generic getcwd.
63958 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63959 in rtld. Use *stat64.
63960 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63961 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63962 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63963 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63964 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63965 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63966 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63967 __fstatat64 macros.
63968 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63969 * dirent/rewinddir.c: Add libc_hidden_def.
63970 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63971 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63972
63973 * include/dirent.h (__alloc_dir): Add flags parameter.
63974 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63975 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63976 __alloc_dir.
63977 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63978 from fdopendir if O_CLOEXEC is already set.
63979
63980 2011-03-15 Alan Modra <amodra@gmail.com>
63981
63982 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63983 l_tls_firstbyte_offset non-zero. Save padding offset in
63984 l_tls_firstbyte_offset for later use.
63985 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63986 freeing static tls block.
63987
63988 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63989
63990 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63991 where #ifdef was intended. The intent is to prevent ARG_MAX from
63992 being defined by the kernel headers.
63993
63994 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63995
63996 [BZ #12734]
63997 * resolv/resolv.h: Define RES_NOTLDQUERY.
63998 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63999 no-tld-query and set RES_NOTLDQUERY.
64000 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64001 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64002 modern BIND to search name as TLD unless forbidden.
64003
64004 2011-05-07 Petr Baudis <pasky@suse.cz>
64005 Ulrich Drepper <drepper@gmail.com>
64006
64007 [BZ #12393]
64008 * elf/dl-load.c (fillin_rpath): Move trusted path check...
64009 (is_trusted_path): ...to here.
64010 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64011 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64012 using is_trusted_path_normalize() in setuid scripts.
64013
64014 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
64015
64016 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64017 __BEGIN/__END_DECLS.
64018
64019 2011-05-06 Ulrich Drepper <drepper@gmail.com>
64020
64021 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64022 NSS_STATUS_NOTFOUND if no record was found.
64023
64024 2011-05-05 Andreas Schwab <schwab@redhat.com>
64025
64026 * sunrpc/Makefile (headers): Add rpc/netdb.h.
64027 (headers-not-in-tirpc): Remove rpc/netdb.h
64028 * resolv/netdb.h: Revert last change.
64029
64030 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64031
64032 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64033 circular dependency between libgcc.a and libc.a.
64034
64035 2011-05-05 Andreas Schwab <schwab@redhat.com>
64036
64037 * resolv/netdb.h: Don't include <rpc/netdb.h>.
64038 * nis/Makefile: Don't install rpcsvc/*.
64039 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64040 instead of <rpc/types.h>.
64041 (MAXHOSTNAMELEN): Define.
64042
64043 2011-05-03 Andreas Schwab <schwab@redhat.com>
64044
64045 * elf/ldconfig.c (add_dir): Don't crash on empty path.
64046
64047 2011-04-28 Maciej Babinski <mbabinski@google.com>
64048
64049 [BZ #12714]
64050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64051 gethostbyname4_r when IPv6 results are possible.
64052
64053 2011-05-02 Ulrich Drepper <drepper@gmail.com>
64054
64055 [BZ #12723]
64056 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64057 _PC_PIPE_BUF handling.
64058
64059 2011-04-30 Bruno Haible <bruno@clisp.org>
64060
64061 [BZ #12717]
64062 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64063 * resolv/netdb.h (getnameinfo): Change type of flags parameter
64064 to 'int'.
64065 * inet/getnameinfo.c (getnameinfo): Likewise.
64066
64067 2011-04-29 Ulrich Drepper <drepper@gmail.com>
64068
64069 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64070 to groups setting in database lookup.
64071 * nss/nsswitch.conf: Add initgroups entry.
64072
64073 2011-04-22 Ulrich Drepper <drepper@gmail.com>
64074
64075 [BZ #12685]
64076 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64077 mode string.
64078 Patch by Eric Blake <eblake@redhat.com>.
64079
64080 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
64081
64082 * sunrpc/Makefile (need-export-routines): Add svc_run.
64083 (routines): Remove svc_run.
64084 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64085 * sunrpc/clnt_perr.c (clnt_perrno): Export.
64086 * sunrpc/svc_run.c (svc_run): Likewise.
64087 * sunrpc/svc_udp.c (svcudp_create): Likewise.
64088
64089 2011-04-21 Ulrich Drepper <drepper@gmail.com>
64090
64091 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64092 problem in reallocation in last patch.
64093
64094 2011-04-20 Ulrich Drepper <drepper@gmail.com>
64095
64096 * sunrpc/Makefile: Move inclusion of Rules.
64097
64098 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64099
64100 * nss/nss_files/files-initgroups.c: New file.
64101 * nss/Makefile (libnss_files-routines): Add files-initgroups.
64102 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64103 _nss_files_initgroups_dyn.
64104
64105 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
64106
64107 * elf/elf.h (R_ARM_IRELATIVE): Define.
64108
64109 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64110
64111 * po/ru.po: Update from translation team.
64112
64113 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64114
64115 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64116 dependencies.
64117
64118 2011-02-06 Mike Frysinger <vapier@gentoo.org>
64119
64120 [BZ #12653]
64121 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64122 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64123 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64124 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64125 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64126
64127 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
64128
64129 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64130 differing bytes.
64131 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64134
64135 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64136
64137 [BZ #12420]
64138 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64139 storing it.
64140 * stdlib/bug-getcontext.c: New file.
64141 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64142
64143 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64144
64145 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64146 instructions into .machine "z9-109".
64147 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64148 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64149
64150 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64151
64152 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64153 between environment variables and auxiliary vector.
64154
64155 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64156
64157 * Makefile: Add rules to build linkobj/libc.so.
64158 * include/libc-symbols.h: Define libc_hidden_nolink.
64159 * include/rpc/auth.h: Mark functions which are to be hidden.
64160 * include/rpc/auth_des.h: Likewise.
64161 * include/rpc/auth_unix.h: Likewise.
64162 * include/rpc/clnt.h: Likewise.
64163 * include/rpc/des_crypt.h: Likewise.
64164 * include/rpc/key_prot.h: Likewise.
64165 * include/rpc/pmap_clnt.h: Likewise.
64166 * include/rpc/pmap_prot.h: Likewise.
64167 * include/rpc/pmap_rmt.h: Likewise.
64168 * include/rpc/rpc_msg.h: Likewise.
64169 * include/rpc/svc.h: Likewise.
64170 * include/rpc/svc_auth.h: Likewise.
64171 * include/rpc/xdr.h: Likewise.
64172 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64173 * nss/Makefile: Likewise.
64174 * sunrpc/Makefile: Don't install headers. Build library with normal
64175 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64176 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64177 for the compat linking library. Remove use of INTDEF/INTUSE.
64178 * sunrpc/auth_none.c: Likewise.
64179 * sunrpc/auth_unix.c: Likewise.
64180 * sunrpc/authdes_prot.c: Likewise.
64181 * sunrpc/authuxprot.c: Likewise.
64182 * sunrpc/clnt_gen.c: Likewise.
64183 * sunrpc/clnt_perr.c: Likewise.
64184 * sunrpc/clnt_raw.c: Likewise.
64185 * sunrpc/clnt_simp.c: Likewise.
64186 * sunrpc/clnt_tcp.c: Likewise.
64187 * sunrpc/clnt_udp.c: Likewise.
64188 * sunrpc/clnt_unix.c: Likewise.
64189 * sunrpc/des_crypt.c: Likewise.
64190 * sunrpc/des_soft.c: Likewise.
64191 * sunrpc/get_myaddr.c: Likewise.
64192 * sunrpc/key_call.c: Likewise.
64193 * sunrpc/key_prot.c: Likewise.
64194 * sunrpc/netname.c: Likewise.
64195 * sunrpc/pm_getmaps.c: Likewise.
64196 * sunrpc/pm_getport.c: Likewise.
64197 * sunrpc/pmap_clnt.c: Likewise.
64198 * sunrpc/pmap_prot.c: Likewise.
64199 * sunrpc/pmap_prot2.c: Likewise.
64200 * sunrpc/pmap_rmt.c: Likewise.
64201 * sunrpc/publickey.c: Likewise.
64202 * sunrpc/rpc_cmsg.c: Likewise.
64203 * sunrpc/rpc_common.c: Likewise.
64204 * sunrpc/rpc_dtable.c: Likewise.
64205 * sunrpc/rpc_prot.c: Likewise.
64206 * sunrpc/rpc_thread.c: Likewise.
64207 * sunrpc/rtime.c: Likewise.
64208 * sunrpc/svc.c: Likewise.
64209 * sunrpc/svc_auth.c: Likewise.
64210 * sunrpc/svc_authux.c: Likewise.
64211 * sunrpc/svc_raw.c: Likewise.
64212 * sunrpc/svc_run.c: Likewise.
64213 * sunrpc/svc_simple.c: Likewise.
64214 * sunrpc/svc_tcp.c: Likewise.
64215 * sunrpc/svc_udp.c: Likewise.
64216 * sunrpc/svc_unix.c: Likewise.
64217 * sunrpc/svcauth_des.c: Likewise.
64218 * sunrpc/xcrypt.c: Likewise.
64219 * sunrpc/xdr.c: Likewise.
64220 * sunrpc/xdr_array.c: Likewise.
64221 * sunrpc/xdr_float.c: Likewise.
64222 * sunrpc/xdr_intXX_t.c: Likewise.
64223 * sunrpc/xdr_mem.c: Likewise.
64224 * sunrpc/xdr_rec.c: Likewise.
64225 * sunrpc/xdr_ref.c: Likewise.
64226 * sunrpc/xdr_sizeof.c: Likewise.
64227 * sunrpc/xdr_stdio.c: Likewise.
64228
64229 2011-04-10 Ulrich Drepper <drepper@gmail.com>
64230
64231 [BZ #12650]
64232 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64233 * sysdeps/ia64/dl-tls.h: Likewise.
64234 * sysdeps/powerpc/dl-tls.h: Likewise.
64235 * sysdeps/s390/dl-tls.h: Likewise.
64236 * sysdeps/sh/dl-tls.h: Likewise.
64237 * sysdeps/sparc/dl-tls.h: Likewise.
64238 * sysdeps/x86_64/dl-tls.h: Likewise.
64239 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64240
64241 2011-03-14 Andreas Schwab <schwab@redhat.com>
64242
64243 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64244 rpath element also skip the following colon.
64245 (expand_dynamic_string_token): Add is_path parameter and pass
64246 down to DL_DST_REQUIRED and _dl_dst_substitute.
64247 (decompose_rpath): Call expand_dynamic_string_token with
64248 non-zero is_path. Ignore empty rpaths.
64249 (_dl_map_object_from_fd): Call expand_dynamic_string_token
64250 with zero is_path.
64251
64252 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
64253
64254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64255 Make cancelable.
64256
64257 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64258
64259 [BZ #12655]
64260 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64261 Patch by Filipe David Manana <fdmanana@apache.org>.
64262
64263 2011-04-07 Andreas Schwab <schwab@redhat.com>
64264
64265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64266 Maintain aligned stack.
64267 (CHECK_RSP): Remove unused macro.
64268
64269 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64270
64271 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64272 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64273
64274 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64275
64276 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64277
64278 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64279
64280 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64281
64282 [BZ #12518]
64283 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64284 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64285 * sysdeps/x86_64/memmove.c: New file.
64286 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64287 (memcpy): Renamed to ...
64288 (__new_memcpy): This.
64289 (memcpy): Provide GLIBC_2_14 memcpy.
64290 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64291 (memcpy): Provide GLIBC_2_2_5 memcpy.
64292
64293 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64294
64295 [BZ #12631]
64296 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64297
64298 2011-03-30 Andreas Schwab <schwab@redhat.com>
64299
64300 * misc/syncfs.c: New file.
64301 * misc/Makefile (routines): Add syncfs.
64302 * posix/unistd.h: Declare syncfs.
64303 * sysdeps/unix/syscalls.list: Add syncfs.
64304
64305 2011-04-01 Andreas Schwab <schwab@redhat.com>
64306
64307 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64308 open_by_handle_at.
64309 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64310 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64312 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64314 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64316
64317 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64318
64319 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64320 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64321 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64323 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64325 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64326
64327 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64328 sync_file_range.c with -fexceptions.
64329 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64330 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64331 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64332 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64333 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64334 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64335 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64336 sync_file_range as cancellation point
64337 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64338 now a wrapper around __call_sync_file_range with cancellation handling.
64339 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64340 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64341 function name to __call_sync_file_range.
64342 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64343 Add call_sync_file_range.
64344
64345 2011-04-01 Andreas Schwab <schwab@redhat.com>
64346
64347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64348 bits/timex.h.
64349
64350 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64351
64352 * iconv/iconv.h: Fix typo in comment.
64353 * io/fcntl.h: Likewise.
64354 * libio/stdio.h: Likewise.
64355 * posix/spawn.h: Likewise.
64356 * posix/unistd.h: Likewise.
64357 * stdlib/stdlib.h: Likewise.
64358 * time/time.h: Likewise.
64359 * wcsmbs/wchar.h: Likewise.
64360
64361 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64362 open_by_handle): Add.
64363 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64364 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64365 Augment a few comments.
64366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64371 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64372 open_by_handle.
64373
64374 * io/fcntl.h (AT_EMPTY_PATH): Define.
64375
64376 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64377
64378 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64379 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64380 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64381 to...
64382 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64383 * Versions.def: Add GLIBC_2.14.
64384 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64385 Export.
64386
64387 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64388
64389 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64390 round counter.
64391 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64392
64393 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64394
64395 [BZ #12597]
64396 * string/test-strncmp.c (do_page_test): New function.
64397 (check2): Likewise.
64398 (test_main): Call check2.
64399 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64400
64401 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64402
64403 [BZ #12587]
64404 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64405 Handle cache information in CPU leaf 4.
64406 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64407
64408 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64409
64410 [BZ #12583]
64411 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64412 character representation.
64413 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64414
64415 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64416
64417 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64418 END(__isnan) to END(__isnanf) to match function entry point/label
64419 EALIGN(__isnanf,...).
64420
64421 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64422
64423 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64424
64425 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64426
64427 [BZ #12510]
64428 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64429 copy from the symbol referenced in the relocation to initialize the
64430 used variable.
64431 Patch by Piotr Bury <pbury@goahead.com>.
64432 * elf/Makefile: Add rules to build and tst-unique3.
64433 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64434 * elf/tst-unique3.cc: New file.
64435 * elf/tst-unique3.h: New file.
64436 * elf/tst-unique3lib.cc: New file.
64437 * elf/tst-unique3lib2.cc: New file.
64438
64439 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64440
64441 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64442
64443 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64444 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64445 to _start.
64446
64447 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64448
64449 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64450 to-be-loaded object along a path to loader is ld.so.
64451
64452 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64453 Ulrich Drepper <drepper@gmail.com>
64454
64455 * sysdeps/x86_64/memset.S: After aligning destination, code
64456 branches to different locations depending on the value of
64457 misalignment, when multiarch is enabled. Fix this.
64458
64459 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64460
64461 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64462 Set _x86_64_preferred_memory_instruction for AMD processsors.
64463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64464 Set bit_Prefer_SSE_for_memop for AMD processors.
64465
64466 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64467
64468 * libio/fmemopen.c (fmemopen): Optimize a bit.
64469
64470 2011-03-03 Andreas Schwab <schwab@redhat.com>
64471
64472 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64473
64474 2011-03-03 Roland McGrath <roland@redhat.com>
64475
64476 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64477
64478 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64479
64480 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64481 __bzero_ultra1 instead of __memset_ultra1.
64482
64483 2011-02-23 Andreas Schwab <schwab@redhat.com>
64484 Ulrich Drepper <drepper@gmail.com>
64485
64486 [BZ #12509]
64487 * include/link.h (struct link_map): Add l_orig_initfini.
64488 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64489 returning unsuccessfully.
64490 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64491 close of a file loaded at startup, restore the original l_initfini
64492 list.
64493 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64494 list, store the pointer.
64495 * elf/Makefile ($(objpfx)noload-mem): New rule.
64496 (noload-ENV): Define.
64497 (tests): Add $(objpfx)noload-mem.
64498 * elf/noload.c: Include <memcheck.h>.
64499 (main): Call mtrace. Close all opened handles.
64500
64501 2011-02-17 Andreas Schwab <schwab@redhat.com>
64502
64503 [BZ #12454]
64504 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64505 dependencies are missing.
64506
64507 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64508
64509 Fix __if_freereq crash: Unlike the generic version which uses free,
64510 Hurd needs munmap.
64511 * sysdeps/mach/hurd/ifreq.h: New file.
64512
64513 2011-01-27 Petr Baudis <pasky@suse.cz>
64514 Ulrich Drepper <drepper@gmail.com>
64515
64516 [BZ 12445]#
64517 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64518 to extend_alloca().
64519 * stdio-common/bug23.c: New file.
64520 * stdio-common/Makefile (tests): Add bug23.
64521
64522 2010-09-28 Andreas Schwab <schwab@redhat.com>
64523 Ulrich Drepper <drepper@gmail.com>
64524
64525 [BZ #12489]
64526 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64527 before performing relro protection. At old place add assertion
64528 to make sure nothing changed.
64529
64530 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64531 Glauber de Oliveira Costa <glommer@gmail.com>
64532
64533 * elf/elf.h: Add new ARM TLS relocs.
64534
64535 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64536
64537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64538 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64539 cast from r3.
64540 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64541 'tests' variable.
64542 * sysdeps/wordsize-64/tst-writev.c: New file.
64543
64544 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64545
64546 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64547 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64548 insns in _dl_start to prevent a TOC reference before relocs are
64549 resolved.
64550
64551 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64552
64553 [BZ #12469]
64554 * Makeconfig: Remove RANLIB definition.
64555 * Makerules: Don't use RANLIB.
64556 * aclocal.m4: Remove ranlib test.
64557 * configure.in: No need to check for ranlib.
64558 * elf/rtld-Rules: Don't use RANLIB.
64559
64560 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64561
64562 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64563 protection macro.
64564 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64565 inclusion protection macro.
64566
64567 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64568 SIGRTMIN and SIGRTMAX and print information in that case only when
64569 SIGRTMIN is defined.
64570
64571 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64572
64573 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64574 arginfo fn returning -1.
64575
64576 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64577 and thousands string is zero terminated.
64578
64579 2011-02-03 Andreas Schwab <schwab@redhat.com>
64580
64581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64582 sysdeps/unix/sysv/linux/bits/socket.h.
64583
64584 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64585
64586 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64587 (__CPU_COUNT): Remove old macros.
64588 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64589 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64590 (__CPU_ALLOC, __CPU_FREE): Add macros.
64591 (__sched_cpualloc, __sched_cpufree): Add declarations.
64592
64593 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64594
64595 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64596 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64597 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64598 (readdhstai): Return value of addhstaiX call.
64599 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64600 (addgrbyX): Return value returned by cache_addgr.
64601 (readdgrbyname): Return value returned by addgrbyX.
64602 (readdgrbygid): Likewise.
64603 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64604 (addpwbyX): Return value returned by cache_addpw.
64605 (readdpwbyname): Return value returned by addhstbyX.
64606 (readdpwbyuid): Likewise.
64607 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64608 (addservbyX): Return value returned by cache_addserv.
64609 (readdservbyname): Return value returned by addservbyX:
64610 (readdservbyport): Likewise.
64611 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64612 (addhstbyX): Return value returned by cache_addhst.
64613 (readdhstbyname): Return value returned by addhstbyX.
64614 (readdhstbyaddr): Likewise.
64615 (readdhstbynamev6): Likewise.
64616 (readdhstbyaddrv6): Likewise.
64617 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64618 (readdinitgroups): Return value returned by addinitgroupsX.
64619 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64620 (prune_cache): Keep track of timeout value of re-added entries.
64621 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64622 * nscd/nscd.h: Adjust prototypes of readd* functions.
64623
64624 2011-02-04 Roland McGrath <roland@redhat.com>
64625
64626 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64627 (nis_stats): Likewise.
64628 * nis/nis_modify.c (nis_modify): Likewise.
64629 * nis/nis_remove.c (nis_remove): Likewise.
64630 * nis/nis_add.c (nis_add): Likewise.
64631
64632 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64633
64634 * posix/fnmatch_loop.c: Add some consts.
64635
64636 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64637
64638 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64639
64640 [BZ #12460]
64641 * config.make.in (config-cflags-novzeroupper): Define.
64642 * configure.in: Substitute libc_cv_cc_novzeroupper.
64643 * elf/Makefile (AVX-CFLAGS): Define.
64644 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64645 (CFLAGS-tst-auditmod4a.c): Likewise.
64646 (CFLAGS-tst-auditmod4b.c): Likewise.
64647 (CFLAGS-tst-auditmod6b.c): Likewise.
64648 (CFLAGS-tst-auditmod6c.c): Likewise.
64649 (CFLAGS-tst-auditmod7b.c): Likewise.
64650 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64651
64652 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64653
64654 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64655 function to the callback.
64656 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64657
64658 2011-02-02 Andreas Schwab <schwab@redhat.com>
64659
64660 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64661 of errno.
64662
64663 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64664
64665 [BZ #11724]
64666 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64667 of constructors.
64668 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64669 of destructors.
64670 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64671
64672 [BZ #11724]
64673 * elf/Makefile: Add rules to build and run new test.
64674 * elf/tst-initorder.c: New file.
64675 * elf/tst-initorder.exp: New file.
64676 * elf/tst-initordera1.c: New file.
64677 * elf/tst-initordera2.c: New file.
64678 * elf/tst-initordera3.c: New file.
64679 * elf/tst-initordera4.c: New file.
64680 * elf/tst-initorderb1.c: New file.
64681 * elf/tst-initorderb2.c: New file.
64682 * elf/tst-order-a1.c: New file.
64683 * elf/tst-order-a2.c: New file.
64684 * elf/tst-order-a3.c: New file.
64685 * elf/tst-order-a4.c: New file.
64686 * elf/tst-order-b1.c: New file.
64687 * elf/tst-order-b2.c: New file.
64688 * elf/tst-order-main.c: New file.
64689 New test case by George Gensure <werkt0@gmail.com>.
64690
64691 2010-10-01 Andreas Schwab <schwab@redhat.com>
64692
64693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64694 decoding ACE if AI_CANONIDN.
64695
64696 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64697
64698 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64699
64700 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64701
64702 * version.h (RELEASE): Bump for 2.13 release.
64703 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64704
64705 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64706
64707 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64708 MADV_NOHUGEPAGE.
64709 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64710 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64711 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64712 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64713 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64714 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64715
64716 * posix/getconf.c: Update copyright year.
64717 * catgets/gencat.c: Likewise.
64718 * csu/version.c: Likewise.
64719 * debug/catchsegv.sh: Likewise.
64720 * debug/xtrace.sh: Likewise.
64721 * elf/ldconfig.c: Likewise.
64722 * elf/ldd.bash.in: Likewise.
64723 * elf/sprof.c (print_version): Likewise.
64724 * iconv/iconv_prog.c: Likewise.
64725 * iconv/iconvconfig.c: Likewise.
64726 * locale/programs/locale.c: Likewise.
64727 * locale/programs/localedef.c: Likewise.
64728 * malloc/memusage.sh: Likewise.
64729 * malloc/mtrace.pl: Likewise.
64730 * nscd/nscd.c (print_version): Likewise.
64731 * nss/getent.c: Likewise.
64732
64733 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64734 PF_CAIF, and PF_ALG.
64735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64736
64737 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64738
64739 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64740 (modules-names): Use them.
64741 (ifunc-test-modules, ifunc-pie-tests): Define.
64742 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64743 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64744 (test-extras): Likewise.
64745 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64746 $(compile-command.c).
64747 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64748 (all-built-dso): Define.
64749 (check-textrel.out, check-execstack.out): Depend on it.
64750
64751 * configure.in: Don't override --enable-multi-arch.
64752
64753 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64754
64755 [BZ #6812]
64756 * nscd/hstcache.c (tryagain): Define.
64757 (cache_addhst): Return tryagain not notfound for temporary errors.
64758 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64759 failed.
64760
64761 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64762
64763 [BZ #10563]
64764 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64765 to make the syscall.
64766 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64767
64768 [BZ #12378]
64769 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64770 and fall back to matching as normal character if the string ends before
64771 the matching ']' is found. This is what POSIX requires.
64772 * posix/testfnm.c: Adjust test result.
64773 * posix/globtest.sh: Adjust test result. Add new test.
64774 * posix/tst-fnmatch.input: Likewise.
64775 * posix/tst-fnmatch2.c: Add new test.
64776
64777 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64778
64779 * elf/Makefile (check-execstack): Revert last change. Depend on
64780 check-execstack.h.
64781 (check-execstack.h): New target.
64782 (generated): Add check-execstack.h.
64783 * elf/check-execstack.c: Include "check-execstack.h".
64784 (main): Revert last change.
64785 (handle_file): Return zero if GNU_STACK is absent and
64786 DEFAULT_STACK_PERMS doesn't include PF_X.
64787
64788 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64789
64790 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64791 in child fails because the descriptor is already closed.
64792 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64793 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64794 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64795
64796 [BZ #12397]
64797 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64798 syscall.
64799
64800 [BZ #10484]
64801 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64802 temporary buffer used to handle multi lookups locally.
64803 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64804
64805 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64806
64807 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64808 loader is ld.so.
64809
64810 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64811
64812 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64813 alignment for SSE2.
64814
64815 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64816
64817 [BZ #12394]
64818 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64819 characters. When rounding increased number of integer digits recompute
64820 number of groups.
64821 * stdio-common/tst-grouping.c: New file.
64822 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64823
64824 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64825
64826 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64827 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64828
64829 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64830 void.
64831 * bits/select.h: Likewise.
64832
64833 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64834
64835 * po/ja.po: Update from translation team.
64836
64837 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64838
64839 [BZ #11155]
64840 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64841 implementation just like for lxstat, fxstatat, et al.
64842
64843 2010-12-27 Jim Meyering <meyering@redhat.com>
64844
64845 [BZ #12348]
64846 * posix/regexec.c (build_trtable): Return failure indication upon
64847 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64848
64849 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64850
64851 [BZ #12201]
64852 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64853 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64854 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64855 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64856
64857 [BZ #12207]
64858 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64859
64860 [BZ #12204]
64861 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64862 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64863
64864 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64865
64866 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64867 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64868 script has SORT_BY_INIT_PRIORITY.
64869 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64870 NO_CTORS_DTORS_SECTIONS is defined.
64871 * elf/soinit.c: Likewise.
64872 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64873 NO_CTORS_DTORS_SECTIONS is defined.
64874 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64875 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64876 * sysdeps/sh/init-first.c: Likewise.
64877 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64878
64879 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64880
64881 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64882 always use the slow path.
64883
64884 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64885
64886 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64887 similar rule which adds the sysdep directories to the header search in
64888 order to pick up the correct platform stackinfo.h.
64889 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64890 perform test if it is, otherwise return successfully without testing.
64891 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64892 DEFAULT_STACK_PERMS define in stackinfo.h.
64893 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64894 defined in stackinfo.h.
64895 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64896 DEFAULT_STACK_PERMS defined in stackinfo.h.
64897 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64898 * sysdeps/ia64/stackinfo.h: Likewise.
64899 * sysdeps/s390/stackinfo.h: Likewise.
64900 * sysdeps/sh/stackinfo.h: Likewise.
64901 * sysdeps/sparc/stackinfo.h: Likewise.
64902 * sysdeps/x86_64/stackinfo.h: Likewise.
64903 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64904 PF_X for powerpc64. Retain PF_X for powerpc32.
64905
64906 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64907
64908 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64909 accurately.
64910 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64911 GETDENTS_64BIT_ALIGNED.
64912
64913 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64914
64915 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64916
64917 2010-12-10 Andreas Schwab <schwab@redhat.com>
64918
64919 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64920 _GNU_SOURCE.
64921
64922 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64923 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64924 Remove __restrict.
64925 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64926 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64927
64928 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64929
64930 [BZ #11655]
64931 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64932 are initialized.
64933
64934 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64935
64936 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64937
64938 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64939
64940 * po/it.po: Update from translation team.
64941
64942 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64943
64944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64945 unused codes.
64946
64947 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64948
64949 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64950
64951 2010-11-24 Andreas Schwab <schwab@redhat.com>
64952
64953 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64954 specially.
64955 (gaih_getanswer_slice): Likewise.
64956
64957 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64958
64959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64960
64961 2010-05-31 Petr Baudis <pasky@suse.cz>
64962
64963 [BZ #11149]
64964 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64965 silently even in the chroot mode.
64966
64967 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64968
64969 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64970 last patch a bit. Pretty printing
64971
64972 2010-05-31 Petr Baudis <pasky@suse.cz>
64973
64974 [BZ #10085]
64975 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64976 initialization of skip_initgroups_dyn.
64977
64978 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64979
64980 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64982
64983 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64984
64985 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64986
64987 2010-11-11 Andreas Schwab <schwab@redhat.com>
64988
64989 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64990 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64991 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64992 ($(objpfx)tst-fnmatch-mem): New rule.
64993 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64994 * posix/tst-fnmatch.c (main): Call mtrace.
64995
64996 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64997
64998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64999 Support Intel processor model 6 and model 0x2c.
65000
65001 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
65002
65003 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65004 signed comparison.
65005
65006 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
65007
65008 [BZ #12205]
65009 * string/test-strncasecmp.c (check_result): New function.
65010 (do_one_test): Use it.
65011 (check1): New function.
65012 (test_main): Use it.
65013 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65014 Support strcasecmp and strncasecmp.
65015
65016 2010-11-08 Ulrich Drepper <drepper@gmail.com>
65017
65018 [BZ #12194]
65019 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65020 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65021
65022 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
65023
65024 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65025 IFUNC support.
65026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65027 memset-x86-64.
65028 * sysdeps/x86_64/multiarch/bzero.S: New file.
65029 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65030 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65031 * sysdeps/x86_64/multiarch/memset.S: New file.
65032 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65034 Set bit_Prefer_SSE_for_memop for Intel processors.
65035 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65036 Define.
65037 (index_Prefer_SSE_for_memop): Define.
65038 (HAS_PREFER_SSE_FOR_MEMOP): Define.
65039
65040 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
65041
65042 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65043 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65044
65045 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
65046
65047 [BZ #12191]
65048 * sysdeps/i386/i686/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
65053 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65054 (__x86_64_raw_data_cache_size_half): Likewise.
65055 (__x86_64_raw_shared_cache_size): Likewise.
65056 (__x86_64_raw_shared_cache_size_half): Likewise.
65057 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65058 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65059 and __x86_64_raw_shared_cache_size_half. Round
65060 __x86_64_data_cache_size_half, __x86_64_data_cache_size
65061 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65062 to multiple of 256 bytes.
65063
65064 2010-11-03 Ulrich Drepper <drepper@gmail.com>
65065
65066 [BZ #12167]
65067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65068 of inacessible symlinks. Verify result of symlink before returning it.
65069 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65070 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65071
65072 2010-10-28 Erich Ritz <erichritz@gmail.com>
65073
65074 * math/math.h (isinf): Fix typo in comment.
65075
65076 2010-11-01 Ulrich Drepper <drepper@gmail.com>
65077
65078 * po/da.po: Update from translation team.
65079
65080 2010-10-26 Ulrich Drepper <drepper@gmail.com>
65081
65082 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65083 is added to the list.
65084
65085 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65086 Ulrich Drepper <drepper@gmail.com>
65087
65088 * elf/dl-object.c (_dl_new_object): Don't append the new object to
65089 the global list here. Move code to...
65090 (_dl_add_to_namespace_list): ...here. New function.
65091 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65092 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65093 * elf/dl-load.c (lose): Don't remove the element from the list.
65094 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65095 (_dl_map_object): Likewise.
65096
65097 2010-10-25 Ulrich Drepper <drepper@gmail.com>
65098
65099 [BZ #12159]
65100 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65101 into all bytes of SSE register.
65102 Patch by Richard Li <richardpku@gmail.com>.
65103
65104 2010-10-24 Ulrich Drepper <drepper@gmail.com>
65105
65106 [BZ #12140]
65107 * malloc/malloc.c (_int_free): Fill correct number of bytes when
65108 perturbing.
65109
65110 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
65111
65112 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65113 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65114 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65115 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65117 submachine.
65118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65119
65120 2010-10-22 Andreas Schwab <schwab@redhat.com>
65121
65122 * include/dlfcn.h (__RTLD_SECURE): Define.
65123 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
65124 mode & __RTLD_SECURE instead.
65125 (open_path): Rename preloaded parameter to secure.
65126 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65127 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65128 * elf/dl-deps.c (openaux): Likewise.
65129 * elf/rtld.c (struct map_args): Remove is_preloaded.
65130 (map_doit): Don't use it.
65131 (dl_main): Likewise.
65132 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65133 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65134
65135 2010-09-09 Andreas Schwab <schwab@redhat.com>
65136
65137 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65138 (sysd-rules-targets): Remove duplicates.
65139 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65140 rtld-%.$o dependency.
65141
65142 2010-10-18 Andreas Schwab <schwab@redhat.com>
65143
65144 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65145 _dl_map_object do it.
65146
65147 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65148
65149 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65150 fast fma builtins, define the macros in the C99 standard.
65151 (FP_FAST_FMAF): Likewise.
65152 (FP_FAST_FMAL): Likewise.
65153 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65154
65155 * bits/mathdef.h: Update copyright year.
65156 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65157
65158 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65159
65160 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65161 builtins, define the macros in the C99 standard.
65162 (FP_FAST_FMAF): Likewise.
65163 (FP_FAST_FMAL): Likewise.
65164 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65165 multiply/add.
65166 (FP_FAST_FMAF): Likewise.
65167
65168 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65169
65170 [BZ #3268]
65171 * math/libm-test.inc (fma_test): Some new testcases.
65172 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65173 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65174 y and infinite z. Do multiplication by C already in long double.
65175 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65177 y and infinite z. Do bitwise or of inexact bit into u.d.
65178 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65179 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65180 * sysdeps/i386/fpu/s_fma.S: Removed.
65181 * sysdeps/i386/fpu/s_fmal.S: Removed.
65182
65183 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65184
65185 [BZ #3268]
65186 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65187 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65188 computation is not scheduled after fetestexcept. Fix value
65189 of minimum denormal long double.
65190
65191 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65192
65193 [BZ #3268]
65194 * math/libm-test.inc (fma_test): Add some more tests.
65195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65196 correctly.
65197
65198 2010-10-15 Andreas Schwab <schwab@redhat.com>
65199
65200 * scripts/data/localplt-s390-linux-gnu.data: New file.
65201 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65202
65203 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65204
65205 [BZ #3268]
65206 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65207 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65208 instead of dbl-64.
65209 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65210 inlines.
65211 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65213 if one of x and y is very large and the other is subnormal.
65214 * sysdeps/s390/fpu/s_fmaf.c: New file.
65215 * sysdeps/s390/fpu/s_fma.c: New file.
65216 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65217 * sysdeps/powerpc/fpu/s_fma.S: New file.
65218 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65219 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65220 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65221
65222 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65223
65224 [BZ #3268]
65225 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65226 fma tests.
65227 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65228 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65229 * sysdeps/i386/i686/multiarch/s_fma.c: Include
65230 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65231 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65232 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65233 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65234
65235 2010-10-12 Ulrich Drepper <drepper@redhat.com>
65236
65237 [BZ #12078]
65238 * posix/regcomp.c (parse_branch): One more memory leak plugged.
65239 * posix/bug-regex31.input: Add test case.
65240
65241 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65242
65243 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65244 * posix/bug-regex31.input: New file.
65245
65246 [BZ #12078]
65247 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65248 (parse_sub_exp): Fix last change, use postorder.
65249
65250 * posix/bug-regex31.c: New file.
65251 * posix/Makefile: Add rules to build and run bug-regex31.
65252
65253 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65254
65255 [BZ #12078]
65256 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65257
65258 [BZ #12108]
65259 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65260 to have entries in sys_siglist.
65261
65262 [BZ #12093]
65263 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65264 be NULL.
65265
65266 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65267
65268 [BZ #3268]
65269 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65270 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65271 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65272 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65273 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65274 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65275 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65276 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65277 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65278 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65279 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65280 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65281 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65282 * math/ftestexcept.c (fetestexcept): Likewise.
65283 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65284 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65285 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65286 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65287 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65288 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65290
65291 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65292
65293 [BZ #12107]
65294 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65295 newline.
65296
65297 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65298
65299 * string/bug-strstr1.c: New file.
65300 * string/Makefile: Add rules to build and run bug-strstr1.
65301
65302 2010-10-05 Eric Blake <eblake@redhat.com>
65303
65304 [BZ #12092]
65305 * string/str-two-way.h (two_way_long_needle): Always clear memory
65306 when skipping input due to the shift table.
65307
65308 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65309
65310 [BZ #12005]
65311 * malloc/mcheck.c: Handle large requests.
65312
65313 [BZ #12077]
65314 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65315 for strncmp and strncasecmp.
65316 * string/stratcliff.c: Add tests for strcmp and strncmp.
65317 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65318
65319 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65320
65321 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65322 __set_fpscr.
65323
65324 2010-09-30 Andreas Jaeger <aj@suse.de>
65325
65326 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65327 (CGROUP_SUPER_MAGIC): Define.
65328 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65329 Handle btrfs and cgroup file systems.
65330 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65331 Likewise.
65332
65333 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65334
65335 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65336 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65337
65338 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65339
65340 [BZ #12067]
65341 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65342 trying to locate the ELF header.
65343
65344 2010-09-27 Andreas Schwab <schwab@redhat.com>
65345
65346 [BZ #11611]
65347 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65348 Mask out sign-bit copies when constructing f_fsid.
65349
65350 2010-09-24 Petr Baudis <pasky@suse.cz>
65351
65352 * debug/stack_chk_fail_local.c: Add missing licence exception.
65353 * debug/warning-nop.c: Likewise.
65354
65355 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65356
65357 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65358 implementing getdents64 using getdents syscall, set d_type if
65359 __ASSUME_GETDENTS32_D_TYPE.
65360
65361 2010-09-16 Andreas Schwab <schwab@redhat.com>
65362
65363 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65364 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65365
65366 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65367
65368 [BZ #12037]
65369 * posix/unistd.h: Undo change of feature selection for ftruncate from
65370 2010-01-11.
65371
65372 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65373
65374 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65375 detection.
65376
65377 2010-09-20 Andreas Schwab <schwab@redhat.com>
65378
65379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65380 fanotify_mark.
65381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65382
65383 2010-09-14 Andreas Schwab <schwab@redhat.com>
65384
65385 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65386 variables after CHECK_SP call.
65387 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65388
65389 2010-09-13 Andreas Schwab <schwab@redhat.com>
65390 Ulrich Drepper <drepper@redhat.com>
65391
65392 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65393 re-relocationg ld.so.
65394 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65395 _dl_init_paths call.
65396 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65397 here anymore.
65398
65399 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65400
65401 * resolv/res_init.c (__res_vinit): Count the default server we added.
65402
65403 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65404 Ulrich Drepper <drepper@redhat.com>
65405
65406 [BZ #11968]
65407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65408 (____longjmp_chk): Use %ebx for saving value across system call.
65409 Add unwind info.
65410
65411 2010-09-06 Andreas Schwab <schwab@redhat.com>
65412
65413 * manual/Makefile: Don't mix pattern rules with normal rules.
65414
65415 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65416
65417 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65418 operation.
65419 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65420 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65421 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65422 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65424 Likewise.
65425
65426 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65427
65428 [BZ #11979]
65429 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65430 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65431
65432 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65433
65434 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65435 * sysdeps/x86_64/addmul_1.S: Likewise.
65436 * sysdeps/x86_64/lshift.S: Likewise.
65437 * sysdeps/x86_64/mul_1.S: Likewise.
65438 * sysdeps/x86_64/rshift.S: Likewise.
65439 * sysdeps/x86_64/sub_n.S: Likewise.
65440 * sysdeps/x86_64/submul_1.S: Likewise.
65441
65442 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65443
65444 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65445 Define __sched_param instead of SCHED_* and sched_param when
65446 <bits/sched.h> is included with __need_schedparam defined.
65447 * bits/sched.h [__need_schedparam]
65448 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65449 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65450 (__defined_schedparam): Define to 1.
65451 (__sched_param): New structure, identical to sched_param.
65452 (__need_schedparam): Undefine.
65453
65454 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65455
65456 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65457 (epoll_create1): Declare.
65458
65459 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65460
65461 2010-08-31 Andreas Schwab <schwab@redhat.com>
65462
65463 [BZ #7066]
65464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65465 shifting retval into place.
65466
65467 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65468
65469 * nis/rpcsvc/nis.h: Update copyright notice.
65470 * nis/rpcsvc/nis.x: Likewise.
65471 * nis/rpcsvc/nis_callback.h: Likewise.
65472 * nis/rpcsvc/nis_callback.x: Likewise.
65473 * nis/rpcsvc/nis_object.x: Likewise.
65474 * nis/rpcsvc/nis_tags.h: Likewise.
65475 * nis/rpcsvc/yp.h: Likewise.
65476 * nis/rpcsvc/yp.x: Likewise.
65477 * nis/rpcsvc/ypupd.h: Likewise.
65478 * nis/yp_xdr.c: Likewise.
65479 * nis/ypupdate_xdr.c: Likewise.
65480
65481 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65482 mainly the body of pmap_getport. Add parameters to specify timeouts.
65483 (pmap_getport): Use __libc_rpc_getport.
65484 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65485 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65486 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65487
65488 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65489
65490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65491 fanotify_mark.
65492
65493 2010-08-27 Roland McGrath <roland@redhat.com>
65494
65495 * sysdeps/i386/i686/multiarch/Makefile
65496 (CFLAGS-varshift.c): New variable.
65497
65498 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65499
65500 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65501 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65502
65503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65504
65505 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65506
65507 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65508
65509 * sysdeps/x86_64/strlen.S: Unroll the loop.
65510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65511 strlen-sse2 strlen-sse2-bsf.
65512 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65513 __strlen_no_bsf if bit_Slow_BSF is set.
65514 (__strlen_sse42): Removed.
65515 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65516 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65517
65518 2010-08-25 Roland McGrath <roland@redhat.com>
65519
65520 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65521 * sysdeps/x86_64/multiarch/varshift.c: New file.
65522 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65523 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65524 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65525 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65526
65527 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65528
65529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65530 strlen-sse2 strlen-sse2-bsf.
65531 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65532 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65533 (__strlen_sse2): Removed.
65534 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65535 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65537 bit_Slow_BSF for Atom.
65538 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65539 (index_Slow_BSF): Define.
65540 (HAS_SLOW_BSF): Define.
65541
65542 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65543
65544 [BZ #10851]
65545 * resolv/res_init.c (__res_vinit): When no server address at all
65546 is given default to loopback.
65547
65548 2010-08-24 Roland McGrath <roland@redhat.com>
65549
65550 * configure.in: Remove config-name.h generation.
65551 * configure: Regenerated.
65552 * config-name.in: File removed.
65553 * scripts/config-uname.sh: New file.
65554 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65555 ($(objdir)config-name.h): New target.
65556
65557 * sunrpc/rpc_parse.h: Avoid nested comment.
65558
65559 2010-08-24 Richard Henderson <rth@redhat.com>
65560 Ulrich Drepper <drepper@redhat.com>
65561 H.J. Lu <hongjiu.lu@intel.com>
65562
65563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65565 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65566 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65567 _mm_alignr_epi8 with _mm_loadu_si128.
65568 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65569 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65570 (__m128i_shift_right): Removed.
65571 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65572 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65573 * sysdeps/x86_64/multiarch/varshift.h: New file.
65574 * sysdeps/x86_64/multiarch/varshift.S: New file.
65575
65576 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65577
65578 * configure.in: Move assembler checks to before sysdep dir checking.
65579
65580 2010-08-20 Petr Baudis <pasky@suse.cz>
65581
65582 * LICENSES: Sync the sunrpc license.
65583
65584 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65585
65586 * sunrpc/auth_des.c: Update copyright notice once again.
65587 * sunrpc/auth_none.c: Likewise.
65588 * sunrpc/auth_unix.c: Likewise.
65589 * sunrpc/authdes_prot.c: Likewise.
65590 * sunrpc/authuxprot.c: Likewise.
65591 * sunrpc/bindrsvprt.c: Likewise.
65592 * sunrpc/clnt_gen.c: Likewise.
65593 * sunrpc/clnt_perr.c: Likewise.
65594 * sunrpc/clnt_raw.c: Likewise.
65595 * sunrpc/clnt_simp.c: Likewise.
65596 * sunrpc/clnt_tcp.c: Likewise.
65597 * sunrpc/clnt_udp.c: Likewise.
65598 * sunrpc/clnt_unix.c: Likewise.
65599 * sunrpc/des_crypt.c: Likewise.
65600 * sunrpc/des_soft.c: Likewise.
65601 * sunrpc/get_myaddr.c: Likewise.
65602 * sunrpc/getrpcport.c: Likewise.
65603 * sunrpc/key_call.c: Likewise.
65604 * sunrpc/key_prot.c: Likewise.
65605 * sunrpc/openchild.c: Likewise.
65606 * sunrpc/pm_getmaps.c: Likewise.
65607 * sunrpc/pm_getport.c: Likewise.
65608 * sunrpc/pmap_clnt.c: Likewise.
65609 * sunrpc/pmap_prot.c: Likewise.
65610 * sunrpc/pmap_prot2.c: Likewise.
65611 * sunrpc/pmap_rmt.c: Likewise.
65612 * sunrpc/rpc/auth.h: Likewise.
65613 * sunrpc/rpc/auth_unix.h: Likewise.
65614 * sunrpc/rpc/clnt.h: Likewise.
65615 * sunrpc/rpc/des_crypt.h: Likewise.
65616 * sunrpc/rpc/key_prot.h: Likewise.
65617 * sunrpc/rpc/netdb.h: Likewise.
65618 * sunrpc/rpc/pmap_clnt.h: Likewise.
65619 * sunrpc/rpc/pmap_prot.h: Likewise.
65620 * sunrpc/rpc/pmap_rmt.h: Likewise.
65621 * sunrpc/rpc/rpc.h: Likewise.
65622 * sunrpc/rpc/rpc_des.h: Likewise.
65623 * sunrpc/rpc/rpc_msg.h: Likewise.
65624 * sunrpc/rpc/svc.h: Likewise.
65625 * sunrpc/rpc/svc_auth.h: Likewise.
65626 * sunrpc/rpc/types.h: Likewise.
65627 * sunrpc/rpc/xdr.h: Likewise.
65628 * sunrpc/rpc_clntout.c: Likewise.
65629 * sunrpc/rpc_cmsg.c: Likewise.
65630 * sunrpc/rpc_common.c: Likewise.
65631 * sunrpc/rpc_cout.c: Likewise.
65632 * sunrpc/rpc_dtable.c: Likewise.
65633 * sunrpc/rpc_hout.c: Likewise.
65634 * sunrpc/rpc_main.c: Likewise.
65635 * sunrpc/rpc_parse.c: Likewise.
65636 * sunrpc/rpc_parse.h: Likewise.
65637 * sunrpc/rpc_prot.c: Likewise.
65638 * sunrpc/rpc_sample.c: Likewise.
65639 * sunrpc/rpc_scan.c: Likewise.
65640 * sunrpc/rpc_scan.h: Likewise.
65641 * sunrpc/rpc_svcout.c: Likewise.
65642 * sunrpc/rpc_tblout.c: Likewise.
65643 * sunrpc/rpc_util.c: Likewise.
65644 * sunrpc/rpc_util.h: Likewise.
65645 * sunrpc/rpcinfo.c: Likewise.
65646 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65647 * sunrpc/rpcsvc/key_prot.x: Likewise.
65648 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65649 * sunrpc/rpcsvc/mount.x: Likewise.
65650 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65651 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65652 * sunrpc/rpcsvc/rex.x: Likewise.
65653 * sunrpc/rpcsvc/rstat.x: Likewise.
65654 * sunrpc/rpcsvc/rusers.x: Likewise.
65655 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65656 * sunrpc/rpcsvc/spray.x: Likewise.
65657 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65658 * sunrpc/rtime.c: Likewise.
65659 * sunrpc/svc.c: Likewise.
65660 * sunrpc/svc_auth.c: Likewise.
65661 * sunrpc/svc_authux.c: Likewise.
65662 * sunrpc/svc_raw.c: Likewise.
65663 * sunrpc/svc_run.c: Likewise.
65664 * sunrpc/svc_simple.c: Likewise.
65665 * sunrpc/svc_tcp.c: Likewise.
65666 * sunrpc/svc_udp.c: Likewise.
65667 * sunrpc/svc_unix.c: Likewise.
65668 * sunrpc/svcauth_des.c: Likewise.
65669 * sunrpc/xcrypt.c: Likewise.
65670 * sunrpc/xdr.c: Likewise.
65671 * sunrpc/xdr_array.c: Likewise.
65672 * sunrpc/xdr_float.c: Likewise.
65673 * sunrpc/xdr_mem.c: Likewise.
65674 * sunrpc/xdr_rec.c: Likewise.
65675 * sunrpc/xdr_ref.c: Likewise.
65676 * sunrpc/xdr_sizeof.c: Likewise.
65677 * sunrpc/xdr_stdio.c: Likewise.
65678
65679 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65680 handling.
65681
65682 2010-08-19 Andreas Schwab <schwab@redhat.com>
65683
65684 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65685
65686 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65687
65688 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65689 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65690 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65691 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65692 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65693 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65694 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65695 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65697 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65698 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65699 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65700 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65701 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65702
65703 2010-07-26 Anton Blanchard <anton@samba.org>
65704
65705 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65706 * malloc/arena.c (heap_trim): Likewise.
65707
65708 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65709
65710 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65711 here. Not...
65712 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65713 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65714
65715 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65716
65717 * sysdeps/i386/elf/Makefile: New file.
65718
65719 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65720
65721 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65722 from fanotify_init.
65723 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65725
65726 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65727
65728 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65729 of strncasecmp_l.
65730 * sysdeps/multiarch/strcmp.S: Likewise.
65731
65732 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65733
65734 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65735 strncase_l-nonascii.
65736 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65737 Add strncase_l-ssse3.
65738 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65739 * sysdeps/x86_64/strcmp.S: Likewise.
65740 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65741 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65742 * sysdeps/x86_64/strncase.S: New file.
65743 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65744 * sysdeps/x86_64/strncase_l.S: New file.
65745 * string/Makefile (strop-tests): Add strncasecmp.
65746 * string/test-strncasecmp.c: New file.
65747
65748 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65749 warning.
65750
65751 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65752 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65753
65754 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65755
65756 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65757
65758 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65759
65760 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65761 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65762 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65763
65764 2010-05-01 Alan Modra <amodra@gmail.com>
65765
65766 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65767 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65768 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65769 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65770 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65771 tidying. Don't tail-call __sigjmp_save for static lib.
65772 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65773 save location.
65774 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65775 (CALL_MCOUNT): Add eh info, and nop after bl.
65776 (TAIL_CALL_SYSCALL_ERROR): New macro.
65777 (PSEUDO_RET): Use it.
65778 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65779 Correct save location of integer regs and cr.
65780 (_dl_profile_resolve): Correct cr save location. Delete nops
65781 after bl when SHARED. Reduce cfi size a little by better
65782 placement of cfi directives.
65783 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65784 make a stack frame. Instead use parm save area as a temp.
65785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65786 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65788 Don't make a stack frame for parent, use parm save area.
65789 Increase child stack frame to 112 bytes. Don't save unused reg,
65790 and adjust reg usage. Set up cfi on error recovery and
65791 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65793 (__makecontext): Add dummy nop after jump to exit.
65794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65795 Use correct parm save area and cr save, reduce stack frame.
65796 Correct cfi for possible PSEUDO_RET frame setup.
65797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65798 Branch to local label emitted by PSEUDO_RET rather than
65799 __syscall_error.
65800
65801 2010-08-12 Andreas Schwab <schwab@redhat.com>
65802
65803 [BZ #11904]
65804 * locale/programs/locale.c (print_assignment): New function.
65805 (show_locale_vars): Use it.
65806
65807 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65808
65809 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65810 field.
65811 (struct statfs64): Likewise.
65812 (_STATFS_F_FLAGS): Define.
65813 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65814 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65815 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65816 (ST_VALID): Define locally.
65817 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65818 __statvfs_getflags, use the provided value.
65819 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65820 __ASSUME_STATFS_F_FLAGS.
65821
65822 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65823
65824 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65825 Add sys/fanotify.h.
65826 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65827 fanotify_mask for GLIBC_2.13.
65828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65829 fanotify_init and fanotify_mark.
65830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65831 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65832
65833 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65834 Add prlimit.
65835 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65836 prlimit64 for GLIBC_2.13.
65837 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65838 prlimit64.
65839 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65840 syscall.
65841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65842 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65843 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65844 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65845 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65846 add prlimit alias.
65847 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65848
65849 [BZ #11903]
65850 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65851 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65852
65853 * nss/Makefile: Add rules to build and run tst-nss-test1.
65854 * shlib-versions: Add entry for libnss_test1.
65855 * nss/nss_test1.c: New file.
65856 * nss/tst-nss-test1.c: New file.
65857
65858 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65859 (__nss_configure_lookup): Set appropriate entry in
65860 __nss_configure_lookup to true.
65861 * nss/nsswitch.h: Define enum with indeces of databases in
65862 databases and __nss_database_custom arrays. Declare
65863 __nss_database_custom.
65864 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65865 to avoid using nscd when custom rules are installed.
65866 * nss/getXXbyYY_r.c: Likewise.
65867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65868
65869 * nss/nss_files/files-parse.c: Whitespace fixes.
65870
65871 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65872
65873 [BZ #11883]
65874 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65875 * posix/fnmatch_loop.c: Likewise.
65876
65877 2010-07-17 Andi Kleen <ak@linux.intel.com>
65878
65879 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65880 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65881 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65882 * Versions.def [GLIBC_2.13]: Add.
65883
65884 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65885
65886 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65887 Also fail if tpwd after pwuid call is NULL.
65888
65889 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65890
65891 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65892 when converting to ms.
65893
65894 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65895
65896 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65897 EOPNOTSUPP errors with ENOTTY.
65898 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65899 EOPNOTSUPP errors with ENOTTY.
65900
65901 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65902
65903 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65904 Add strcasecmp_l-ssse3.
65905 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65906 strcasecmp.
65907 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65908 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65909 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65910
65911 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65912
65913 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65914
65915 * string/Makefile (strop-tests): Add strcasecmp.
65916 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65917 strcasecmp_l-nonascii.
65918 (gen-as-const-headers): Add locale-defines.sym.
65919 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65920 * sysdeps/x86_64/strcasecmp.S: New file.
65921 * sysdeps/x86_64/strcasecmp_l.S: New file.
65922 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65923 * sysdeps/x86_64/locale-defines.sym: New file.
65924 * string/test-strcasecmp.c: New file.
65925
65926 * string/test-strcasestr.c: Test both ends of the range of characters.
65927 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65928
65929 2010-07-29 Roland McGrath <roland@redhat.com>
65930
65931 [BZ #11856]
65932 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65933
65934 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65935
65936 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65937 for ld.so.
65938
65939 2010-07-27 Andreas Schwab <schwab@redhat.com>
65940
65941 * manual/memory.texi (Malloc Tunable Parameters): Document
65942 M_PERTURB.
65943
65944 2010-07-26 Roland McGrath <roland@redhat.com>
65945
65946 [BZ #11840]
65947 * configure.in (-fgnu89-inline check): Set and substitute
65948 gnu89_inline, not libc_cv_gnu89_inline.
65949 * configure: Regenerated.
65950 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65951
65952 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65953
65954 * string/test-strnlen.c: New file.
65955 * string/Makefile (strop-tests): Add strnlen.
65956 * string/tester.c (test_strnlen): Add a few more test cases.
65957 * string/tst-strlen.c: Better error reporting.
65958
65959 * sysdeps/x86_64/strnlen.S: New file.
65960
65961 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65962
65963 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65964 lower-latency instructions.
65965
65966 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65967
65968 * string/test-strcasestr.c: New file.
65969 * string/test-strstr.c: New file.
65970 * string/Makefile (strop-tests): Add strstr and strcasestr.
65971 * string/str-two-way.h: Don't undefine MAX.
65972 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65973
65974 2010-07-21 Andreas Schwab <schwab@redhat.com>
65975
65976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65977 strcasestr-nonascii.
65978 (CFLAGS-strcasestr-nonascii.c): Define.
65979 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65980 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65981 Remove unused attribute.
65982
65983 2010-07-20 Roland McGrath <roland@redhat.com>
65984
65985 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65986 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65987 ld.so.cache was broken. With it, there is no way to disable dsocaps
65988 like LD_HWCAP_MASK can disable hwcaps.
65989
65990 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65991
65992 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65993
65994 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65995
65996 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65997 call in strcasestr.
65998 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65999 __strcasestr_sse42_nonascii.
66000 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66001 strcasestr-nonascii.c.
66002 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66003
66004 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
66005
66006 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66007 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66008 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66009 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66010
66011 2010-07-09 Ulrich Drepper <drepper@redhat.com>
66012
66013 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66014 fcntl.
66015
66016 2010-07-06 Andreas Schwab <schwab@redhat.com>
66017
66018 [BZ #11577]
66019 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66020 dl_signal_cerror.
66021
66022 2010-07-06 Ulrich Drepper <drepper@redhat.com>
66023
66024 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66025 _PC_PIPE_BUF using F_GETPIPE_SZ.
66026
66027 2010-07-05 Roland McGrath <roland@redhat.com>
66028
66029 * manual/arith.texi (Rounding Functions): Fix rint description
66030 implicit in round description.
66031
66032 2010-07-02 Ulrich Drepper <drepper@redhat.com>
66033
66034 * elf/Makefile: Fix linking for a few tests to make recent linker
66035 happy.
66036
66037 2010-06-30 Andreas Schwab <schwab@redhat.com>
66038
66039 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66040 $(common-objpfx)libc_nonshared.a.
66041
66042 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
66043
66044 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66045 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66046 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66047 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66048 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66049 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66050 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66051 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66066 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66067 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66068 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66069 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66070 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66071 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66072 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66073 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66074 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66075 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66076 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66077 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66092
66093 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
66094
66095 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66096 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
66097 * string/memmove.c (memmove): Renamed to ...
66098 (MEMMOVE): ...this. Default to memmove.
66099 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66100 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66101 (END_CHK): Define.
66102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66103 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66104 mempcpy-ssse3-back memmove-ssse3-back.
66105 * sysdeps/x86_64/multiarch/bcopy.S: New file .
66106 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66107 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66108 * sysdeps/x86_64/multiarch/memcpy.S: New file.
66109 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66110 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66111 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66112 * sysdeps/x86_64/multiarch/memmove.c: New file.
66113 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66114 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66115 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66116 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66117 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66119 Define.
66120 (index_Fast_Copy_Backward): Define.
66121 (HAS_ARCH_FEATURE): Define.
66122 (HAS_FAST_REP_STRING): Define.
66123 (HAS_FAST_COPY_BACKWARD): Define.
66124
66125 2010-06-21 Andreas Schwab <schwab@redhat.com>
66126
66127 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66128 Restore proper fallback handling.
66129
66130 2010-06-19 Ulrich Drepper <drepper@redhat.com>
66131
66132 [BZ #11701]
66133 * posix/group_member.c (__group_member): Correct checking loop.
66134
66135 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66136 OOM in getpwuid_r correctly. Return error number when the caller
66137 should return, otherwise -1.
66138 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66139 call returning > 0 value.
66140 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66141
66142 2010-06-07 Andreas Schwab <schwab@redhat.com>
66143
66144 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66145 libc_nonshared.a from targets in modules-names.
66146
66147 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66148
66149 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66150 requires it.
66151
66152 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66153
66154 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66155 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66158
66159 2010-06-02 Andreas Schwab <schwab@redhat.com>
66160
66161 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66162
66163 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66164
66165 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66166 and F_GETPIPE_SZ.
66167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66171 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66172 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66173
66174 2010-06-14 Roland McGrath <roland@redhat.com>
66175
66176 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66177
66178 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66179
66180 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66181 __REDIRECT followed by __THROW.
66182 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66183 * posix/getopt.h (getopt): Likewise.
66184
66185 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66186
66187 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66188 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66189 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66190 in AT_FLAGS.
66191 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66192 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66193
66194 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66195
66196 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66197
66198 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66199
66200 [BZ #11640]
66201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66202 Properly check family and model.
66203
66204 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66205
66206 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66207
66208 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66209
66210 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66211
66212 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66213
66214 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66215 symbol reference.
66216
66217 2010-05-19 Andreas Schwab <schwab@redhat.com>
66218
66219 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66220 symbol reference.
66221
66222 2010-05-21 Andreas Schwab <schwab@redhat.com>
66223
66224 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66225 and internal_recvmmsg.
66226 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66227 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66228 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66229 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66230
66231 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66232 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66233 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66234
66235 2010-05-20 Andreas Schwab <schwab@redhat.com>
66236
66237 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66238
66239 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
66240
66241 POWER7 optimizations.
66242 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66243 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66244
66245 2010-05-19 Ulrich Drepper <drepper@redhat.com>
66246
66247 * version.h: Update for 2.13 development version.
66248
66249 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
66250
66251 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66252 exceptions. Return 0.
66253
66254 2010-05-07 Roland McGrath <roland@redhat.com>
66255
66256 * elf/ldconfig.c (main): Add a const.
66257
66258 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66259
66260 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66261 (args_options): Add no-idn option.
66262 (ahosts_keys_int): Add idn_flags to ai_flags.
66263 (parse_option): Handle 'i' option to clear idn_flags.
66264
66265 * malloc/malloc.c (_int_free): Possible race in the most recently
66266 added check. Only act on the data if no current modification
66267 happened.
66268
66269 See ChangeLog.17 for earlier changes.